Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTensorFusionInfo ¶
func SetupPodWebhookWithManager ¶
func SetupPodWebhookWithManager(mgr ctrl.Manager, portAllocator *portallocator.PortAllocator) error
SetupPodWebhookWithManager registers the webhook for Pod in the manager.
Types ¶
type TFResource ¶
type TensorFusionPodCounter ¶ added in v1.26.0
func (*TensorFusionPodCounter) Decrease ¶ added in v1.26.0
Decrease decreases the counter in owner annotation by key
type TensorFusionPodMutator ¶
type TensorFusionPodMutator struct { Client client.Client // contains filtered or unexported fields }
func (*TensorFusionPodMutator) Handle ¶
func (m *TensorFusionPodMutator) Handle(ctx context.Context, req admission.Request) admission.Response
Handle implements admission.Handler interface.
func (*TensorFusionPodMutator) InjectDecoder ¶
func (m *TensorFusionPodMutator) InjectDecoder(d admission.Decoder) error
InjectDecoder injects the decoder.
Click to show internal directories.
Click to hide internal directories.