Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGKEIntegration ¶
func NewGKEIntegration(config *integrations.IntegrationConfig) (integrations.Integration, error)
NewGKEIntegration creates a GKE integration from config.
Types ¶
type GKEIntegration ¶
type GKEIntegration struct {
// contains filtered or unexported fields
}
GKEIntegration implements the gcp/gke integration type.
func (*GKEIntegration) Cleanup ¶
func (g *GKEIntegration) Cleanup(_ context.Context) error
Cleanup removes this integration's kubeconfig entries.
func (*GKEIntegration) Environment ¶
func (g *GKEIntegration) Environment() (map[string]string, error)
Environment returns the kubeconfig variables contributed by this integration.
func (*GKEIntegration) Execute ¶
func (g *GKEIntegration) Execute(ctx context.Context, creds types.ICredentials) error
Execute describes the GKE cluster and provisions its kubeconfig entry.
Click to show internal directories.
Click to hide internal directories.