config

package
v0.0.0-...-480dd5c Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterContext

type ClusterContext struct {
	RESTConfig        rest.Config
	UnversionedClient rest.Interface

	Cluster       clusterv1.Interface
	Authorization authzv1.Interface
}

func NewClusterContext

func NewClusterContext(config rest.Config) (*ClusterContext, error)

func (*ClusterContext) Start

func (c *ClusterContext) Start(ctx context.Context) error

func (*ClusterContext) StartAndWait

func (c *ClusterContext) StartAndWait() error

type WorkloadContext

type WorkloadContext struct {
	Cluster           *ClusterContext
	ClusterName       string
	RESTConfig        rest.Config
	UnversionedClient rest.Interface
	K8sClient         kubernetes.Interface

	Apps     appsv1beta2.Interface
	Workload workloadv1.Interface
	Core     corev1.Interface
}

func NewWorkloadContext

func NewWorkloadContext(clusterConfig, config rest.Config, clusterName string) (*WorkloadContext, error)

func (*WorkloadContext) Start

func (w *WorkloadContext) Start(ctx context.Context) error

func (*WorkloadContext) StartAndWait

func (w *WorkloadContext) StartAndWait() error

Jump to

Keyboard shortcuts

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