client

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 62 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// DefaultHost is the default Host
	// found in Meta (info) section of spec file
	DefaultHost string = "api.mgmt.cloud.vmware.com"
	// DefaultBasePath is the default BasePath
	// found in Meta (info) section of spec file
	DefaultBasePath string = "/"
)

Variables

View Source
var Default = NewHTTPClient(nil)

Default vmware cloud assembly iaas API HTTP client.

View Source
var DefaultSchemes = []string{"https"}

DefaultSchemes are the default schemes found in Meta (info) section of spec file

Functions

This section is empty.

Types

type MulticloudIaaS

type MulticloudIaaS struct {
	About about.ClientService

	Blueprint blueprint.ClientService

	BlueprintRequests blueprint_requests.ClientService

	BlueprintTerraformIntegrations blueprint_terraform_integrations.ClientService

	BlueprintValidation blueprint_validation.ClientService

	CatalogAdminItems catalog_admin_items.ClientService

	CatalogEntitlements catalog_entitlements.ClientService

	CatalogItemTypes catalog_item_types.ClientService

	CatalogItems catalog_items.ClientService

	CatalogSources catalog_sources.ClientService

	CloudAccount cloud_account.ClientService

	Compute compute.ClientService

	ComputeGateway compute_gateway.ClientService

	ComputeNat compute_nat.ClientService

	ContentSource content_source.ClientService

	DataCollector data_collector.ClientService

	Deployment deployment.ClientService

	DeploymentActions deployment_actions.ClientService

	Deployments deployments.ClientService

	Disk disk.ClientService

	FabricawsVolumeTypes fabric_aws_volume_types.ClientService

	FabricAzureStorageAccount fabric_azure_storage_account.ClientService

	FabricCompute fabric_compute.ClientService

	FabricFlavors fabric_flavors.ClientService

	FabricImages fabric_images.ClientService

	FabricNetwork fabric_network.ClientService

	FabricvSphereDatastore fabric_vsphere_datastore.ClientService

	FabricvSphereStoragePolicies fabric_vsphere_storage_policies.ClientService

	FlavorProfile flavor_profile.ClientService

	Flavors flavors.ClientService

	Icons icons.ClientService

	ImageProfile image_profile.ClientService

	Images images.ClientService

	LoadBalancer load_balancer.ClientService

	Location location.ClientService

	Login login.ClientService

	Marketplace marketplace.ClientService

	MarketplaceDownloads marketplace_downloads.ClientService

	Network network.ClientService

	NetworkIPRange network_ip_range.ClientService

	NetworkProfile network_profile.ClientService

	PerspectiveSync perspective_sync.ClientService

	Policies policies.ClientService

	PolicyDecisions policy_decisions.ClientService

	PolicyTypes policy_types.ClientService

	PricingCardAssignments pricing_card_assignments.ClientService

	PricingCards pricing_cards.ClientService

	Project project.ClientService

	PropertyGroups property_groups.ClientService

	Request request.ClientService

	Requests requests.ClientService

	ResourceActions resource_actions.ClientService

	ResourceTypes resource_types.ClientService

	Resources resources.ClientService

	SecurityGroup security_group.ClientService

	SourceControlSync source_control_sync.ClientService

	StorageProfile storage_profile.ClientService

	Tags tags.ClientService

	Vcf vcf.ClientService

	Transport runtime.ClientTransport
}

MulticloudIaaS is a client for vmware cloud assembly iaas API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *MulticloudIaaS

New creates a new vmware cloud assembly iaas API client

func NewHTTPClient

func NewHTTPClient(formats strfmt.Registry) *MulticloudIaaS

NewHTTPClient creates a new vmware cloud assembly iaas API HTTP client.

func NewHTTPClientWithConfig

func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *MulticloudIaaS

NewHTTPClientWithConfig creates a new vmware cloud assembly iaas API HTTP client, using a customizable transport config.

func (*MulticloudIaaS) SetTransport

func (c *MulticloudIaaS) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client and all its subresources

type TransportConfig

type TransportConfig struct {
	Host     string
	BasePath string
	Schemes  []string
}

TransportConfig contains the transport related info, found in the meta section of the spec file.

func DefaultTransportConfig

func DefaultTransportConfig() *TransportConfig

DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.

func (*TransportConfig) WithBasePath

func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig

WithBasePath overrides the default basePath, provided by the meta section of the spec file.

func (*TransportConfig) WithHost

func (cfg *TransportConfig) WithHost(host string) *TransportConfig

WithHost overrides the default host, provided by the meta section of the spec file.

func (*TransportConfig) WithSchemes

func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig

WithSchemes overrides the default schemes, provided by the meta section of the spec file.

Jump to

Keyboard shortcuts

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