rillv1beta

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 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, rillVersion string) error

func (*Codec) IsInit

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

func (*Codec) ProjectConfig added in v0.21.1

func (c *Codec) ProjectConfig(ctx context.Context) (*ProjectConfig, error)

func (*Codec) PutSource

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

type ProjectConfig added in v0.21.1

type ProjectConfig struct {
	// environment variables
	Env map[string]string `yaml:"env,omitempty"`
}

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