v1beta2

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 32 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Config

type Config struct {
	HabitatClient          rest.Interface
	KubernetesClientset    *kubernetes.Clientset
	ClusterConfig          *rest.Config
	KubeInformerFactory    kubeinformers.SharedInformerFactory
	HabitatInformerFactory habinformers.SharedInformerFactory
	Namespace              string
}

type HabitatController

type HabitatController struct {
	// contains filtered or unexported fields
}

func New

func New(config Config, logger log.Logger) (*HabitatController, error)

func (*HabitatController) Run

func (hc *HabitatController) Run(ctx context.Context, workers int) error

Run starts a Habitat resource controller.

Jump to

Keyboard shortcuts

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