Documentation
¶
Index ¶
- func AssertClusterRoleNotPresent(clients *clients.Clients, clusterRoleName string)
- func AssertClusterRolePresent(clients *clients.Clients, clusterRoleName string)
- func AssertConfigMapNotPresent(clients *clients.Clients, ns, configMapName string)
- func AssertConfigMapPresent(clients *clients.Clients, ns, configMapName string)
- func AssertRoleBindingNotPresent(clients *clients.Clients, ns, roleBindingName string)
- func AssertRoleBindingPresent(clients *clients.Clients, ns, roleBindingName string)
- func AssertSCCNotPresent(clients *clients.Clients, sccName string)
- func AssertSCCPresent(clients *clients.Clients, sccName string)
- func AssertServiceAccountNotPresent(clients *clients.Clients, ns, targetSA string)
- func AssertServiceAccountPresent(clients *clients.Clients, ns, targetSA string)
- func AssertTektonAddonCRReadyStatus(clients *clients.Clients, names utils.ResourceNames)
- func AssertTektonConfigCRReadyStatus(clients *clients.Clients, names utils.ResourceNames)
- func AssertTektonPipelineCRReadyStatus(clients *clients.Clients, names utils.ResourceNames)
- func AssertTektonTriggerCRReadyStatus(clients *clients.Clients, names utils.ResourceNames)
- func CheckAttestationExists()
- func CreateFileWithCosignPubKey()
- func CreateResultsRoute()
- func CreateSecretsForTektonResults()
- func CreateSigningSecretForTektonChains()
- func DeleteTektonConfigCR(cs *clients.Clients, rnames utils.ResourceNames)
- func EnsureResultsReady()
- func EnsureTektonAddonExists(clients operatorv1alpha1.TektonAddonInterface, names utils.ResourceNames) (*v1alpha1.TektonAddon, error)
- func EnsureTektonAddonsStatusInstalled(clients operatorv1alpha1.TektonAddonInterface, names utils.ResourceNames)
- func EnsureTektonChainsExists(clients chainv1alpha.TektonChainInterface, names utils.ResourceNames) (*v1alpha1.TektonChain, error)
- func EnsureTektonConfigExists(clients configv1alpha1.TektonConfigInterface, names utils.ResourceNames) (*v1alpha1.TektonConfig, error)
- func EnsureTektonConfigStatusInstalled(clients configv1alpha1.TektonConfigInterface, names utils.ResourceNames)
- func EnsureTektonHubsExists(clients hubv1alpha.TektonHubInterface, names utils.ResourceNames) (*v1alpha1.TektonHub, error)
- func EnsureTektonPipelineExists(clients pipelinev1alpha1.TektonPipelineInterface, names utils.ResourceNames) (*v1alpha1.TektonPipeline, error)
- func EnsureTektonTriggerExists(clients triggerv1alpha1.TektonTriggerInterface, names utils.ResourceNames) (*v1alpha1.TektonTrigger, error)
- func GetImageUrlAndDigest() (string, string)
- func GetResultsAnnotations(resourceType string) (string, string, string)
- func GetResultsApi() string
- func IsTektonAddonReady(s *v1alpha1.TektonAddon, err error) (bool, error)
- func IsTektonConfigReady(s *v1alpha1.TektonConfig, err error) (bool, error)
- func IsTektonPipelineReady(s *v1alpha1.TektonPipeline, err error) (bool, error)
- func IsTektonTriggerReady(s *v1alpha1.TektonTrigger, err error) (bool, error)
- func StartKanikoTask()
- func TektonAddonCRDelete(clients *clients.Clients, crNames utils.ResourceNames)
- func TektonConfigCRDelete(clients *clients.Clients, crNames utils.ResourceNames)
- func TektonPipelineCRDelete(clients *clients.Clients, crNames utils.ResourceNames)
- func TektonTriggerCRDelete(clients *clients.Clients, crNames utils.ResourceNames)
- func Uninstall(cs *clients.Clients, rnames utils.ResourceNames)
- func ValidateChainsDeployments(cs *clients.Clients, rnames utils.ResourceNames)
- func ValidateHubDeployments(cs *clients.Clients, rnames utils.ResourceNames)
- func ValidateManualApprovalGateDeployments(cs *clients.Clients, rnames utils.ResourceNames)
- func ValidateOperatorInstallStatus(cs *clients.Clients, rnames utils.ResourceNames)
- func ValidatePipelineDeployments(cs *clients.Clients, rnames utils.ResourceNames)
- func ValidateRBAC(cs *clients.Clients, rnames utils.ResourceNames)
- func ValidateRBACAfterDisable(cs *clients.Clients, rnames utils.ResourceNames)
- func ValidateTriggerDeployments(cs *clients.Clients, rnames utils.ResourceNames)
- func VerifyAttestation()
- func VerifyImageSignature()
- func VerifyResultsLogs(resourceType string)
- func VerifyResultsRecords(resourceType string)
- func VerifyResultsStored(resourceType string)
- func VerifySignature(resourceType string)
- func WaitForTektonAddonState(clients operatorv1alpha1.TektonAddonInterface, name string, ...) (*v1alpha1.TektonAddon, error)
- func WaitForTektonConfigCR(cs *clients.Clients, rnames utils.ResourceNames)
- func WaitForTektonConfigState(clients configv1alpha1.TektonConfigInterface, name string, ...) (*v1alpha1.TektonConfig, error)
- func WaitForTektonPipelineState(clients pipelinev1alpha1.TektonPipelineInterface, name string, ...) (*v1alpha1.TektonPipeline, error)
- func WaitForTektonTriggerState(clients triggerv1alpha1.TektonTriggerInterface, name string, ...) (*v1alpha1.TektonTrigger, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertConfigMapPresent ¶
func AssertSCCNotPresent ¶
func AssertSCCPresent ¶
func AssertTektonAddonCRReadyStatus ¶
func AssertTektonAddonCRReadyStatus(clients *clients.Clients, names utils.ResourceNames)
AssertTektonAddonCRReadyStatus verifies if the TektonAddon reaches the READY status.
func AssertTektonConfigCRReadyStatus ¶
func AssertTektonConfigCRReadyStatus(clients *clients.Clients, names utils.ResourceNames)
AssertTektonConfigCRReadyStatus verifies if the TektonConfig reaches the READY status.
func AssertTektonPipelineCRReadyStatus ¶
func AssertTektonPipelineCRReadyStatus(clients *clients.Clients, names utils.ResourceNames)
AssertTektonPipelineCRReadyStatus verifies if the TektonPipeline reaches the READY status.
func AssertTektonTriggerCRReadyStatus ¶
func AssertTektonTriggerCRReadyStatus(clients *clients.Clients, names utils.ResourceNames)
AssertTektonTriggerCRReadyStatus verifies if the TektonTrigger reaches the READY status.
func CheckAttestationExists ¶
func CheckAttestationExists()
func CreateFileWithCosignPubKey ¶
func CreateFileWithCosignPubKey()
func CreateResultsRoute ¶
func CreateResultsRoute()
func CreateSecretsForTektonResults ¶
func CreateSecretsForTektonResults()
func CreateSigningSecretForTektonChains ¶
func CreateSigningSecretForTektonChains()
func DeleteTektonConfigCR ¶
func DeleteTektonConfigCR(cs *clients.Clients, rnames utils.ResourceNames)
func EnsureResultsReady ¶
func EnsureResultsReady()
func EnsureTektonAddonExists ¶
func EnsureTektonAddonExists(clients operatorv1alpha1.TektonAddonInterface, names utils.ResourceNames) (*v1alpha1.TektonAddon, error)
EnsureTektonAddonExists creates a TektonAddon with the name names.TektonAddon, if it does not exist.
func EnsureTektonAddonsStatusInstalled ¶
func EnsureTektonAddonsStatusInstalled(clients operatorv1alpha1.TektonAddonInterface, names utils.ResourceNames)
func EnsureTektonChainsExists ¶
func EnsureTektonChainsExists(clients chainv1alpha.TektonChainInterface, names utils.ResourceNames) (*v1alpha1.TektonChain, error)
func EnsureTektonConfigExists ¶
func EnsureTektonConfigExists(clients configv1alpha1.TektonConfigInterface, names utils.ResourceNames) (*v1alpha1.TektonConfig, error)
EnsureTektonConfigExists creates a TektonConfig with the name names.TektonConfig, if it does not exist.
func EnsureTektonConfigStatusInstalled ¶
func EnsureTektonConfigStatusInstalled(clients configv1alpha1.TektonConfigInterface, names utils.ResourceNames)
func EnsureTektonHubsExists ¶
func EnsureTektonHubsExists(clients hubv1alpha.TektonHubInterface, names utils.ResourceNames) (*v1alpha1.TektonHub, error)
func EnsureTektonPipelineExists ¶
func EnsureTektonPipelineExists(clients pipelinev1alpha1.TektonPipelineInterface, names utils.ResourceNames) (*v1alpha1.TektonPipeline, error)
EnsureTektonPipelineExists creates a TektonPipeline with the name names.TektonPipeline, if it does not exist.
func EnsureTektonTriggerExists ¶
func EnsureTektonTriggerExists(clients triggerv1alpha1.TektonTriggerInterface, names utils.ResourceNames) (*v1alpha1.TektonTrigger, error)
EnsureTektonTriggerExists creates a TektonTrigger with the name names.TektonTrigger, if it does not exist.
func GetImageUrlAndDigest ¶
func GetResultsAnnotations ¶
func GetResultsApi ¶
func GetResultsApi() string
func IsTektonAddonReady ¶
func IsTektonAddonReady(s *v1alpha1.TektonAddon, err error) (bool, error)
IsTektonAddonReady will check the status conditions of the TektonAddon and return true if the TektonAddon is ready.
func IsTektonConfigReady ¶
func IsTektonConfigReady(s *v1alpha1.TektonConfig, err error) (bool, error)
IsTektonConfigReady will check the status conditions of the TektonConfig and return true if the TektonConfig is ready.
func IsTektonPipelineReady ¶
func IsTektonPipelineReady(s *v1alpha1.TektonPipeline, err error) (bool, error)
IsTektonPipelineReady will check the status conditions of the TektonPipeline and return true if the TektonPipeline is ready.
func IsTektonTriggerReady ¶
func IsTektonTriggerReady(s *v1alpha1.TektonTrigger, err error) (bool, error)
IsTektonTriggerReady will check the status conditions of the TektonTrigger and return true if the TektonTrigger is ready.
func StartKanikoTask ¶
func StartKanikoTask()
func TektonAddonCRDelete ¶
func TektonAddonCRDelete(clients *clients.Clients, crNames utils.ResourceNames)
TektonAddonCRDelete deletes tha TektonAddon to see if all resources will be deleted
func TektonConfigCRDelete ¶
func TektonConfigCRDelete(clients *clients.Clients, crNames utils.ResourceNames)
TektonConfigCRDelete deletes tha TektonConfig to see if all resources will be deleted
func TektonPipelineCRDelete ¶
func TektonPipelineCRDelete(clients *clients.Clients, crNames utils.ResourceNames)
TektonPipelineCRDelete deletes tha TektonPipeline to see if all resources will be deleted
func TektonTriggerCRDelete ¶
func TektonTriggerCRDelete(clients *clients.Clients, crNames utils.ResourceNames)
TektonTriggerCRDelete deletes tha TektonTrigger to see if all resources will be deleted
func Uninstall ¶
func Uninstall(cs *clients.Clients, rnames utils.ResourceNames)
Uninstall helps you to delete operator and it's traces if any from cluster
func ValidateChainsDeployments ¶
func ValidateChainsDeployments(cs *clients.Clients, rnames utils.ResourceNames)
func ValidateHubDeployments ¶
func ValidateHubDeployments(cs *clients.Clients, rnames utils.ResourceNames)
func ValidateManualApprovalGateDeployments ¶
func ValidateManualApprovalGateDeployments(cs *clients.Clients, rnames utils.ResourceNames)
func ValidateOperatorInstallStatus ¶
func ValidateOperatorInstallStatus(cs *clients.Clients, rnames utils.ResourceNames)
func ValidatePipelineDeployments ¶
func ValidatePipelineDeployments(cs *clients.Clients, rnames utils.ResourceNames)
func ValidateRBAC ¶
func ValidateRBAC(cs *clients.Clients, rnames utils.ResourceNames)
func ValidateRBACAfterDisable ¶
func ValidateRBACAfterDisable(cs *clients.Clients, rnames utils.ResourceNames)
func ValidateTriggerDeployments ¶
func ValidateTriggerDeployments(cs *clients.Clients, rnames utils.ResourceNames)
func VerifyAttestation ¶
func VerifyAttestation()
func VerifyImageSignature ¶
func VerifyImageSignature()
func VerifyResultsLogs ¶
func VerifyResultsLogs(resourceType string)
func VerifyResultsRecords ¶
func VerifyResultsRecords(resourceType string)
func VerifyResultsStored ¶
func VerifyResultsStored(resourceType string)
func VerifySignature ¶
func VerifySignature(resourceType string)
func WaitForTektonAddonState ¶
func WaitForTektonAddonState(clients operatorv1alpha1.TektonAddonInterface, name string, inState func(s *v1alpha1.TektonAddon, err error) (bool, error)) (*v1alpha1.TektonAddon, error)
WaitForTektonAddonState polls the status of the TektonAddon called name from client every `interval` until `inState` returns `true` indicating it is done, returns an error or timeout.
func WaitForTektonConfigCR ¶
func WaitForTektonConfigCR(cs *clients.Clients, rnames utils.ResourceNames)
func WaitForTektonConfigState ¶
func WaitForTektonConfigState(clients configv1alpha1.TektonConfigInterface, name string, inState func(s *v1alpha1.TektonConfig, err error) (bool, error)) (*v1alpha1.TektonConfig, error)
WaitForTektonConfigState polls the status of the TektonConfig called name from client every `interval` until `inState` returns `true` indicating it is done, returns an error or timeout.
func WaitForTektonPipelineState ¶
func WaitForTektonPipelineState(clients pipelinev1alpha1.TektonPipelineInterface, name string, inState func(s *v1alpha1.TektonPipeline, err error) (bool, error)) (*v1alpha1.TektonPipeline, error)
WaitForTektonPipelineState polls the status of the TektonPipeline called name from client every `interval` until `inState` returns `true` indicating it is done, returns an error or timeout.
func WaitForTektonTriggerState ¶
func WaitForTektonTriggerState(clients triggerv1alpha1.TektonTriggerInterface, name string, inState func(s *v1alpha1.TektonTrigger, err error) (bool, error)) (*v1alpha1.TektonTrigger, error)
WaitForTektonTriggerState polls the status of the TektonTrigger called name from client every `interval` until `inState` returns `true` indicating it is done, returns an error or timeout.
Types ¶
This section is empty.