Documentation ¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "iaas-api-proxy.ochk.pilot" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/" )
Variables ¶
var Default = NewHTTPClient(nil)
Default ochk 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 Ochk ¶
type Ochk struct { ActiveDirectoryGroups active_directory_groups.ClientService ActiveDirectoryPublicKey active_directory_public_key.ClientService ActiveDirectoryrsaPublicKey active_directory_r_s_a_public_key.ClientService ActiveDirectorySync active_directory_sync.ClientService ActiveDirectoryUsers active_directory_users.ClientService AdminTenantOverallAllocation admin_tenant_overall_allocation.ClientService AdminVirtualMachineOverallReport admin_virtual_machine_overall_report.ClientService Backups backups.ClientService BillingTags billing_tags.ClientService ContextProfiles context_profiles.ClientService CustomServices custom_services.ClientService DefaultServices default_services.ClientService Deployments deployments.ClientService EdgeClusters edge_clusters.ClientService FirewallRulesew firewall_rules_e_w.ClientService FirewallRulessn firewall_rules_s_n.ClientService GatewayPolicies gateway_policies.ClientService Groups groups.ClientService IPamAvailablePublicIPAddress ip_a_m_available_public_ip_address.ClientService IPamPublicIPAllocations ip_a_m_public_ip_allocations.ClientService IPamServices ip_a_m_services.ClientService IPCollections ip_collections.ClientService KmsKeyManagement k_m_s_key_management.ClientService KmsKeyRotationScheduler k_m_s_key_rotation_scheduler.ClientService LocalGroups local_groups.ClientService LogCategories log_categories.ClientService LogicalPorts logical_ports.ClientService McsSecret m_c_s_secret.ClientService NatRules n_a_t_rules.ClientService NetworkProfiles network_profiles.ClientService Networks networks.ClientService Principals principals.ClientService Requests requests.ClientService ResourcePools resource_pools.ClientService Routers routers.ClientService SecurityGroups security_groups.ClientService SecurityPolicies security_policies.ClientService Snapshots snapshots.ClientService SubtenantCustomGroups subtenant_custom_groups.ClientService Subtenants subtenants.ClientService SystemTags system_tags.ClientService Tenants tenants.ClientService Users users.ClientService VIDm v_id_m.ClientService VirtualMachineOverallReports virtual_machine_overall_reports.ClientService VirtualMachinePerformanceReports virtual_machine_performance_reports.ClientService VirtualMachines virtual_machines.ClientService VirtualNetworks virtual_networks.ClientService WsO2Token w_s_o2_token.ClientService Transport runtime.ClientTransport }
Ochk is a client for ochk
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Ochk
New creates a new ochk client
func NewHTTPClient ¶
NewHTTPClient creates a new ochk HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *Ochk
NewHTTPClientWithConfig creates a new ochk HTTP client, using a customizable transport config.
func (*Ochk) SetTransport ¶
func (c *Ochk) 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.