fetch

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func NewFactory

func NewFactory(coreClient kubernetes.Interface, skipTLSConfig SkipTLSConfig) Factory

func (Factory) NewInline

func (f Factory) NewInline(opts v1alpha1.AppFetchInline, nsName string) *Inline

func (Factory) NewVendir added in v0.14.0

func (f Factory) NewVendir(nsName string) *Vendir

TODO: pass v1alpha1.Vendir opts here once api is exapnded

type Inline

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

func NewInline

func NewInline(opts v1alpha1.AppFetchInline, nsName string, coreClient kubernetes.Interface) *Inline

func (*Inline) Retrieve

func (t *Inline) Retrieve(dstPath string) error

type SkipTLSConfig added in v0.18.0

type SkipTLSConfig interface {
	ShouldSkipTLSForDomain(domain string) bool
}

type Vendir added in v0.14.0

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

func NewVendir added in v0.14.0

func NewVendir(nsName string, coreClient kubernetes.Interface, skipTLSConfig SkipTLSConfig) *Vendir

func (*Vendir) AddDir added in v0.14.0

func (v *Vendir) AddDir(fetch v1alpha1.AppFetch, dirPath string) error

func (*Vendir) ConfigReader added in v0.14.0

func (v *Vendir) ConfigReader() (io.Reader, error)

Jump to

Keyboard shortcuts

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