Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShaSum256HexEncoded ¶
ShaSum256HexEncoded calculates a SHA256 checksum from the content
Types ¶
type ContainerSubjecter ¶
type ContainerSubjecter struct {
// contains filtered or unexported fields
}
ContainerSubjecter implements Subjector to retrieve Subject from given container if digest is given, it will also compare matches with the given digest
func NewContainerSubjecter ¶
func NewContainerSubjecter(repo, digest string, tags []string, options ...crane.Option) *ContainerSubjecter
NewContainerSubjecter walks the docker tags to retrieve the digests. If digest is non empty string it will be used to compare the rerieved digest to match the given digest
Click to show internal directories.
Click to hide internal directories.