resources

package
v0.0.0-...-dfc6acd Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstancePollingAttempts = 40
	InstancePollingInterval = 5 * time.Second
	OperatorPublicNet       = "Ext-Net"
	IPv4                    = 4
	IPv6                    = 6
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceGroup

type InstanceGroup struct {
	resources.Shared
	Count            int
	Flavor           string
	Image            string
	BootstrapScripts []string
	ServerPool       *cluster.ServerPool
}

func (*InstanceGroup) Actual

func (r *InstanceGroup) Actual(immutable *cluster.Cluster) (actual *cluster.Cluster, resource cloud.Resource, err error)

func (*InstanceGroup) Apply

func (r *InstanceGroup) Apply(actual cloud.Resource, expected cloud.Resource, immutable *cluster.Cluster) (updatedCluster *cluster.Cluster, resource cloud.Resource, err error)

func (*InstanceGroup) Delete

func (r *InstanceGroup) Delete(actual cloud.Resource, immutable *cluster.Cluster) (updatedCluster *cluster.Cluster, resource cloud.Resource, err error)

func (*InstanceGroup) Expected

func (r *InstanceGroup) Expected(immutable *cluster.Cluster) (expected *cluster.Cluster, resource cloud.Resource, err error)

Jump to

Keyboard shortcuts

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