Documentation
¶
Index ¶
- Constants
- type AppRun
- func (a *AppRun) DockerCommand() string
- func (a *AppRun) DockerComposePath() string
- func (a *AppRun) DockerPath() string
- func (a *AppRun) Dockerfile() string
- func (a *AppRun) DockerfilePath() string
- func (a *AppRun) DockerfileYAML() ([]byte, error)
- func (a *AppRun) Env() map[string]string
- func (a *AppRun) Name() string
- func (a *AppRun) SanitizedAppName() string
- func (a *AppRun) Volumes() map[string]string
- func (a *AppRun) WorkDir() string
- type AppType
- type Plugin
- func (p *Plugin) Handler() *plugin_go.ReqHandler
- func (p *Plugin) Init(ctx context.Context, r *plugin_go.InitRequest) (plugin_go.Response, error)
- func (p *Plugin) RunInteractive(ctx context.Context, r *plugin_go.RunRequest, stream *plugin_go.ReceiverStream) error
- func (p *Plugin) Start(ctx context.Context, r *plugin_go.StartRequest) (plugin_go.Response, error)
- type RunOptions
Constants ¶
View Source
const ( AppRunDockerfile = "Dockerfile.dev" AppRunDockerCompose = "docker-compose.outblocks.yaml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppRun ¶ added in v0.1.2
func NewAppInfo ¶ added in v0.1.2
func (*AppRun) DockerCommand ¶ added in v0.1.2
func (*AppRun) DockerComposePath ¶ added in v0.1.2
func (*AppRun) DockerPath ¶ added in v0.1.2
func (*AppRun) Dockerfile ¶ added in v0.1.2
func (*AppRun) DockerfilePath ¶ added in v0.1.2
func (*AppRun) DockerfileYAML ¶ added in v0.1.2
func (*AppRun) SanitizedAppName ¶ added in v0.1.2
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Handler ¶
func (p *Plugin) Handler() *plugin_go.ReqHandler
func (*Plugin) RunInteractive ¶ added in v0.1.2
func (p *Plugin) RunInteractive(ctx context.Context, r *plugin_go.RunRequest, stream *plugin_go.ReceiverStream) error
type RunOptions ¶ added in v0.1.2
type RunOptions struct {
NoCache bool `mapstructure:"docker-no-cache"`
Rebuild bool `mapstructure:"docker-rebuild"`
Regenerate bool `mapstructure:"docker-regenerate"`
}
func (*RunOptions) Decode ¶ added in v0.1.2
func (o *RunOptions) Decode(in interface{}) error
Click to show internal directories.
Click to hide internal directories.