Documentation ¶
Index ¶
- type ArtifactLabeledMetadata
- type ChartDeleteMetaData
- type ChartDownloadMetaData
- type ChartMetaData
- type ChartUploadMetaData
- type CreateProjectEventMetadata
- type CreateTagEventMetadata
- type DeleteArtifactEventMetadata
- type DeleteProjectEventMetadata
- type DeleteRepositoryEventMetadata
- 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 ChartDeleteMetaData ¶
type ChartDeleteMetaData struct {
ChartMetaData
}
ChartDeleteMetaData defines meta data of chart delete event
type ChartDownloadMetaData ¶
type ChartDownloadMetaData struct {
ChartMetaData
}
ChartDownloadMetaData defines meta data of chart download event
type ChartMetaData ¶
type ChartMetaData struct { ProjectName string ChartName string Versions []string OccurAt time.Time Operator string }
ChartMetaData defines meta data of chart event
type ChartUploadMetaData ¶
type ChartUploadMetaData struct {
ChartMetaData
}
ChartUploadMetaData defines meta data of chart upload event
type CreateProjectEventMetadata ¶
CreateProjectEventMetadata is the metadata from which the create project event can be resolved
type CreateTagEventMetadata ¶
type CreateTagEventMetadata struct { Ctx context.Context Tag 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 }
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 DeleteTagEventMetadata ¶
type DeleteTagEventMetadata struct { Ctx context.Context Tag 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 }
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 }
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
type ScanImageMetaData ¶
ScanImageMetaData defines meta data of image scanning event