Documentation ¶
Index ¶
- Variables
- type Command
- type Config
- type Deployer
- type DeployerHandler
- type EnvBuilder
- func (e *EnvBuilder) Args() []string
- func (e *EnvBuilder) Buffer() *bytes.Buffer
- func (e *EnvBuilder) Map() map[string]string
- func (e *EnvBuilder) Merge(other *EnvBuilder)
- func (e *EnvBuilder) Set(k, v string)
- func (e *EnvBuilder) SetArray(k string, s []string)
- func (e *EnvBuilder) SetArrayP(k string, s *[]string)
- func (e *EnvBuilder) SetBool(k string, v bool)
- func (e *EnvBuilder) SetBoolP(k string, v *bool)
- func (e *EnvBuilder) SetFloat64(k string, v float64)
- func (e *EnvBuilder) SetFloat64P(k string, v *float64)
- func (e *EnvBuilder) SetInt(k string, v int)
- func (e *EnvBuilder) SetInt64P(k string, v *int64)
- func (e *EnvBuilder) SetIntP(k string, v *int)
- func (e *EnvBuilder) SetMap(m map[string]string)
- func (e *EnvBuilder) SetP(k string, v *string)
- func (e *EnvBuilder) SetRaw(k, v string)
- func (e *EnvBuilder) String() string
- type FlagBuilder
- func (f *FlagBuilder) Append(k string, v string)
- func (f *FlagBuilder) AppendArray(k string, array []string)
- func (f *FlagBuilder) AppendArrayP(k string, array *[]string)
- func (f *FlagBuilder) AppendBoolP(k string, v *bool)
- func (f *FlagBuilder) AppendFloat64(k string, v float64)
- func (f *FlagBuilder) AppendFloat64P(k string, v *float64)
- func (f *FlagBuilder) AppendInt64P(k string, v *int64)
- func (f *FlagBuilder) AppendIntP(k string, v *int)
- func (f *FlagBuilder) AppendP(k string, v *string)
- func (f *FlagBuilder) AppendRaw(s ...string)
- func (f *FlagBuilder) Args() []string
- func (f *FlagBuilder) String() string
- type Payload
- type PayloadFile
- type Runner
- type RunnerCommand
Constants ¶
This section is empty.
Variables ¶
View Source
var LibBash string
View Source
var OPSH string
View Source
var RunScript string
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface { Check() error Env() *EnvBuilder AddToPayload(*Payload) error }
type Config ¶ added in v0.22.5
type Config struct { PackageConfig *deb.PackageConfig `pulumi:"packageConfig,optional"` AptLockTimeout *int `pulumi:"aptLockTimeout,optional"` }
func (*Config) SetDefaults ¶ added in v0.25.0
func (c *Config) SetDefaults()
func (*Config) UpdatePackageGroup ¶ added in v0.22.5
func (c *Config) UpdatePackageGroup(grp *deb.PackageGroup) error
type DeployerHandler ¶ added in v0.11.0
type DeployerHandler interface { // IngestReaders is responsible for keeping the readers drained. // After the readers have been closed, it MUST signal completion by // closing the provided done channel. IngestReaders(done chan<- struct{}, stdout io.Reader, stderr io.Reader) error AugmentError(error) error }
type EnvBuilder ¶ added in v0.13.0
type EnvBuilder struct {
// contains filtered or unexported fields
}
func NewEnvBuilder ¶ added in v0.13.0
func NewEnvBuilder() *EnvBuilder
func (*EnvBuilder) Args ¶ added in v0.13.0
func (e *EnvBuilder) Args() []string
func (*EnvBuilder) Buffer ¶ added in v0.13.0
func (e *EnvBuilder) Buffer() *bytes.Buffer
func (*EnvBuilder) Map ¶ added in v0.13.0
func (e *EnvBuilder) Map() map[string]string
func (*EnvBuilder) Merge ¶ added in v0.13.0
func (e *EnvBuilder) Merge(other *EnvBuilder)
func (*EnvBuilder) Set ¶ added in v0.13.0
func (e *EnvBuilder) Set(k, v string)
func (*EnvBuilder) SetArray ¶ added in v0.13.0
func (e *EnvBuilder) SetArray(k string, s []string)
func (*EnvBuilder) SetArrayP ¶ added in v0.13.0
func (e *EnvBuilder) SetArrayP(k string, s *[]string)
func (*EnvBuilder) SetBool ¶ added in v0.13.0
func (e *EnvBuilder) SetBool(k string, v bool)
func (*EnvBuilder) SetBoolP ¶ added in v0.13.0
func (e *EnvBuilder) SetBoolP(k string, v *bool)
func (*EnvBuilder) SetFloat64 ¶ added in v0.13.0
func (e *EnvBuilder) SetFloat64(k string, v float64)
func (*EnvBuilder) SetFloat64P ¶ added in v0.13.0
func (e *EnvBuilder) SetFloat64P(k string, v *float64)
func (*EnvBuilder) SetInt ¶ added in v0.13.0
func (e *EnvBuilder) SetInt(k string, v int)
func (*EnvBuilder) SetInt64P ¶ added in v0.13.0
func (e *EnvBuilder) SetInt64P(k string, v *int64)
func (*EnvBuilder) SetIntP ¶ added in v0.13.0
func (e *EnvBuilder) SetIntP(k string, v *int)
func (*EnvBuilder) SetMap ¶ added in v0.13.0
func (e *EnvBuilder) SetMap(m map[string]string)
func (*EnvBuilder) SetP ¶ added in v0.13.0
func (e *EnvBuilder) SetP(k string, v *string)
func (*EnvBuilder) SetRaw ¶ added in v0.13.0
func (e *EnvBuilder) SetRaw(k, v string)
func (*EnvBuilder) String ¶ added in v0.13.0
func (e *EnvBuilder) String() string
type FlagBuilder ¶ added in v0.13.0
type FlagBuilder []string
func (*FlagBuilder) Append ¶ added in v0.13.0
func (f *FlagBuilder) Append(k string, v string)
func (*FlagBuilder) AppendArray ¶ added in v0.19.0
func (f *FlagBuilder) AppendArray(k string, array []string)
func (*FlagBuilder) AppendArrayP ¶ added in v0.19.0
func (f *FlagBuilder) AppendArrayP(k string, array *[]string)
func (*FlagBuilder) AppendBoolP ¶ added in v0.13.0
func (f *FlagBuilder) AppendBoolP(k string, v *bool)
func (*FlagBuilder) AppendFloat64 ¶ added in v0.13.0
func (f *FlagBuilder) AppendFloat64(k string, v float64)
func (*FlagBuilder) AppendFloat64P ¶ added in v0.13.0
func (f *FlagBuilder) AppendFloat64P(k string, v *float64)
func (*FlagBuilder) AppendInt64P ¶ added in v0.13.0
func (f *FlagBuilder) AppendInt64P(k string, v *int64)
func (*FlagBuilder) AppendIntP ¶ added in v0.13.0
func (f *FlagBuilder) AppendIntP(k string, v *int)
func (*FlagBuilder) AppendP ¶ added in v0.13.0
func (f *FlagBuilder) AppendP(k string, v *string)
func (*FlagBuilder) AppendRaw ¶ added in v0.19.0
func (f *FlagBuilder) AppendRaw(s ...string)
func (*FlagBuilder) Args ¶ added in v0.20.0
func (f *FlagBuilder) Args() []string
func (*FlagBuilder) String ¶ added in v0.13.0
func (f *FlagBuilder) String() string
XXX - We need to work backwards from this, and make sure we're quoting spaces.
type PayloadFile ¶ added in v0.11.0
type PayloadFile = payload.PayloadFile
type RunnerCommand ¶ added in v0.24.0
type RunnerCommand struct { RunnerConfig *Config `pulumi:"runnerConfig,optional"` // contains filtered or unexported fields }
func (*RunnerCommand) AddToPayload ¶ added in v0.24.0
func (r *RunnerCommand) AddToPayload(p *Payload) error
func (*RunnerCommand) Env ¶ added in v0.24.0
func (r *RunnerCommand) Env() *EnvBuilder
func (*RunnerCommand) SetConfigDefaults ¶ added in v0.25.0
func (r *RunnerCommand) SetConfigDefaults()
func (*RunnerCommand) UpdatePackageGroup ¶ added in v0.24.0
func (r *RunnerCommand) UpdatePackageGroup(grp *deb.PackageGroup) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.