Documentation ¶
Index ¶
Constants ¶
View Source
const TaskKindSign = "sign"
View Source
const TaskKindSignImage = "sign-image"
View Source
const TaskKindUpload = "upload"
View Source
const ToolKind = "cosign"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskSign ¶ added in v0.5.1
type TaskSign struct { rs.BaseField `yaml:"-"` TaskName string `yaml:"name"` tools.BaseTask `yaml:",inline"` Options blobSigningOptions `yaml:",inline"` // Files to sign Files []*blobSigningFileSpec `yaml:"files"` }
TaskSign signs blob
func (*TaskSign) GetExecSpecs ¶ added in v0.5.1
func (c *TaskSign) GetExecSpecs( rc dukkha.TaskExecContext, options dukkha.TaskMatrixExecOptions, ) ([]dukkha.TaskExecSpec, error)
type TaskSignImage ¶ added in v0.5.1
type TaskSignImage struct { rs.BaseField TaskName string `yaml:"name"` tools.BaseTask `yaml:",inline"` Options imageSigningOptions `yaml:",inline"` // ImageNames ImageNames []buildah.ImageNameSpec `yaml:"image_names"` }
func (*TaskSignImage) GetExecSpecs ¶ added in v0.5.1
func (c *TaskSignImage) GetExecSpecs( rc dukkha.TaskExecContext, options dukkha.TaskMatrixExecOptions, ) ([]dukkha.TaskExecSpec, error)
func (*TaskSignImage) Key ¶ added in v0.7.0
func (c *TaskSignImage) Key() dukkha.TaskKey
func (*TaskSignImage) Kind ¶ added in v0.7.0
func (c *TaskSignImage) Kind() dukkha.TaskKind
func (*TaskSignImage) Name ¶ added in v0.7.0
func (c *TaskSignImage) Name() dukkha.TaskName
type TaskUpload ¶
type TaskUpload struct { rs.BaseField `yaml:"-"` TaskName string `yaml:"name"` tools.BaseTask `yaml:",inline"` // Kind is either blob or wasm // // Defaults to `"blob"` UploadKind string `yaml:"kind"` // Files to upload at one batch Files []FileSpec `yaml:"files"` // Signing sign uploaded images Signing signingSpec `yaml:"signing"` // ImageNames ImageNames []buildah.ImageNameSpec `yaml:"image_names"` }
func (*TaskUpload) GetExecSpecs ¶
func (c *TaskUpload) GetExecSpecs( rc dukkha.TaskExecContext, options dukkha.TaskMatrixExecOptions, ) ([]dukkha.TaskExecSpec, error)
func (*TaskUpload) Key ¶ added in v0.7.0
func (c *TaskUpload) Key() dukkha.TaskKey
func (*TaskUpload) Kind ¶ added in v0.7.0
func (c *TaskUpload) Kind() dukkha.TaskKind
func (*TaskUpload) Name ¶ added in v0.7.0
func (c *TaskUpload) Name() dukkha.TaskName
Click to show internal directories.
Click to hide internal directories.