Documentation ¶
Index ¶
- func CanoncalGroup(group string) string
- func MarshalIndent(msg proto.Message, indent string) ([]byte, error)
- func ToJSON(s Spec) ([]byte, error)
- func ToJSONWithIndent(msg proto.Message, indent string) (string, error)
- func ToJSONWithOptions(msg proto.Message, indent string, enumsAsInts bool) (string, error)
- type GroupVersionKind
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanoncalGroup ¶
Types ¶
type GroupVersionKind ¶
type GroupVersionKind struct { Group string `json:"group"` Version string `json:"version"` Kind string `json:"kind"` }
func FromK8sGVK ¶
func FromK8sGVK(gvk schema.GroupVersionKind) GroupVersionKind
func (GroupVersionKind) CanonicalGroup ¶
func (g GroupVersionKind) CanonicalGroup() string
func (GroupVersionKind) K8s ¶
func (g GroupVersionKind) K8s() schema.GroupVersionKind
func (GroupVersionKind) String ¶
func (g GroupVersionKind) String() string
Click to show internal directories.
Click to hide internal directories.