Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials interface { GetDBName() string GetHost() string GetUsername() string GetPassword() string GetPort() string }
func CredentialsFromJSON ¶
func CredentialsFromJSON(body string) (creds Credentials, err error)
type ServiceInstance ¶
func FetchServiceInstance ¶
func FetchServiceInstance(cliConnection plugin.CliConnection, name string) (si ServiceInstance, err error)
func (*ServiceInstance) ContainsTerms ¶
func (si *ServiceInstance) ContainsTerms(items ...string) bool
type ServiceKey ¶
type ServiceKey struct { Instance ServiceInstance ID string }
func NewServiceKey ¶
func NewServiceKey(instance ServiceInstance) ServiceKey
func (*ServiceKey) Create ¶
func (sk *ServiceKey) Create(conn plugin.CliConnection) error
func (*ServiceKey) Delete ¶
func (sk *ServiceKey) Delete(conn plugin.CliConnection) error
func (*ServiceKey) GetCreds ¶
func (sk *ServiceKey) GetCreds(cliConnection plugin.CliConnection) (creds Credentials, err error)
Click to show internal directories.
Click to hide internal directories.