sources

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 59 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchConveyorPacker

type ArchConveyorPacker struct {
	// contains filtered or unexported fields
}

ArchConveyorPacker only needs to hold the conveyor to have the needed data to pack

func (*ArchConveyorPacker) CleanUp

func (cp *ArchConveyorPacker) CleanUp()

CleanUp removes any tmpfs owned by the conveyorPacker on the filesystem

func (*ArchConveyorPacker) Get

func (cp *ArchConveyorPacker) Get(ctx context.Context, b *types.Bundle) (err error)

Get just stores the source

func (*ArchConveyorPacker) Pack

func (cp *ArchConveyorPacker) Pack(context.Context) (b *types.Bundle, err error)

Pack puts relevant objects in a Bundle!

type BusyBoxConveyor

type BusyBoxConveyor struct {
	// contains filtered or unexported fields
}

BusyBoxConveyor only needs to hold the conveyor to have the needed data to pack

func (*BusyBoxConveyor) CleanUp

func (c *BusyBoxConveyor) CleanUp()

CleanUp removes any tmpfs owned by the conveyorPacker on the filesystem

func (*BusyBoxConveyor) Get

func (c *BusyBoxConveyor) Get(ctx context.Context, b *types.Bundle) (err error)

Get just stores the source

type BusyBoxConveyorPacker

type BusyBoxConveyorPacker struct {
	BusyBoxConveyor
}

BusyBoxConveyorPacker only needs to hold the conveyor to have the needed data to pack

func (*BusyBoxConveyorPacker) Pack

func (cp *BusyBoxConveyorPacker) Pack(context.Context) (b *types.Bundle, err error)

Pack puts relevant objects in a Bundle!

type DebootstrapConveyorPacker

type DebootstrapConveyorPacker struct {
	// contains filtered or unexported fields
}

DebootstrapConveyorPacker holds stuff that needs to be packed into the bundle

func (*DebootstrapConveyorPacker) CleanUp

func (cp *DebootstrapConveyorPacker) CleanUp()

CleanUp removes any tmpfs owned by the conveyorPacker on the filesystem

func (*DebootstrapConveyorPacker) Get

func (cp *DebootstrapConveyorPacker) Get(ctx context.Context, b *types.Bundle) (err error)

Get downloads container information from the specified source

func (*DebootstrapConveyorPacker) Pack

Pack puts relevant objects in a Bundle!

type Ext3Packer

type Ext3Packer struct {
	// contains filtered or unexported fields
}

Ext3Packer holds the locations of where to back from and to, as well as image offset info

func (*Ext3Packer) Pack

func (p *Ext3Packer) Pack(context.Context) (*types.Bundle, error)

Pack puts relevant objects in a Bundle!

type LibraryConveyorPacker

type LibraryConveyorPacker struct {
	LocalPacker
	// contains filtered or unexported fields
}

LibraryConveyorPacker only needs to hold a packer to pack the image it pulls as well as extra information about the library it's pulling from

func (*LibraryConveyorPacker) CleanUp

func (cp *LibraryConveyorPacker) CleanUp()

CleanUp removes any files owned by the conveyorPacker on the filesystem.

func (*LibraryConveyorPacker) Get

func (cp *LibraryConveyorPacker) Get(ctx context.Context, b *types.Bundle) (err error)

Get downloads container from Sylabs Cloud Library.

type LocalConveyor

type LocalConveyor struct {
	// contains filtered or unexported fields
}

LocalConveyor only needs to hold the conveyor to have the needed data to pack

type LocalConveyorPacker

type LocalConveyorPacker struct {
	LocalConveyor
	LocalPacker
}

LocalConveyorPacker only needs to hold the conveyor to have the needed data to pack

func (*LocalConveyorPacker) Get

func (cp *LocalConveyorPacker) Get(ctx context.Context, b *types.Bundle) (err error)

Get just stores the source.

type LocalPacker

type LocalPacker interface {
	Pack(context.Context) (*types.Bundle, error)
}

LocalPacker ...

func GetLocalPacker

func GetLocalPacker(ctx context.Context, src string, b *types.Bundle) (LocalPacker, error)

GetLocalPacker ...

type OCIConveyorPacker

type OCIConveyorPacker struct {
	// contains filtered or unexported fields
}

OCIConveyorPacker holds stuff that needs to be packed into the bundle

func (*OCIConveyorPacker) CleanUp

