entry

package
v0.1.1521 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertProjectNameToId

func ConvertProjectNameToId(
	url string,
	space string,
	apiKey string,
	accessToken string,
	name string,
	version string,
	useRedirector bool,
	redirectorHost string,
	redirectorServiceApiKey string,
	redirecrtorApiKey string,
	redirectorRedirections string,
) (string, error)

func ConvertProjectToTerraform

func ConvertProjectToTerraform(args args.Arguments, version string) (*data.ResourceDetailsCollection, error)

func ConvertRunbookNameToId

func ConvertRunbookNameToId(url string,
	space string,
	apiKey string,
	accessToken string,
	projectId string,
	runbookName string,
	version string,
	useRedirector bool,
	redirectorHost string,
	redirectorServiceApiKey string,
	redirecrtorApiKey string,
	redirectorRedirections string,
) (string, error)

func ConvertRunbookToTerraform

func ConvertRunbookToTerraform(args args.Arguments, version string) (*data.ResourceDetailsCollection, error)

func ConvertSpaceToTerraform

func ConvertSpaceToTerraform(args args.Arguments, version string) (*data.ResourceDetailsCollection, error)

func Entry

func Entry(parseArgs args.Arguments, version string) (map[string]string, error)

Entry takes the arguments, exports the Octopus resources to HCL in strings and returns the strings mapped to file names.

func ProcessResources added in v0.1.995

func ProcessResources(resources []data.ResourceDetails) (map[string]string, error)

ProcessResources creates a map of file names to file content

Types

This section is empty.

Jump to

Keyboard shortcuts

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