Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound is a not found error. ErrNotFound = errors.New("not found") )
Functions ¶
This section is empty.
Types ¶
type Conversion ¶
type Conversion struct { RootNode ast.Node Sources []io.Reader // contains filtered or unexported fields }
Conversion converts YAML to ksonnet.
func NewConversion ¶
func NewConversion(source, k8sLib string) (*Conversion, error)
NewConversion creates a Conversion.
func (*Conversion) Process ¶
func (c *Conversion) Process() error
Process processes the documents supplied.
type Document ¶
type Document struct { Properties component.Properties GVK component.GVK // contains filtered or unexported fields }
Document creates a ksonnet document for describing a resource.
func NewDocument ¶
NewDocument creates an instance of Document.
func (*Document) GenerateComponent ¶
GenerateComponent generates a component
func (*Document) UpdateParams ¶
func (d *Document) UpdateParams(pu ParamsUpdater) error
UpdateParams updates params.
type ParamsUpdater ¶
ParamsUpdater is a function for updating params.
Click to show internal directories.
Click to hide internal directories.