Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerDigest ¶
type DockerDigest struct {
// contains filtered or unexported fields
}
DockerDigest defines a resource of kind "dockerDigest" to interact with a docker registry
func New ¶
func New(newSpec Spec) (*DockerDigest, error)
New returns a reference to a newly initialized DockerDigest object from a Spec or an error if the provided Spec triggers a validation error.
func (*DockerDigest) Source ¶
func (ds *DockerDigest) Source(workingDir string) (string, error)
Source retrieve docker image tag digest from a registry
func (*DockerDigest) Validate ¶
func (ds *DockerDigest) Validate() error
Validate validates the object and returns an error (with all the failed validation messages) if it is not valid
Click to show internal directories.
Click to hide internal directories.