outputlocation

package
v0.0.1-pre.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobUpload

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

func (*BlobUpload) Enabled

func (bu *BlobUpload) Enabled() bool

func (*BlobUpload) Name

func (bu *BlobUpload) Name() string

func (*BlobUpload) Output

func (bu *BlobUpload) Output(srcFilePath string) error

type HostPath

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

func (*HostPath) Enabled

func (hp *HostPath) Enabled() bool

func (*HostPath) Name

func (hp *HostPath) Name() string

func (*HostPath) Output

func (hp *HostPath) Output(srcFilePath string) error

type Location

type Location interface {
	// Name returns the name of the output location.
	Name() string
	// Enabled checks whether a output location is enabled.
	Enabled() bool
	// Output outputs source file to the location specified by the users.
	Output(srcFilePath string) error
}

func NewBlobUpload

func NewBlobUpload(logger *log.ZapLogger) Location

func NewHostPath

func NewHostPath(logger *log.ZapLogger) Location

func NewPersistentVolumeClaim

func NewPersistentVolumeClaim(logger *log.ZapLogger) Location

type PersistentVolumeClaim

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

func (*PersistentVolumeClaim) Enabled

func (pvc *PersistentVolumeClaim) Enabled() bool

func (*PersistentVolumeClaim) Name

func (pvc *PersistentVolumeClaim) Name() string

func (*PersistentVolumeClaim) Output

func (pvc *PersistentVolumeClaim) Output(srcFilePath string) error

Jump to

Keyboard shortcuts

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