Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
GetContainerRuntime() (string, error)
GetOpenshiftVersion() (string, error)
GetOpenshiftDriverToolkitImages() map[string]string
GetOpenshiftProxySpec() (*configv1.ProxySpec, error)
}
Interface to the clusterinfo package
type Option ¶
type Option func(*clusterInfo)
Option is a function that configures the clusterInfo library
func WithKubernetesConfig ¶
WithKubernetesConfig provides an option to set the k8s config used by the library
func WithOneShot ¶
WithOneShot provides an option to get the cluster information once during initialization of the clusterInfo library. If false, cluster information is fetched every time a client requests information via the interface.
Click to show internal directories.
Click to hide internal directories.