Documentation ¶
Index ¶
- Constants
- Variables
- func B(b bool) *bool
- func I64(i int) *int64
- func S(format string, a ...interface{}) *string
- type Asg
- func (r *Asg) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Asg) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Asg) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Asg) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type IAMPolicy
- type IAMRole
- type InstanceProfile
- func (r *InstanceProfile) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *InstanceProfile) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *InstanceProfile) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *InstanceProfile) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type InternetGateway
- func (r *InternetGateway) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *InternetGateway) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *InternetGateway) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *InternetGateway) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type KeyPair
- func (r *KeyPair) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *KeyPair) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *KeyPair) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *KeyPair) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type Lc
- func (r *Lc) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Lc) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Lc) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Lc) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type RouteTable
- func (r *RouteTable) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *RouteTable) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *RouteTable) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *RouteTable) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type Rule
- type SecurityGroup
- func (r *SecurityGroup) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *SecurityGroup) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *SecurityGroup) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *SecurityGroup) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type Shared
- type Subnet
- func (r *Subnet) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Subnet) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Subnet) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Subnet) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- type Vpc
- func (r *Vpc) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Vpc) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Vpc) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
- func (r *Vpc) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)
Constants ¶
View Source
const ( MasterIPAttempts = 40 MasterIPSleepSecondsPerAttempt = 3 )
View Source
const (
KubicornAutoCreatedGroup = "A fabulous security group created by Kubicorn for cluster [%s]"
)
Variables ¶
View Source
var Sdk *awsSdkGo.Sdk
Functions ¶
Types ¶
type Asg ¶
type Asg struct { MinCount int MaxCount int InstanceType string Image string ServerPool *cluster.ServerPool }
type InstanceProfile ¶
type InstanceProfile struct { Role *IAMRole ServerPool *cluster.ServerPool }
type InternetGateway ¶
type InternetGateway struct {
}type KeyPair ¶
type KeyPair struct { PublicKeyData string PublicKeyPath string PublicKeyFingerprint string User string }
type Lc ¶
type Lc struct { InstanceType string Image string SpotPrice string InstanceProfile string ServerPool *cluster.ServerPool BootstrapScripts []string }
type RouteTable ¶
type RouteTable struct { ClusterSubnet *cluster.Subnet ServerPool *cluster.ServerPool }
type SecurityGroup ¶
type SecurityGroup struct { Firewall *cluster.Firewall ServerPool *cluster.ServerPool Rules []*Rule }
type Subnet ¶
type Subnet struct { ClusterSubnet *cluster.Subnet ServerPool *cluster.ServerPool CIDR string VpcID string Zone string }
Click to show internal directories.
Click to hide internal directories.