Documentation
¶
Index ¶
- Constants
- Variables
- func LoggerFromContext(ctx context.Context) logr.Logger
- func NewLogger(logLevel zapcore.Level) (logr.Logger, error)
- type Artifact
- type ComponentArtifact
- type ComponentArtifactInstance
- type NamespacedName
- func (nsn NamespacedName) Empty() bool
- func (nsn NamespacedName) MarshalText() ([]byte, error)
- func (nsn NamespacedName) NonEmptyPtr() *NamespacedName
- func (nsn NamespacedName) SeparatedString(separator string) (string, error)
- func (nsn NamespacedName) String() (string, error)
- func (nsn *NamespacedName) UnmarshalText(bytes []byte) error
- type PipelineComponent
- type RunCompletionEvent
- type RunCompletionEventData
- type RunCompletionStatus
Constants ¶
View Source
const RunCompletionEventName = "run-completion"
Variables ¶
View Source
var RunCompletionStatuses = struct { Succeeded RunCompletionStatus Failed RunCompletionStatus }{ Succeeded: "succeeded", Failed: "failed", }
Functions ¶
Types ¶
type ComponentArtifact ¶
type ComponentArtifact struct { Name string `json:"name"` Artifacts []ComponentArtifactInstance `json:"artifacts"` }
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) SeparatedString ¶
func (nsn NamespacedName) SeparatedString(separator string) (string, error)
func (NamespacedName) String ¶
func (nsn NamespacedName) String() (string, error)
func (*NamespacedName) UnmarshalText ¶
func (nsn *NamespacedName) UnmarshalText(bytes []byte) error
type PipelineComponent ¶
type PipelineComponent struct { Name string `json:"name"` ComponentArtifacts []ComponentArtifact `json:"componentArtifacts"` }
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"` Provider string `json:"provider"` }
func (RunCompletionEvent) String ¶
func (sre RunCompletionEvent) String() string
type RunCompletionEventData ¶
type RunCompletionEventData 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"` PipelineComponents []PipelineComponent `json:"pipelineComponents"` Provider string `json:"provider"` }
func (RunCompletionEventData) ToRunCompletionEvent ¶
func (rced RunCompletionEventData) ToRunCompletionEvent() RunCompletionEvent
type RunCompletionStatus ¶
type RunCompletionStatus string
Click to show internal directories.
Click to hide internal directories.