gardener

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(config *rest.Config) (*v1beta1.CoreV1beta1Client, error)

func NewClusterConfig

func NewClusterConfig(kubeconfigPath string) (*rest.Config, error)

func NewWatchFunc

func NewWatchFunc(l *logrus.Logger, c Client, s StateSetter) agent.WatchFn

Types

type Client

type Client interface {
	List(context.Context, v1.ListOptions) (*v1beta1.ShootList, error)
}

type LastState

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

func (*LastState) Get

func (s *LastState) Get() *v1beta1.ShootList

func (*LastState) Set

func (s *LastState) Set(shoots *v1beta1.ShootList)

type StateSetter

type StateSetter interface {
	Set(*v1beta1.ShootList)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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