Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientHook ¶
type ClientHook interface { syncer.Base // Resource is the typed resource (e.g. &corev1.Pod{}) that should get mutated. Resource() client.Object }
ClientHook tells the sdk that this action watches on certain vcluster requests and wants to mutate these. The objects this action wants to watch can be defined through the Resource() function that returns a new object of the type to watch. By implementing the defined interfaces below it is possible to watch on: Create, Update (includes patch requests), Delete and Get requests. This makes it possible to change incoming or outgoing objects on the fly, without the need to completely replace a vanilla vcluster syncer.
type MutateCreatePhysical ¶
type MutateCreateVirtual ¶
type MutateDeletePhysical ¶
type MutateDeleteVirtual ¶
type MutateGetPhysical ¶
type MutateGetVirtual ¶
type MutateUpdatePhysical ¶
Click to show internal directories.
Click to hide internal directories.