Documentation ¶
Index ¶
- type GVK
- func (gvk *GVK) GetGroup() string
- func (gvk *GVK) GetKind() string
- func (gvk *GVK) GetName() string
- func (gvk *GVK) GetNameSpace() string
- func (gvk *GVK) GetVersion() string
- func (gvk *GVK) SetGroup(s string)
- func (gvk *GVK) SetKind(s string)
- func (gvk *GVK) SetName(s string)
- func (gvk *GVK) SetNameSpace(s string)
- func (gvk *GVK) SetVersion(s string)
- func (gvk *GVK) String() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GVK ¶
type GVK struct { Group string `json:"group,omitempty"` Version string `json:"version,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"Name,omitempty"` NameSpace string `json:"Namespace,omitempty"` }
GVK identifies a resource with Group - Version - Kind - Name - NameSpace
func String2GVK ¶
func (*GVK) GetNameSpace ¶
func (*GVK) GetVersion ¶
func (*GVK) SetNameSpace ¶
func (*GVK) SetVersion ¶
Click to show internal directories.
Click to hide internal directories.