Documentation ¶
Index ¶
- type Corpus
- func (c *Corpus) Image(tb testing.TB, name string) v1.Image
- func (c *Corpus) ImageIndex(tb testing.TB, name string) v1.ImageIndex
- func (c *Corpus) ImagePath(name string) string
- func (c *Corpus) OCILayout(tb testing.TB, name string) string
- func (c *Corpus) SIF(tb testing.TB, name string, opt ...sif.WriteOpt) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Corpus ¶
type Corpus struct {
// contains filtered or unexported fields
}
func NewCorpus ¶
NewCorpus returns a new Corpus. The path specifies the location of the "test" directory.
func (*Corpus) Image ¶
Image returns a v1.Image corresponding to the OCI Image Layout with the specified name in the corpus.
func (*Corpus) ImageIndex ¶
ImageIndex returns a v1.ImageIndex corresponding to the OCI Image Layout with the specified name in the corpus.
func (*Corpus) ImagePath ¶
ImagePath returns the path to the image in the corpus with the specified name.
Click to show internal directories.
Click to hide internal directories.