opts

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseStorageSpec added in v1.7.0

func ParseStorageSpec(value string, defaultDestination string) (*models.InputSource, error)

ParseStorageSpec parses a storage spec string in the format source:destination or with explicit key=value pairs and returns an InputSource. This is extracted from StorageSpecConfigOpt.Set for reuse.

Types

type PublisherSpecConfigOpt added in v1.4.0

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

func NewPublisherSpecConfigOpt added in v1.4.0

func NewPublisherSpecConfigOpt() PublisherSpecConfigOpt

func (*PublisherSpecConfigOpt) Set added in v1.4.0

func (o *PublisherSpecConfigOpt) Set(value string) error

func (*PublisherSpecConfigOpt) String added in v1.4.0

func (o *PublisherSpecConfigOpt) String() string

func (*PublisherSpecConfigOpt) Type added in v1.4.0

func (o *PublisherSpecConfigOpt) Type() string

func (*PublisherSpecConfigOpt) Value added in v1.4.0

type StorageSpecConfigOpt added in v1.4.0

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

func (*StorageSpecConfigOpt) AddValue added in v1.7.0

func (o *StorageSpecConfigOpt) AddValue(value *models.InputSource)

AddValue adds a new storage source to the list of sources

func (*StorageSpecConfigOpt) Set added in v1.4.0

func (o *StorageSpecConfigOpt) Set(value string) error

func (*StorageSpecConfigOpt) String added in v1.4.0

func (o *StorageSpecConfigOpt) String() string

func (*StorageSpecConfigOpt) Type added in v1.4.0

func (o *StorageSpecConfigOpt) Type() string

func (*StorageSpecConfigOpt) Values added in v1.4.0

func (o *StorageSpecConfigOpt) Values() []*models.InputSource

Jump to

Keyboard shortcuts

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