clients

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInterface added in v0.6.0

type ClientInterface interface {
	EventRecorder(name string) record.EventRecorder
	Start(ctx context.Context) error
	Core() corecontrollers.Interface
}

type Clients

type Clients struct {
	Events corev1Typed.EventInterface
	// contains filtered or unexported fields
}

func NewFromConfig

func NewFromConfig(restConfig *rest.Config) (*Clients, error)

func (*Clients) Core added in v0.6.0

func (c *Clients) Core() corecontrollers.Interface

func (*Clients) EventRecorder

func (c *Clients) EventRecorder(name string) record.EventRecorder

EventRecorder creates an event recorder associated to a controller nome for the schema (arbitrary)

func (*Clients) Start

func (c *Clients) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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