Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 files and persist them in CodeDirectory
func (CustomRuntime) BuildDryRun ¶ added in v0.6.0
func (runtime CustomRuntime) BuildDryRun() (string, error)
func (CustomRuntime) DockerfilePath ¶ added in v0.5.0
func (runtime CustomRuntime) DockerfilePath() string
func (CustomRuntime) Slug ¶ added in v0.9.1
func (runtime CustomRuntime) Slug() string
type Details ¶
type DockerfileRuntime ¶ added in v0.9.1
type DockerfileRuntime struct {
Details
}
func (DockerfileRuntime) Build ¶ added in v0.9.1
func (runtime DockerfileRuntime) Build(ctx context.Context) error
Build runtime, in case of a Dockerfile runtime just log the action
func (DockerfileRuntime) BuildDryRun ¶ added in v0.9.1
func (runtime DockerfileRuntime) BuildDryRun() (string, error)
Build runtime DryRun
func (DockerfileRuntime) DockerfilePath ¶ added in v0.9.1
func (runtime DockerfileRuntime) DockerfilePath() string
Return an expected path to a Dockerfile
type GoGit ¶
type GoGit struct { Location *git.Repository billy.Filesystem }
func (*GoGit) WriteFiles ¶ added in v0.5.0
type MockClient ¶ added in v0.6.0
func (*MockClient) ListFiles ¶ added in v0.7.1
func (client *MockClient) ListFiles(path string) ([]os.FileInfo, error)
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 MockFileInfo ¶ added in v0.7.1
func (*MockFileInfo) IsDir ¶ added in v0.7.1
func (file *MockFileInfo) IsDir() bool
func (*MockFileInfo) ModTime ¶ added in v0.7.1
func (file *MockFileInfo) ModTime() time.Time
func (*MockFileInfo) Mode ¶ added in v0.7.1
func (file *MockFileInfo) Mode() os.FileMode
func (*MockFileInfo) Name ¶ added in v0.7.1
func (file *MockFileInfo) Name() string
func (*MockFileInfo) Size ¶ added in v0.7.1
func (file *MockFileInfo) Size() int64
func (*MockFileInfo) Sys ¶ added in v0.7.1
func (file *MockFileInfo) Sys() interface{}
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 OpenfaasRuntime ¶ added in v0.7.1
type OpenfaasRuntime struct {
Details
}
func (OpenfaasRuntime) Build ¶ added in v0.7.1
func (runtime OpenfaasRuntime) Build(ctx context.Context) error
func (OpenfaasRuntime) BuildDryRun ¶ added in v0.7.1
func (runtime OpenfaasRuntime) BuildDryRun() (string, error)
func (OpenfaasRuntime) DockerfilePath ¶ added in v0.7.1
func (runtime OpenfaasRuntime) DockerfilePath() string
type Repository ¶
func NewRepository ¶
func NewRepository(address string) *Repository
type Runtime ¶
Click to show internal directories.
Click to hide internal directories.