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 flasharray 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 Flasharray ¶
type Flasharray struct {
ActiveDirectory active_directory.ClientService
Administrators administrators.ClientService
AlertWatchers alert_watchers.ClientService
Alerts alerts.ClientService
APIClients api_clients.ClientService
Apps apps.ClientService
ArrayConnections array_connections.ClientService
Arrays arrays.ClientService
Audits audits.ClientService
Authorization authorization.ClientService
Certificates certificates.ClientService
Connections connections.ClientService
Controllers controllers.ClientService
Directories directories.ClientService
DirectoryExports directory_exports.ClientService
DirectoryServices directory_services.ClientService
DirectorySnapshots directory_snapshots.ClientService
DNS dns.ClientService
Drives drives.ClientService
FileSystems file_systems.ClientService
Hardware hardware.ClientService
HostGroups host_groups.ClientService
Hosts hosts.ClientService
KMIP kmip.ClientService
MaintenanceWindows maintenance_windows.ClientService
NetworkInterfaces network_interfaces.ClientService
Offloads offloads.ClientService
PodReplicaLinks pod_replica_links.ClientService
Pods pods.ClientService
Policies policies.ClientService
Ports ports.ClientService
ProtectionGroupSnapshots protection_group_snapshots.ClientService
ProtectionGroups protection_groups.ClientService
RemotePods remote_pods.ClientService
RemoteProtectionGroupSnapshots remote_protection_group_snapshots.ClientService
RemoteProtectionGroups remote_protection_groups.ClientService
RemoteVolumeSnapshots remote_volume_snapshots.ClientService
Sessions sessions.ClientService
SMIs smi_s.ClientService
SMTP smtp.ClientService
SNMPAgents snmp_agents.ClientService
SNMPManagers snmp_managers.ClientService
Software software.ClientService
Subnets subnets.ClientService
Support support.ClientService
Syslog syslog.ClientService
VolumeGroups volume_groups.ClientService
VolumeSnapshots volume_snapshots.ClientService
Volumes volumes.ClientService
Transport runtime.ClientTransport
}
Flasharray is a client for flasharray
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Flasharray
New creates a new flasharray client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *Flasharray
NewHTTPClient creates a new flasharray HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *Flasharray
NewHTTPClientWithConfig creates a new flasharray HTTP client, using a customizable transport config.
func (*Flasharray) SetTransport ¶
func (c *Flasharray) 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.