controllercontext

package
v5.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 8 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 {
	MasterLBBackendPoolID string
	AzureClientSet        *client.AzureClientSet
	Client                ContextClient
	CloudConfig           cloudconfig.Interface
	ContainerURL          *azblob.ContainerURL
	MasterSubnetID        string
	Release               ContextRelease
	WorkerSubnetID        string
}

func FromContext

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

func (*Context) Validate

func (c *Context) Validate() error

type ContextClient

type ContextClient struct {
	TenantCluster ContextClientTenantCluster
}

type ContextClientTenantCluster

type ContextClientTenantCluster struct {
	G8s versioned.Interface
	K8s kubernetes.Interface
}

type ContextRelease

type ContextRelease struct {
	Release v1alpha1.Release
}

Jump to

Keyboard shortcuts

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