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.
Click to show internal directories.
Click to hide internal directories.