openstacktasks

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(v int) *int

func IntValue

func IntValue(v *int) int

Types

type Network

type Network struct {
	ID        *string
	Name      *string
	Lifecycle *fi.Lifecycle
}

func (*Network) CheckChanges

func (_ *Network) CheckChanges(a, e, changes *Network) error

func (*Network) CompareWithID

func (n *Network) CompareWithID() *string

func (*Network) Find

func (n *Network) Find(context *fi.Context) (*Network, error)

func (*Network) GetLifecycle

func (o *Network) GetLifecycle() *fi.Lifecycle

GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle

func (*Network) GetName

func (o *Network) GetName() *string

GetName returns the Name of the object, implementing fi.HasName

func (*Network) RenderOpenstack

func (_ *Network) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Network) error

func (*Network) Run

func (c *Network) Run(context *fi.Context) error

func (*Network) SetLifecycle

func (o *Network) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*Network) SetName

func (o *Network) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

func (*Network) ShouldCreate

func (_ *Network) ShouldCreate(a, e, changes *Network) (bool, error)

func (*Network) String

func (o *Network) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

func (*Network) UnmarshalJSON

func (o *Network) UnmarshalJSON(data []byte) error

UnmarshalJSON implements conversion to JSON, supporitng an alternate specification of the object as a string

type Router

type Router struct {
	ID        *string
	Name      *string
	Lifecycle *fi.Lifecycle
}

func (*Router) CheckChanges

func (_ *Router) CheckChanges(a, e, changes *Router) error

func (*Router) CompareWithID

func (n *Router) CompareWithID() *string

func (*Router) Find

func (n *Router) Find(context *fi.Context) (*Router, error)

func (*Router) GetLifecycle

func (o *Router) GetLifecycle() *fi.Lifecycle

GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle

func (*Router) GetName

func (o *Router) GetName() *string

GetName returns the Name of the object, implementing fi.HasName

func (*Router) RenderOpenstack

func (_ *Router) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Router) error

func (*Router) Run

func (c *Router) Run(context *fi.Context) error

func (*Router) SetLifecycle

func (o *Router) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*Router) SetName

func (o *Router) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

func (*Router) String

func (o *Router) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

func (*Router) UnmarshalJSON

func (o *Router) UnmarshalJSON(data []byte) error

UnmarshalJSON implements conversion to JSON, supporitng an alternate specification of the object as a string

type RouterInterface

type RouterInterface struct {
	ID        *string
	Name      *string
	Router    *Router
	Subnet    *Subnet
	Lifecycle *fi.Lifecycle
}

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) 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) Run

func (i *RouterInterface) Run(context *fi.Context) error

func (*RouterInterface) SetLifecycle

func (o *RouterInterface) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*RouterInterface) SetName

func (o *RouterInterface) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

func (*RouterInterface) String

func (o *RouterInterface) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

func (*RouterInterface) UnmarshalJSON

func (o *RouterInterface) UnmarshalJSON(data []byte) error

UnmarshalJSON implements conversion to JSON, supporitng an alternate specification of the object as a string

type SSHKey

type SSHKey struct {
	Name      *string
	Lifecycle *fi.Lifecycle

	PublicKey *fi.ResourceHolder

	KeyFingerprint *string
}

func (*SSHKey) CheckChanges

func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error

func (*SSHKey) CompareWithID

func (e *SSHKey) CompareWithID() *string

func (*SSHKey) Find

func (e *SSHKey) Find(c *fi.Context) (*SSHKey, error)

func (*SSHKey) GetLifecycle

func (o *SSHKey) GetLifecycle() *fi.Lifecycle

GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle

func (*SSHKey) GetName

func (o *SSHKey) GetName() *string

GetName returns the Name of the object, implementing fi.HasName

func (*SSHKey) RenderOpenstack

func (_ *SSHKey) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SSHKey) error

func (*SSHKey) Run

func (e *SSHKey) Run(c *fi.Context) error

func (*SSHKey) SetLifecycle

func (o *SSHKey) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*SSHKey) SetName

func (o *SSHKey) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

func (*SSHKey) String

func (o *SSHKey) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

func (*SSHKey) UnmarshalJSON

func (o *SSHKey) UnmarshalJSON(data []byte) error

UnmarshalJSON implements conversion to JSON, supporitng an alternate specification of the object as a string

type SecurityGroup

