Documentation ¶
Index ¶
- Constants
- Variables
- func Connect(s userio.IOStreams, env *environment.Environment, c Commander, port int) error
- func OpenResource(resourceType ResourceType, env *environment.Environment) error
- func ResourceStringList() []string
- func Validate(ctx context.Context, env *environment.Environment, cmd command.Commander, ...) error
- type ResourceType
- type TableEnv
Constants ¶
View Source
const ( GrafanaResourceType = "grafana" GrafanaContinuousLoadResourceType = "grafana/continuous-load" )
Variables ¶
View Source
var ( ErrCloudPlatformNotSupported = errors.New("cloud platform is not supported") ErrInvalidEnvironment = errors.New("environment is not valid") )
View Source
var (
ErrorUnknownResourceType = errors.New("unknown resource type")
)
Functions ¶
func Connect ¶
func Connect(s userio.IOStreams, env *environment.Environment, c Commander, port int) error
Connect establishes a connection with a gke cluster via a bastion host
func OpenResource ¶
func OpenResource(resourceType ResourceType, env *environment.Environment) error
func ResourceStringList ¶
func ResourceStringList() []string
Types ¶
type ResourceType ¶
type ResourceType string
type TableEnv ¶
type TableEnv struct {
// contains filtered or unexported fields
}
func (TableEnv) AppendEnv ¶
func (t TableEnv) AppendEnv(env environment.Environment)
Click to show internal directories.
Click to hide internal directories.