func (cp *OCIConveyorPacker) CleanUp()

CleanUp removes any tmpfs owned by the conveyorPacker on the filesystem

func (*OCIConveyorPacker) Get

func (cp *OCIConveyorPacker) Get(ctx context.Context, b *sytypes.Bundle) (err error)

Get downloads container information from the specified source

func (*OCIConveyorPacker) Pack

Pack puts relevant objects in a Bundle.

type OrasConveyorPacker

type OrasConveyorPacker struct {
	LocalPacker
}

OrasConveyorPacker only needs to hold a packer to pack the image it pulls as well as extra information about the library it's pulling from.

func (*OrasConveyorPacker) Get

func (cp *OrasConveyorPacker) Get(ctx context.Context, b *types.Bundle) (err error)

Get downloads container from Apptainerhub

type SIFPacker

type SIFPacker struct {
	// contains filtered or unexported fields
}

SIFPacker holds the locations of where to pack from and to.

func (*SIFPacker) Pack

func (p *SIFPacker) Pack(context.Context) (*types.Bundle, error)

Pack puts relevant objects in a Bundle.

type SandboxPacker

type SandboxPacker struct {
	// contains filtered or unexported fields
}

SandboxPacker holds the locations of where to pack from and to Ext3Packer holds the locations of where to back from and to, as well as image offset info

func (*SandboxPacker) Pack

Pack puts relevant objects in a Bundle!

type ScratchConveyor

type ScratchConveyor struct {
	// contains filtered or unexported fields
}

ScratchConveyor only needs to hold the conveyor to have the needed data to pack

func (*ScratchConveyor) CleanUp

func (c *ScratchConveyor) CleanUp()

CleanUp removes any tmpfs owned by the conveyorPacker on the filesystem

func (*ScratchConveyor) Get

func (c *ScratchConveyor) Get(ctx context.Context, b *types.Bundle) (err error)

Get just stores the source

type ScratchConveyorPacker

type ScratchConveyorPacker struct {
	ScratchConveyor
}

ScratchConveyorPacker only needs to hold the conveyor to have the needed data to pack

func (*ScratchConveyorPacker) Pack

func (cp *ScratchConveyorPacker) Pack(context.Context) (b *types.Bundle, err error)

Pack puts relevant objects in a Bundle!

type ShubConveyorPacker

type ShubConveyorPacker struct {
	LocalPacker
	// contains filtered or unexported fields
}

ShubConveyorPacker only needs to hold the conveyor to have the needed data to pack.

func (*ShubConveyorPacker) CleanUp

func (cp *ShubConveyorPacker) CleanUp()

CleanUp removes any tmpfs owned by the conveyorPacker on the filesystem

func (*ShubConveyorPacker) Get

func (cp *ShubConveyorPacker) Get(ctx context.Context, b *types.Bundle) (err error)

Get downloads container from Apptainerhub.

type SquashfsPacker

type SquashfsPacker struct {
	// contains filtered or unexported fields
}

SquashfsPacker holds the locations of where to pack from and to, as well as image offset info

func (*SquashfsPacker) Pack

Pack puts relevant objects in a Bundle!

type YumConveyor

type YumConveyor struct {
	// contains filtered or unexported fields
}

YumConveyor holds stuff that needs to be packed into the bundle

func (*YumConveyor) Get

func (c *YumConveyor) Get(ctx context.Context, b *types.Bundle) (err error)

Get downloads container information from the specified source

type YumConveyorPacker

type YumConveyorPacker struct {
	YumConveyor
}

YumConveyorPacker only needs to hold the conveyor to have the needed data to pack

func (*YumConveyorPacker) Pack

func (cp *YumConveyorPacker) Pack(context.Context) (b *types.Bundle, err error)

Pack puts relevant objects in a Bundle!

type ZypperConveyorPacker

type ZypperConveyorPacker struct {
	// contains filtered or unexported fields
}

ZypperConveyorPacker only needs to hold the bundle for the container

func (*ZypperConveyorPacker) Get

func (cp *ZypperConveyorPacker) Get(ctx context.Context, b *types.Bundle) (err error)

Get downloads container information from the specified source

func (*ZypperConveyorPacker) Pack

func (cp *ZypperConveyorPacker) Pack(context.Context) (b *types.Bundle, err error)

Pack puts relevant objects in a Bundle!

Jump to

Keyboard shortcuts

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