docker

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigSchema = map[string]*schema.Attribute{
	"paths": {
		Type: schema.TypeList,
		Elem: &schema.Attribute{Type: schema.TypeString},
	},
	"host": {
		Type: schema.TypeString,
	},
	"api_version": {
		Type: schema.TypeString,
	},
	"cert_path": {
		Type: schema.TypeString,
	},
	"tls_verify": {
		Type: schema.TypeBool,
	},
}

Functions

func ConfigInstance

func ConfigInstance() interface{}

func GetConfig

func GetConfig(connection *plugin.Connection) dockerConfig

GetConfig :: retrieve and cast connection config from query data

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Types

type Command

type Command struct {
	Path           string
	Stage          string
	StageNumber    int
	Instruction    string
	SubInstruction string
	Flags          []string
	Args           []string
	PrevComment    []string
	Source         string
	StartLine      int
	EndLine        int
	Data           interface{}
}

Command is the struct for each dockerfile command

Jump to

Keyboard shortcuts

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