Documentation ¶
Index ¶
- Constants
- func CanoncalGroup(group string) string
- func DumpToFile(filename string, cfg Config) error
- func FromYAML(content []byte, cfg Config) error
- func Load(file string, cfg Config) error
- func LoadWithOption(file string, cfg Config, strict bool, includeEnv bool, validate bool) error
- func MarshalIndent(msg proto.Message, indent string) ([]byte, error)
- func PrintDeprecations(deprecations []Deprecation, cfg Config, out io.Writer)
- 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)
- func ToJson(cfg Config) ([]byte, error)
- func ToYAML(cfg Config) ([]byte, error)
- type BaseConfig
- type Config
- type Deprecation
- type GroupVersionKind
- type Spec
Constants ¶
View Source
const SanitizedValue = "*****"
Variables ¶
This section is empty.
Functions ¶
func CanoncalGroup ¶
func DumpToFile ¶
func LoadWithOption ¶
func PrintDeprecations ¶
func PrintDeprecations(deprecations []Deprecation, cfg Config, out io.Writer)
func ToJSONWithOptions ¶
Types ¶
type BaseConfig ¶
type BaseConfig struct{}
func (BaseConfig) PostProcess ¶
func (c BaseConfig) PostProcess() error
func (BaseConfig) Sanitize ¶
func (c BaseConfig) Sanitize()
func (BaseConfig) Validate ¶
func (c BaseConfig) Validate() error
type Config ¶
func ConfigForDisplay ¶
type Deprecation ¶
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) String ¶
func (g GroupVersionKind) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.