buildcontext

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureBlob added in v0.14.0

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

AzureBlob struct for Azure Blob Storage processing

func (*AzureBlob) UnpackTarFromBuildContext added in v0.14.0

func (b *AzureBlob) UnpackTarFromBuildContext() (string, error)

Download context file from given azure blob storage url and unpack it to BuildContextDir

type BuildContext

type BuildContext interface {
	// Unpacks a build context and returns the directory where it resides
	UnpackTarFromBuildContext() (string, error)
}

BuildContext unifies calls to download and unpack the build context.

func GetBuildContext

func GetBuildContext(srcContext string) (BuildContext, error)

GetBuildContext parses srcContext for the prefix and returns related buildcontext parser

type Dir

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

Dir unifies calls to download and unpack the build context.

func (*Dir) UnpackTarFromBuildContext

func (f *Dir) UnpackTarFromBuildContext() (string, error)

UnpackTarFromBuildContext just provides a directory with already extracted content

type GCS

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

GCS struct for Google Cloud Storage processing

func (*GCS) UnpackTarFromBuildContext

func (g *GCS) UnpackTarFromBuildContext() (string, error)

type Git added in v0.10.0

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

Git unifies calls to download and unpack the build context.

func (*Git) UnpackTarFromBuildContext added in v0.10.0

func (g *Git) UnpackTarFromBuildContext() (string, error)

UnpackTarFromBuildContext will provide the directory where Git Repository is Cloned

type S3

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

S3 unifies calls to download and unpack the build context.

func (*S3) UnpackTarFromBuildContext

func (s *S3) UnpackTarFromBuildContext() (string, error)

UnpackTarFromBuildContext download and untar a file from s3

Jump to

Keyboard shortcuts

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