Documentation ¶
Index ¶
- type Account
- type Amp
- type Arc
- type Bucket
- type BucketSet
- type BucketSets
- type Buckets
- type CidrBlock
- type Cluster
- type Clusters
- type Compute
- type DataCenter
- type Database
- func (db *Database) DBName() string
- func (db *Database) Engine() string
- func (db *Database) InstanceType() string
- func (db *Database) MasterPassword() string
- func (db *Database) MasterUserName() string
- func (db *Database) Name() string
- func (db *Database) Port() int
- func (db *Database) Print()
- func (db *Database) PrintLocal()
- func (db *Database) SecurityGroups() []string
- func (db *Database) StorageIops() int
- func (db *Database) StorageSize() int
- func (db *Database) StorageType() string
- func (db *Database) SubnetGroup() string
- func (db *Database) Version() string
- type DatabaseService
- type Dns
- type DnsRecord
- type DnsRecords
- type Instance
- func (i *Instance) Image() string
- func (i *Instance) InstanceType() string
- func (i *Instance) Name() string
- func (i *Instance) Print()
- func (i *Instance) PrintLocal()
- func (i *Instance) Role() string
- func (i *Instance) SecurityGroupNames() []string
- func (i *Instance) ServerType() string
- func (i *Instance) SubnetGroupName() string
- func (i *Instance) Teams() []string
- func (i *Instance) Version() string
- func (i *Instance) Volumes() *Volumes
- type Instances
- type KeyPair
- type Network
- func (n *Network) AvailabilityZones() []string
- func (n *Network) CidrAliases() map[string]string
- func (n *Network) CidrBlock() string
- func (n *Network) CidrGroups() map[string][]string
- func (n *Network) DnsNameServers() []string
- func (n *Network) Name() string
- func (n *Network) Print()
- func (n *Network) PrintLocal()
- func (n *Network) SetName(name string)
- type Notifications
- type Pod
- func (p *Pod) Count() int
- func (p *Pod) Image() string
- func (p *Pod) InstanceType() string
- func (p *Pod) Name() string
- func (p *Pod) PackageName() string
- func (p *Pod) Print()
- func (p *Pod) PrintLocal()
- func (p *Pod) Role() string
- func (p *Pod) SecurityGroups() []string
- func (p *Pod) ServerType() string
- func (p *Pod) SubnetGroup() string
- func (p *Pod) Teams() []string
- func (p *Pod) Version() string
- type Pods
- type Printer
- type Provider
- type SecurityGroup
- type SecurityGroups
- type SecurityRule
- type SecurityRules
- type SecurityTags
- type Spark
- type Storage
- type Subnet
- func (s *Subnet) Access() string
- func (s *Subnet) AvailabilityZone() string
- func (s *Subnet) CidrBlock() string
- func (s *Subnet) GroupName() string
- func (s *Subnet) ManageRoutes() bool
- func (s *Subnet) Name() string
- func (s *Subnet) Print()
- func (s *Subnet) PrintLocal()
- func (s *Subnet) SetAccess(access string)
- func (s *Subnet) SetAvailabilityZone(availabilityZone string)
- func (s *Subnet) SetCidrBlock(cidrBlock string)
- func (s *Subnet) SetGroupName(groupName string)
- func (s *Subnet) SetManageRoutes(manageRoutes bool)
- func (s *Subnet) SetName(name string)
- type SubnetGroup
- type SubnetGroups
- type Volume
- func (v *Volume) Boot() bool
- func (v *Volume) Device() string
- func (v *Volume) FsType() string
- func (v *Volume) Inodes() int
- func (v *Volume) Keep() bool
- func (v *Volume) MountPoint() string
- func (v *Volume) Preserve() bool
- func (v *Volume) Print()
- func (v *Volume) Size() int64
- func (v *Volume) Type() string
- type Volumes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Provider *Provider `json:"provider"` SecurityTags_ SecurityTags `json:"security_tags"` Storage *Storage `json:"storage"` }
func (*Account) SecurityTags ¶
func (a *Account) SecurityTags() SecurityTags
type Amp ¶
type Amp struct { Name_ string `json:"name"` Notifications *Notifications `json:"notifications"` Account *Account `json:"account"` }
type Arc ¶
type Arc struct { Name_ string `json:"name"` Title_ string `json:"title"` Notifications *Notifications `json:"notifications"` DataCenter *DataCenter `json:"datacenter"` DatabaseService *DatabaseService `json:"database_service"` Dns *Dns `json:"dns"` }
The configuration of the arc object. It has a name, a datacenter element and a dns element.
func (*Arc) Print ¶
func (a *Arc) Print()
Print provides a user friendly way to view the arc configuration. This is a deep print.
func (*Arc) PrintLocal ¶
func (a *Arc) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the arc object. This is a shallow print.
type Bucket ¶
type Bucket struct { Name_ string `json:"bucket"` Region_ string `json:"region"` SecurityTags_ SecurityTags `json:"security_tags"` Role_ string `json:"role"` Destination_ string `json:"Destination"` }
func (*Bucket) Destination ¶
func (*Bucket) SecurityTags ¶
func (b *Bucket) SecurityTags() SecurityTags
type BucketSets ¶
type BucketSets []*BucketSet
type CidrBlock ¶
type CidrBlock struct { Cidr_ string `json:"cidr"` AvailibilityZone_ string `json:"availibility_zone"` }
func (*CidrBlock) AvailibilityZone ¶
type Cluster ¶
type Cluster struct { Name_ string `json:"cluster"` Pods *Pods `json:"pods"` SecurityTags_ SecurityTags `json:"security_tags"` AuditIgnore_ bool `json:"audit_ignore"` }
The configuration of the clutser object. It has a name and a pods element.
func (*Cluster) AuditIgnore ¶
func (*Cluster) Print ¶
func (c *Cluster) Print()
Print provides a user friendly way to view the cluster configuration.
func (*Cluster) SecurityTags ¶
func (c *Cluster) SecurityTags() SecurityTags
type Compute ¶
type Compute struct { Name_ string BootstrapVersion_ int `json:"bootstrap_version"` DeployVersion_ int `json:"deploy_version"` SecretsVersion_ int `json:"secrets_version"` AideVersion_ int `json:"aide_version"` KeyPair *KeyPair Clusters *Clusters `json:"clusters"` }
The configuration of the compute object. It has the version of the bootstrap repo used to create the hiera tarball, a keypair element and a clusters groups element.
Note that the keypair is a convenience field and isn't part of the configuration file. It is set by the application at run time.
func (*Compute) AideVersion ¶
AideVersion satisfies the resource.StaticCompute interface.
func (*Compute) BootstrapVersion ¶
BootstrapVersion satisfies the resource.StaticCompute interface.
func (*Compute) DeployVersion ¶
DeployVersion satisfies the resource.StaticCompute interface.
func (*Compute) Print ¶
func (c *Compute) Print()
Print provides a user friendly way to view the compute configuration.
func (*Compute) PrintLocal ¶
func (c *Compute) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the network object.
func (*Compute) SecretsVersion ¶
SecretsVersion satisfies the resource.StaticCompute interface.
type DataCenter ¶
type DataCenter struct { Provider *Provider `json:"provider"` Network *Network `json:"network"` Compute *Compute `json:"compute"` SecurityTags_ SecurityTags `json:"security_tags"` }
The configuration of the datacenter object. It has a provider element, a network element and a compute element.
func (*DataCenter) Print ¶
func (d *DataCenter) Print()
Print provides a user friendly way to view the entire datacenter configuration. This is a deep print.
func (*DataCenter) SecurityTags ¶
func (d *DataCenter) SecurityTags() SecurityTags
type Database ¶
type Database struct { Name_ string `json:"database"` DBName_ string `json:"dbname"` Engine_ string `json:"engine"` Version_ string `json:"version"` Type_ string `json:"type"` Port_ int `json:"port"` SubnetGroup_ string `json:"subnet_group"` SecurityGroups_ []string `json:"security_groups"` Storage_ struct { Type_ string `json:"type"` Size_ int `json:"size"` Iops_ int `json:"iops"` } `json:"storage"` Master_ struct { UserName_ string `json:"username"` Password_ string `json:"password"` } `json:"master"` }
Database represents the configuration of a database instance resource.
func (*Database) InstanceType ¶
func (*Database) MasterPassword ¶
func (*Database) MasterUserName ¶
func (*Database) Print ¶
func (db *Database) Print()
Print provides a user friendly way to view a subnet group configuration.
func (*Database) PrintLocal ¶
func (db *Database) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the database object.
func (*Database) SecurityGroups ¶
func (*Database) StorageIops ¶
func (*Database) StorageSize ¶
func (*Database) StorageType ¶
func (*Database) SubnetGroup ¶
type DatabaseService ¶
type DatabaseService struct { Provider *Provider `json:"provider"` Databases []*Database `json:"databases"` }
The configuration of the database_service object.
func (*DatabaseService) Print ¶
func (dbs *DatabaseService) Print()
Print provides a user friendly way to view the configuration of the database service. This is a deep print.
type Dns ¶
type Dns struct { DomainName_ string `json:"domain_name"` Subdomain_ string `json:"subdomain"` Provider *Provider `json:"provider"` ARecords *DnsRecords `json:"a_records"` CNameRecords *DnsRecords `json:"cname_records"` CacheIgnore []string `json:"cache_ignore"` }
Dns configuration contains a domain name, a subdomain, a provider record a list of a records, and a list of cname records.
func (*Dns) Domain ¶
Domain satisfies the resource.StaticNetwork interface. This is a convenience method that will provide the domain name being used.
func (*Dns) DomainName ¶
DomainName satisfies the resource.StaticNetwork interface. You most likely want to use the Domain() method instead of this.
func (*Dns) Print ¶
func (d *Dns) Print()
Print provides a user friendly way to view the datacenter configuration.
func (*Dns) PrintLocal ¶
func (d *Dns) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the dns object.
type DnsRecord ¶
type DnsRecord struct { Name_ string `json:"name"` Ttl_ int `json:"ttl"` Pod_ string `json:"pod"` Access_ string `json:"access"` Values_ []string `json:"values"` }
DnsRecord configuration consists of a name, a ttl, an optional pod, an access value and an optional set of values. For cname records that are associated with a pod the name, ttl and pod values are mandatory. If this cname needs to be associated with the public ip address of an instance in the pod, the access field need to be set to "public". For a records the name, ttl and values are required.
func (*DnsRecord) Print ¶
Print provides a user friendly way to view the dns record. This is a deep print.
func (*DnsRecord) PrintLocal ¶
PrintLocal provides a user friendly way to view the configuration local of the dns record. This is a shallow print.
func (*DnsRecord) SetValues ¶
SetValues will set the values of the record. It is intended for those dns records that are created dynamically.
type DnsRecords ¶
type DnsRecords []*DnsRecord
DnsRecords is a collection of DnsRecord objects.
func (*DnsRecords) Print ¶
func (d *DnsRecords) Print(s string)
Print provides a user friendly way to view the dns records configuration.
type Instance ¶
type Instance struct { *Pod // contains filtered or unexported fields }
The configuration of the instance object. An instance isn't part of the actual config file, but it is provided for consistency. The instance contains a name, and a pointer to the pod config.
func NewInstance ¶
NewInstance creates a new instance config object. It requires the name of the instance and a reference to the pod containing the instance.
func (*Instance) Image ¶
Image satisfies the resource.StaticInstance interface. This returns the image used for this instance. The image is the base OS image (centos6, centos7, ubuntu14, etc)
func (*Instance) InstanceType ¶
InstanceType satisfies the resource.StaticInstance interface. The instance type specifies the cloud providers machine type which defines the virtual cpus, memory and disk available to this instance. For example, in AWS m4.large is an instance type.
func (*Instance) Name ¶
Name satisfies the resource.StaticInstance interface. Instance names must be unique.
func (*Instance) Print ¶
func (i *Instance) Print()
Print provides a user friendly way to view a instance configuration.
func (*Instance) PrintLocal ¶
func (i *Instance) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the instance object.
func (*Instance) Role ¶
Role satisfies the resource.StaticInstance interface. The role is optional and allows instances in this pod to acquire an IAM role in order to interact with AWS programmatically.
func (*Instance) SecurityGroupNames ¶
SecurityGroupNames satisifies the resource.StaticInstance interface. This instance will be associated with this list of security groups.
func (*Instance) ServerType ¶
ServerType satisfies the resource.StaticInstance interface.
func (*Instance) SubnetGroupName ¶
SubnetGroupName satisfies the resource.StaticInterface interface. This instance will be placed on the associated subnet.
func (*Instance) Teams ¶
Teams satisfies the resource.StaticInstance interface. The instance will have the users in the given teams setup.
type KeyPair ¶
type KeyPair struct { Name_ string LocalName_ string Format_ string Comment_ string KeyMaterial_ string }
The configuration of the keypair object. It has a name, a local name, a format, a comment and keymaterial. The name is used to identify the keypair in cloud provider, whereas the local name is the name used to identify the keypair locally. This only matters for the id_rsa key, where the name will be the username and the local name will be "id_rsa".
func (*KeyPair) Comment ¶
Comment satisfies the resource.StaticKeyPair interface. This will be populated with the filename of the key.
func (*KeyPair) KeyMaterial ¶
KeyMaterial satisfies the resource.StaticKeyPair interface. Contains the base64 encoded serialized key.
func (*KeyPair) LocalName ¶
LocalName satisfies the resource.StaticKeyPair interface. Name known local to the execution of arc.
func (*KeyPair) Name ¶
Name satisfies the resource.StaticKeyPair interface. Name known to the cloud provider.
func (*KeyPair) Print ¶
func (k *KeyPair) Print()
Print provides a user friendly way to view a subnet group configuration.
func (*KeyPair) PrintLocal ¶
func (k *KeyPair) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the subnet group object.
type Network ¶
type Network struct { Name_ string CidrBlock_ string `json:"cidr"` AvailabilityZones_ []string `json:"availability_zones"` DnsNameServers_ []string `json:"dns_name_servers"` CidrAliases_ map[string]string `json:"cidr_aliases"` CidrGroups_ map[string][]string `json:"cidr_groups"` SubnetGroups *SubnetGroups `json:"subnet_groups"` SecurityGroups *SecurityGroups `json:"security_groups"` }
The configuration of the network object. It has a name, a cidr block, a list of availability zones (one or more), a list of dns name server ip addresses, a subnet groups element and a security groups element.
Note that the name is a convenience field and isn't part of the configuration file. It is set by the application at run time.
func (*Network) AvailabilityZones ¶
AvailabilityZones satisfies the resource.StaticNetwork interface.
func (*Network) CidrAliases ¶
CidrAliases satisfies the resource.StaticNetwork interface.
func (*Network) CidrGroups ¶
CidrGroups satisfies the resource.StaticNetwork interface.
func (*Network) DnsNameServers ¶
DnsNameServers satisfies the resource.StaticNetwork interface.
func (*Network) Print ¶
func (n *Network) Print()
Print provides a user friendly way to view the entire network configuration.
func (*Network) PrintLocal ¶
func (n *Network) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the network object.
type Notifications ¶
type Notifications struct {
Spark *Spark `json:"spark"`
}
type Pod ¶
type Pod struct { Name_ string `json:"pod"` ServerType_ string `json:"servertype"` Version_ int `json:"version"` Image_ string `json:"image"` InstanceType_ string `json:"type"` Role_ string `json:"role"` SubnetGroup_ string `json:"subnet_group"` SecurityGroups_ []string `json:"security_groups"` Count_ int `json:"count"` Teams_ []string `json:"teams"` Volumes *Volumes `json:"volumes"` Instances *Instances }
The configuration of the pod object. It contains a name, a servertype, the version of the servertype, the base image, the machine type, the associated subnet group, the associated security groups, the count being the number of instances created, and the list of volume templates to use for each instance.
func (*Pod) Count ¶
Count satisfies the resource.StaticPod interface. The pod will have count number of instances.
func (*Pod) Image ¶
Image satisfies the resource.StaticPod interface. This returns the image used for each instance. The image is the base OS image (centos6, centos7, ubuntu, etc)
func (*Pod) InstanceType ¶
InstanceType satisfies the resource.StaticPod interface. The instance type specifies the cloud providers machine type which defines the virtual cpus, memory and disk available to the instance. For example, in AWS m4.large is an instance type.
func (*Pod) PackageName ¶
PackageName satisfies the resource.StaticPod interface. This is a shortcut method provided to give the servertype package name.
func (*Pod) Print ¶
func (p *Pod) Print()
Print provides a user friendly way to view a pod configuration.
func (*Pod) PrintLocal ¶
func (p *Pod) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the pod object.
func (*Pod) Role ¶
Role satisfies the resource.StaticPod interface. The role is optional and allows instances in this pod to acquire an IAM role in order to interact with AWS programmatically.
func (*Pod) SecurityGroups ¶
SecurityGroups satisifies the resource.StaticPod interface. All instances in the pod will be associated with this list of security groups.
func (*Pod) ServerType ¶
ServerType satisfies the resource.StaticPod interface.
func (*Pod) SubnetGroup ¶
SubnetGroupName satisfies the resource.StaticPod interface. All instances in the pod will be placed on the associated subnet.
type Printer ¶
type Printer interface {
// Print dumps the config to the console.
Print()
}
The printer interface provides a way to write an object to the console.
type Provider ¶
type Provider struct { Vendor string `json:"vendor"` Data map[string]string `json:"data"` Images map[string]string `json:"images"` }
The configuration of the provider object. It has a vendor, a key value map of provider data, and an optional map of os images made available by the provider.
type SecurityGroup ¶
type SecurityGroup struct { Name_ string `json:"security_group"` SecurityRules *SecurityRules `json:"rules"` }
The configuration of the security group object. It has a name, and a collection of security rules.
func (*SecurityGroup) Name ¶
func (s *SecurityGroup) Name() string
Name satisfies the resource.StaticSecurityGroup interface.
func (*SecurityGroup) Print ¶
func (s *SecurityGroup) Print()
Print provides a user friendly way to view a security group configuration.
func (*SecurityGroup) PrintLocal ¶
func (s *SecurityGroup) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the security group object.
type SecurityGroups ¶
type SecurityGroups []*SecurityGroup
SecurityGroups is a collection of SecurityGroup objects.
func (*SecurityGroups) Print ¶
func (s *SecurityGroups) Print()
Print provides a user friendly way to view the security groups configuration.
type SecurityRule ¶
type SecurityRule struct { Description_ string `json:"description"` Directions_ []string `json:"directions"` Remotes_ []string `json:"remotes"` Protocols_ []string `json:"protocols"` Ports_ []string `json:"ports"` }
The configuration of the security rule object. It has a description, a list of destinations being either a cidr block or a subnet group, a collection of directions being ingress or egress, a list of applicable protocols and a list of ports.
func (*SecurityRule) Description ¶
func (s *SecurityRule) Description() string
The description can be free form text.
func (*SecurityRule) Directions ¶
func (s *SecurityRule) Directions() []string
Direction values can either be ingress indicating that the rule applies to incoming traffic, or egress indication that the rule applies to outgoing traffic.
func (*SecurityRule) Ports ¶
func (s *SecurityRule) Ports() []string
For tcp and udp protocols values can either be a scalar port number, e.g. 22, or a range of ports, e.g. 1:65535. For icmp values represent the ICMP type and code, e.g. 8:0.
func (*SecurityRule) Print ¶
func (s *SecurityRule) Print()
Print provides a user friendly way to view a security rule configuration.
func (*SecurityRule) PrintLocal ¶
func (s *SecurityRule) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the security rule object.
func (*SecurityRule) Protocols ¶
func (s *SecurityRule) Protocols() []string
Values can be "icmp", "udp", and "tcp".
func (*SecurityRule) Remotes ¶
func (s *SecurityRule) Remotes() []string
Remotes can be either a cidr block, a subnet group or a security group. A cidr block takes the form of "cidr:a.b.c.d/e", e.g. cidr:10.0.0.0/24. A subnet group takes the form of "subnet_group:name", e.g. subnet_group:bastion. A security group takes the form of "security_group:name", e.g. security_group:bastion. Avoid using security group remotes if at all possible.
type SecurityRules ¶
type SecurityRules []*SecurityRule
SecurityRules is a collection of SecurityRule objects.
func (*SecurityRules) Print ¶
func (s *SecurityRules) Print()
Print provides a user friendly way to view the security rules configuration.
type SecurityTags ¶
SecurityTags help keep track of resources should there be any issues that occur.
func (SecurityTags) Print ¶
func (s SecurityTags) Print()
Print provides a user friendly way to view the configuration of the security tags.
type Storage ¶
type Storage struct { Buckets *Buckets `json:"buckets"` BucketSets *BucketSets `json:"bucket_sets"` }
type Subnet ¶
type Subnet struct { Name_ string GroupName_ string CidrBlock_ string Access_ string AvailabilityZone_ string ManageRoutes_ bool }
The configuration of the subnet object. It has a name, the starting cidr block of the subnet group, the type of access (public, private, local) for the subnet group, the availability zone where the subet is located and the flag indicating whether this subnet needs to have a separate routetable..
A subnet is not part of the configuration file, so the existence of this structure is a convenience meant to hold per subnet data derived from the subnet group.
func (*Subnet) AvailabilityZone ¶
AvailabilityZone satisfies the resource.StaticSubnet interface.
func (*Subnet) CidrBlock ¶
CidrBlock satisfies the resource.StaticSubnet interface. The cidr block is derived from the starting cidr block of the subnet group that owns this subnet.
func (*Subnet) GroupName ¶
Name satisfies the resource.StaticSubnet interface. The group name is the name of the subnet group.
func (*Subnet) ManageRoutes ¶
ManageRoutes satisfies the resource.StaticSubnet interface.
func (*Subnet) Name ¶
Name satisfies the resource.StaticSubnet interface. The name is derived from the name of the subnet group and the availability zone. I.e. bation-us-west-2a.
func (*Subnet) Print ¶
func (s *Subnet) Print()
Print provides a user friendly way to view the subnet configuration.
func (*Subnet) PrintLocal ¶
func (s *Subnet) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the arc object.
func (*Subnet) SetAvailabilityZone ¶
SetAvailabilityZone provides a way to set the availabilit zone at runtime.
func (*Subnet) SetCidrBlock ¶
SetCidrBlock provides a way to set the cidr block at runtime.
func (*Subnet) SetGroupName ¶
SetGroupName provides a way to set the subnet's group name at runtime.
func (*Subnet) SetManageRoutes ¶
SetManageRoutes provides a way to set the manage routes value at runtime.
type SubnetGroup ¶
type SubnetGroup struct { Name_ string `json:"subnet"` CidrBlock_ string `json:"cidr"` CidrBlocks_ []*CidrBlock `json:"cidrs"` Access_ string `json:"access"` ManageRoutes_ bool `json:"manage_routes"` }
The configuration of the subnet group object. It has a name, the starting cidr block of the subnet group, and the type of access (public, private, local) for the subnet group.
func (*SubnetGroup) Access ¶
func (s *SubnetGroup) Access() string
Access satisfies the resource.StaticSubnetGroup interface.
Access return values and meanings.
public Instances on the subnet can see the internet and can be seen by the internet. Both public and private ip addresses are allocated for an instance when it is created. public_elastic Instances on the subnet can see the internet and can be seen by the internet. Only a private ip address is allocated for an instance when it is created. A public elastic ip address will be associated with the instance after creation. private Instances on the subnet can see the internet and cannot be seen by the internet. Only a private ip address is allocated for an instance when it is created. local Instances one the subnet cannot see or be seen by the internet. Only a private ip address is allocated for an instance when it is created.
func (*SubnetGroup) CidrBlock ¶
func (s *SubnetGroup) CidrBlock() string
CidrBlock satisfies the resource.StaticSubnetGroup interface. This is the original functionality and should not be used with CidrBlocks
func (*SubnetGroup) CidrBlocks ¶
func (s *SubnetGroup) CidrBlocks() []*CidrBlock
CidrBlocks is for additional functionality and should not be used with CidrBlock
func (*SubnetGroup) ManageRoutes ¶
func (s *SubnetGroup) ManageRoutes() bool
ManageRoutes satisfies the resource.StaticSubnetGroup interface.
func (*SubnetGroup) Name ¶
func (s *SubnetGroup) Name() string
Name satisfies the resource.StaticSubnetGroup interface.
func (*SubnetGroup) Print ¶
func (s *SubnetGroup) Print()
Print provides a user friendly way to view a subnet group configuration.
func (*SubnetGroup) PrintLocal ¶
func (s *SubnetGroup) PrintLocal()
PrintLocal provides a user friendly way to view the configuration local to the subnet group object.
type SubnetGroups ¶
type SubnetGroups []*SubnetGroup
SubnetGroups is a collection of SubnetGroup objects.
func (*SubnetGroups) Print ¶
func (s *SubnetGroups) Print()
Print provides a user friendly way to view the subnet groups configuration.
type Volume ¶
type Volume struct { Device_ string `json:"device"` Type_ string `json:"type"` Size_ int64 `json:"size"` Keep_ bool `json:"keep"` Boot_ bool `json:"boot"` FsType_ string `json:"fstype"` Inodes_ int `json:"inodes"` MountPoint_ string `json:"mount_point"` Preserve_ bool `json:"preserve"` }
func (*Volume) MountPoint ¶
Source Files ¶
- account.go
- amp.go
- arc.go
- bucket.go
- bucket_set.go
- cluster.go
- compute.go
- database.go
- database_service.go
- datacenter.go
- dns.go
- dns_record.go
- instance.go
- keypair.go
- network.go
- notifications.go
- pod.go
- printer.go
- provider.go
- security_group.go
- security_rule.go
- security_tags.go
- storage.go
- subnet.go
- subnet_group.go
- volume.go