Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlagProvider ¶
type FlagProvider interface { GetFlags() *pflag.FlagSet GetInitializedConfiguration() map[string]interface{} }
FlagProvider defines an interface for the policy storage provider flag handling.
type KernelLookup ¶
type KernelLookup struct {
ID string
}
KernelLookup is the kernel query parameters configuration.
type KernelResult ¶
type KernelResult interface { HostPath() string Metadata() interface{} }
KernelResult contains the information about the resolved kernel.
type Provider ¶
type Provider interface { Configure(map[string]interface{}) error // FetchKernel fetches a Linux Kernel by ID. FetchKernel(*KernelLookup) (KernelResult, error) // FetchRootfs fetches a root file system by ID. FetchRootfs(*RootfsLookup) (RootfsResult, error) StoreRootfsFile(*RootfsStore) (*RootfsStoreResult, error) }
Provider represents a storage provider.
type RootfsLookup ¶
RootfsLookup is the rootfs query parameters configuration.
type RootfsResult ¶
type RootfsResult interface { HostPath() string Metadata() interface{} }
RootfsResult contains the information about the resolved rootfs.
type RootfsStore ¶
type RootfsStore struct { LocalPath string Metadata interface{} Org string Image string Version string }
RootfsStore identifies rootfs storage arguments.
type RootfsStoreResult ¶
RootfsStoreResult contains the information about the stored rootfs.
Click to show internal directories.
Click to hide internal directories.