Documentation ¶
Index ¶
- Variables
- func CreateTempArchive(dir string) (string, error)
- func NewFromProto(anyInstance *any.Any, commands []*api.Command, customWorkingDir string, ...) (abstract.Instance, error)
- type PipeInstance
- type PipeStage
- type PrebuiltInstance
- func (prebuilt *PrebuiltInstance) Attributes() []attribute.KeyValue
- func (prebuilt *PrebuiltInstance) Close(context.Context) error
- func (prebuilt *PrebuiltInstance) Run(ctx context.Context, config *runconfig.RunConfig) error
- func (prebuilt *PrebuiltInstance) WorkingDirectory(projectDir string, dirtyMode bool) string
- type UnsupportedInstance
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFailedToCreateInstance = errors.New("failed to create instance") ErrUnsupportedInstance = errors.New("unsupported instance type") )
View Source
var ErrPipeCreationFailed = errors.New("failed to create pipe instance")
Functions ¶
func CreateTempArchive ¶ added in v0.3.0
Types ¶
type PipeInstance ¶ added in v0.3.0
func (*PipeInstance) Attributes ¶ added in v0.114.2
func (pi *PipeInstance) Attributes() []attribute.KeyValue
func (*PipeInstance) WorkingDirectory ¶ added in v0.16.0
func (pi *PipeInstance) WorkingDirectory(projectDir string, dirtyMode bool) string
type PrebuiltInstance ¶ added in v0.3.0
func (*PrebuiltInstance) Attributes ¶ added in v0.114.2
func (prebuilt *PrebuiltInstance) Attributes() []attribute.KeyValue
func (*PrebuiltInstance) Close ¶ added in v0.45.0
func (prebuilt *PrebuiltInstance) Close(context.Context) error
func (*PrebuiltInstance) WorkingDirectory ¶ added in v0.16.0
func (prebuilt *PrebuiltInstance) WorkingDirectory(projectDir string, dirtyMode bool) string
type UnsupportedInstance ¶ added in v0.55.0
type UnsupportedInstance struct {
// contains filtered or unexported fields
}
func (*UnsupportedInstance) Attributes ¶ added in v0.114.2
func (si *UnsupportedInstance) Attributes() []attribute.KeyValue
func (*UnsupportedInstance) Close ¶ added in v0.55.0
func (si *UnsupportedInstance) Close(context.Context) error
func (*UnsupportedInstance) WorkingDirectory ¶ added in v0.55.0
func (si *UnsupportedInstance) WorkingDirectory(projectDir string, dirtyMode bool) string
Click to show internal directories.
Click to hide internal directories.