Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParameter ¶
func GetParameter()
Types ¶
type Parameter ¶
type Parameter struct { Name string `json:"name"` Short string `json:"short,omitempty"` Required bool `json:"required,omitempty"` Default interface{} `json:"default,omitempty"` Usage string `json:"usage,omitempty"` Ignore bool `json:"ignore,omitempty"` Type cue.Kind `json:"type,omitempty"` Alias string `json:"alias,omitempty"` JSONType string `json:"jsonType,omitempty"` }
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value is an object with cue.context and vendors
func ParseToTemplateValue ¶
ParseToTemplateValue parse the cue script to cue.Value. It must include a valid template.
func ParseToValue ¶
ParseToValue parse the cue script to cue.Value
Click to show internal directories.
Click to hide internal directories.