Versions in this module Expand all Collapse all v1 v1.15.1 Feb 17, 2020 v1.15.0 Feb 17, 2020 Changes in this version + func Int(v int) *int + func IntValue(v *int) int + type FloatingIP struct + ID *string + LB *LB + Lifecycle *fi.Lifecycle + Name *string + Server *Instance + func (_ *FloatingIP) CheckChanges(a, e, changes *FloatingIP) error + func (_ *FloatingIP) ShouldCreate(a, e, changes *FloatingIP) (bool, error) + func (e *FloatingIP) CompareWithID() *string + func (e *FloatingIP) Find(c *fi.Context) (*FloatingIP, error) + func (e *FloatingIP) FindIPAddress(context *fi.Context) (*string, error) + func (e *FloatingIP) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (e *FloatingIP) Run(c *fi.Context) error + func (f *FloatingIP) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *FloatingIP) error + func (o *FloatingIP) GetLifecycle() *fi.Lifecycle + func (o *FloatingIP) GetName() *string + func (o *FloatingIP) SetLifecycle(lifecycle fi.Lifecycle) + func (o *FloatingIP) SetName(name string) + func (o *FloatingIP) String() string + func (o *FloatingIP) UnmarshalJSON(data []byte) error + type Instance struct + AvailabilityZone *string + Flavor *string + ID *string + Image *string + Lifecycle *fi.Lifecycle + Metadata map[string]string + Name *string + Port *Port + Region *string + Role *string + SSHKey *string + SecurityGroups []string + ServerGroup *ServerGroup + Tags []string + UserData *string + func (_ *Instance) CheckChanges(a, e, changes *Instance) error + func (_ *Instance) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Instance) error + func (_ *Instance) ShouldCreate(a, e, changes *Instance) (bool, error) + func (e *Instance) CompareWithID() *string + func (e *Instance) Find(c *fi.Context) (*Instance, error) + func (e *Instance) FindIPAddress(context *fi.Context) (*string, error) + func (e *Instance) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (e *Instance) Run(c *fi.Context) error + func (e *Instance) WaitForStatusActive(t *openstack.OpenstackAPITarget) error + func (o *Instance) GetLifecycle() *fi.Lifecycle + func (o *Instance) GetName() *string + func (o *Instance) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Instance) SetName(name string) + func (o *Instance) String() string + func (o *Instance) UnmarshalJSON(data []byte) error + type LB struct + ID *string + Lifecycle *fi.Lifecycle + Name *string + PortID *string + SecurityGroup *SecurityGroup + Subnet *string + VipSubnet *string + func NewLBTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, ...) (*LB, error) + func (_ *LB) CheckChanges(a, e, changes *LB) error + func (_ *LB) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LB) error + func (e *LB) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (o *LB) GetLifecycle() *fi.Lifecycle + func (o *LB) GetName() *string + func (o *LB) SetLifecycle(lifecycle fi.Lifecycle) + func (o *LB) SetName(name string) + func (o *LB) String() string + func (o *LB) UnmarshalJSON(data []byte) error + func (s *LB) CompareWithID() *string + func (s *LB) Find(context *fi.Context) (*LB, error) + func (s *LB) Run(context *fi.Context) error + type LBListener struct + ID *string + Lifecycle *fi.Lifecycle + Name *string + Pool *LBPool + func NewLBListenerTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, ...) (*LBListener, error) + func (_ *LBListener) CheckChanges(a, e, changes *LBListener) error + func (_ *LBListener) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LBListener) error + func (e *LBListener) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (o *LBListener) GetLifecycle() *fi.Lifecycle + func (o *LBListener) GetName() *string + func (o *LBListener) SetLifecycle(lifecycle fi.Lifecycle) + func (o *LBListener) SetName(name string) + func (o *LBListener) String() string + func (o *LBListener) UnmarshalJSON(data []byte) error + func (s *LBListener) CompareWithID() *string + func (s *LBListener) Find(context *fi.Context) (*LBListener, error) + func (s *LBListener) Run(context *fi.Context) error + type LBPool struct + ID *string + Lifecycle *fi.Lifecycle + Loadbalancer *LB + Name *string + func NewLBPoolTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, pool *v2pools.Pool, ...) (*LBPool, error) + func (_ *LBPool) CheckChanges(a, e, changes *LBPool) error + func (_ *LBPool) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LBPool) error + func (e *LBPool) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (o *LBPool) GetLifecycle() *fi.Lifecycle + func (o *LBPool) GetName() *string + func (o *LBPool) SetLifecycle(lifecycle fi.Lifecycle) + func (o *LBPool) SetName(name string) + func (o *LBPool) String() string + func (o *LBPool) UnmarshalJSON(data []byte) error + func (p *LBPool) Find(context *fi.Context) (*LBPool, error) + func (s *LBPool) CompareWithID() *string + func (s *LBPool) Run(context *fi.Context) error + type Network struct + ID *string + Lifecycle *fi.Lifecycle + Name *string + func NewNetworkTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, ...) (*Network, error) + func (_ *Network) CheckChanges(a, e, changes *Network) error + func (_ *Network) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Network) error + func (_ *Network) ShouldCreate(a, e, changes *Network) (bool, error) + func (c *Network) Run(context *fi.Context) error + func (n *Network) CompareWithID() *string + func (n *Network) Find(context *fi.Context) (*Network, error) + func (o *Network) GetLifecycle() *fi.Lifecycle + func (o *Network) GetName() *string + func (o *Network) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Network) SetName(name string) + func (o *Network) String() string + func (o *Network) UnmarshalJSON(data []byte) error + type PoolAssociation struct + ID *string + InterfaceName *string + Lifecycle *fi.Lifecycle + Name *string + Pool *LBPool + ProtocolPort *int + ServerGroup *ServerGroup + func (_ *PoolAssociation) CheckChanges(a, e, changes *PoolAssociation) error + func (_ *PoolAssociation) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *PoolAssociation) error + func (e *PoolAssociation) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (o *PoolAssociation) GetLifecycle() *fi.Lifecycle + func (o *PoolAssociation) GetName() *string + func (o *PoolAssociation) SetLifecycle(lifecycle fi.Lifecycle) + func (o *PoolAssociation) SetName(name string) + func (o *PoolAssociation) String() string + func (o *PoolAssociation) UnmarshalJSON(data []byte) error + func (p *PoolAssociation) Find(context *fi.Context) (*PoolAssociation, error) + func (s *PoolAssociation) CompareWithID() *string + func (s *PoolAssociation) Run(context *fi.Context) error + type Port struct + AdditionalSecurityGroups []string + ID *string + Lifecycle *fi.Lifecycle + Name *string + Network *Network + SecurityGroups []*SecurityGroup + Subnets []*Subnet + func NewPortTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, port *ports.Port, ...) (*Port, error) + func (*Port) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Port) error + func (_ *Port) CheckChanges(a, e, changes *Port) error + func (e *Port) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (o *Port) GetLifecycle() *fi.Lifecycle + func (o *Port) GetName() *string + func (o *Port) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Port) SetName(name string) + func (o *Port) String() string + func (o *Port) UnmarshalJSON(data []byte) error + func (s *Port) CompareWithID() *string + func (s *Port) Find(context *fi.Context) (*Port, error) + func (s *Port) Run(context *fi.Context) error + type PortRemovalRule struct + Port int + func (r *PortRemovalRule) Matches(rule sgr.SecGroupRule) bool + func (r *PortRemovalRule) String() string + type RemovalRule interface + Matches func(sgr.SecGroupRule) bool + func ParseRemovalRule(rule string) (RemovalRule, error) + type Router struct + ID *string + Lifecycle *fi.Lifecycle + Name *string + func NewRouterTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, ...) (*Router, error) + func (_ *Router) CheckChanges(a, e, changes *Router) error + func (_ *Router) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Router) error + func (c *Router) Run(context *fi.Context) error + func (n *Router) CompareWithID() *string + func (n *Router) Find(context *fi.Context) (*Router, error) + func (o *Router) GetLifecycle() *fi.Lifecycle + func (o *Router) GetName() *string + func (o *Router) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Router) SetName(name string) + func (o *Router) String() string + func (o *Router) UnmarshalJSON(data []byte) error + type RouterInterface struct + ID *string + Lifecycle *fi.Lifecycle + Name *string + Router *Router + Subnet *Subnet + func (_ *RouterInterface) CheckChanges(a, e, changes *RouterInterface) error + func (_ *RouterInterface) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *RouterInterface) error + func (e *RouterInterface) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (i *RouterInterface) CompareWithID() *string + func (i *RouterInterface) Find(context *fi.Context) (*RouterInterface, error) + func (i *RouterInterface) Run(context *fi.Context) error + func (o *RouterInterface) GetLifecycle() *fi.Lifecycle + func (o *RouterInterface) GetName() *string + func (o *RouterInterface) SetLifecycle(lifecycle fi.Lifecycle) + func (o *RouterInterface) SetName(name string) + func (o *RouterInterface) String() string + func (o *RouterInterface) UnmarshalJSON(data []byte) error + type SSHKey struct + KeyFingerprint *string + Lifecycle *fi.Lifecycle + Name *string + PublicKey *fi.ResourceHolder + func (_ *SSHKey) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SSHKey) error + func (e *SSHKey) CompareWithID() *string + func (e *SSHKey) Find(c *fi.Context) (*SSHKey, error) + func (e *SSHKey) Run(c *fi.Context) error + func (o *SSHKey) GetLifecycle() *fi.Lifecycle + func (o *SSHKey) GetName() *string + func (o *SSHKey) SetLifecycle(lifecycle fi.Lifecycle) + func (o *SSHKey) SetName(name string) + func (o *SSHKey) String() string + func (o *SSHKey) UnmarshalJSON(data []byte) error + func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error + type SecurityGroup struct + Description *string + ID *string + Lifecycle *fi.Lifecycle + Name *string + RemoveExtraRules []string + func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) error + func (_ *SecurityGroup) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SecurityGroup) error + func (o *SecurityGroup) GetLifecycle() *fi.Lifecycle + func (o *SecurityGroup) GetName() *string + func (o *SecurityGroup) SetLifecycle(lifecycle fi.Lifecycle) + func (o *SecurityGroup) SetName(name string) + func (o *SecurityGroup) String() string + func (o *SecurityGroup) UnmarshalJSON(data []byte) error + func (s *SecurityGroup) CompareWithID() *string + func (s *SecurityGroup) Find(context *fi.Context) (*SecurityGroup, error) + func (s *SecurityGroup) FindDeletions(c *fi.Context) ([]fi.Deletion, error) + func (s *SecurityGroup) Run(context *fi.Context) error + type SecurityGroupRule struct + Direction *string + EtherType *string + ID *string + Lifecycle *fi.Lifecycle + PortRangeMax *int + PortRangeMin *int + Protocol *string + RemoteGroup *SecurityGroup + RemoteIPPrefix *string + SecGroup *SecurityGroup + func (_ *SecurityGroupRule) CheckChanges(a, e, changes *SecurityGroupRule) error + func (_ *SecurityGroupRule) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SecurityGroupRule) error + func (e *SecurityGroupRule) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (o *SecurityGroupRule) GetLifecycle() *fi.Lifecycle + func (o *SecurityGroupRule) GetName() *string + func (o *SecurityGroupRule) SetLifecycle(lifecycle fi.Lifecycle) + func (o *SecurityGroupRule) SetName(name string) + func (o *SecurityGroupRule) String() string + func (o *SecurityGroupRule) UnmarshalJSON(data []byte) error + func (r *SecurityGroupRule) CompareWithID() *string + func (r *SecurityGroupRule) Find(context *fi.Context) (*SecurityGroupRule, error) + func (r *SecurityGroupRule) Run(context *fi.Context) error + type ServerGroup struct + ClusterName *string + ID *string + IGName *string + Lifecycle *fi.Lifecycle + MaxSize *int32 + Members []string + Name *string + Policies []string + func (_ *ServerGroup) CheckChanges(a, e, changes *ServerGroup) error + func (_ *ServerGroup) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *ServerGroup) error + func (o *ServerGroup) GetLifecycle() *fi.Lifecycle + func (o *ServerGroup) GetName() *string + func (o *ServerGroup) SetLifecycle(lifecycle fi.Lifecycle) + func (o *ServerGroup) SetName(name string) + func (o *ServerGroup) String() string + func (o *ServerGroup) UnmarshalJSON(data []byte) error + func (s *ServerGroup) CompareWithID() *string + func (s *ServerGroup) Find(context *fi.Context) (*ServerGroup, error) + func (s *ServerGroup) Run(context *fi.Context) error + type Subnet struct + CIDR *string + DNSServers []*string + ID *string + Lifecycle *fi.Lifecycle + Name *string + Network *Network + func NewSubnetTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, ...) (*Subnet, error) + func (_ *Subnet) CheckChanges(a, e, changes *Subnet) error + func (_ *Subnet) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Subnet) error + func (e *Subnet) GetDependencies(tasks map[string]fi.Task) []fi.Task + func (o *Subnet) GetLifecycle() *fi.Lifecycle + func (o *Subnet) GetName() *string + func (o *Subnet) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Subnet) SetName(name string) + func (o *Subnet) String() string + func (o *Subnet) UnmarshalJSON(data []byte) error + func (s *Subnet) CompareWithID() *string + func (s *Subnet) Find(context *fi.Context) (*Subnet, error) + func (s *Subnet) Run(context *fi.Context) error + type Volume struct + AvailabilityZone *string + ID *string + Lifecycle *fi.Lifecycle + Name *string + SizeGB *int64 + Tags map[string]string + VolumeType *string + func (_ *Volume) CheckChanges(a, e, changes *Volume) error + func (_ *Volume) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Volume) error + func (c *Volume) CompareWithID() *string + func (c *Volume) Find(context *fi.Context) (*Volume, error) + func (c *Volume) Run(context *fi.Context) error + func (o *Volume) GetLifecycle() *fi.Lifecycle + func (o *Volume) GetName() *string + func (o *Volume) SetLifecycle(lifecycle fi.Lifecycle) + func (o *Volume) SetName(name string) + func (o *Volume) String() string + func (o *Volume) UnmarshalJSON(data []byte) error