Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiObject ¶
ApiObject holds the object information of the API Object
func New ¶
New parses a YAML of a Kubernetes Object description returns an initialized API Object returns an error, if the Reader contains no valid yaml object
func (*ApiObject) Exists ¶
Exists returns a bool. true if the Object exists in the cluster, false if not It returns also false, when there is no information if the object is namespaced
func (*ApiObject) Namespaced ¶
Namespaced returns a bool if the API Object is namespaced or not returns an error if Kind is not found TODO must be made dynamic by fetching supported API-Resources from current cluster
Click to show internal directories.
Click to hide internal directories.