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") )
View Source
var SyncModeIds = map[SyncMode][]string{ None: {string(remoteDevMutagenConfig.None)}, TwoWaySafe: {string(remoteDevMutagenConfig.TwoWaySafe)}, TwoWayResolved: {string(remoteDevMutagenConfig.TwoWayResolved)}, OneWaySafe: {string(remoteDevMutagenConfig.OneWaySafe)}, OneWayReplica: {string(remoteDevMutagenConfig.OneWayReplica)}, }
View Source
var SyncModeList = []string{ string(remoteDevMutagenConfig.None), string(remoteDevMutagenConfig.TwoWaySafe), string(remoteDevMutagenConfig.TwoWayResolved), string(remoteDevMutagenConfig.OneWaySafe), string(remoteDevMutagenConfig.OneWayReplica), }
View Source
var SyncModeToMutagenMode = map[SyncMode]remoteDevMutagenConfig.Mode{ None: remoteDevMutagenConfig.None, TwoWaySafe: remoteDevMutagenConfig.TwoWaySafe, TwoWayResolved: remoteDevMutagenConfig.TwoWayResolved, OneWaySafe: remoteDevMutagenConfig.OneWaySafe, OneWayReplica: remoteDevMutagenConfig.OneWayReplica, }
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 (*Options) ToParameters ¶
func (up *Options) ToParameters() (*action.UpParameters, error)
func (*Options) UpdateFlagSet ¶
Click to show internal directories.
Click to hide internal directories.