client

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 48 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 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.Client

	Blueprint *blueprint.Client

	BlueprintRequests *blueprint_requests.Client

	BlueprintValidation *blueprint_validation.Client

	CatalogAdminItems *catalog_admin_items.Client

	CatalogEntitlements *catalog_entitlements.Client

	CatalogItemTypes *catalog_item_types.Client

	CatalogItems *catalog_items.Client

	CatalogSources *catalog_sources.Client

	CloudAccount *cloud_account.Client

	Compute *compute.Client

	DataCollector *data_collector.Client

	Deployment *deployment.Client

	DeploymentActions *deployment_actions.Client

	DeploymentEvents *deployment_events.Client

	Deployments *deployments.Client

	Disk *disk.Client

	FabricawsVolumeTypes *fabric_aws_volume_types.Client

	FabricAzureStorageAccount *fabric_azure_storage_account.Client

	FabricFlavors *fabric_flavors.Client

	FabricImages *fabric_images.Client

	FabricNetwork *fabric_network.Client

	FabricNetworksVsphere *fabric_networks_vsphere.Client

	FabricvSphereDatastore *fabric_vsphere_datastore.Client

	FabricvSphereStoragePolicies *fabric_vsphere_storage_policies.Client

	FlavorProfile *flavor_profile.Client

	Flavors *flavors.Client

	Icons *icons.Client

	ImageProfile *image_profile.Client

	Images *images.Client

	LoadBalancer *load_balancer.Client

	Location *location.Client

	Login *login.Client

	Network *network.Client

	NetworkIPRange *network_ip_range.Client

	NetworkProfile *network_profile.Client

	Policies *policies.Client

	PolicyDecisions *policy_decisions.Client

	PolicyTypes *policy_types.Client

	Project *project.Client

	Request *request.Client

	ResourceTypes *resource_types.Client

	SecurityGroup *security_group.Client

	StorageProfile *storage_profile.Client

	Tags *tags.Client

	Transport runtime.ClientTransport
}

MulticloudIaaS is a client for vmware cloud assembly iaas

func New

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

New creates a new vmware cloud assembly iaas client

func NewHTTPClient

func NewHTTPClient(formats strfmt.Registry) *MulticloudIaaS

NewHTTPClient creates a new vmware cloud assembly iaas HTTP client.

func NewHTTPClientWithConfig

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

NewHTTPClientWithConfig creates a new vmware cloud assembly iaas 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