executeparams

package
v0.51.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package executeparams implements function parameters for [client.vmClient]

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvVar

type EnvVar map[string]string

EnvVar alias to map representing env variables

type Option

type Option func(*Params) error

Option alias to a functional option changing a given Params instance

func WithEnvVariables

func WithEnvVariables(env EnvVar) Option

WithEnvVariables allows to set env variable for the command that will be executed

type Params

type Params struct {
	EnvVariables EnvVar
}

Params contains par for VM.Execute commands

func NewParams

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

NewParams creates a new instance of Execute params default Env: map[string]string{}

Jump to

Keyboard shortcuts

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