controllercontext

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidContext

func IsInvalidContext(err error) bool

IsInvalidContext asserts invalidContextError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func NewContext

func NewContext(ctx context.Context, c Context) context.Context

Types

type Context

type Context struct {
	APILBBackendPoolID  string
	AzureClientSet      *client.AzureClientSet
	AzureNetwork        *network.Subnets
	CloudConfig         cloudconfig.Interface
	ContainerURL        *azblob.ContainerURL
	EtcdLBBackendPoolID string
	MasterSubnetID      string
	WorkerSubnetID      string
}

func FromContext

func FromContext(ctx context.Context) (*Context, error)

func (*Context) Validate

func (c *Context) Validate() error

Jump to

Keyboard shortcuts

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