Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterProvider ¶
type ClusterProvider struct { }
ClusterProvider uses whatever cluster your local kubeconfig points to.
func (*ClusterProvider) Close ¶
func (p *ClusterProvider) Close() error
Close does nothing for this cluster provider.
func (*ClusterProvider) GetCluster ¶
func (p *ClusterProvider) GetCluster(ctx context.Context, spec *experimentpb.ClusterSpec) (*cluster.Context, func(), error)
GetCluster ignores the passed in `spec` and returns a `cluster.Context` pointing to your local kubeconfig. The kubeconfig defaults to `~/.kube/config` and can be changed with the KUBECONFIG environment variable, or `--kubeconfig` on the command line.
Click to show internal directories.
Click to hide internal directories.