Documentation
¶
Index ¶
- Constants
- func HasRillProject(dir string) bool
- func ProjectName(dir string) (string, error)
- type Codec
- func (c *Codec) DeleteSource(ctx context.Context, name string) (string, error)
- func (c *Codec) InitEmpty(ctx context.Context, name, rillVersion string) error
- func (c *Codec) IsInit(ctx context.Context) bool
- func (c *Codec) ProjectConfig(ctx context.Context) (*ProjectConfig, error)
- func (c *Codec) PutSource(ctx context.Context, repo drivers.RepoStore, instanceID string, ...) (string, error)
- type Connector
- type ProjectConfig
- type Source
- type Variables
Constants ¶
View Source
const Version = "rill-beta"
Variables ¶
This section is empty.
Functions ¶
func HasRillProject ¶ added in v0.24.0
func ProjectName ¶ added in v0.24.0
Types ¶
type Codec ¶
func (*Codec) DeleteSource ¶
func (*Codec) ProjectConfig ¶ added in v0.21.1
func (c *Codec) ProjectConfig(ctx context.Context) (*ProjectConfig, error)
type Connector ¶ added in v0.24.0
type Connector struct {
Name string
Type string
Sources []*connectors.Source
Spec connectors.Spec
AnonymousAccess bool
}
type ProjectConfig ¶ added in v0.21.1
type ProjectConfig struct {
// Project variables
Variables map[string]string `yaml:"env,omitempty"`
Name string `yaml:"name,omitempty"`
}
func (*ProjectConfig) SanitizedName ¶ added in v0.24.0
func (p *ProjectConfig) SanitizedName() string
type Variables ¶ added in v0.24.0
type Variables struct {
ProjectVariables []connectors.VariableSchema
Connectors []*Connector
}
TODO :: return this to build support for all kind of variables
Click to show internal directories.
Click to hide internal directories.