context

package
Version: v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 4 Imported by: 22

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.

Source Files

Jump to

Keyboard shortcuts

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