wrangler

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	RESTConfig        *rest.Config
	Kubernetes        kubernetes.Interface
	ControllerFactory controller.SharedControllerFactory

	FlatNetwork flv1.Interface
	Core        corecontroller.Interface
	Apps        appsv1.Interface
	Networking  networkingv1.Interface
	Batch       batchv1.Interface
	Discovery   discoveryv1.Interface
	Recorder    record.EventRecorder

	// ClientSet for NetworkAttachmentDefinitions
	NDClientSet *ndClientSet.Clientset
	// contains filtered or unexported fields
}

func NewContextOrDie

func NewContextOrDie(
	restCfg *rest.Config,
) *Context

func (*Context) OnLeader

func (c *Context) OnLeader(f func(ctx context.Context) error)

func (*Context) Run

func (c *Context) Run(ctx context.Context)

Run starts the leader-election process and block.

func (*Context) StartHandler

func (c *Context) StartHandler(ctx context.Context, worker int) error

func (*Context) SupportDiscoveryV1

func (c *Context) SupportDiscoveryV1() bool

func (*Context) SupportIngressV1

func (c *Context) SupportIngressV1() bool

func (*Context) WaitForCacheSyncOrDie

func (c *Context) WaitForCacheSyncOrDie(ctx context.Context)

Jump to

Keyboard shortcuts

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