Documentation
¶
Index ¶
- func Delete(profileName string) error
- func GetDefaultProfileName() (string, error)
- func List() (profileNames []string, err error)
- func New(profileName, gitURI, gitBranch string) error
- func SetDefault(profileName string) error
- type Profile
- func (profile *Profile) DeleteEnv(id string) error
- func (profile *Profile) GetEnv(id string) (*environments.Environment, error)
- func (profile *Profile) GetRoot() (*environments.Environment, error)
- func (profile *Profile) GetSettings() (*settings.Settings, error)
- func (profile *Profile) ListEnvs() ([]*environments.Environment, error)
- func (profile *Profile) Name() string
- func (profile *Profile) Pull() error
- func (profile *Profile) Push() error
- func (profile *Profile) PutEnv(env *environments.Environment) error
- func (profile *Profile) RootPublicKey() (*crypto.PublicKey, error)
- func (profile *Profile) SearchEnvs(queries []string) ([]*environments.Environment, error)
- func (profile *Profile) SetRoot(env *environments.Environment) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultProfileName ¶
func SetDefault ¶
Types ¶
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
func GetDefaultProfile ¶
func (*Profile) GetEnv ¶
func (profile *Profile) GetEnv(id string) (*environments.Environment, error)
func (*Profile) GetRoot ¶
func (profile *Profile) GetRoot() (*environments.Environment, error)
func (*Profile) ListEnvs ¶
func (profile *Profile) ListEnvs() ([]*environments.Environment, error)
func (*Profile) PutEnv ¶
func (profile *Profile) PutEnv(env *environments.Environment) error
func (*Profile) SearchEnvs ¶
func (profile *Profile) SearchEnvs(queries []string) ([]*environments.Environment, error)
func (*Profile) SetRoot ¶
func (profile *Profile) SetRoot(env *environments.Environment) error
Click to show internal directories.
Click to hide internal directories.