Documentation
¶
Index ¶
- type AvailabilityStatusType
- type EcosystemType
- type EnumInterface
- type ErrArchiveLimitExceededObj
- type ErrArchiveRejectedObj
- type ErrArtifactBuildFailedObj
- type ErrArtifactSizeExceededObj
- type ErrBrotherBlobHashMismatchObj
- type ErrBrotherContractNotConfirmedObj
- type ErrBrotherRpcInvalidObj
- type ErrCacheQuotaExceededObj
- type ErrComposerNameCollisionObj
- type ErrSourceDownloadFailedObj
- type ListenerType
- type LogReasonType
- type LogScopeType
- type MaterializerType
- type OperationalStatusType
- type SourceClassType
- type XErrInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailabilityStatusType ¶
type AvailabilityStatusType uint8
const ( UndefAvailabilityStatus AvailabilityStatusType = 0 AvailabilityStatusUnknown AvailabilityStatusType = 1 AvailabilityStatusAvailable AvailabilityStatusType = 2 AvailabilityStatusTemporaryDown AvailabilityStatusType = 3 AvailabilityStatusPermanentDown AvailabilityStatusType = 4 )
func AllAvailabilityStatus ¶
func AllAvailabilityStatus() []AvailabilityStatusType
func ParseAvailabilityStatusFromInt ¶
func ParseAvailabilityStatusFromInt(value int) (AvailabilityStatusType, bool)
func ParseAvailabilityStatusFromString ¶
func ParseAvailabilityStatusFromString(value string) (AvailabilityStatusType, bool)
func ParseAvailabilityStatusFromUint8 ¶
func ParseAvailabilityStatusFromUint8(value uint8) (AvailabilityStatusType, bool)
func (AvailabilityStatusType) Int ¶
func (v AvailabilityStatusType) Int() int
func (AvailabilityStatusType) IsValid ¶
func (v AvailabilityStatusType) IsValid() bool
func (AvailabilityStatusType) String ¶
func (v AvailabilityStatusType) String() string
type EcosystemType ¶
type EcosystemType uint8
const ( UndefEcosystem EcosystemType = 0 EcosystemGo EcosystemType = 1 EcosystemComposer EcosystemType = 2 )
func AllEcosystem ¶
func AllEcosystem() []EcosystemType
func ParseEcosystemFromInt ¶
func ParseEcosystemFromInt(value int) (EcosystemType, bool)
func ParseEcosystemFromString ¶
func ParseEcosystemFromString(value string) (EcosystemType, bool)
func ParseEcosystemFromUint8 ¶
func ParseEcosystemFromUint8(value uint8) (EcosystemType, bool)
func (EcosystemType) Int ¶
func (v EcosystemType) Int() int
func (EcosystemType) IsValid ¶
func (v EcosystemType) IsValid() bool
func (EcosystemType) String ¶
func (v EcosystemType) String() string
type EnumInterface ¶
type ErrArchiveLimitExceededObj ¶
type ErrArchiveLimitExceededObj struct {
Cause error
Check string
Key string
MaxValue uint64
Value uint64
Version string
}
func (*ErrArchiveLimitExceededObj) Error ¶
func (obj *ErrArchiveLimitExceededObj) Error() string
func (*ErrArchiveLimitExceededObj) GetXErr ¶
func (obj *ErrArchiveLimitExceededObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrArchiveLimitExceededObj) Unwrap ¶
func (obj *ErrArchiveLimitExceededObj) Unwrap() error
type ErrArchiveRejectedObj ¶
type ErrArchiveRejectedObj struct {
Cause error
CheckName string
Format string
Key string
Path string
Version string
}
func NewErrArchiveRejected ¶
func (*ErrArchiveRejectedObj) Error ¶
func (obj *ErrArchiveRejectedObj) Error() string
func (*ErrArchiveRejectedObj) GetXErr ¶
func (obj *ErrArchiveRejectedObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrArchiveRejectedObj) Unwrap ¶
func (obj *ErrArchiveRejectedObj) Unwrap() error
type ErrArtifactBuildFailedObj ¶
type ErrArtifactBuildFailedObj struct {
ActualHash string
ActualSize uint64
ArtifactKind string
Cause error
CheckName string
ExpectedHash string
ExpectedSize uint64
Key string
ListenerId string
MaterializerId string
Version string
}
func (*ErrArtifactBuildFailedObj) Error ¶
func (obj *ErrArtifactBuildFailedObj) Error() string
func (*ErrArtifactBuildFailedObj) GetXErr ¶
func (obj *ErrArtifactBuildFailedObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrArtifactBuildFailedObj) Unwrap ¶
func (obj *ErrArtifactBuildFailedObj) Unwrap() error
type ErrArtifactSizeExceededObj ¶
type ErrArtifactSizeExceededObj struct {
ArtifactKind string
CheckName string
Key string
ListenerId string
MaterializerId string
MaxBytes uint64
SizeBytes uint64
Version string
}
func (*ErrArtifactSizeExceededObj) Error ¶
func (obj *ErrArtifactSizeExceededObj) Error() string
func (*ErrArtifactSizeExceededObj) GetXErr ¶
func (obj *ErrArtifactSizeExceededObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrArtifactSizeExceededObj) Unwrap ¶
func (obj *ErrArtifactSizeExceededObj) Unwrap() error
type ErrBrotherBlobHashMismatchObj ¶
type ErrBrotherBlobHashMismatchObj struct {
ActualHash string
Cause error
ExpectedHash string
Key string
SourceUrl string
Version string
}
func (*ErrBrotherBlobHashMismatchObj) Error ¶
func (obj *ErrBrotherBlobHashMismatchObj) Error() string
func (*ErrBrotherBlobHashMismatchObj) GetXErr ¶
func (obj *ErrBrotherBlobHashMismatchObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrBrotherBlobHashMismatchObj) Unwrap ¶
func (obj *ErrBrotherBlobHashMismatchObj) Unwrap() error
type ErrBrotherContractNotConfirmedObj ¶
func NewErrBrotherContractNotConfirmed ¶
func NewErrBrotherContractNotConfirmed(contractReason string, key string, sourceUrl string) *ErrBrotherContractNotConfirmedObj
func (*ErrBrotherContractNotConfirmedObj) Error ¶
func (obj *ErrBrotherContractNotConfirmedObj) Error() string
func (*ErrBrotherContractNotConfirmedObj) GetXErr ¶
func (obj *ErrBrotherContractNotConfirmedObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrBrotherContractNotConfirmedObj) Unwrap ¶
func (obj *ErrBrotherContractNotConfirmedObj) Unwrap() error
type ErrBrotherRpcInvalidObj ¶
type ErrBrotherRpcInvalidObj struct {
Cause error
Key string
MaxBytes uint64
Method string
ResponseBytes uint64
RpcReason string
SourceUrl string
}
func NewErrBrotherRpcInvalid ¶
func (*ErrBrotherRpcInvalidObj) Error ¶
func (obj *ErrBrotherRpcInvalidObj) Error() string
func (*ErrBrotherRpcInvalidObj) GetXErr ¶
func (obj *ErrBrotherRpcInvalidObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrBrotherRpcInvalidObj) Unwrap ¶
func (obj *ErrBrotherRpcInvalidObj) Unwrap() error
type ErrCacheQuotaExceededObj ¶
type ErrCacheQuotaExceededObj struct {
AdmissionBytes uint64
CacheArea string
Cause error
CheckName string
CurrentTotalBytes uint64
EvictToBytes uint64
IncomingBytes uint64
MaxTotalBytes uint64
RetainLatestPerKey uint32
}
func (*ErrCacheQuotaExceededObj) Error ¶
func (obj *ErrCacheQuotaExceededObj) Error() string
func (*ErrCacheQuotaExceededObj) GetXErr ¶
func (obj *ErrCacheQuotaExceededObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrCacheQuotaExceededObj) Unwrap ¶
func (obj *ErrCacheQuotaExceededObj) Unwrap() error
type ErrComposerNameCollisionObj ¶
func NewErrComposerNameCollision ¶
func NewErrComposerNameCollision(conflictingKey string, key string, packageName string) *ErrComposerNameCollisionObj
func (*ErrComposerNameCollisionObj) Error ¶
func (obj *ErrComposerNameCollisionObj) Error() string
func (*ErrComposerNameCollisionObj) GetXErr ¶
func (obj *ErrComposerNameCollisionObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrComposerNameCollisionObj) Unwrap ¶
func (obj *ErrComposerNameCollisionObj) Unwrap() error
type ErrSourceDownloadFailedObj ¶
type ErrSourceDownloadFailedObj struct {
Attempts uint8
Cause error
Key string
SourceUrl string
TimeoutSeconds uint32
Version string
}
func (*ErrSourceDownloadFailedObj) Error ¶
func (obj *ErrSourceDownloadFailedObj) Error() string
func (*ErrSourceDownloadFailedObj) GetXErr ¶
func (obj *ErrSourceDownloadFailedObj) GetXErr(logger zerolog.Logger) *zerolog.Event
func (*ErrSourceDownloadFailedObj) Unwrap ¶
func (obj *ErrSourceDownloadFailedObj) Unwrap() error
type ListenerType ¶
type ListenerType uint8
const ( UndefListener ListenerType = 0 ListenerGlobal ListenerType = 1 ListenerWeb ListenerType = 2 ListenerYgg ListenerType = 3 )
func AllListener ¶
func AllListener() []ListenerType
func ParseListenerFromInt ¶
func ParseListenerFromInt(value int) (ListenerType, bool)
func ParseListenerFromString ¶
func ParseListenerFromString(value string) (ListenerType, bool)
func ParseListenerFromUint8 ¶
func ParseListenerFromUint8(value uint8) (ListenerType, bool)
func (ListenerType) Int ¶
func (v ListenerType) Int() int
func (ListenerType) IsValid ¶
func (v ListenerType) IsValid() bool
func (ListenerType) String ¶
func (v ListenerType) String() string
type LogReasonType ¶
type LogReasonType uint8
const ( UndefLogReason LogReasonType = 0 LogReasonBadRequest LogReasonType = 1 LogReasonUpstreamConflict LogReasonType = 3 LogReasonCacheQuotaExceeded LogReasonType = 4 LogReasonArtifactMaterializationFailed LogReasonType = 5 LogReasonGoOverlayDegraded LogReasonType = 6 )
func AllLogReason ¶
func AllLogReason() []LogReasonType
func ParseLogReasonFromInt ¶
func ParseLogReasonFromInt(value int) (LogReasonType, bool)
func ParseLogReasonFromString ¶
func ParseLogReasonFromString(value string) (LogReasonType, bool)
func ParseLogReasonFromUint8 ¶
func ParseLogReasonFromUint8(value uint8) (LogReasonType, bool)
func (LogReasonType) Int ¶
func (v LogReasonType) Int() int
func (LogReasonType) IsValid ¶
func (v LogReasonType) IsValid() bool
func (LogReasonType) String ¶
func (v LogReasonType) String() string
type LogScopeType ¶
type LogScopeType uint8
const ( UndefLogScope LogScopeType = 0 LogScopeGlobal LogScopeType = 1 LogScopeKey LogScopeType = 2 LogScopeVersion LogScopeType = 3 )
func AllLogScope ¶
func AllLogScope() []LogScopeType
func ParseLogScopeFromInt ¶
func ParseLogScopeFromInt(value int) (LogScopeType, bool)
func ParseLogScopeFromString ¶
func ParseLogScopeFromString(value string) (LogScopeType, bool)
func ParseLogScopeFromUint8 ¶
func ParseLogScopeFromUint8(value uint8) (LogScopeType, bool)
func (LogScopeType) Int ¶
func (v LogScopeType) Int() int
func (LogScopeType) IsValid ¶
func (v LogScopeType) IsValid() bool
func (LogScopeType) String ¶
func (v LogScopeType) String() string
type MaterializerType ¶
type MaterializerType uint8
const ( UndefMaterializer MaterializerType = 0 MaterializerUniversal MaterializerType = 1 MaterializerGo MaterializerType = 2 )
func AllMaterializer ¶
func AllMaterializer() []MaterializerType
func ParseMaterializerFromInt ¶
func ParseMaterializerFromInt(value int) (MaterializerType, bool)
func ParseMaterializerFromString ¶
func ParseMaterializerFromString(value string) (MaterializerType, bool)
func ParseMaterializerFromUint8 ¶
func ParseMaterializerFromUint8(value uint8) (MaterializerType, bool)
func (MaterializerType) Int ¶
func (v MaterializerType) Int() int
func (MaterializerType) IsValid ¶
func (v MaterializerType) IsValid() bool
func (MaterializerType) String ¶
func (v MaterializerType) String() string
type OperationalStatusType ¶
type OperationalStatusType uint8
const ( UndefOperationalStatus OperationalStatusType = 0 OperationalStatusOk OperationalStatusType = 1 OperationalStatusDegraded OperationalStatusType = 2 OperationalStatusError OperationalStatusType = 3 )
func AllOperationalStatus ¶
func AllOperationalStatus() []OperationalStatusType
func ParseOperationalStatusFromInt ¶
func ParseOperationalStatusFromInt(value int) (OperationalStatusType, bool)
func ParseOperationalStatusFromString ¶
func ParseOperationalStatusFromString(value string) (OperationalStatusType, bool)
func ParseOperationalStatusFromUint8 ¶
func ParseOperationalStatusFromUint8(value uint8) (OperationalStatusType, bool)
func (OperationalStatusType) Int ¶
func (v OperationalStatusType) Int() int
func (OperationalStatusType) IsValid ¶
func (v OperationalStatusType) IsValid() bool
func (OperationalStatusType) String ¶
func (v OperationalStatusType) String() string
type SourceClassType ¶
type SourceClassType uint8
const ( UndefSourceClass SourceClassType = 0 SourceClassGit SourceClassType = 1 SourceClassBrother SourceClassType = 2 )
func AllSourceClass ¶
func AllSourceClass() []SourceClassType
func ParseSourceClassFromInt ¶
func ParseSourceClassFromInt(value int) (SourceClassType, bool)
func ParseSourceClassFromString ¶
func ParseSourceClassFromString(value string) (SourceClassType, bool)
func ParseSourceClassFromUint8 ¶
func ParseSourceClassFromUint8(value uint8) (SourceClassType, bool)
func (SourceClassType) Int ¶
func (v SourceClassType) Int() int
func (SourceClassType) IsValid ¶
func (v SourceClassType) IsValid() bool
func (SourceClassType) String ¶
func (v SourceClassType) String() string
Click to show internal directories.
Click to hide internal directories.