Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsOpenShift ¶
func IsOpenShift(d discovery.DiscoveryInterface) (bool, error)
func NewRESTClientForConfig ¶
func NewRESTClientForConfig(config *rest.Config) (*rest.RESTClient, error)
Types ¶
type Client ¶
type Client struct { ctrl.Client kubernetes.Interface Discovery discovery.DiscoveryInterface Route route.Interface // contains filtered or unexported fields }
func (*Client) IsOpenShift ¶
IsOpenShift returns true if we are connected to a OpenShift cluster.
Click to show internal directories.
Click to hide internal directories.