Documentation
¶
Index ¶
- func DecodeOCI(ctx context.Context, id, ref string, add map[string]string, insecure bool, ...) (string, error)
- func EncodeOCI(ctx context.Context, ref, dir string, insecure bool, ...) error
- func Equals(ref1, ref2 string) (bool, error)
- func Validate(ctx context.Context, dir string, add map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeOCI ¶ added in v0.5.0
func DecodeOCI( ctx context.Context, id, ref string, add map[string]string, insecure bool, username, password *string, ) (string, error)
DecodeOCI is a helper function that unpacks a given reference to an OCI blob of data containing a scenario, and puts it in the directory of a given challenge by its id. It is the opposite of EncodeOCI.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.