Documentation
¶
Index ¶
- func CloneMap(orig *map[string]string) *map[string]string
- func GetConfigPath(dir string, w *workspace2.Workspace) (exists bool, remoteFilePath string, err error)
- func ListTypes() []string
- func LoadConfig(dir string, w *workspace.Workspace, defaultsProvider func() *map[string]string) (c *map[string]string, err error)
- func MustJoinPath(base string, elem string) string
- func Register(remoteType string, ...)
- func SaveActiveRemoteType(dir string, remoteType string) (*workspace2.Workspace, error)
- type EndpointDetails
- type Remote
- type RemoteMetadata
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigPath ¶
func LoadConfig ¶
func MustJoinPath ¶
func SaveActiveRemoteType ¶
func SaveActiveRemoteType(dir string, remoteType string) (*workspace2.Workspace, error)
Types ¶
type EndpointDetails ¶
type Remote ¶
type Remote interface {
GetType() string
GetConfig() (*map[string]string, error)
SetConfigValue(key string, value string) error
Deploy() error
GetStatus() (*Status, error)
GetConfigKeys() []string
GetEndpoint() (*EndpointDetails, error)
Undeploy() error
}
func LoadActive ¶
func LoadActive(dir string) (*workspace2.Workspace, *Remote, error)
type RemoteMetadata ¶
func (RemoteMetadata) CheckConfigKey ¶
func (m RemoteMetadata) CheckConfigKey(supported []string, key string) error
func (RemoteMetadata) SaveConfig ¶
func (m RemoteMetadata) SaveConfig() error
Click to show internal directories.
Click to hide internal directories.