Action Asim's Feedback

This commit is contained in:
Ben Toogood
2020-02-06 09:17:10 +00:00
parent d8110b70a3
commit aa58a9749b
5 changed files with 15 additions and 42 deletions

View File

@@ -51,8 +51,8 @@ type CreateOptions struct {
Output io.Writer
// Type of service to create
Type string
// Base image for docker
BaseImage string
// Source of the code
Source string
}
// ReadOptions queries runtime services
@@ -94,13 +94,6 @@ func WithOutput(out io.Writer) CreateOption {
}
}
// WithBaseImage sets the docker img
func WithBaseImage(img string) CreateOption {
return func(o *CreateOptions) {
o.BaseImage = img
}
}
// ReadService returns services with the given name
func ReadService(service string) ReadOption {
return func(o *ReadOptions) {