package
1.3.0
Repository: https://github.com/go-sigma/sigma.git
Documentation: pkg.go.dev

# Functions

MustParseArtifactType converts a string to a ArtifactType, and panics if is not valid.
MustParseAuditAction converts a string to a AuditAction, and panics if is not valid.
MustParseAuditResourceType converts a string to a AuditResourceType, and panics if is not valid.
MustParseAuth converts a string to a Auth, and panics if is not valid.
MustParseBuilderSource converts a string to a BuilderSource, and panics if is not valid.
MustParseBuilderType converts a string to a BuilderType, and panics if is not valid.
MustParseBuildStatus converts a string to a BuildStatus, and panics if is not valid.
MustParseCacherType converts a string to a CacherType, and panics if is not valid.
MustParseDaemon converts a string to a Daemon, and panics if is not valid.
MustParseDaemonBuilderAction converts a string to a DaemonBuilderAction, and panics if is not valid.
MustParseDatabase converts a string to a Database, and panics if is not valid.
MustParseDeploy converts a string to a Deploy, and panics if is not valid.
MustParseGcRecordStatus converts a string to a GcRecordStatus, and panics if is not valid.
MustParseGcTarget converts a string to a GcTarget, and panics if is not valid.
MustParseLockerType converts a string to a LockerType, and panics if is not valid.
MustParseLogLevel converts a string to a LogLevel, and panics if is not valid.
MustParseNamespaceRole converts a string to a NamespaceRole, and panics if is not valid.
MustParseOciPlatform converts a string to a OciPlatform, and panics if is not valid.
MustParseOperateType converts a string to a OperateType, and panics if is not valid.
MustParseProvider converts a string to a Provider, and panics if is not valid.
MustParseRedisType converts a string to a RedisType, and panics if is not valid.
MustParseRetentionRuleType converts a string to a RetentionRuleType, and panics if is not valid.
MustParseScmCredentialType converts a string to a ScmCredentialType, and panics if is not valid.
MustParseScmProvider converts a string to a ScmProvider, and panics if is not valid.
MustParseSigningType converts a string to a SigningType, and panics if is not valid.
MustParseSortMethod converts a string to a SortMethod, and panics if is not valid.
MustParseStorageType converts a string to a StorageType, and panics if is not valid.
MustParseTaskCommonStatus converts a string to a TaskCommonStatus, and panics if is not valid.
MustParseUserRole converts a string to a UserRole, and panics if is not valid.
MustParseUserStatus converts a string to a UserStatus, and panics if is not valid.
MustParseVisibility converts a string to a Visibility, and panics if is not valid.
MustParseWebhookAction converts a string to a WebhookAction, and panics if is not valid.
MustParseWebhookResourceType converts a string to a WebhookResourceType, and panics if is not valid.
MustParseWebhookType converts a string to a WebhookType, and panics if is not valid.
MustParseWorkQueueType converts a string to a WorkQueueType, and panics if is not valid.
ParseArtifactType attempts to convert a string to a ArtifactType.
ParseAuditAction attempts to convert a string to a AuditAction.
ParseAuditResourceType attempts to convert a string to a AuditResourceType.
ParseAuth attempts to convert a string to a Auth.
ParseBuilderSource attempts to convert a string to a BuilderSource.
ParseBuilderType attempts to convert a string to a BuilderType.
ParseBuildStatus attempts to convert a string to a BuildStatus.
ParseCacherType attempts to convert a string to a CacherType.
ParseDaemon attempts to convert a string to a Daemon.
ParseDaemonBuilderAction attempts to convert a string to a DaemonBuilderAction.
ParseDatabase attempts to convert a string to a Database.
ParseDeploy attempts to convert a string to a Deploy.
ParseGcRecordStatus attempts to convert a string to a GcRecordStatus.
ParseGcTarget attempts to convert a string to a GcTarget.
ParseLockerType attempts to convert a string to a LockerType.
ParseLogLevel attempts to convert a string to a LogLevel.
ParseNamespaceRole attempts to convert a string to a NamespaceRole.
ParseOciPlatform attempts to convert a string to a OciPlatform.
ParseOperateType attempts to convert a string to a OperateType.
ParseProvider attempts to convert a string to a Provider.
ParseRedisType attempts to convert a string to a RedisType.
ParseRetentionRuleType attempts to convert a string to a RetentionRuleType.
ParseScmCredentialType attempts to convert a string to a ScmCredentialType.
ParseScmProvider attempts to convert a string to a ScmProvider.
ParseSigningType attempts to convert a string to a SigningType.
ParseSortMethod attempts to convert a string to a SortMethod.
ParseStorageType attempts to convert a string to a StorageType.
ParseTaskCommonStatus attempts to convert a string to a TaskCommonStatus.
ParseUserRole attempts to convert a string to a UserRole.
ParseUserStatus attempts to convert a string to a UserStatus.
ParseVisibility attempts to convert a string to a Visibility.
ParseWebhookAction attempts to convert a string to a WebhookAction.
ParseWebhookResourceType attempts to convert a string to a WebhookResourceType.
ParseWebhookType attempts to convert a string to a WebhookType.
ParseWorkQueueType attempts to convert a string to a WorkQueueType.

