sources

package
v3.0.3-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: BSD-3-Clause Imports: 37 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(b *types.Bundle) (err error)

Get just stores the source

func (*ArchConveyorPacker) Pack

func (cp *ArchConveyorPacker) Pack() (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(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() (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(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, aswell as image offset info

func (*Ext3Packer) Pack

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

Pack puts relevant objects in a Bundle!

type LibraryConveyorPacker

type LibraryConveyorPacker struct {
	LocalPacker
	LibraryURL string
	AuthToken  string
	// 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 tmpfs owned by the conveyorPacker on the filesystem

func (*LibraryConveyorPacker) Get

func (cp *LibraryConveyorPacker) Get(b *sytypes.Bundle) (err error)

Get downloads container from Singularityhub

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(b *types.Bundle) (err error)

Get just stores the source

type LocalPacker

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

LocalPacker ...

func GetLocalPacker

func GetLocalPacker(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(b *sytypes.Bundle) (err error)

Get downloads container information from the specified source

func (*OCIConveyorPacker) Pack

func (cp *OCIConveyorPacker) Pack() (*sytypes.Bundle, error)

Pack puts relevant objects in a Bundle!

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() (*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, aswell as image offset info

func (*SandboxPacker) Pack

func (p *SandboxPacker) Pack() (*types.Bundle, 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(b *sytypes.Bundle) (err error)

Get downloads container from Singularityhub

type SquashfsPacker

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

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

func (*SquashfsPacker) Pack

func (p *SquashfsPacker) Pack() (*types.Bundle, error)

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(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() (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