Documentation
¶
Index ¶
Constants ¶
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 ¶
var Default = NewHTTPClient(nil)
Default cloud tower a p is HTTP client.
var DefaultSchemes = []string{"http"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type Cloudtower ¶
type Cloudtower struct {
Alert alert.ClientService
AlertNotifier alert_notifier.ClientService
AlertRule alert_rule.ClientService
Application application.ClientService
BrickTopo brick_topo.ClientService
Cluster cluster.ClientService
ClusterImage cluster_image.ClientService
ClusterSettings cluster_settings.ClientService
ClusterTopo cluster_topo.ClientService
ClusterUpgradeHistory cluster_upgrade_history.ClientService
ConsistencyGroup consistency_group.ClientService
ConsistencyGroupSnapshot consistency_group_snapshot.ClientService
Datacenter datacenter.ClientService
Deploy deploy.ClientService
DiscoveredHost discovered_host.ClientService
Disk disk.ClientService
ElfDataStore elf_data_store.ClientService
ElfImage elf_image.ClientService
ElfStoragePolicy elf_storage_policy.ClientService
EntityFilter entity_filter.ClientService
EverouteCluster everoute_cluster.ClientService
EverouteLicense everoute_license.ClientService
EveroutePackage everoute_package.ClientService
GlobalAlertRule global_alert_rule.ClientService
GlobalSettings global_settings.ClientService
Graph graph.ClientService
Host host.ClientService
Ipmi ipmi.ClientService
IscsiConnection iscsi_connection.ClientService
IscsiLun iscsi_lun.ClientService
IscsiLunSnapshot iscsi_lun_snapshot.ClientService
IscsiTarget iscsi_target.ClientService
IsolationPolicy isolation_policy.ClientService
Label label.ClientService
License license.ClientService
LogCollection log_collection.ClientService
LogServiceConfig log_service_config.ClientService
NamespaceGroup namespace_group.ClientService
NfsExport nfs_export.ClientService
NfsInode nfs_inode.ClientService
Nic nic.ClientService
NodeTopo node_topo.ClientService
NvmfNamespace nvmf_namespace.ClientService
NvmfNamespaceSnapshot nvmf_namespace_snapshot.ClientService
NvmfSubsystem nvmf_subsystem.ClientService
Organization organization.ClientService
PmemDimm pmem_dimm.ClientService
RackTopo rack_topo.ClientService
ReportTask report_task.ClientService
ReportTemplate report_template.ClientService
SecurityPolicy security_policy.ClientService
SnapshotGroup snapshot_group.ClientService
SnapshotPlan snapshot_plan.ClientService
SnapshotPlanTask snapshot_plan_task.ClientService
SnmpTransport snmp_transport.ClientService
SnmpTrapReceiver snmp_trap_receiver.ClientService
SvtImage svt_image.ClientService
SystemAuditLog system_audit_log.ClientService
Task task.ClientService
UploadTask upload_task.ClientService
UsbDevice usb_device.ClientService
User user.ClientService
UserAuditLog user_audit_log.ClientService
UserRoleNext user_role_next.ClientService
VcenterAccount vcenter_account.ClientService
Vds vds.ClientService
View view.ClientService
Vlan vlan.ClientService
VM vm.ClientService
VMDisk vm_disk.ClientService
VMEntityFilterResult vm_entity_filter_result.ClientService
VMFolder vm_folder.ClientService
VMNic vm_nic.ClientService
VMPlacementGroup vm_placement_group.ClientService
VMSnapshot vm_snapshot.ClientService
VMTemplate vm_template.ClientService
VMVolume vm_volume.ClientService
VsphereEsxiAccount vsphere_esxi_account.ClientService
Witness witness.ClientService
WitnessService witness_service.ClientService
Zone zone.ClientService
ZoneTopo zone_topo.ClientService
Transport runtime.ClientTransport
}
Cloudtower is a client for cloudtower
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Cloudtower
New creates a new cloud tower a p is client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *Cloudtower
NewHTTPClient creates a new cloud tower a p is HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *Cloudtower
NewHTTPClientWithConfig creates a new cloud tower a p is HTTP client, using a customizable transport config.
func (*Cloudtower) SetTransport ¶
func (c *Cloudtower) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
type TransportConfig ¶
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.