# Constants

ArtifactTypeChart is a ArtifactType of type Chart.
ArtifactTypeCnab is a ArtifactType of type Cnab.
ArtifactTypeCosign is a ArtifactType of type Cosign.
ArtifactTypeImage is a ArtifactType of type Image.
ArtifactTypeImageIndex is a ArtifactType of type ImageIndex.
ArtifactTypeProvenance is a ArtifactType of type Provenance.
ArtifactTypeSif is a ArtifactType of type Sif.
ArtifactTypeUnknown is a ArtifactType of type Unknown.
ArtifactTypeWasm is a ArtifactType of type Wasm.
AuditActionCreate is a AuditAction of type Create.
AuditActionDelete is a AuditAction of type Delete.
AuditActionPull is a AuditAction of type Pull.
AuditActionPush is a AuditAction of type Push.
AuditActionUpdate is a AuditAction of type Update.
AuditResourceTypeBuilder is a AuditResourceType of type Builder.
AuditResourceTypeNamespace is a AuditResourceType of type Namespace.
AuditResourceTypeNamespaceMember is a AuditResourceType of type NamespaceMember.
AuditResourceTypeRepository is a AuditResourceType of type Repository.
AuditResourceTypeTag is a AuditResourceType of type Tag.
AuditResourceTypeWebhook is a AuditResourceType of type Webhook.
AuthAdmin is a Auth of type Admin.
AuthManage is a Auth of type Manage.
AuthRead is a Auth of type Read.
BuilderSourceCodeRepository is a BuilderSource of type CodeRepository.
BuilderSourceDockerfile is a BuilderSource of type Dockerfile.
BuilderSourceSelfCodeRepository is a BuilderSource of type SelfCodeRepository.
BuilderTypeDocker is a BuilderType of type docker.
BuilderTypeKubernetes is a BuilderType of type kubernetes.
BuildStatusBuilding is a BuildStatus of type Building.
BuildStatusFailed is a BuildStatus of type Failed.
BuildStatusPending is a BuildStatus of type Pending.
BuildStatusScheduling is a BuildStatus of type Scheduling.
BuildStatusStopped is a BuildStatus of type Stopped.
BuildStatusStopping is a BuildStatus of type Stopping.
BuildStatusSuccess is a BuildStatus of type Success.
CacherTypeBadger is a CacherType of type badger.
CacherTypeInmemory is a CacherType of type inmemory.
CacherTypeRedis is a CacherType of type redis.
DaemonArtifactPushed is a Daemon of type ArtifactPushed.
DaemonBuilder is a Daemon of type Builder.
DaemonBuilderActionRestart is a DaemonBuilderAction of type Restart.
DaemonBuilderActionStart is a DaemonBuilderAction of type Start.
DaemonBuilderActionStop is a DaemonBuilderAction of type Stop.
DaemonCodeRepository is a Daemon of type CodeRepository.
DaemonGc is a Daemon of type Gc.
DaemonGcArtifact is a Daemon of type GcArtifact.
DaemonGcBlob is a Daemon of type GcBlob.
DaemonGcRepository is a Daemon of type GcRepository.
DaemonGcTag is a Daemon of type GcTag.
DaemonSbom is a Daemon of type Sbom.
DaemonTagPushed is a Daemon of type TagPushed.
DaemonVulnerability is a Daemon of type Vulnerability.
DaemonWebhook is a Daemon of type Webhook.
DatabaseMysql is a Database of type mysql.
DatabasePostgresql is a Database of type postgresql.
DatabaseSqlite3 is a Database of type sqlite3.
DeployReplica is a Deploy of type replica.
DeploySingle is a Deploy of type single.
GcRecordStatusFailed is a GcRecordStatus of type Failed.
GcRecordStatusSuccess is a GcRecordStatus of type Success.
GcTargetArtifacts is a GcTarget of type artifacts.
GcTargetBlobsAndArtifacts is a GcTarget of type blobsAndArtifacts.
LockerTypeBadger is a LockerType of type badger.
LockerTypeRedis is a LockerType of type redis.
LogLevelDebug is a LogLevel of type debug.
LogLevelError is a LogLevel of type error.
LogLevelFatal is a LogLevel of type fatal.
LogLevelInfo is a LogLevel of type info.
LogLevelPanic is a LogLevel of type panic.
LogLevelTrace is a LogLevel of type trace.
LogLevelWarn is a LogLevel of type warn.
NamespaceRoleAdmin is a NamespaceRole of type Admin.
NamespaceRoleManager is a NamespaceRole of type Manager.
NamespaceRoleReader is a NamespaceRole of type Reader.
OciPlatformLinux386 is a OciPlatform of type linux/386.
OciPlatformLinuxAmd64 is a OciPlatform of type linux/amd64.
OciPlatformLinuxAmd64V2 is a OciPlatform of type linux/amd64/v2.
OciPlatformLinuxAmd64V3 is a OciPlatform of type linux/amd64/v3.
OciPlatformLinuxArm64 is a OciPlatform of type linux/arm64.
OciPlatformLinuxArmV6 is a OciPlatform of type linux/arm/v6.
OciPlatformLinuxArmV7 is a OciPlatform of type linux/arm/v7.
OciPlatformLinuxMips64 is a OciPlatform of type linux/mips64.
OciPlatformLinuxMips64le is a OciPlatform of type linux/mips64le.
OciPlatformLinuxPpc64le is a OciPlatform of type linux/ppc64le.
OciPlatformLinuxRiscv64 is a OciPlatform of type linux/riscv64.
OciPlatformLinuxS390x is a OciPlatform of type linux/s390x.
OperateTypeAutomatic is a OperateType of type Automatic.
OperateTypeManual is a OperateType of type Manual.
ProviderGitea is a Provider of type gitea.
ProviderGithub is a Provider of type github.
ProviderGitlab is a Provider of type gitlab.
ProviderLocal is a Provider of type local.
RedisTypeExternal is a RedisType of type external.
RedisTypeNone is a RedisType of type none.
RetentionRuleTypeDay is a RetentionRuleType of type Day.
RetentionRuleTypeQuantity is a RetentionRuleType of type Quantity.
ScmCredentialTypeNone is a ScmCredentialType of type none.
ScmCredentialTypeSsh is a ScmCredentialType of type ssh.
ScmCredentialTypeToken is a ScmCredentialType of type token.
ScmCredentialTypeUsername is a ScmCredentialType of type username.
ScmProviderGitea is a ScmProvider of type gitea.
ScmProviderGithub is a ScmProvider of type github.
ScmProviderGitlab is a ScmProvider of type gitlab.
ScmProviderNone is a ScmProvider of type none.
SigningTypeCosign is a SigningType of type cosign.
SortMethodAsc is a SortMethod of type asc.
SortMethodDesc is a SortMethod of type desc.
StorageTypeCos is a StorageType of type cos.
StorageTypeDummy is a StorageType of type dummy.
StorageTypeFilesystem is a StorageType of type filesystem.
StorageTypeOss is a StorageType of type oss.
StorageTypeS3 is a StorageType of type s3.
TaskCommonStatusDoing is a TaskCommonStatus of type Doing.
TaskCommonStatusFailed is a TaskCommonStatus of type Failed.
TaskCommonStatusPending is a TaskCommonStatus of type Pending.
TaskCommonStatusSuccess is a TaskCommonStatus of type Success.
UserRoleAdmin is a UserRole of type Admin.
UserRoleAnonymous is a UserRole of type Anonymous.
UserRoleRoot is a UserRole of type Root.
UserRoleUser is a UserRole of type User.
UserStatusActive is a UserStatus of type Active.
UserStatusInactive is a UserStatus of type Inactive.
VisibilityPrivate is a Visibility of type private.
VisibilityPublic is a Visibility of type public.
WebhookActionAdd is a WebhookAction of type Add.
WebhookActionCreate is a WebhookAction of type Create.
WebhookActionDelete is a WebhookAction of type Delete.
WebhookActionDoing is a WebhookAction of type Doing.
WebhookActionFinished is a WebhookAction of type Finished.
WebhookActionPing is a WebhookAction of type Ping.
WebhookActionRemove is a WebhookAction of type Remove.
WebhookActionStarted is a WebhookAction of type Started.
WebhookActionUpdate is a WebhookAction of type Update.
WebhookResourceTypeArtifact is a WebhookResourceType of type Artifact.
WebhookResourceTypeDaemonTaskGcArtifactRule is a WebhookResourceType of type DaemonTaskGcArtifactRule.
WebhookResourceTypeDaemonTaskGcArtifactRunner is a WebhookResourceType of type DaemonTaskGcArtifactRunner.
WebhookResourceTypeDaemonTaskGcBlobRule is a WebhookResourceType of type DaemonTaskGcBlobRule.
WebhookResourceTypeDaemonTaskGcBlobRunner is a WebhookResourceType of type DaemonTaskGcBlobRunner.
WebhookResourceTypeDaemonTaskGcRepositoryRule is a WebhookResourceType of type DaemonTaskGcRepositoryRule.
WebhookResourceTypeDaemonTaskGcRepositoryRunner is a WebhookResourceType of type DaemonTaskGcRepositoryRunner.
WebhookResourceTypeDaemonTaskGcTagRule is a WebhookResourceType of type DaemonTaskGcTagRule.
WebhookResourceTypeDaemonTaskGcTagRunner is a WebhookResourceType of type DaemonTaskGcTagRunner.
WebhookResourceTypeMember is a WebhookResourceType of type Member.
WebhookResourceTypeNamespace is a WebhookResourceType of type Namespace.
WebhookResourceTypeRepository is a WebhookResourceType of type Repository.
WebhookResourceTypeTag is a WebhookResourceType of type Tag.
WebhookResourceTypeWebhook is a WebhookResourceType of type Webhook.
WebhookTypePing is a WebhookType of type Ping.
WebhookTypeResend is a WebhookType of type Resend.
WebhookTypeSend is a WebhookType of type Send.
WorkQueueTypeDatabase is a WorkQueueType of type database.
WorkQueueTypeInmemory is a WorkQueueType of type inmemory.
WorkQueueTypeKafka is a WorkQueueType of type kafka.
WorkQueueTypeRedis is a WorkQueueType of type redis.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

