Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoConfig = errors.New("no config found")
Functions ¶
func ConfigHome ¶
func K8sConfPath ¶
func RioConfPath ¶
func SpaceClient ¶
func SpaceClient(conf string, k8s bool) (*spaceclient.Client, error)
Types ¶
type Context ¶
type Context struct { CLIContext *cli.Context Domain string Client *client.Client DefaultStackName string SpaceID string // contains filtered or unexported fields }
func (*Context) ResolveSpaceStackName ¶
func (*Context) SpaceClient ¶
func (c *Context) SpaceClient() (*spaceclient.Client, error)
type ContextBuilder ¶
type ContextBuilder struct {
// contains filtered or unexported fields
}
func NewContextBuilder ¶
func NewContextBuilder(config string, k8s bool) (*ContextBuilder, error)
func (*ContextBuilder) Client ¶
func (c *ContextBuilder) Client(space string) (*client.Client, error)
func (*ContextBuilder) Domain ¶
func (c *ContextBuilder) Domain() (string, error)
func (*ContextBuilder) SpaceClient ¶
func (c *ContextBuilder) SpaceClient() (*spaceclient.Client, error)
Click to show internal directories.
Click to hide internal directories.