Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomRuntime ¶ added in v0.5.0
type CustomRuntime struct {
Details
}
func (CustomRuntime) Build ¶ added in v0.5.0
func (runtime CustomRuntime) Build(ctx context.Context) error
Build runtime, in case of a custom runtime just log the action
func (CustomRuntime) BuildDryRun ¶ added in v0.6.0
func (runtime CustomRuntime) BuildDryRun() (string, error)
Build runtime DryRun
func (CustomRuntime) DockerfilePath ¶ added in v0.5.0
func (runtime CustomRuntime) DockerfilePath() string
Return an expected path to a custom Dockerfile
type Details ¶
type GeneratedRuntime ¶ added in v0.5.0
type GeneratedRuntime struct {
Details
}
func (GeneratedRuntime) Build ¶ added in v0.5.0
func (runtime GeneratedRuntime) Build(ctx context.Context) error
Build runtime files and persist them in CodeDirectory
func (GeneratedRuntime) BuildDryRun ¶ added in v0.6.0
func (runtime GeneratedRuntime) BuildDryRun() (string, error)
func (GeneratedRuntime) DockerfilePath ¶ added in v0.5.0
func (runtime GeneratedRuntime) DockerfilePath() string
func (GeneratedRuntime) Slug ¶ added in v0.5.0
func (runtime GeneratedRuntime) Slug() string
type GoGit ¶
type GoGit struct { Location *git.Repository }
func (*GoGit) WriteFiles ¶ added in v0.5.0
type MockClient ¶ added in v0.6.0
func (*MockClient) ReadFile ¶ added in v0.6.0
func (client *MockClient) ReadFile(path string) (string, error)
func (*MockClient) WriteFiles ¶ added in v0.6.0
func (client *MockClient) WriteFiles(directory string) error
type MockRuntime ¶ added in v0.6.0
func (*MockRuntime) Build ¶ added in v0.6.0
func (runtime *MockRuntime) Build(ctx context.Context) error
func (*MockRuntime) BuildDryRun ¶ added in v0.6.0
func (runtime *MockRuntime) BuildDryRun() (string, error)
func (*MockRuntime) Directory ¶ added in v0.6.0
func (runtime *MockRuntime) Directory() string
func (*MockRuntime) DockerfilePath ¶ added in v0.6.0
func (runtime *MockRuntime) DockerfilePath() string
func (*MockRuntime) Image ¶ added in v0.6.0
func (runtime *MockRuntime) Image() string
type Repository ¶
func NewRepository ¶
func NewRepository(address string) *Repository
type Runtime ¶
Click to show internal directories.
Click to hide internal directories.