client

package
v0.0.0-...-32f6bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultHost is the default Host
	// found in Meta (info) section of spec file
	DefaultHost string = "localhost"
	// DefaultBasePath is the default BasePath
	// found in Meta (info) section of spec file
	DefaultBasePath string = "/"
)

Variables

View Source
var Default = NewHTTPClient(nil)

Default power private cloud asa service API HTTP client.

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

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

Functions

This section is empty.

Types

type PowerPrivateCloudAsaServiceAPI

type PowerPrivateCloudAsaServiceAPI struct {
	Authentication authentication.ClientService

	BluemixServiceInstances bluemix_service_instances.ClientService

	Catalog catalog.ClientService

	HardwarePlatforms hardware_platforms.ClientService

	IaasServiceBroker iaas_service_broker.ClientService

	InternalPowervsInstances internal_power_v_s_instances.ClientService

	InternalPowervsLocations internal_power_v_s_locations.ClientService

	InternalStorageRegions internal_storage_regions.ClientService

	InternalTransitGateway internal_transit_gateway.ClientService

	OpenStacks open_stacks.ClientService

	PCloudEvents p_cloud_events.ClientService

	PCloudImages p_cloud_images.ClientService

	PCloudInstances p_cloud_instances.ClientService

	PCloudJobs p_cloud_jobs.ClientService

	PCloudNetworks p_cloud_networks.ClientService

	PCloudpVMInstances p_cloud_p_vm_instances.ClientService

	PCloudPlacementGroups p_cloud_placement_groups.ClientService

	PCloudPodCapacity p_cloud_pod_capacity.ClientService

	PCloudsap p_cloud_s_a_p.ClientService

	PCloudServicedhcp p_cloud_service_d_h_c_p.ClientService

	PCloudSnapshots p_cloud_snapshots.ClientService

	PCloudStorageCapacity p_cloud_storage_capacity.ClientService

	PCloudSystemPools p_cloud_system_pools.ClientService

	PCloudTasks p_cloud_tasks.ClientService

	PCloudTenants p_cloud_tenants.ClientService

	PCloudTenantsSSHKeys p_cloud_tenants_ssh_keys.ClientService

	PCloudVolumeGroups p_cloud_volume_groups.ClientService

	PCloudVolumes p_cloud_volumes.ClientService

	ServiceBindings service_bindings.ClientService

	ServiceInstances service_instances.ClientService

	StorageTypes storage_types.ClientService

	SwaggerSpec swagger_spec.ClientService

	Transport runtime.ClientTransport
}

PowerPrivateCloudAsaServiceAPI is a client for power private cloud asa service API

func New

New creates a new power private cloud asa service API client

func NewHTTPClient

func NewHTTPClient(formats strfmt.Registry) *PowerPrivateCloudAsaServiceAPI

NewHTTPClient creates a new power private cloud asa service API HTTP client.

func NewHTTPClientWithConfig

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

NewHTTPClientWithConfig creates a new power private cloud asa service API HTTP client, using a customizable transport config.

func (*PowerPrivateCloudAsaServiceAPI) SetTransport

func (c *PowerPrivateCloudAsaServiceAPI) 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