file

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileSourceIdentifier = "file"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSource

func (*FileSource) DiscoverArtifacts

func (s *FileSource) DiscoverArtifacts(ctx context.Context) error

func (*FileSource) DownloadArtifact

func (s *FileSource) DownloadArtifact(ctx context.Context, info *types.ArtifactInfo) error

DownloadArtifact does nothing as the artifact already exists on the local file system

func (*FileSource) Identifier

func (s *FileSource) Identifier() string

func (*FileSource) Init

type FileSourceConfig

type FileSourceConfig struct {
	artifact_source_config.ArtifactSourceConfigImpl
	// required to allow partial decoding
	Remain hcl.Body `hcl:",remain" json:"-"`

	Paths []string `hcl:"paths"`
}

func (*FileSourceConfig) Identifier

func (f *FileSourceConfig) Identifier() string

func (*FileSourceConfig) Validate

func (f *FileSourceConfig) Validate() error

Jump to

Keyboard shortcuts

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