instancegroup

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, logger logging.Logger, svc *compute.Service, spec *model.UserSpec, caller *api.Caller) core.ResourceService

Types

type Config

type Config struct {
	PoolName string
	Ports    []int64
}

type Desired

type Desired struct {
	IG         *compute.InstanceGroup
	NamedPorts []*compute.NamedPort `hash:"set"`
}

type Ensured

type Ensured struct {
	URL string
	// contains filtered or unexported fields
}

func (*Ensured) AddMember

func (e *Ensured) AddMember(comp infra.Compute) error

func (*Ensured) EnsureMembers

func (e *Ensured) EnsureMembers(computes []infra.Compute) error

Jump to

Keyboard shortcuts

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