resources

package
v0.0.0-...-64835f2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ResourceGroup

type ResourceGroup struct {
	Shared
	Location string
}

func (*ResourceGroup) Actual

func (r *ResourceGroup) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

Actual returns the actual resource group in Azure if it exists.

func (*ResourceGroup) Apply

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

func (*ResourceGroup) Delete

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

func (*ResourceGroup) Expected

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

Expected will return the expected resource group as it would be defined in Azure

type Shared

type Shared struct {
	Identifier string
	Name       string
	Tags       map[string]string
}

type Vnet

type Vnet struct {
	Shared
}

func (*Vnet) Actual

func (r *Vnet) Actual(immutable *cluster.Cluster) (*cluster.Cluster, cloud.Resource, error)

func (*Vnet) Apply

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

func (*Vnet) Delete

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

func (*Vnet) Expected

func (r *Vnet) 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