config

package
v0.0.0-...-ad0a146 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanoncalGroup

func CanoncalGroup(group string) string

func MarshalIndent

func MarshalIndent(msg proto.Message, indent string) ([]byte, error)

func ToJSON

func ToJSON(s Spec) ([]byte, error)

func ToJSONWithIndent

func ToJSONWithIndent(msg proto.Message, indent string) (string, error)

func ToJSONWithOptions

func ToJSONWithOptions(msg proto.Message, indent string, enumsAsInts bool) (string, error)

Types

type GroupVersionKind

type GroupVersionKind struct {
	Group   string `json:"group"`
	Version string `json:"version"`
	Kind    string `json:"kind"`
}

func (GroupVersionKind) CanonicalGroup

func (g GroupVersionKind) CanonicalGroup() string

func (GroupVersionKind) Kubernetes

func (g GroupVersionKind) Kubernetes() schema.GroupVersionKind

func (GroupVersionKind) String

func (g GroupVersionKind) String() string

type Spec

type Spec any

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL