controllers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AddressController         = "address"
	BuildController           = "build"
	ContainerBuildController  = "containerbuild"
	JobController             = "job"
	NodePoolController        = "nodepool"
	ServiceController         = "service"
	SystemController          = "system"
	SystemLifecycleController = "systemlifecycle"
)

Variables

View Source
var Initializers = map[string]Initializer{
	AddressController:         initializeAddressController,
	BuildController:           initializeBuildController,
	ContainerBuildController:  initializeContainerBuildController,
	JobController:             initializeJobController,
	NodePoolController:        initializeNodePoolController,
	ServiceController:         initializeServiceController,
	SystemController:          initializeSystemController,
	SystemLifecycleController: initializeSystemLifecycleController,
}

Functions

This section is empty.

Types

type Context

type Context struct {
	NamespacePrefix string
	LatticeID       v1.LatticeID

	InternalDNSDomain string

	ComponentResolver resolver.Interface

	CloudProviderOptions *cloudprovider.Options
	ServiceMeshOptions   *servicemesh.Options

	// KubeInformerFactory gives access to base kubernetes kubeinformers.
	KubeInformerFactory kubeinformers.SharedInformerFactory

	// Need to create shared kubeinformers for each of our CRDs.
	LatticeInformerFactory latticeinformers.SharedInformerFactory

	KubeClientBuilder    KubeClientBuilder
	LatticeClientBuilder LatticeClientBuilder

	// Stop is the stop channel
	Stop <-chan struct{}
}

type Initializer

type Initializer func(context Context)

type KubeClientBuilder

type KubeClientBuilder struct {
	Kubeconfig *rest.Config
}

func (KubeClientBuilder) ClientOrDie

func (cb KubeClientBuilder) ClientOrDie(name string) kubeclientset.Interface

type LatticeClientBuilder

type LatticeClientBuilder struct {
	Kubeconfig *rest.Config
}

func (LatticeClientBuilder) ClientOrDie

Jump to

Keyboard shortcuts

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