OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |