Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ResultContent of the pipeline job, passed via ConfigMap as v1.RadixJobResult structure
ResultContent = "ResultContent"
)
Variables ¶
This section is empty.
Functions ¶
func GetOwnerReference ¶
func GetOwnerReference(radixJob *v1.RadixJob) []metav1.OwnerReference
GetOwnerReference Gets owner reference of radix job
func GetOwnerReferenceOfJob ¶
func GetOwnerReferenceOfJob(ctx context.Context, radixclient radixclient.Interface, namespace, name string) ([]metav1.OwnerReference, error)
GetOwnerReferenceOfJob Gets owner reference of job with name and UUID
func IsRadixJobDone ¶
IsRadixJobDone Checks if job is done
Types ¶
type History ¶ added in v1.57.8
type History interface { // Cleanup the pipeline job history for the Radix application Cleanup(ctx context.Context, appName string) error }
History Interface for job History
func NewHistory ¶ added in v1.57.8
func NewHistory(radixClient radixclient.Interface, kubeUtil *kube.Kube, historyLimit int, historyPeriodLimit time.Duration) History
NewHistory Constructor for job History
Click to show internal directories.
Click to hide internal directories.