Documentation ¶
Index ¶
- Constants
- func BundleToRaw(inst *build.Instance) ([]byte, error)
- func Eval(instance *build.Instance, options ...EvalOptionFunc) ([]byte, error)
- func InstanceFromRaw(src []byte) (*build.Instance, error)
- func InstanceFromTemplateAndOverwrites(template []byte, overwrites []byte) (*build.Instance, error)
- type Encoding
- type EvalOption
- type EvalOptionFunc
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func BundleToRaw ¶
BundleToRaw bundle instance to single cue file
Types ¶
type EvalOption ¶ added in v0.2.2
type EvalOption struct {
Encoding Encoding
}
func (*EvalOption) SetDefaults ¶ added in v0.2.2
func (o *EvalOption) SetDefaults()
type EvalOptionFunc ¶ added in v0.2.2
type EvalOptionFunc = func(o *EvalOption)
func WithEncoding ¶ added in v0.2.2
func WithEncoding(e build.Encoding) EvalOptionFunc
func WithEncodingFromFileExt ¶ added in v0.2.2
func WithEncodingFromFileExt(ext string) EvalOptionFunc
Click to show internal directories.
Click to hide internal directories.