rillv1beta

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "rill-beta"

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec struct {
	Repo       drivers.RepoStore
	InstanceID string
}

func New

func New(repo drivers.RepoStore, instanceID string) *Codec

func (*Codec) DeleteSource

func (c *Codec) DeleteSource(ctx context.Context, name string) (string, error)

func (*Codec) InitEmpty

func (c *Codec) InitEmpty(ctx context.Context, name string, rillVersion string) error

func (*Codec) IsInit

func (c *Codec) IsInit(ctx context.Context) bool

func (*Codec) PutSource

func (c *Codec) PutSource(ctx context.Context, repo drivers.RepoStore, instanceID string, source *runtimev1.Source, force bool) (string, error)

type Source

type Source struct {
	Type         string
	URI          string `yaml:"uri,omitempty"`
	Path         string `yaml:"path,omitempty"`
	Region       string `yaml:"region,omitempty"`
	CSVDelimiter string `yaml:"csv.delimiter,omitempty"`
}

Jump to

Keyboard shortcuts

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