Documentation
¶
Index ¶
- Constants
- type AppRunInfo
- func (a *AppRunInfo) DockerCommand() string
- func (a *AppRunInfo) DockerComposePath() string
- func (a *AppRunInfo) DockerPath() string
- func (a *AppRunInfo) Dockerfile() string
- func (a *AppRunInfo) DockerfilePath() string
- func (a *AppRunInfo) DockerfileYAML() ([]byte, error)
- func (a *AppRunInfo) Env() map[string]string
- func (a *AppRunInfo) Name() string
- func (a *AppRunInfo) SanitizedAppName() string
- func (a *AppRunInfo) Volumes() map[string]string
- func (a *AppRunInfo) WorkDir() string
- type AppRunOptions
- type AppType
- type Plugin
- func (p *Plugin) Handler() *plugin_go.ReqHandler
- func (p *Plugin) ProjetInit(ctx context.Context, r *plugin_go.ProjectInitRequest) (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 AppRunInfo ¶ added in v0.1.5
type AppRunInfo struct {
*types.AppRun
Hosts map[string]string
Type AppType
Options *AppRunOptions
}
func NewAppRunInfo ¶ added in v0.1.5
func (*AppRunInfo) DockerCommand ¶ added in v0.1.5
func (a *AppRunInfo) DockerCommand() string
func (*AppRunInfo) DockerComposePath ¶ added in v0.1.5
func (a *AppRunInfo) DockerComposePath() string
func (*AppRunInfo) DockerPath ¶ added in v0.1.5
func (a *AppRunInfo) DockerPath() string
func (*AppRunInfo) Dockerfile ¶ added in v0.1.5
func (a *AppRunInfo) Dockerfile() string
func (*AppRunInfo) DockerfilePath ¶ added in v0.1.5
func (a *AppRunInfo) DockerfilePath() string
func (*AppRunInfo) DockerfileYAML ¶ added in v0.1.5
func (a *AppRunInfo) DockerfileYAML() ([]byte, error)
func (*AppRunInfo) Env ¶ added in v0.1.5
func (a *AppRunInfo) Env() map[string]string
func (*AppRunInfo) Name ¶ added in v0.1.5
func (a *AppRunInfo) Name() string
func (*AppRunInfo) SanitizedAppName ¶ added in v0.1.5
func (a *AppRunInfo) SanitizedAppName() string
func (*AppRunInfo) Volumes ¶ added in v0.1.5
func (a *AppRunInfo) Volumes() map[string]string
func (*AppRunInfo) WorkDir ¶ added in v0.1.5
func (a *AppRunInfo) WorkDir() string
type AppRunOptions ¶ added in v0.1.5
type AppRunOptions struct {
DockerCommand string `mapstructure:"docker_command"`
}
func (*AppRunOptions) Decode ¶ added in v0.1.5
func (o *AppRunOptions) Decode(in interface{}) error
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Handler ¶
func (p *Plugin) Handler() *plugin_go.ReqHandler
func (*Plugin) ProjetInit ¶ added in v0.1.5
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.