Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2043)

Side by Side Diff: state/api/params/params.go

Issue 96140044: Introduce lxc-use-clone, ContainerManagerConfig
Patch Set: Introduce lxc-use-clone, ContainerManagerConfig Created 9 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « environs/config/config_test.go ('k') | state/api/provisioner/provisioner.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 Canonical Ltd. 1 // Copyright 2013 Canonical Ltd.
2 // Licensed under the AGPLv3, see LICENCE file for details. 2 // Licensed under the AGPLv3, see LICENCE file for details.
3 3
4 package params 4 package params
5 5
6 import ( 6 import (
7 "bytes" 7 "bytes"
8 "encoding/json" 8 "encoding/json"
9 "fmt" 9 "fmt"
10 10
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 Annotations map[string]string 590 Annotations map[string]string
591 } 591 }
592 592
593 func (i *AnnotationInfo) EntityId() EntityId { 593 func (i *AnnotationInfo) EntityId() EntityId {
594 return EntityId{ 594 return EntityId{
595 Kind: "annotation", 595 Kind: "annotation",
596 Id: i.Tag, 596 Id: i.Tag,
597 } 597 }
598 } 598 }
599 599
600 // ContainerManagerConfigParams contains the parameters for the
601 // ContainerManagerConfig provisioner API call.
602 type ContainerManagerConfigParams struct {
603 Type instance.ContainerType
604 }
605
606 // ContainerManagerConfig contains information from the environment config
607 // that is needed for configuring the container manager.
608 type ContainerManagerConfig struct {
609 ManagerConfig map[string]string
610 }
611
600 // ContainerConfig contains information from the environment config that is 612 // ContainerConfig contains information from the environment config that is
601 // needed for container cloud-init. 613 // needed for container cloud-init.
602 type ContainerConfig struct { 614 type ContainerConfig struct {
603 ProviderType string 615 ProviderType string
604 AuthorizedKeys string 616 AuthorizedKeys string
605 SSLHostnameVerification bool 617 SSLHostnameVerification bool
606 Proxy osenv.ProxySettings 618 Proxy osenv.ProxySettings
607 AptProxy osenv.ProxySettings 619 AptProxy osenv.ProxySettings
608 } 620 }
609 621
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 708
697 // EnsureAvailability contains arguments for 709 // EnsureAvailability contains arguments for
698 // the EnsureAvailability client API call. 710 // the EnsureAvailability client API call.
699 type EnsureAvailability struct { 711 type EnsureAvailability struct {
700 NumStateServers int 712 NumStateServers int
701 Constraints constraints.Value 713 Constraints constraints.Value
702 // Series is the series to associate with new state server machines. 714 // Series is the series to associate with new state server machines.
703 // If this is empty, then the environment's default series is used. 715 // If this is empty, then the environment's default series is used.
704 Series string 716 Series string
705 } 717 }
OLDNEW
« no previous file with comments | « environs/config/config_test.go ('k') | state/api/provisioner/provisioner.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b