Documentation
¶
Overview ¶
Package oci implements the statearchive.Archive interface with OCI artifacts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OCIArchive ¶
type OCIArchive struct {
// contains filtered or unexported fields
}
OCIArchive is a statearchive.Archive backed by OCI artifacts.
func NewOCIArchive ¶
func NewOCIArchive(options Options) *OCIArchive
NewOCIArchive returns an OCI-backed state archive.
func (*OCIArchive) Open ¶
func (a *OCIArchive) Open(ctx context.Context, name string) (statearchive.Session, error)
Open materializes the archive tagged name in a temporary directory.
Click to show internal directories.
Click to hide internal directories.