Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶ added in v0.34.0
func Build(opts ...BuildOption) instance.Instance
func Save ¶
func Save( ctx context.Context, repo repositories.InstanceRepository, ins instance.Instance, ) instance.Instance
Types ¶
type BuildOption ¶ added in v0.34.0
type BuildOption func(*BuildParams)
func WithID ¶ added in v0.34.0
func WithID(id string) BuildOption
func WithRandomID ¶ added in v0.34.0
func WithRandomID() BuildOption
func WithRandomServerAddress ¶ added in v0.34.0
func WithRandomServerAddress() BuildOption
func WithServerAddress ¶ added in v0.34.0
func WithServerAddress(ip string, port int) BuildOption
type BuildParams ¶ added in v0.34.0
Click to show internal directories.
Click to hide internal directories.