shell

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() func() *schema.Provider

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is the client itself. Since we already have access to the shell no real provisioning needs to be done

type CommandConfig

type CommandConfig struct {
	Command              string
	Arguments            []string
	Environment          []string
	SensitiveEnvironment []string
	Interpreter          []string
	WorkingDirectory     string
	PreviousOutput       map[string]string
	EnableParallelism    bool
}

CommandConfig is a helper struct

type Config

type Config struct {
	Environment          map[string]interface{}
	SensitiveEnvironment map[string]interface{}
	ShellScript          string
}

Config is the config for the client.

func (*Config) Client

func (c *Config) Client() (*Client, error)

Client configures and returns a fully initialized ShellClient

Jump to

Keyboard shortcuts

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