func CreateImage(img string) CreateOption {
	return func(o *CreateOptions) {
		o.Image = img
	}
}
CreateImage sets the image to use
package runtime
import (
	"context"
	"io"
	"github.com/micro/micro/v3/service/client"
)
type Option func(o *Options)
type Options struct {
	Type string
	Client client.Client
	Image string
	Source string
	Context context.Context
}
func WithSource(src string) Option {
	return func(o *Options) {
		o.Source = src
	}
}
func WithType(t string) Option {
	return func(o *Options) {
		o.Type = t
	}
}
func WithImage(t string) Option {
	return func(o *Options) {
		o.Image = t
	}
}
func WithClient(c client.Client) Option {
	return func(o *Options) {
		o.Client = c
	}
}
type CreateOption func(o *CreateOptions)
type ReadOption func(o *ReadOptions)
type CreateOptions struct {
	Command []string
	Args []string
	Env []string
	Entrypoint string
	Output io.Writer
	Type string
	Retries int
	Image string
	Port string
	Namespace string
	Context context.Context
	Secrets map[string]string
	Resources *Resources
	Volumes map[string]string
	ServiceAccount string
	Instances int
}
type ReadOptions struct {
	Service string
	Version string
	Type string
	Namespace string
	Context context.Context
}
func CreateType(t string) CreateOption {
	return func(o *CreateOptions) {
		o.Type = t
	}
}