type SecurityGroup struct {
	ID          *string
	Name        *string
	Description *string
	Lifecycle   *fi.Lifecycle
}

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) 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) Run

func (s *SecurityGroup) Run(context *fi.Context) error

func (*SecurityGroup) SetLifecycle

func (o *SecurityGroup) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*SecurityGroup) SetName

func (o *SecurityGroup) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

func (*SecurityGroup) String

func (o *SecurityGroup) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

func (*SecurityGroup) UnmarshalJSON

func (o *SecurityGroup) UnmarshalJSON(data []byte) error

UnmarshalJSON implements conversion to JSON, supporitng an alternate specification of the object as a string

type SecurityGroupRule

type SecurityGroupRule struct {
	ID             *string
	Direction      *string
	EtherType      *string
	SecGroup       *SecurityGroup
	PortRangeMin   *int
	PortRangeMax   *int
	Protocol       *string
	RemoteIPPrefix *string
	Lifecycle      *fi.Lifecycle
}

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) GetLifecycle

func (r *SecurityGroupRule) GetLifecycle() *fi.Lifecycle

func (*SecurityGroupRule) RenderOpenstack

func (_ *SecurityGroupRule) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *SecurityGroupRule) error

func (*SecurityGroupRule) Run

func (r *SecurityGroupRule) Run(context *fi.Context) error

func (*SecurityGroupRule) SetLifecycle

func (r *SecurityGroupRule) SetLifecycle(lifecycle fi.Lifecycle)

func (*SecurityGroupRule) String

func (r *SecurityGroupRule) String() string

type Subnet

type Subnet struct {
	ID        *string
	Name      *string
	Network   *Network
	CIDR      *string
	Lifecycle *fi.Lifecycle
}

func (*Subnet) CheckChanges

func (_ *Subnet) CheckChanges(a, e, changes *Subnet) error

func (*Subnet) CompareWithID

func (s *Subnet) CompareWithID() *string

func (*Subnet) Find

func (s *Subnet) Find(context *fi.Context) (*Subnet, error)

func (*Subnet) GetLifecycle

func (o *Subnet) GetLifecycle() *fi.Lifecycle

GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle

func (*Subnet) GetName

func (o *Subnet) GetName() *string

GetName returns the Name of the object, implementing fi.HasName

func (*Subnet) RenderOpenstack

func (_ *Subnet) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Subnet) error

func (*Subnet) Run

func (s *Subnet) Run(context *fi.Context) error

func (*Subnet) SetLifecycle

func (o *Subnet) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*Subnet) SetName

func (o *Subnet) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

func (*Subnet) String

func (o *Subnet) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

func (*Subnet) UnmarshalJSON

func (o *Subnet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements conversion to JSON, supporitng an alternate specification of the object as a string

type Volume

type Volume struct {
	ID               *string
	Name             *string
	AvailabilityZone *string
	VolumeType       *string
	SizeGB           *int64
	Tags             map[string]string
	Lifecycle        *fi.Lifecycle
}

func (*Volume) CheckChanges

func (_ *Volume) CheckChanges(a, e, changes *Volume) error

func (*Volume) CompareWithID

func (c *Volume) CompareWithID() *string

func (*Volume) Find

func (c *Volume) Find(context *fi.Context) (*Volume, error)

func (*Volume) GetLifecycle

func (o *Volume) GetLifecycle() *fi.Lifecycle

GetLifecycle returns the Lifecycle of the object, implementing fi.HasLifecycle

func (*Volume) GetName

func (o *Volume) GetName() *string

GetName returns the Name of the object, implementing fi.HasName

func (*Volume) RenderOpenstack

func (_ *Volume) RenderOpenstack(t *openstack.OpenstackAPITarget, a, e, changes *Volume) error

func (*Volume) Run

func (c *Volume) Run(context *fi.Context) error

func (*Volume) SetLifecycle

func (o *Volume) SetLifecycle(lifecycle fi.Lifecycle)

SetLifecycle sets the Lifecycle of the object, implementing fi.SetLifecycle

func (*Volume) SetName

func (o *Volume) SetName(name string)

SetName sets the Name of the object, implementing fi.SetName

func (*Volume) String

func (o *Volume) String() string

String is the stringer function for the task, producing readable output using fi.TaskAsString

func (*Volume) UnmarshalJSON

func (o *Volume) UnmarshalJSON(data []byte) error

UnmarshalJSON implements conversion to JSON, supporitng an alternate specification of the object as a string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL