Documentation ¶
Index ¶
Constants ¶
View Source
const UserWithNoOrganizationMsg = "you are not part of any organization, please run \"chainloop organization create --name ORG_NAME\" to create one"
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 ErrAttestationTokenRequired = errors.New("chainloop Token required, please provide it via --token flag or CHAINLOOP_TOKEN environment variable")
View Source
var ErrKeylessNotSupported = errors.New("keyless signing not supported, please provide a private key reference with --key instead")
View Source
var ErrOutputFormatNotImplemented = errors.New("format not implemented")
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
func (GracefulError) Unwrap ¶ added in v0.96.5
func (e GracefulError) Unwrap() error
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_member.go
- organization_member_delete.go
- organization_member_list.go
- organization_member_update.go
- organization_set.go
- output.go
- referrer_discover.go
- registered_integration.go
- registered_integration_add.go
- registered_integration_delete.go
- registered_integration_list.go
- root.go
- terminalunix.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_describe.go
- workflow_list.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.