controller

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 9 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 {
	K8s *kubernetes.Clientset
	// contains filtered or unexported fields
}

func (*RestClients) CFClientWithoutZoneID added in v0.0.6

func (rc *RestClients) CFClientWithoutZoneID() (*cfapi.RESTClient, error)

func (*RestClients) GetCFClientForDomain added in v0.0.6

func (rc *RestClients) GetCFClientForDomain(domain string) (*cfapi.RESTClient, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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