Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAttestationAlreadyExist = errors.New("attestation already initialized, to override it use the --replace flag`")
View Source
var ErrAttestationNotInitialized = errors.New("attestation not yet initialized, execute the init command first")
View Source
var ErrOutputFormatNotImplemented = errors.New("format not implemented")
View Source
var ErrRobotAccountRequired = errors.New("robot account token required, please provide it via the pre-defined env variable or command flag")
View Source
var (
GracefulExit bool
)
View Source
var Version = devVersion
Functions ¶
func NewVersionCmd ¶
func WorkflowListTableOutput ¶
func WorkflowListTableOutput(workflows []*action.WorkflowItem) error
Types ¶
type GracefulError ¶
type GracefulError struct {
// contains filtered or unexported fields
}
GracefulError represents an error that has been marked as gracefully handled In some parts of our code, we want to raise errors but we don't want the CLI to fail because of the flakiness or active development of the tool
func (GracefulError) Error ¶
func (e GracefulError) Error() string
Source Files ¶
- artifact.go
- artifact_download.go
- artifact_upload.go
- attached_integration.go
- attached_integration_add.go
- attached_integration_delete.go
- attached_integration_list.go
- attestation.go
- attestation_add.go
- attestation_init.go
- attestation_push.go
- attestation_reset.go
- attestation_status.go
- auth.go
- auth_delete_account.go
- auth_login.go
- available_integration.go
- available_integration_describe.go
- available_integration_list.go
- casbackend.go
- casbackend_add_azureblob.go
- casbackend_add_oci.go
- casbackend_add_s3.go
- casbackend_delete.go
- casbackend_list.go
- casbackend_update_azureblob.go
- casbackend_update_inline.go
- casbackend_update_oci.go
- casbackend_update_s3.go
- config.go
- config_reset.go
- config_save.go
- config_view.go
- errors.go
- integration.go
- organization.go
- organization_apitoken.go
- organization_apitoken_create.go
- organization_apitoken_list.go
- organization_apitoken_revoke.go
- organization_create.go
- organization_describe.go
- organization_invitation.go
- organization_invitation_create.go
- organization_invitation_list_sent.go
- organization_invitation_revoke.go
- organization_leave.go
- organization_list.go
- organization_set.go
- organization_update.go
- output.go
- referrer_discover.go
- registered_integration.go
- registered_integration_add.go
- registered_integration_delete.go
- registered_integration_list.go
- root.go
- version.go
- workflow.go
- workflow_contract.go
- workflow_contract_create.go
- workflow_contract_delete.go
- workflow_contract_describe.go
- workflow_contract_list.go
- workflow_contract_update.go
- workflow_create.go
- workflow_delete.go
- workflow_list.go
- workflow_robotaccount.go
- workflow_robotaccount_create.go
- workflow_robotaccount_list.go
- workflow_robotaccount_revoke.go
- workflow_update.go
- workflow_workflow_run.go
- workflow_workflow_run_describe.go
- workflow_workflow_run_list.go
Click to show internal directories.
Click to hide internal directories.