format

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Format         string
	CommentPadding int
	HideCoreTypes  bool

	CoreTypes = []string{"tolerations", "nodeAffinity", "podAffinity", "podAntiAffinity"}
)

Functions

func Print

func Print(out io.Writer, p *Prop)

Types

type Prop

type Prop struct {
	Key     string
	Comment []string

	// below types are exclusive
	ScalarValue string
	Properties  []*Prop
	ListItem    *Prop
}

Jump to

Keyboard shortcuts

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