Documentation ¶
Index ¶
Constants ¶
View Source
const RunCompletionEventName = "run-completion"
Variables ¶
View Source
var RunCompletionStatuses = struct { Succeeded RunCompletionStatus Failed RunCompletionStatus }{ Succeeded: "succeeded", Failed: "failed", }
Functions ¶
func K8sClientConfig ¶
Types ¶
type NamespacedName ¶
func NamespacedNameFromString ¶
func NamespacedNameFromString(namespacedName string) (NamespacedName, error)
func (NamespacedName) Empty ¶
func (nsn NamespacedName) Empty() bool
func (NamespacedName) MarshalText ¶
func (nsn NamespacedName) MarshalText() ([]byte, error)
func (NamespacedName) NonEmptyPtr ¶
func (nsn NamespacedName) NonEmptyPtr() *NamespacedName
Optionally render structs until https://github.com/golang/go/issues/11939 is addressed
func (NamespacedName) String ¶
func (nsn NamespacedName) String() (string, error)
func (*NamespacedName) UnmarshalText ¶
func (nsn *NamespacedName) UnmarshalText(bytes []byte) error
type RunCompletionEvent ¶
type RunCompletionEvent struct { Status RunCompletionStatus `json:"status"` PipelineName NamespacedName `json:"pipelineName"` // Optionally render structs until https://github.com/golang/go/issues/11939 is addressed RunConfigurationName *NamespacedName `json:"runConfigurationName,omitempty"` RunName *NamespacedName `json:"runName,omitempty"` RunId string `json:"runId"` ServingModelArtifacts []Artifact `json:"servingModelArtifacts"` Artifacts []Artifact `json:"artifacts,omitempty"` Provider string `json:"provider"` }
func (RunCompletionEvent) String ¶
func (sre RunCompletionEvent) String() string
type RunCompletionStatus ¶
type RunCompletionStatus string
Click to show internal directories.
Click to hide internal directories.