Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsOpenShift ¶
func IsOpenShift(d discovery.DiscoveryInterface) (bool, error)
Types ¶
type Client ¶
type Client struct { ctrl.Client kubernetes.Interface Discovery discovery.DiscoveryInterface // contains filtered or unexported fields }
func (*Client) Dynamic ¶
func (c *Client) Dynamic(namespace string, obj *unstructured.Unstructured) (dynamic.ResourceInterface, error)
func (*Client) IsOpenShift ¶
IsOpenShift returns true if we are connected to a OpenShift cluster.
type ClusteredResource ¶
type ClusteredResource struct {
dynamic.ResourceInterface
}
type NamespacedResource ¶
type NamespacedResource struct {
dynamic.ResourceInterface
}
Click to show internal directories.
Click to hide internal directories.