package
Version:
v0.0.0-...-1ca2bd4
Opens a new window with list of versions in this module.
Published: Dec 18, 2024
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package clusterflag implements a flag.Value which can be used in commands
to represent a Kubernetes cluster.
Flag contains the necessary information to connect to a Kubernetes cluster.
Flag implements flag.Value.
Cluster creates a cluster client.
Get implements flag.Value.Get.
Set implements flag.Value.Set.
Set(String()) should be idempotent.
String implements flag.Value.String.
Valid checks if the flag values are valid.
Provider is a cluster provider.
String returns the provider name.
Valid returns whether the Provider is valid.
ValidInfo validates whether the given info is valid for this provider.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.