config

package
v0.0.0-...-5864bf5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(tools map[string]struct{ Version string })

Types

type JSONStructure

type JSONStructure struct {
	AwsCli    ToolJSONDefinition `json:"awscli"`
	Terraform ToolJSONDefinition `json:"terraform"`
	Kubectl   ToolJSONDefinition `json:"kubectl"`
}

func ParseData

func ParseData(tools map[string]struct{ Version string }) JSONStructure

type ToolJSONDefinition

type ToolJSONDefinition struct {
	DefaultVersion string   `json:"default_version"`
	Versions       []string `json:"versions"`
}

Jump to

Keyboard shortcuts

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