env

package
v2.0.0-...-98cc131 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileSystem

func FileSystem(fs vfs.FileSystem, path string) fsOpt

func ModifiableTestData

func ModifiableTestData(paths ...string) tdOpt

func TestData

func TestData(paths ...string) tdOpt

Types

type Environment

type Environment struct {
	vfs.VFS
	// contains filtered or unexported fields
}

func NewEnvironment

func NewEnvironment(opts ...Option) *Environment

func (*Environment) ApplyOption

func (e *Environment) ApplyOption(options accessio.Options) error

func (*Environment) ConfigContext

func (e *Environment) ConfigContext() config.Context

func (*Environment) CredentialsContext

func (e *Environment) CredentialsContext() credentials.Context

func (*Environment) FileSystem

func (e *Environment) FileSystem() vfs.FileSystem

func (*Environment) OCIContext

func (e *Environment) OCIContext() oci.Context

func (*Environment) OCMContext

func (e *Environment) OCMContext() ocm.Context

type Option

type Option interface {
	Mount(fs *composefs.ComposedFileSystem) error
	GetFilesystem() vfs.FileSystem
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL