Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetaGeneratePatchesHandler ¶
func NewMetaGeneratePatchesHandler( name string, mutators ...MetaMutator, ) handlers.Named
Types ¶
type DiscoverVariables ¶
type DiscoverVariables interface { DiscoverVariables( context.Context, *runtimehooksv1.DiscoverVariablesRequest, *runtimehooksv1.DiscoverVariablesResponse, ) }
type GeneratePatches ¶
type GeneratePatches interface { GeneratePatches( context.Context, *runtimehooksv1.GeneratePatchesRequest, *runtimehooksv1.GeneratePatchesResponse, ) }
type MetaMutator ¶
type MetaMutator interface { Mutate( ctx context.Context, obj *unstructured.Unstructured, vars map[string]apiextensionsv1.JSON, holderRef runtimehooksv1.HolderReference, clusterKey client.ObjectKey, ) error }
type MutateFunc ¶
type MutateFunc func( ctx context.Context, obj *unstructured.Unstructured, vars map[string]apiextensionsv1.JSON, holderRef runtimehooksv1.HolderReference, clusterKey client.ObjectKey, ) error
type ValidateTopology ¶
type ValidateTopology interface { ValidateTopology( context.Context, *runtimehooksv1.ValidateTopologyRequest, *runtimehooksv1.ValidateTopologyResponse, ) }
Click to show internal directories.
Click to hide internal directories.