Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
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) ClientLookup ¶ added in v0.0.3
func (c *Context) ClientLookup(typeName string) clientbase.APIBaseClientInterface
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)
Source Files
¶
- builder.go
- client.go
- config.go
- transport.go
Click to show internal directories.
Click to hide internal directories.