package
Version:
v0.0.0-...-9dd3fcf
Opens a new window with list of versions in this module.
Published: Sep 8, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
LoadKubeConfigFor loads config for specified context form minikube generated
kubeconfig file with multiple contexts.
The config refers to minikube certificates and keys on the same host, so it
cannot be used from another host.
Like `kubectl config view --minify --context context`. Based on
kubectl/pkg/cmd/config/view.go
type Environment struct {
Name string `json:"name"`
Ramen *RamenInfo `json:"ramen"`
}
Environment is ramen testing environment file.
type Options struct {
NamePrefix string
}
type RamenInfo struct {
Hub string `json:"hub"`
Clusters []string `json:"clusters"`
Topology api.DRTopology `json:"topology"`
}
RamenInfo describes the ramen environment. The hub and clusters names are
context names stored in the home kubeconfig (~/.kube/config).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.