context

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 4 Imported by: 39

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GardenContext

type GardenContext interface {
	GetCluster(ctx context.Context) (*extensionscontroller.Cluster, error)
}

GardenContext wraps the actual context and cluster object.

func NewGardenContext

func NewGardenContext(client client.Client, object client.Object) GardenContext

NewGardenContext creates a context object.

func NewInternalGardenContext

func NewInternalGardenContext(cluster *extensionscontroller.Cluster) GardenContext

NewInternalGardenContext creates a context object from a Cluster object.

Jump to

Keyboard shortcuts

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