target

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const NewTargetName = "+ New Target"

Variables

This section is empty.

Functions

func NewTargetNameInput

func NewTargetNameInput(targetName *string, existingTargetNames []string) error

func SetTargetForm

func SetTargetForm(target *TargetView, targetManifest map[string]apiclient.ProviderProviderTargetProperty) error

Types

type ProviderInfo added in v0.38.0

type ProviderInfo struct {
	Name      string
	Version   string
	Installed *bool
}

type TargetView added in v0.38.0

type TargetView struct {
	Name         string
	Options      string
	IsDefault    bool
	ProviderInfo ProviderInfo
}

func GetTargetFromPrompt

func GetTargetFromPrompt(targets []apiclient.ProviderTarget, activeProfileName string, providerViewList *[]provider.ProviderView, withNewTarget bool, actionVerb string) (*TargetView, error)

func GetTargetViewFromTarget added in v0.38.0

func GetTargetViewFromTarget(target apiclient.ProviderTarget) TargetView

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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