resources

package
v0.0.0-...-10d6984 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2018 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type KeyPair

type KeyPair struct {
	Shared
	PublicKeyData        string
	PublicKeyPath        string
	PublicKeyFingerprint string
	User                 string
}

func (*KeyPair) Actual

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

func (*KeyPair) Apply

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

func (*KeyPair) Delete

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

func (*KeyPair) Expected

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

type Network

type Network struct {
	Shared
}

func (*Network) Actual

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

func (*Network) Apply

func (r *Network) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*Network) Delete

func (r *Network) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*Network) Expected

func (r *Network) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

type Router

type Router struct {
	Shared
}

func (*Router) Actual

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

func (*Router) Apply

func (r *Router) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*Router) Delete

func (r *Router) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*Router) Expected

func (r *Router) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

type SecurityGroup

type SecurityGroup struct {
	Shared
	IngressRules []*SecurityGroupRule
	Firewall     *cluster.Firewall
	ServerPool   *cluster.ServerPool
}

func (*SecurityGroup) Actual

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

func (*SecurityGroup) Apply

func (r *SecurityGroup) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*SecurityGroup) Delete

func (r *SecurityGroup) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*SecurityGroup) Expected

func (r *SecurityGroup) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

type SecurityGroupRule

type SecurityGroupRule struct {
	FromPort int
	ToPort   int
	IPPrefix string
	Protocol string
}

type Shared

type Shared struct {
	Identifier string
	Name       string
}

type Subnet

type Subnet struct {
	Shared
	ClusterSubnet *cluster.Subnet
	ServerPool    *cluster.ServerPool
	CIDR          string
	NetworkID     string
}

func (*Subnet) Actual

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

func (*Subnet) Apply

func (r *Subnet) Apply(actual, expected cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*Subnet) Delete

func (r *Subnet) Delete(actual cloud.Resource, immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*Subnet) Expected

func (r *Subnet) Expected(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

Jump to

Keyboard shortcuts

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