Documentation ¶
Index ¶
- type ArtifactLabeledMetadata
- type CreateProjectEventMetadata
- type CreateRobotEventMetadata
- type CreateTagEventMetadata
- type DeleteArtifactEventMetadata
- type DeleteProjectEventMetadata
- type DeleteRepositoryEventMetadata
- type DeleteRobotEventMetadata
- type DeleteTagEventMetadata
- type PullArtifactEventMetadata
- type PushArtifactEventMetadata
- type QuotaMetaData
- type ReplicationMetaData
- type RetentionMetaData
- type ScanImageMetaData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactLabeledMetadata ¶
type ArtifactLabeledMetadata struct { Ctx context.Context ArtifactID int64 LabelID int64 Operator string }
ArtifactLabeledMetadata is the metadata from which the artifact labeled event can be resolved
type CreateProjectEventMetadata ¶
CreateProjectEventMetadata is the metadata from which the create project event can be resolved
type CreateRobotEventMetadata ¶
CreateRobotEventMetadata is the metadata from which the create robot event can be resolved
type CreateTagEventMetadata ¶
type CreateTagEventMetadata struct { Ctx context.Context Tag string Labels []string AttachedArtifact *artifact.Artifact }
CreateTagEventMetadata is the metadata from which the create tag event can be resolved
type DeleteArtifactEventMetadata ¶
type DeleteArtifactEventMetadata struct { Ctx context.Context Artifact *artifact.Artifact Tags []string Labels []string }
DeleteArtifactEventMetadata is the metadata from which the delete artifact event can be resolved
type DeleteProjectEventMetadata ¶
DeleteProjectEventMetadata is the metadata from which the delete project event can be resolved
type DeleteRepositoryEventMetadata ¶
DeleteRepositoryEventMetadata is the metadata from which the delete repository event can be resolved
type DeleteRobotEventMetadata ¶
DeleteRobotEventMetadata is the metadata from which the delete robot event can be resolved
type DeleteTagEventMetadata ¶
type DeleteTagEventMetadata struct { Ctx context.Context Tag string Labels []string AttachedArtifact *artifact.Artifact }
DeleteTagEventMetadata is the metadata from which the delete tag event can be resolved
type PullArtifactEventMetadata ¶
PullArtifactEventMetadata is the metadata from which the pull artifact event can be resolved
type PushArtifactEventMetadata ¶
type PushArtifactEventMetadata struct { Ctx context.Context Artifact *artifact.Artifact Tag string Labels []string }
PushArtifactEventMetadata is the metadata from which the push artifact event can be resolved
type QuotaMetaData ¶
type QuotaMetaData struct { Project *proModels.Project RepoName string Tag string Digest string // used to define the event topic Level int // the msg contains the limitation and current usage of quota Msg string OccurAt time.Time Operator string }
QuotaMetaData defines quota related event data
type ReplicationMetaData ¶
ReplicationMetaData defines replication related event data
type RetentionMetaData ¶
type RetentionMetaData struct { Total int Retained int Deleted []*selector.Result Status string TaskID int64 }
RetentionMetaData defines tag retention related event data