Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupPodWebhookWithManager ¶
SetupPodWebhookWithManager registers the webhook for Pod in the manager.
Types ¶
type TFResource ¶
type TensorFusionInfo ¶
type TensorFusionInfo struct { Profile *tfv1.WorkloadProfileSpec Replicas int32 EnabledReplicas *int32 WorkloadName string ContainerNames []string GenWorkload bool }
func ParseTensorFusionInfo ¶
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.