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

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

Issue 92610045: New utils/proxy package.
Patch Set: New utils/proxy package. Created 10 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 | « provider/local/environprovider_test.go ('k') | state/apiserver/provisioner/provisioner_test.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
11 "launchpad.net/juju-core/charm" 11 "launchpad.net/juju-core/charm"
12 "launchpad.net/juju-core/constraints" 12 "launchpad.net/juju-core/constraints"
13 "launchpad.net/juju-core/instance" 13 "launchpad.net/juju-core/instance"
14 » "launchpad.net/juju-core/juju/osenv" 14 » "launchpad.net/juju-core/utils/proxy"
15 "launchpad.net/juju-core/utils/ssh" 15 "launchpad.net/juju-core/utils/ssh"
16 "launchpad.net/juju-core/version" 16 "launchpad.net/juju-core/version"
17 ) 17 )
18 18
19 // Entity identifies a single entity. 19 // Entity identifies a single entity.
20 type Entity struct { 20 type Entity struct {
21 Tag string 21 Tag string
22 } 22 }
23 23
24 // Entities identifies multiple entities. 24 // Entities identifies multiple entities.
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 type ContainerManagerConfig struct { 608 type ContainerManagerConfig struct {
609 ManagerConfig map[string]string 609 ManagerConfig map[string]string
610 } 610 }
611 611
612 // ContainerConfig contains information from the environment config that is 612 // ContainerConfig contains information from the environment config that is
613 // needed for container cloud-init. 613 // needed for container cloud-init.
614 type ContainerConfig struct { 614 type ContainerConfig struct {
615 ProviderType string 615 ProviderType string
616 AuthorizedKeys string 616 AuthorizedKeys string
617 SSLHostnameVerification bool 617 SSLHostnameVerification bool
618 » Proxy osenv.ProxySettings 618 » Proxy proxy.Settings
619 » AptProxy osenv.ProxySettings 619 » AptProxy proxy.Settings
620 } 620 }
621 621
622 // ProvisioningScriptParams contains the parameters for the 622 // ProvisioningScriptParams contains the parameters for the
623 // ProvisioningScript client API call. 623 // ProvisioningScript client API call.
624 type ProvisioningScriptParams struct { 624 type ProvisioningScriptParams struct {
625 MachineId string 625 MachineId string
626 Nonce string 626 Nonce string
627 627
628 // DataDir may be "", in which case the default will be used. 628 // DataDir may be "", in which case the default will be used.
629 DataDir string 629 DataDir string
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 708
709 // EnsureAvailability contains arguments for 709 // EnsureAvailability contains arguments for
710 // the EnsureAvailability client API call. 710 // the EnsureAvailability client API call.
711 type EnsureAvailability struct { 711 type EnsureAvailability struct {
712 NumStateServers int 712 NumStateServers int
713 Constraints constraints.Value 713 Constraints constraints.Value
714 // Series is the series to associate with new state server machines. 714 // Series is the series to associate with new state server machines.
715 // 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.
716 Series string 716 Series string
717 } 717 }
OLDNEW
« no previous file with comments | « provider/local/environprovider_test.go ('k') | state/apiserver/provisioner/provisioner_test.go » ('j') | no next file with comments »

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