vra

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 53 Imported by: 1

Documentation

Index

Constants

View Source
const (
	IaaSAPIVersion        = "2021-07-15"
	CatalogAPIVersion     = "2020-08-25"
	DeploymentsAPIVersion = "2020-08-25"
)

API Versions

View Source
const (
	ChangeOwnerDeploymentActionName = "ChangeOwner"
	ChangeLeaseDeploymentActionName = "ChangeLease"
	EditTagsDeploymentActionName    = "EditTags"
	PowerOffDeploymentActionName    = "PowerOff"
	PowerOnDeploymentActionName     = "PowerOn"
	UpdateDeploymentActionName      = "update"
)
View Source
const DefaultDollarTop = 1000

Variables

This section is empty.

Functions

func BlockDeviceSnapshotStateRefreshFunc added in v0.3.3

func BlockDeviceSnapshotStateRefreshFunc(apiClient client.API, id string) resource.StateRefreshFunc

func LoadBalancerTargetSchema added in v0.1.4

func LoadBalancerTargetSchema() *schema.Schema

LoadBalancerTargetSchema returns the schema to use for the targets property

func NewClientFromAccessToken

func NewClientFromAccessToken(url, accessToken string, insecure bool, apiTimeout int) (interface{}, error)

NewClientFromAccessToken configures and returns a VRA "Client" struct using "access_token" from provider config

func NewClientFromRefreshToken

func NewClientFromRefreshToken(url, refreshToken string, insecure bool, reauth string, apiTimeout int) (interface{}, error)

NewClientFromRefreshToken configures and returns a VRA "Client" struct using "refresh_token" from provider config

func Provider

func Provider() *schema.Provider

Provider represents the VRA provider

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client the VRA Client

type ContentSourceRepositoryConfig added in v0.2.0

type ContentSourceRepositoryConfig struct {
	Path          string `json:"path,omitempty"`
	Branch        string `json:"branch,omitempty"`
	Repository    string `json:"repository,omitempty"`
	ContentType   string `json:"contentType,omitempty"`
	ProjectName   string `json:"projectName,omitempty"`
	IntegrationID string `json:"integrationId,omitempty"`
}

ContentSourceRepositoryConfig - Config fields for linking an SCM integration with a repository and project not included in the swagger model so we're hand crafting it

type ReauthTimeout added in v0.2.0

type ReauthTimeout struct {
	// contains filtered or unexported fields
}

func InitializeTimeout added in v0.2.0

func InitializeTimeout(d time.Duration) *ReauthTimeout

func (*ReauthTimeout) ShouldReload added in v0.2.0

func (t *ReauthTimeout) ShouldReload() bool

type ReauthorizeRuntime added in v0.2.0

type ReauthorizeRuntime struct {
	// contains filtered or unexported fields
}

func (*ReauthorizeRuntime) Submit added in v0.2.0

func (r *ReauthorizeRuntime) Submit(operation *runtime.ClientOperation) (interface{}, error)

Submit implements the ClientTransport interface as a wrapper to retry a 401 with a new token.

type SwaggerLogger

type SwaggerLogger struct{}

SwaggerLogger is the interface into the swagger logging facility which logs http traffic

func (SwaggerLogger) Debugf

func (SwaggerLogger) Debugf(format string, args ...interface{})

Debugf is a swagger debug logger

func (SwaggerLogger) Printf

func (SwaggerLogger) Printf(format string, args ...interface{})

Printf is a swagger debug Printf

Source Files

Jump to

Keyboard shortcuts

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