up

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoRDevConfig = errors.New("component does not have a remote development config")

	ErrEmptyList = errors.New("empty list")

	ErrOneSyncPathSupported = errors.New("only one sync path is supported")

	ErrTooManySimpleConfig = errors.New("too many simple resources")

	ErrTooManySimpleResources = errors.New("too many simple containers")

	ErrUnknownProfileType       = errors.New("unknown profile type")
	ErrUnknownConfigurationType = errors.New("unknown configuration type")

	ErrResourceLoaderNotHydrated = errors.New("resourceLoader needs to be hydrated")
)

Functions

This section is empty.

Types

type ContainerMap

type ContainerMap = map[string]sdk.ContainerConfigItem

type NamedProfile

type NamedProfile struct {
	Name string

	Profile *sdk.ProfileItem
}

type Options

type Options struct {
	ManualSelectSingleResource bool
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(
	manager *config.Manager,
	resourceLoader *bridge.ResourceLoader,
) *Options

func (*Options) SetCommand

func (up *Options) SetCommand(command []string)

func (*Options) ToParameters

func (up *Options) ToParameters() (*action.UpParameters, error)

func (*Options) UpdateFlagSet

func (up *Options) UpdateFlagSet(
	command *cobra.Command,
	flags *pflag.FlagSet,
)

func (*Options) Validate

func (up *Options) Validate() error

type SyncMode

type SyncMode enumflag.Flag
const (
	None SyncMode = iota
	TwoWaySafe
	TwoWayResolved
	OneWaySafe
	OneWayReplica
)

Jump to

Keyboard shortcuts

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