Documentation
¶
Index ¶
- func CopyReference(ctx context.Context, src, dst string) error
- func CosignSign(ctx context.Context, reference string, opts CosignSignOptions) error
- func PushReference(ctx context.Context, reference string, opts PushOptions) error
- func PushRepository(ctx context.Context, repository string, opts PushOptions) error
- func RecordBuild(tags []string, layoutPath string) error
- func RecordLayout(reference, layoutPath string) error
- type Client
- type CosignSignOptions
- type ImageRecord
- type PushOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CosignSign ¶
func CosignSign(ctx context.Context, reference string, opts CosignSignOptions) error
func PushReference ¶
func PushReference(ctx context.Context, reference string, opts PushOptions) error
func PushRepository ¶
func PushRepository(ctx context.Context, repository string, opts PushOptions) error
func RecordBuild ¶
func RecordLayout ¶
Types ¶
type Client ¶
type Client interface {
RecordBuild(tags []string, layoutPath string) error
PushReference(ctx context.Context, reference string, opts PushOptions) error
PushRepository(ctx context.Context, repository string, opts PushOptions) error
}
Client exposes registry recording and publishing helpers.
type CosignSignOptions ¶
type ImageRecord ¶
type ImageRecord struct {
Reference string `json:"reference"`
LayoutPath string `json:"layoutPath"`
UpdatedAt time.Time `json:"updatedAt"`
}
func ListRepository ¶
func ListRepository(repository string) ([]ImageRecord, error)
func ResolveLayout ¶
func ResolveLayout(reference string) (ImageRecord, error)
type PushOptions ¶
Click to show internal directories.
Click to hide internal directories.