github.com/solo-io/cue@v0.4.7/pkg/tool/os/pkg.go (about) 1 // Code generated by go generate. DO NOT EDIT. 2 3 //go:generate rm pkg.go 4 //go:generate go run ../../gen/gen.go 5 6 package os 7 8 import ( 9 "github.com/solo-io/cue/internal/core/adt" 10 "github.com/solo-io/cue/pkg/internal" 11 ) 12 13 func init() { 14 internal.Register("tool/os", pkg) 15 } 16 17 var _ = adt.TopKind // in case the adt package isn't used 18 19 var pkg = &internal.Package{ 20 Native: []*internal.Builtin{}, 21 CUE: `{ 22 Value: bool | number | *string | null 23 Name: !="" & !~"^[$]" 24 Setenv: { 25 { 26 [Name]: Value 27 } 28 $id: "tool/os.Setenv" 29 } 30 Getenv: { 31 { 32 [Name]: Value 33 } 34 $id: "tool/os.Getenv" 35 } 36 Environ: { 37 { 38 [Name]: Value 39 } 40 $id: "tool/os.Environ" 41 } 42 Clearenv: { 43 $id: "tool/os.Clearenv" 44 } 45 }`, 46 }