fakeintake

package
v0.0.0-...-1c08a6a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVMInstance

func NewVMInstance(e gcp.Environment, option ...Option) (*fakeintake.Fakeintake, error)

Types

type Option

type Option = func(*Params) error

func WithImageURL

func WithImageURL(imageURL string) Option

WithImageURL sets the URL of the image to use to define the fakeintake

func WithoutDDDevForwarding

func WithoutDDDevForwarding() Option

WithoutDDDevForwarding sets the flag to disable DD Dev forwarding

type Params

type Params struct {
	DDDevForwarding bool
	ImageURL        string
}

func NewParams

func NewParams(options ...Option) (*Params, error)

NewParams returns a new instance of Fakeintake Params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL