github.com/solo-io/cue@v0.4.7/pkg/tool/file/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 file
     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/file", 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  	Read: {
    23  		$id:      "tool/file.Read"
    24  		filename: !=""
    25  		contents: *bytes | string
    26  	}
    27  	Append: {
    28  		$id:         "tool/file.Append"
    29  		filename:    !=""
    30  		permissions: int | *438
    31  		contents:    bytes | string
    32  	}
    33  	Create: {
    34  		$id:         "tool/file.Create"
    35  		filename:    !=""
    36  		permissions: int | *438
    37  		contents:    bytes | string
    38  	}
    39  	Glob: {
    40  		$id:  "tool/file.Glob"
    41  		glob: !=""
    42  		files: [...string]
    43  	}
    44  }`,
    45  }