Documentation
¶
Index ¶
- func GetServerFixedIP(client *gophercloud.ServiceClient, serverID string, interfaceName string) (server *servers.Server, memberAddress string, err error)
- func Int(v int) *int
- func IntValue(v *int) int
- type FloatingIP
- func (_ *FloatingIP) CheckChanges(a, e, changes *FloatingIP) 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 (o *FloatingIP) GetLifecycle() *fi.Lifecycle
- func (o *FloatingIP) GetName() *string
- func (e *FloatingIP) IsForAPIServer() bool
- func (f *FloatingIP) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *FloatingIP) error
- func (e *FloatingIP) Run(c *fi.Context) error
- func (o *FloatingIP) SetLifecycle(lifecycle fi.Lifecycle)
- func (_ *FloatingIP) ShouldCreate(a, e, changes *FloatingIP) (bool, error)
- func (o *FloatingIP) String() string
- type Instance
- func (_ *Instance) CheckChanges(a, e, changes *Instance) 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 (o *Instance) GetLifecycle() *fi.Lifecycle
- func (o *Instance) GetName() *string
- func (e *Instance) IsForAPIServer() bool
- func (_ *Instance) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Instance) error
- func (e *Instance) Run(c *fi.Context) error
- func (o *Instance) SetLifecycle(lifecycle fi.Lifecycle)
- func (_ *Instance) ShouldCreate(a, e, changes *Instance) (bool, error)
- func (o *Instance) String() string
- func (e *Instance) WaitForStatusActive(t *openstack.OpenstackAPITarget) error
- type LB
- func (_ *LB) CheckChanges(a, e, changes *LB) error
- func (s *LB) CompareWithID() *string
- func (s *LB) Find(context *fi.Context) (*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 (_ *LB) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LB) error
- func (s *LB) Run(context *fi.Context) error
- func (o *LB) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LB) String() string
- type LBListener
- func (_ *LBListener) CheckChanges(a, e, changes *LBListener) error
- func (s *LBListener) CompareWithID() *string
- func (s *LBListener) Find(context *fi.Context) (*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 (_ *LBListener) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LBListener) error
- func (s *LBListener) Run(context *fi.Context) error
- func (o *LBListener) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LBListener) String() string
- type LBPool
- func (_ *LBPool) CheckChanges(a, e, changes *LBPool) error
- func (s *LBPool) CompareWithID() *string
- func (p *LBPool) Find(context *fi.Context) (*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 (_ *LBPool) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LBPool) error
- func (s *LBPool) Run(context *fi.Context) error
- func (o *LBPool) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *LBPool) String() string
- type Network
- func (_ *Network) CheckChanges(a, e, changes *Network) 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 (_ *Network) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Network) error
- func (c *Network) Run(context *fi.Context) error
- func (o *Network) SetLifecycle(lifecycle fi.Lifecycle)
- func (_ *Network) ShouldCreate(a, e, changes *Network) (bool, error)
- func (o *Network) String() string
- type PoolAssociation
- func (_ *PoolAssociation) CheckChanges(a, e, changes *PoolAssociation) error
- func (s *PoolAssociation) CompareWithID() *string
- func (p *PoolAssociation) Find(context *fi.Context) (*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 (_ *PoolAssociation) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *PoolAssociation) error
- func (s *PoolAssociation) Run(context *fi.Context) error
- func (o *PoolAssociation) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *PoolAssociation) String() string
- type Port
- func (_ *Port) CheckChanges(a, e, changes *Port) error
- func (s *Port) CompareWithID() *string
- func (s *Port) Find(context *fi.Context) (*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 (*Port) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Port) error
- func (s *Port) Run(context *fi.Context) error
- func (o *Port) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Port) String() string
- type PortRemovalRule
- type RemovalRule
- type Router
- func (_ *Router) CheckChanges(a, e, changes *Router) 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 (_ *Router) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Router) error
- func (c *Router) Run(context *fi.Context) error
- func (o *Router) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Router) String() string
- type RouterInterface
- func (*RouterInterface) CheckChanges(a, e, changes *RouterInterface) error
- func (i *RouterInterface) CompareWithID() *string
- func (i *RouterInterface) Find(context *fi.Context) (*RouterInterface, error)
- func (e *RouterInterface) GetDependencies(tasks map[string]fi.Task) []fi.Task
- func (o *RouterInterface) GetLifecycle() *fi.Lifecycle
- func (o *RouterInterface) GetName() *string
- func (_ *RouterInterface) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *RouterInterface) error
- func (i *RouterInterface) Run(context *fi.Context) error
- func (o *RouterInterface) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *RouterInterface) String() string
- type SSHKey
- func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error
- func (e *SSHKey) CompareWithID() *string
- func (e *SSHKey) Find(c *fi.Context) (*SSHKey, error)
- func (o *SSHKey) GetLifecycle() *fi.Lifecycle
- func (o *SSHKey) GetName() *string
- func (_ *SSHKey) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SSHKey) error
- func (e *SSHKey) Run(c *fi.Context) error
- func (o *SSHKey) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *SSHKey) String() string
- type SecurityGroup
- func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) 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 (o *SecurityGroup) GetLifecycle() *fi.Lifecycle
- func (o *SecurityGroup) GetName() *string
- func (_ *SecurityGroup) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SecurityGroup) error
- func (s *SecurityGroup) Run(context *fi.Context) error
- func (o *SecurityGroup) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *SecurityGroup) String() string
- type SecurityGroupRule
- func (*SecurityGroupRule) CheckChanges(a, e, changes *SecurityGroupRule) error
- func (r *SecurityGroupRule) CompareWithID() *string
- func (r *SecurityGroupRule) Find(context *fi.Context) (*SecurityGroupRule, error)
- func (o *SecurityGroupRule) FindDeletions(c *fi.Context) ([]fi.Deletion, error)
- func (e *SecurityGroupRule) GetDependencies(tasks map[string]fi.Task) []fi.Task
- func (o *SecurityGroupRule) GetLifecycle() *fi.Lifecycle
- func (o *SecurityGroupRule) GetName() *string
- func (*SecurityGroupRule) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SecurityGroupRule) error
- func (r *SecurityGroupRule) Run(context *fi.Context) error
- func (o *SecurityGroupRule) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *SecurityGroupRule) String() string
- type ServerGroup
- func (s *ServerGroup) AddNewMember(memberID string)
- func (_ *ServerGroup) CheckChanges(a, e, changes *ServerGroup) error
- func (s *ServerGroup) CompareWithID() *string
- func (s *ServerGroup) Find(context *fi.Context) (*ServerGroup, error)
- func (o *ServerGroup) GetLifecycle() *fi.Lifecycle
- func (s *ServerGroup) GetMembers() []string
- func (o *ServerGroup) GetName() *string
- func (_ *ServerGroup) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *ServerGroup) error
- func (s *ServerGroup) Run(context *fi.Context) error
- func (o *ServerGroup) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *ServerGroup) String() string
- type Subnet
- func (*Subnet) CheckChanges(a, e, changes *Subnet) error
- func (s *Subnet) CompareWithID() *string
- func (s *Subnet) Find(context *fi.Context) (*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 (*Subnet) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Subnet) error
- func (s *Subnet) Run(context *fi.Context) error
- func (o *Subnet) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Subnet) String() string
- type Volume
- func (_ *Volume) CheckChanges(a, e, changes *Volume) error
- func (c *Volume) CompareWithID() *string
- func (c *Volume) Find(context *fi.Context) (*Volume, error)
- func (o *Volume) GetLifecycle() *fi.Lifecycle
- func (o *Volume) GetName() *string
- func (_ *Volume) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Volume) error
- func (c *Volume) Run(context *fi.Context) error
- func (o *Volume) SetLifecycle(lifecycle fi.Lifecycle)
- func (o *Volume) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServerFixedIP ¶ added in v1.19.0
func GetServerFixedIP(client *gophercloud.ServiceClient, serverID string, interfaceName string) (server *servers.Server, memberAddress string, err error)
Types ¶
type FloatingIP ¶ added in v1.15.1
type FloatingIP struct {
Name *string
ID *string
LB *LB
IP *string
Lifecycle *fi.Lifecycle
ForAPIServer bool
}
+kops:fitask
func (*FloatingIP) CheckChanges ¶ added in v1.15.1
func (_ *FloatingIP) CheckChanges(a, e, changes *FloatingIP) error
func (*FloatingIP) CompareWithID ¶ added in v1.15.1
func (e *FloatingIP) CompareWithID() *string
func (*FloatingIP) Find ¶ added in v1.15.1
func (e *FloatingIP) Find(c *fi.Context) (*FloatingIP, error)
func (*FloatingIP) FindIPAddress ¶ added in v1.15.1
func (e *FloatingIP) FindIPAddress(context *fi.Context) (*string, error)
func (*FloatingIP) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Instance task
func (*FloatingIP) GetLifecycle ¶ added in v1.15.1
func (o *FloatingIP) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*FloatingIP) GetName ¶ added in v1.15.1
func (o *FloatingIP) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*FloatingIP) IsForAPIServer ¶ added in v1.19.0
func (e *FloatingIP) IsForAPIServer() bool
func (*FloatingIP) RenderOpenstack ¶ added in v1.15.1
func (f *FloatingIP) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *FloatingIP) error
func (*FloatingIP) SetLifecycle ¶ added in v1.15.1
func (o *FloatingIP) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*FloatingIP) ShouldCreate ¶ added in v1.15.1
func (_ *FloatingIP) ShouldCreate(a, e, changes *FloatingIP) (bool, error)
func (*FloatingIP) String ¶ added in v1.15.1
func (o *FloatingIP) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type Instance ¶ added in v1.15.1
type Instance struct {
ID *string
Name *string
GroupName *string
Port *Port
Region *string
Flavor *string
Image *string
SSHKey *string
ServerGroup *ServerGroup
Role *string
UserData fi.Resource
Metadata map[string]string
AvailabilityZone *string
SecurityGroups []string
FloatingIP *FloatingIP
Lifecycle *fi.Lifecycle
ForAPIServer bool
}
+kops:fitask
func (*Instance) CheckChanges ¶ added in v1.15.1
func (*Instance) CompareWithID ¶ added in v1.15.1
func (*Instance) FindIPAddress ¶ added in v1.15.1
func (*Instance) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Instance task
func (*Instance) GetLifecycle ¶ added in v1.15.1
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Instance) GetName ¶ added in v1.15.1
GetName returns the Name of the object, implementing fi.HasName
func (*Instance) IsForAPIServer ¶ added in v1.19.0
func (*Instance) RenderOpenstack ¶ added in v1.15.1
func (_ *Instance) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Instance) error
func (*Instance) SetLifecycle ¶ added in v1.15.1
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*Instance) ShouldCreate ¶ added in v1.15.1
func (*Instance) String ¶ added in v1.15.1
String is the stringer function for the task, producing readable output using fi.TaskAsString
func (*Instance) WaitForStatusActive ¶ added in v1.15.1
func (e *Instance) WaitForStatusActive(t *openstack.OpenstackAPITarget) error
type LB ¶ added in v1.15.1
type LB struct {
ID *string
Name *string
Subnet *string
VipSubnet *string
Lifecycle *fi.Lifecycle
PortID *string
SecurityGroup *SecurityGroup
}
+kops:fitask
func NewLBTaskFromCloud ¶ added in v1.15.1
func NewLBTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, lb *loadbalancers.LoadBalancer, find *LB) (*LB, error)
func (*LB) CheckChanges ¶ added in v1.15.1
func (*LB) CompareWithID ¶ added in v1.15.1
func (*LB) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Instance task
func (*LB) GetLifecycle ¶ added in v1.15.1
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LB) GetName ¶ added in v1.15.1
GetName returns the Name of the object, implementing fi.HasName
func (*LB) RenderOpenstack ¶ added in v1.15.1
func (_ *LB) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LB) error
func (*LB) SetLifecycle ¶ added in v1.15.1
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type LBListener ¶ added in v1.15.1
type LBListener struct {
ID *string
Name *string
Pool *LBPool
Lifecycle *fi.Lifecycle
AllowedCIDRs []string
}
+kops:fitask
func NewLBListenerTaskFromCloud ¶ added in v1.15.1
func NewLBListenerTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, lb *listeners.Listener, find *LBListener) (*LBListener, error)
func (*LBListener) CheckChanges ¶ added in v1.15.1
func (_ *LBListener) CheckChanges(a, e, changes *LBListener) error
func (*LBListener) CompareWithID ¶ added in v1.15.1
func (s *LBListener) CompareWithID() *string
func (*LBListener) Find ¶ added in v1.15.1
func (s *LBListener) Find(context *fi.Context) (*LBListener, error)
func (*LBListener) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Instance task
func (*LBListener) GetLifecycle ¶ added in v1.15.1
func (o *LBListener) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LBListener) GetName ¶ added in v1.15.1
func (o *LBListener) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*LBListener) RenderOpenstack ¶ added in v1.15.1
func (_ *LBListener) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LBListener) error
func (*LBListener) SetLifecycle ¶ added in v1.15.1
func (o *LBListener) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*LBListener) String ¶ added in v1.15.1
func (o *LBListener) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type LBPool ¶ added in v1.15.1
+kops:fitask
func NewLBPoolTaskFromCloud ¶ added in v1.15.1
func (*LBPool) CheckChanges ¶ added in v1.15.1
func (*LBPool) CompareWithID ¶ added in v1.15.1
func (*LBPool) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Instance task
func (*LBPool) GetLifecycle ¶ added in v1.15.1
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*LBPool) GetName ¶ added in v1.15.1
GetName returns the Name of the object, implementing fi.HasName
func (*LBPool) RenderOpenstack ¶ added in v1.15.1
func (_ *LBPool) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *LBPool) error
func (*LBPool) SetLifecycle ¶ added in v1.15.1
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type Network ¶
type Network struct {
ID *string
Name *string
Lifecycle *fi.Lifecycle
Tag *string
AvailabilityZoneHints []*string
}
+kops:fitask
func NewNetworkTaskFromCloud ¶ added in v1.15.1
func (*Network) CheckChanges ¶
func (*Network) CompareWithID ¶
func (*Network) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Network) RenderOpenstack ¶
func (_ *Network) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Network) error
func (*Network) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type PoolAssociation ¶ added in v1.15.1
type PoolAssociation struct {
ID *string
Name *string
Lifecycle *fi.Lifecycle
Pool *LBPool
ServerGroup *ServerGroup
InterfaceName *string
ProtocolPort *int
}
+kops:fitask
func (*PoolAssociation) CheckChanges ¶ added in v1.15.1
func (_ *PoolAssociation) CheckChanges(a, e, changes *PoolAssociation) error
func (*PoolAssociation) CompareWithID ¶ added in v1.15.1
func (s *PoolAssociation) CompareWithID() *string
func (*PoolAssociation) Find ¶ added in v1.15.1
func (p *PoolAssociation) Find(context *fi.Context) (*PoolAssociation, error)
func (*PoolAssociation) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Instance task
func (*PoolAssociation) GetLifecycle ¶ added in v1.15.1
func (o *PoolAssociation) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*PoolAssociation) GetName ¶ added in v1.15.1
func (o *PoolAssociation) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*PoolAssociation) RenderOpenstack ¶ added in v1.15.1
func (_ *PoolAssociation) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *PoolAssociation) error
func (*PoolAssociation) Run ¶ added in v1.15.1
func (s *PoolAssociation) Run(context *fi.Context) error
func (*PoolAssociation) SetLifecycle ¶ added in v1.15.1
func (o *PoolAssociation) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*PoolAssociation) String ¶ added in v1.15.1
func (o *PoolAssociation) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type Port ¶ added in v1.15.1
type Port struct {
ID *string
Name *string
Network *Network
Subnets []*Subnet
SecurityGroups []*SecurityGroup
AdditionalSecurityGroups []string
Lifecycle *fi.Lifecycle
Tag *string
}
+kops:fitask
func (*Port) CheckChanges ¶ added in v1.15.1
func (*Port) CompareWithID ¶ added in v1.15.1
func (*Port) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Port task
func (*Port) GetLifecycle ¶ added in v1.15.1
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Port) GetName ¶ added in v1.15.1
GetName returns the Name of the object, implementing fi.HasName
func (*Port) RenderOpenstack ¶ added in v1.15.1
func (*Port) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Port) error
func (*Port) SetLifecycle ¶ added in v1.15.1
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type PortRemovalRule ¶ added in v1.15.1
type PortRemovalRule struct {
Port int
}
func (*PortRemovalRule) Matches ¶ added in v1.15.1
func (r *PortRemovalRule) Matches(rule sgr.SecGroupRule) bool
func (*PortRemovalRule) String ¶ added in v1.15.1
func (r *PortRemovalRule) String() string
type RemovalRule ¶ added in v1.15.1
type RemovalRule interface {
Matches(sgr.SecGroupRule) bool
}
RemovalRule is a rule that filters the permissions we should remove
func ParseRemovalRule ¶ added in v1.15.1
func ParseRemovalRule(rule string) (RemovalRule, error)
ParseRemovalRule parses our removal rule DSL into a RemovalRule
type Router ¶
type Router struct {
ID *string
Name *string
Lifecycle *fi.Lifecycle
AvailabilityZoneHints []*string
}
+kops:fitask
func NewRouterTaskFromCloud ¶ added in v1.15.1
func NewRouterTaskFromCloud(cloud openstack.OpenstackCloud, lifecycle *fi.Lifecycle, router *routers.Router, find *Router) (*Router, error)
NewRouterTaskFromCloud initializes and returns a new Router
func (*Router) CheckChanges ¶
func (*Router) CompareWithID ¶
func (*Router) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Router) RenderOpenstack ¶
func (_ *Router) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Router) error
func (*Router) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type RouterInterface ¶
type RouterInterface struct {
ID *string
Name *string
Router *Router
Subnet *Subnet
Lifecycle *fi.Lifecycle
}
+kops:fitask
func (*RouterInterface) CheckChanges ¶
func (*RouterInterface) CheckChanges(a, e, changes *RouterInterface) error
func (*RouterInterface) CompareWithID ¶
func (i *RouterInterface) CompareWithID() *string
func (*RouterInterface) Find ¶
func (i *RouterInterface) Find(context *fi.Context) (*RouterInterface, error)
func (*RouterInterface) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the RouterInterface task
func (*RouterInterface) GetLifecycle ¶
func (o *RouterInterface) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*RouterInterface) GetName ¶
func (o *RouterInterface) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*RouterInterface) RenderOpenstack ¶
func (_ *RouterInterface) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *RouterInterface) error
func (*RouterInterface) SetLifecycle ¶
func (o *RouterInterface) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*RouterInterface) String ¶
func (o *RouterInterface) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type SSHKey ¶
type SSHKey struct {
Name *string
Lifecycle *fi.Lifecycle
PublicKey fi.Resource
KeyFingerprint *string
}
+kops:fitask
func (*SSHKey) CheckChanges ¶
func (*SSHKey) CompareWithID ¶
func (*SSHKey) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SSHKey) RenderOpenstack ¶
func (_ *SSHKey) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SSHKey) error
func (*SSHKey) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type SecurityGroup ¶
type SecurityGroup struct {
ID *string
Name *string
Description *string
RemoveExtraRules []string
RemoveGroup bool
Lifecycle *fi.Lifecycle
}
+kops:fitask
func (*SecurityGroup) CheckChanges ¶
func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) error
func (*SecurityGroup) CompareWithID ¶
func (s *SecurityGroup) CompareWithID() *string
func (*SecurityGroup) Find ¶
func (s *SecurityGroup) Find(context *fi.Context) (*SecurityGroup, error)
func (*SecurityGroup) FindDeletions ¶ added in v1.15.1
func (*SecurityGroup) GetLifecycle ¶
func (o *SecurityGroup) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SecurityGroup) GetName ¶
func (o *SecurityGroup) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*SecurityGroup) RenderOpenstack ¶
func (_ *SecurityGroup) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SecurityGroup) error
func (*SecurityGroup) SetLifecycle ¶
func (o *SecurityGroup) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*SecurityGroup) String ¶
func (o *SecurityGroup) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type SecurityGroupRule ¶
type SecurityGroupRule struct {
ID *string
Name *string
Direction *string
EtherType *string
SecGroup *SecurityGroup
PortRangeMin *int
PortRangeMax *int
Protocol *string
RemoteIPPrefix *string
RemoteGroup *SecurityGroup
Lifecycle *fi.Lifecycle
Delete *bool
}
func (*SecurityGroupRule) CheckChanges ¶
func (*SecurityGroupRule) CheckChanges(a, e, changes *SecurityGroupRule) error
func (*SecurityGroupRule) CompareWithID ¶
func (r *SecurityGroupRule) CompareWithID() *string
func (*SecurityGroupRule) Find ¶
func (r *SecurityGroupRule) Find(context *fi.Context) (*SecurityGroupRule, error)
func (*SecurityGroupRule) FindDeletions ¶ added in v1.19.0
func (*SecurityGroupRule) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Instance task
func (*SecurityGroupRule) GetLifecycle ¶
func (o *SecurityGroupRule) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*SecurityGroupRule) GetName ¶ added in v1.15.1
func (o *SecurityGroupRule) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*SecurityGroupRule) RenderOpenstack ¶
func (*SecurityGroupRule) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SecurityGroupRule) error
func (*SecurityGroupRule) SetLifecycle ¶
func (o *SecurityGroupRule) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*SecurityGroupRule) String ¶
func (o *SecurityGroupRule) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type ServerGroup ¶ added in v1.15.1
type ServerGroup struct {
ID *string
Name *string
ClusterName *string
IGName *string
Policies []string
MaxSize *int32
Lifecycle *fi.Lifecycle
// contains filtered or unexported fields
}
+kops:fitask
func (*ServerGroup) AddNewMember ¶ added in v1.20.0
func (s *ServerGroup) AddNewMember(memberID string)
AddNewMember is called when we created an instance in this server group. It adds it to the internal cached list of members. If we have already called GetMembers, this function will panic; this can be avoided by use of GetDependencies() (typically by depending on Instance tasks)
func (*ServerGroup) CheckChanges ¶ added in v1.15.1
func (_ *ServerGroup) CheckChanges(a, e, changes *ServerGroup) error
func (*ServerGroup) CompareWithID ¶ added in v1.15.1
func (s *ServerGroup) CompareWithID() *string
func (*ServerGroup) Find ¶ added in v1.15.1
func (s *ServerGroup) Find(context *fi.Context) (*ServerGroup, error)
func (*ServerGroup) GetLifecycle ¶ added in v1.15.1
func (o *ServerGroup) GetLifecycle() *fi.Lifecycle
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*ServerGroup) GetMembers ¶ added in v1.20.0
func (s *ServerGroup) GetMembers() []string
GetMembers returns the ids of servers in this group. It also activates the "flag" preventning further calls to AddNewMember, guaranteeing that no new members will be added.
func (*ServerGroup) GetName ¶ added in v1.15.1
func (o *ServerGroup) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*ServerGroup) RenderOpenstack ¶ added in v1.15.1
func (_ *ServerGroup) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *ServerGroup) error
func (*ServerGroup) SetLifecycle ¶ added in v1.15.1
func (o *ServerGroup) SetLifecycle(lifecycle fi.Lifecycle)
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
func (*ServerGroup) String ¶ added in v1.15.1
func (o *ServerGroup) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString
type Subnet ¶
type Subnet struct {
ID *string
Name *string
Network *Network
CIDR *string
DNSServers []*string
Tag *string
Lifecycle *fi.Lifecycle
}
+kops:fitask
func NewSubnetTaskFromCloud ¶ added in v1.15.1
func (*Subnet) CheckChanges ¶
func (*Subnet) CompareWithID ¶
func (*Subnet) GetDependencies ¶ added in v1.15.1
GetDependencies returns the dependencies of the Port task
func (*Subnet) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Subnet) RenderOpenstack ¶
func (*Subnet) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Subnet) error
func (*Subnet) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
type Volume ¶
type Volume struct {
ID *string
Name *string
AvailabilityZone *string
VolumeType *string
SizeGB *int64
Tags map[string]string
Lifecycle *fi.Lifecycle
}
+kops:fitask
func (*Volume) CheckChanges ¶
func (*Volume) CompareWithID ¶
func (*Volume) GetLifecycle ¶
GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle
func (*Volume) RenderOpenstack ¶
func (_ *Volume) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Volume) error
func (*Volume) SetLifecycle ¶
SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle
Source Files
¶
- floatingip.go
- floatingip_fitask.go
- instance.go
- instance_fitask.go
- lb.go
- lb_fitask.go
- lblistener.go
- lblistener_fitask.go
- lbpool.go
- lbpool_fitask.go
- network.go
- network_fitask.go
- poolassociation.go
- poolassociation_fitask.go
- port.go
- port_fitask.go
- router.go
- router_fitask.go
- routerinterface.go
- routerinterface_fitask.go
- securitygroup.go
- securitygroup_fitask.go
- securitygrouprule.go
- servergroup.go
- servergroup_fitask.go
- sshkey.go
- sshkey_fitask.go
- subnet.go
- subnet_fitask.go
- volume.go
- volume_fitask.go