Documentation ¶
Overview ¶
Package target provides types and methods for targets of iter8 experiments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Condition ¶
type Condition struct { // Type of condition. Type string `json:"type" description:"type of status condition"` // Status of the condition, one of True, False, Unknown. Status string `json:"status" description:"status of the condition, one of True, False, Unknown"` }
Condition defines a readiness condition for InferenceService
type PatchInt64Value ¶
type PatchInt64Value struct { Op string `json:"op"` Path string `json:"path"` Value int64 `json:"value"` }
PatchInt64Value specifies the patch data needed to patch a int64 field.
type Target ¶
type Target interface { Error() error InitializeTrafficSplit() Target GetVersionInfo() (*etc3.VersionInfo, error) SetNewBaseline() Target SetExperiment(exp *experiment.Experiment) Target SetK8sClient(c client.Client) Target Fetch(targetRef string) Target SetVersionInfoInExperiment() Target }
Target interface represents the target of an iter8 experiment.
Click to show internal directories.
Click to hide internal directories.