Documentation
¶
Index ¶
- type Deploy
- func (d *Deploy) DeployChanges(changes []deploy.Change) (err error)
- func (d *Deploy) PreviewChanges(changes []deploy.Change) (err error)
- func (d *Deploy) WithKnifeExecutable(knifePath string) *Deploy
- func (d *Deploy) WithRunner(cmd command.Runner) *Deploy
- func (d *Deploy) WithSubdirectory(dir string) *Deploy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deploy ¶
type Deploy struct {
// contains filtered or unexported fields
}
Deploy implements the deployer interface for knife commands
func (*Deploy) DeployChanges ¶
DeployChanges deploy all change in a local repo from the given sha range
func (*Deploy) PreviewChanges ¶
PreviewChanges show changes that would be applied
func (*Deploy) WithKnifeExecutable ¶
WithKnifeExecutable returns a new Deploy struct configured with the given knifePath
func (*Deploy) WithRunner ¶
WithRunner returns a new Deploy struct configured with the given command runner
func (*Deploy) WithSubdirectory ¶
WithSubdirectory returns a new Deploy struct configured with the given command runner
Click to show internal directories.
Click to hide internal directories.