Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScanStatusReasonNotRequested = "Pipeline did not request scan job to output results" ScanStatusReasonOutputDeleted = "Output from scan job deleted" ScanStatusReasonResultMissing = "Scan results not found in output from scan job" ScanStatusReasonResultParseError = "Unable to parse output from scan job" )
View Source
const ( PRIVILEGED_CONTAINER = false ALLOW_PRIVILEGE_ESCALATION = false RUN_AS_NON_ROOT = true RUN_AS_USER = 1000 RUN_AS_GROUP = 1000 FS_GROUP = 1000 )
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(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 Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job Instance variables
func NewJob ¶
func NewJob( kubeclient kubernetes.Interface, kubeutil *kube.Kube, radixclient radixclient.Interface, radixJob *v1.RadixJob) Job
NewJob Constructor
func (*Job) OnSync ¶
OnSync compares the actual state with the desired, and attempts to converge the two
func (*Job) SyncTargetEnvironments ¶ added in v1.5.21
func (job *Job) SyncTargetEnvironments()
SyncTargetEnvironments sync the environments in the RadixJob with environments in the RA
Click to show internal directories.
Click to hide internal directories.