Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request interface {
Id() string
Resources() map[string]Resource
WorkspacePath() string
Apply(ctx context.Context) error
}
Represents a context for a single build request. Extends 'context.Context' and provides additional information and tools such as a tagged logger and workspace path.
type Resource ¶
type Resource interface {
Request() Request
Name() string
Type() string
Config() interface{}
ConfigSchema() *assets.Schema
WorkspacePath() string
Init(ctx context.Context) error
DiscoverState(ctx context.Context) error
Apply(ctx context.Context) error
}
Represents a single resource in a build request.
Click to show internal directories.
Click to hide internal directories.