controller

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CFController

type CFController struct {
	Log        *zerolog.Logger
	Cfg        *config.CFControllerConfig
	Rest       *RestClients
	Context    context.Context
	CancelFunc context.CancelFunc
	// contains filtered or unexported fields
}

func NewCFController added in v0.0.2

func NewCFController(log *zerolog.Logger) *CFController

func (*CFController) RegisterShutdown added in v0.0.2

func (cfc *CFController) RegisterShutdown(sfn func()) func()

func (*CFController) Shutdown added in v0.0.2

func (cfc *CFController) Shutdown()

func (*CFController) WithComponent

func (cfc *CFController) WithComponent(component string, fns ...func(*CFController)) *CFController

type RestClients

type RestClients struct {
	Cf  *cfapi.RESTClient
	K8s *kubernetes.Clientset
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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