cue

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

Develop Tips

The following packages need to be tested without external/tool dependencies, So that the cue-sh/unity can do verification

  • github.com/kubevela/workflow/pkg/cue/definition
  • github.com/kubevela/workflow/pkg/cue/model
  • github.com/kubevela/workflow/pkg/cue/model/sets
  • github.com/kubevela/workflow/pkg/cue/process
  • github.com/kubevela/workflow/pkg/cue/task
  • github.com/kubevela/workflow/pkg/cue/packages

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillUnstructuredObject

func FillUnstructuredObject(v *value.Value, obj runtime.Unstructured, paths ...string) error

FillUnstructuredObject fill runtime.Unstructured to *value.Value

func IntifyValues

func IntifyValues(raw interface{}) interface{}

IntifyValues will make values to int. JSON marshalling of user values will put integer into float, we have to change it back so that CUE check will succeed.

func SetUnstructuredObject added in v0.4.0

func SetUnstructuredObject(v *value.Value, obj runtime.Unstructured, path string) error

SetUnstructuredObject set runtime.Unstructured to *value.Value

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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