artifact_source_config

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 6 modules, 21 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactSourceConfig

type ArtifactSourceConfig interface {
	parse.Config

	GetFileLayout() *string
	DefaultTo(ArtifactSourceConfig)
}

type ArtifactSourceConfigImpl

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

	// grok string defining the file layout and allowing metadata to be extracted
	FileLayout *string `hcl:"file_layout,optional"`

	// grok patterns to add to the grok parser used to parse the layout
	Patterns map[string]string `hcl:"patterns,optional"`
}

func ArtifactSourceConfigBaseFromProto

func ArtifactSourceConfigBaseFromProto(pb *proto.ArtifactSourceConfig) *ArtifactSourceConfigImpl

func (*ArtifactSourceConfigImpl) DefaultTo

func (b *ArtifactSourceConfigImpl) DefaultTo(other ArtifactSourceConfig)

func (*ArtifactSourceConfigImpl) GetFileLayout

func (b *ArtifactSourceConfigImpl) GetFileLayout() *string

func (*ArtifactSourceConfigImpl) GetPatterns

func (b *ArtifactSourceConfigImpl) GetPatterns() map[string]string

func (*ArtifactSourceConfigImpl) Identifier

func (b *ArtifactSourceConfigImpl) Identifier() string

func (*ArtifactSourceConfigImpl) ToProto added in v0.2.0

ToProto converts ArtifactSourceConfigImpl to its Protobuf representation. used to pass default config to an external-plugin source

func (*ArtifactSourceConfigImpl) Validate

func (b *ArtifactSourceConfigImpl) Validate() error

Jump to

Keyboard shortcuts

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