authctx

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerEndpointEnvVar   = "TMC_ENDPOINT"
	VMWCloudEndpointEnvVar = "VMW_CLOUD_ENDPOINT"
	VMWCloudAPITokenEnvVar = "VMW_CLOUD_API_TOKEN"
)

Variables

This section is empty.

Functions

func ProviderAuthSchema

func ProviderAuthSchema() map[string]*schema.Schema

func ProviderConfigureContext

func ProviderConfigureContext(_ context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics)

Types

type AgentTokenInfo

type AgentTokenInfo struct {
	AccessToken string `json:"access_token"`
}

type TanzuContext

type TanzuContext struct {
	ServerEndpoint   string
	Token            string
	VMWCloudEndPoint string
	TMCConnection    *client.TanzuMissionControl
}

func (*TanzuContext) Setup

func (cfg *TanzuContext) Setup() error

Jump to

Keyboard shortcuts

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