ArtifactType x ENUM( Image, ImageIndex, Chart Cnab, Wasm, Provenance, Cosign, Sif, Unknown, ).
AuditAction x ENUM( Create, Update, Delete, Pull, Push, ).
AuditResourceType x ENUM( Namespace, NamespaceMember, Repository, Tag, Webhook, Builder, ).
Auth x ENUM( Read, Manage, Admin, ).
BuilderSource x ENUM( Dockerfile, CodeRepository, SelfCodeRepository, ).
BuilderType x ENUM( docker, kubernetes, ).
BuildStatus x ENUM( Success, Failed, Pending, Scheduling, Building, Stopping, Stopped, ).
CacherType x ENUM( inmemory, redis, badger, ).
Daemon x ENUM( Vulnerability, Sbom, Gc, GcRepository, GcArtifact, GcBlob, GcTag, Webhook, Builder, CodeRepository, TagPushed, ArtifactPushed, ).
DaemonBuilderAction x ENUM( Start, Restart, Stop, ).
Database x ENUM( postgresql, mysql, sqlite3, ).
Deploy x ENUM( single, replica, ).
GcRecordStatus x ENUM( Success, Failed, ).
GcTarget x ENUM( blobsAndArtifacts, artifacts, ).
LockerType x ENUM( redis, badger, ).
LogLevel x ENUM( trace, debug, info, warn, error, fatal, panic, ).
NamespaceRole x ENUM( Admin="NamespaceAdmin", Manager="NamespaceManager", Reader="NamespaceReader", ).
OciPlatform x ENUM( linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/mips64le, linux/mips64, linux/arm/v7, linux/arm/v6, ).
OperateType x ENUM( Manual, Automatic, ).
Provider x ENUM( local, github, gitlab, gitea, ).
RedisType x ENUM( none, external, ).
RetentionRuleType x ENUM( Day, Quantity, ).
ScmCredentialType x ENUM( ssh, token, username, none, ).
ScmProvider x ENUM( github, gitlab, gitea, none, ).
SigningType x ENUM( cosign, ).
SortMethod x ENUM( asc, desc, ).
StorageType x ENUM( s3, filesystem, cos, oss, dummy, ).
TaskCommonStatus x ENUM( Pending, Doing, Success, Failed, ).
UserRole x ENUM( Root, Admin, User, Anonymous, ).
UserStatus x ENUM( Active, Inactive, ).
Visibility x ENUM( private, public, ).
WebhookAction x ENUM( Create, Update, Delete, Add, Remove, Ping, Started, Doing, Finished, ).
WebhookResourceType x ENUM( Webhook, Namespace, Repository, Tag, Artifact, Member, DaemonTaskGcRepositoryRule, DaemonTaskGcTagRule, DaemonTaskGcArtifactRule, DaemonTaskGcBlobRule, DaemonTaskGcRepositoryRunner, DaemonTaskGcTagRunner, DaemonTaskGcArtifactRunner, DaemonTaskGcBlobRunner, ).
WebhookType x ENUM( Ping, Send, Resend, ).
WorkQueueType x ENUM( redis, kafka, database, inmemory, ).