sdsclient

package module
v0.0.0-...-8c21394 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 22 Imported by: 0

README

Go API client for sdsclient

OpenAPI 3.0.2 API definition for SOLIDserver service from EfficientIP.

Copyright © 2000-2021 EfficientIP

All specifications and information regarding the products in this document are subject to change without notice and should not be construed as a commitment by EfficientIP. EfficientIP assumes no responsibility or liability for any mistakes or inaccuracies that may appear in this document. All statements and recommendations in this document are believed to be accurate but are presented without warranty. Users must take full responsibility for their application of any product.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 2.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./sdsclient"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://SDS-URL:443/api/v2.0

Class Method HTTP request Description
AppApi AppApplicationAdd Post /app/application/add Add an application
AppApi AppApplicationCount Get /app/application/count Count the number of applications
AppApi AppApplicationDelete Delete /app/application/delete Delete an application
AppApi AppApplicationEdit Put /app/application/edit Edit an application
AppApi AppApplicationInfo Get /app/application/info Display the properties of an application
AppApi AppApplicationList Get /app/application/list List the applications
AppApi AppNodeAdd Post /app/node/add Add a node
AppApi AppNodeCount Get /app/node/count Count the number of nodes
AppApi AppNodeDelete Delete /app/node/delete Delete a node
AppApi AppNodeEdit Put /app/node/edit Edit a node
AppApi AppNodeInfo Get /app/node/info Display the properties of a node
AppApi AppNodeList Get /app/node/list List the nodes
AppApi AppPoolAdd Post /app/pool/add Add a pool
AppApi AppPoolCount Get /app/pool/count Count the number of pools
AppApi AppPoolDelete Delete /app/pool/delete Delete a pool
AppApi AppPoolEdit Put /app/pool/edit Edit a pool
AppApi AppPoolInfo Get /app/pool/info Display the properties of a pool
AppApi AppPoolList Get /app/pool/list List the pools
DeviceApi DeviceDeviceAdd Post /device/device/add Add a Device Manager device
DeviceApi DeviceDeviceCount Get /device/device/count Count the number of Device Manager devices
DeviceApi DeviceDeviceDelete Delete /device/device/delete Delete a Device Manager device
DeviceApi DeviceDeviceEdit Put /device/device/edit Add a Device Manager device
DeviceApi DeviceDeviceInfo Get /device/device/info Display the properties of a Device Manager device
DeviceApi DeviceDeviceList Get /device/device/list List the Device Manager devices
DeviceApi DeviceInterfaceAdd Post /device/interface/add Add a Device Manager port or interface
DeviceApi DeviceInterfaceCount Get /device/interface/count Count the number Device Manager ports & interfaces
DeviceApi DeviceInterfaceDelete Delete /device/interface/delete Delete a Device Manager port or interface
DeviceApi DeviceInterfaceEdit Put /device/interface/edit Add a Device Manager port or interface
DeviceApi DeviceInterfaceInfo Get /device/interface/info Display the properties of a Device Manager port or interface
DeviceApi DeviceInterfaceList Get /device/interface/list List the Device Manager ports & interfaces
DeviceApi DeviceLinkAdd Post /device/link/add Link two Device Manager devices using their ports and/or interfaces
DeviceApi DeviceLinkCount Get /device/link/count Count the number of links between Device Manager devices
DeviceApi DeviceLinkDelete Delete /device/link/delete Delete a link between two Device Manager devices
DeviceApi DeviceLinkEdit Put /device/link/edit Link two Device Manager devices using their ports and/or interfaces
DeviceApi DeviceLinkList Get /device/link/list List Device Manager ports & interfaces
DhcpApi DhcpAcl6Count Get /dhcp/acl6/count todo(here) :dhcp.acl6.count.purpose : Service dhcp6_class6_count
DhcpApi DhcpAcl6Info Get /dhcp/acl6/info todo(here) :dhcp.acl6.info.purpose : Service dhcp6_class6_info
DhcpApi DhcpAcl6List Get /dhcp/acl6/list todo(here) :dhcp.acl6.list.purpose : Service dhcp6_class6_list
DhcpApi DhcpAclCount Get /dhcp/acl/count Count the number of DHCP ACLs
DhcpApi DhcpAclInfo Get /dhcp/acl/info Display the properties of a DHCP ACL
DhcpApi DhcpAclList Get /dhcp/acl/list List the DHCP ACLs
DhcpApi DhcpAclentry6Count Get /dhcp/aclentry6/count todo(here) :dhcp.aclentry6.count.purpose : Service dhcp6_subclass6_count
DhcpApi DhcpAclentry6Info Get /dhcp/aclentry6/info todo(here) :dhcp.aclentry6.info.purpose : Service dhcp6_subclass6_info
DhcpApi DhcpAclentry6List Get /dhcp/aclentry6/list todo(here) :dhcp.aclentry6.list.purpose : Service dhcp6_subclass6_list
DhcpApi DhcpAclentryCount Get /dhcp/aclentry/count Count the number of DHCP ACL entries
DhcpApi DhcpAclentryInfo Get /dhcp/aclentry/info Display the properties of a DHCP ACL entry
DhcpApi DhcpAclentryList Get /dhcp/aclentry/list List the DHCP ACL entries
DhcpApi DhcpFailoverCount Get /dhcp/failover/count Count the number of DHCPv4 failover channels
DhcpApi DhcpFailoverInfo Get /dhcp/failover/info Display the properties of a DHCPv4 failover channel
DhcpApi DhcpFailoverList Get /dhcp/failover/list List the DHCPv4 failover channels
DhcpApi DhcpGroup6List Get /dhcp/group6/list List the DHCPv6 groups
DhcpApi DhcpGroupAdd Post /dhcp/group/add Add a DHCPv4 group
DhcpApi DhcpGroupCount Get /dhcp/group/count Count the number of DHCPv4 groups
DhcpApi DhcpGroupDelete Delete /dhcp/group/delete Delete a DHCPv4 group
DhcpApi DhcpGroupEdit Put /dhcp/group/edit Add a DHCPv4 group
DhcpApi DhcpGroupInfo Get /dhcp/group/info Display the properties of a DHCPv4 group
DhcpApi DhcpGroupList Get /dhcp/group/list List the DHCPv4 groups
DhcpApi DhcpLease6Count Get /dhcp/lease6/count Count the number of DHCPv6 leases
DhcpApi DhcpLease6List Get /dhcp/lease6/list List the DHCPv6 leases
DhcpApi DhcpLeaseCount Get /dhcp/lease/count Count the number of DHCPv4 leases
DhcpApi DhcpLeaseInfo Get /dhcp/lease/info Display the properties of a DHCPv4 lease
DhcpApi DhcpLeaseList Get /dhcp/lease/list List the DHCPv4 leases
DhcpApi DhcpRange6Add Post /dhcp/range6/add Add a DHCPv6 range
DhcpApi DhcpRange6Count Get /dhcp/range6/count Count the number of DHCPv6 ranges
DhcpApi DhcpRange6Delete Delete /dhcp/range6/delete Delete a DHCPv6 range
DhcpApi DhcpRange6Edit Put /dhcp/range6/edit Edit a DHCPv6 range
DhcpApi DhcpRange6Info Get /dhcp/range6/info Display the properties of a DHCPv6 range
DhcpApi DhcpRange6List Get /dhcp/range6/list List the DHCPv6 ranges
DhcpApi DhcpRangeAdd Post /dhcp/range/add Add a DHCPv4 range
DhcpApi DhcpRangeCount Get /dhcp/range/count Count the number of DHCPv4 ranges
DhcpApi DhcpRangeDelete Delete /dhcp/range/delete Delete a DHCPv4 range
DhcpApi DhcpRangeEdit Put /dhcp/range/edit Edit a DHCPv4 range
DhcpApi DhcpRangeInfo Get /dhcp/range/info Display the properties of a DHCPv4 range
DhcpApi DhcpRangeList Get /dhcp/range/list List the DHCPv4 ranges
DhcpApi DhcpScope6Add Post /dhcp/scope6/add Add a DHCPv6 scope
DhcpApi DhcpScope6Count Get /dhcp/scope6/count Count the number of DHCPv6 scopes
DhcpApi DhcpScope6Delete Delete /dhcp/scope6/delete Delete a DHCPv6 scope
DhcpApi DhcpScope6Edit Put /dhcp/scope6/edit Edit a DHCPv6 scope
DhcpApi DhcpScope6Info Get /dhcp/scope6/info Display the properties of a DHCPv6 scope
DhcpApi DhcpScope6List Get /dhcp/scope6/list List the DHCPv6 scopes
DhcpApi DhcpScopeAdd Post /dhcp/scope/add Add a DHCPv4 scope
DhcpApi DhcpScopeCount Get /dhcp/scope/count Count the number of DHCPv4 scopes
DhcpApi DhcpScopeDelete Delete /dhcp/scope/delete Delete a DHCPv4 scope
DhcpApi DhcpScopeEdit Put /dhcp/scope/edit Edit a DHCPv4 scope
DhcpApi DhcpScopeInfo Get /dhcp/scope/info Display the properties of a DHCPv4 scope
DhcpApi DhcpScopeList Get /dhcp/scope/list List the DHCPv4 scopes
DhcpApi DhcpServer6Count Get /dhcp/server6/count Count the number of DHCPv6 servers
DhcpApi DhcpServer6Info Get /dhcp/server6/info Display the properties of a DHCPv6 server
DhcpApi DhcpServer6List Get /dhcp/server6/list List the DHCPv6 servers
DhcpApi DhcpServerCount Get /dhcp/server/count Count the number of DHCPv4 servers
DhcpApi DhcpServerInfo Get /dhcp/server/info Display the properties of a DHCPv4 server
DhcpApi DhcpServerList Get /dhcp/server/list List the DHCPv4 servers
DhcpApi DhcpSharednetwork6Add Post /dhcp/sharednetwork6/add Add a DHCPv6 shared network
DhcpApi DhcpSharednetwork6Count Get /dhcp/sharednetwork6/count Count the number of DHCPv6 shared networks
DhcpApi DhcpSharednetwork6Delete Delete /dhcp/sharednetwork6/delete Delete a DHCPv6 Shared Network
DhcpApi DhcpSharednetwork6Edit Put /dhcp/sharednetwork6/edit Edit a DHCPv6 shared network
DhcpApi DhcpSharednetwork6Info Get /dhcp/sharednetwork6/info Display the properties of a DHCPv6 shared network
DhcpApi DhcpSharednetwork6List Get /dhcp/sharednetwork6/list List the DHCPv6 shared networks
DhcpApi DhcpSharednetworkAdd Post /dhcp/sharednetwork/add Add a DHCPv4 shared network
DhcpApi DhcpSharednetworkCount Get /dhcp/sharednetwork/count Count the number of DHCPv4 shared networks
DhcpApi DhcpSharednetworkDelete Delete /dhcp/sharednetwork/delete Delete a DHCPv4 Shared Network
DhcpApi DhcpSharednetworkEdit Put /dhcp/sharednetwork/edit Edit a DHCPv4 shared network
DhcpApi DhcpSharednetworkInfo Get /dhcp/sharednetwork/info Display the properties of a DHCPv4 shared network
DhcpApi DhcpSharednetworkList Get /dhcp/sharednetwork/list List the DHCPv4 shared networks
DhcpApi DhcpStatic6Add Post /dhcp/static6/add Add a DHCPv6 static
DhcpApi DhcpStatic6Count Get /dhcp/static6/count Count the number of DHCPv6 statics
DhcpApi DhcpStatic6Delete Delete /dhcp/static6/delete Delete a DHCPv6 static
DhcpApi DhcpStatic6Edit Put /dhcp/static6/edit Edit a DHCPv6 static
DhcpApi DhcpStatic6Info Get /dhcp/static6/info Display the properties of a DHCPv6 static
DhcpApi DhcpStatic6List Get /dhcp/static6/list List the DHCPv6 statics
DhcpApi DhcpStaticAdd Post /dhcp/static/add Add a DHCPv4 static
DhcpApi DhcpStaticCount Get /dhcp/static/count Count the number of DHCPv4 statics
DhcpApi DhcpStaticDelete Delete /dhcp/static/delete Delete a DHCPv4 static
DhcpApi DhcpStaticEdit Put /dhcp/static/edit Edit a DHCPv4 static
DhcpApi DhcpStaticInfo Get /dhcp/static/info Display the properties of a DHCPv4 static
DhcpApi DhcpStaticList Get /dhcp/static/list List the DHCPv4 statics
DnsApi DnsAclAdd Post /dns/acl/add Add a DNS ACL
DnsApi DnsAclCount Get /dns/acl/count Count the number of DNS ACLs
DnsApi DnsAclDelete Delete /dns/acl/delete Delete a DNS ACL
DnsApi DnsAclEdit Put /dns/acl/edit Edit a DNS ACL
DnsApi DnsAclInfo Get /dns/acl/info Display the properties of a DNS ACL
DnsApi DnsAclList Get /dns/acl/list List the DNS ACLs
DnsApi DnsRrAdd Post /dns/rr/add Add a resource record
DnsApi DnsRrCount Get /dns/rr/count Count the number of resource records
DnsApi DnsRrDelete Delete /dns/rr/delete Delete a resource record
DnsApi DnsRrEdit Put /dns/rr/edit Edit a resource record
DnsApi DnsRrInfo Get /dns/rr/info Display the properties of a resource record
DnsApi DnsRrList Get /dns/rr/list List the resource records
DnsApi DnsServerCount Get /dns/server/count Count the number of DNS servers
DnsApi DnsServerInfo Get /dns/server/info Display the properties of a DNS server
DnsApi DnsServerList Get /dns/server/list List the DNS servers
DnsApi DnsViewAdd Post /dns/view/add Add a view
DnsApi DnsViewCount Get /dns/view/count Count the number of views
DnsApi DnsViewDelete Delete /dns/view/delete Delete a view
DnsApi DnsViewEdit Put /dns/view/edit Edit a view
DnsApi DnsViewInfo Get /dns/view/info Display the properties of a view
DnsApi DnsViewList Get /dns/view/list List the views
DnsApi DnsViewparamAdd Post /dns/viewparam/add Add a DNS option on a view
DnsApi DnsViewparamCount Get /dns/viewparam/count Count the number of DNS options of a view
DnsApi DnsViewparamDelete Delete /dns/viewparam/delete Delete a DNS option from a view
DnsApi DnsViewparamEdit Put /dns/viewparam/edit Edit a DNS option on a view
DnsApi DnsViewparamInfo Get /dns/viewparam/info Display the properties of a DNS option set on a view
DnsApi DnsViewparamList Get /dns/viewparam/list List the DNS options of a view
DnsApi DnsZoneAdd Post /dns/zone/add Add a zone
DnsApi DnsZoneCount Get /dns/zone/count Count the number of zones
DnsApi DnsZoneDelete Delete /dns/zone/delete Delete a zone
DnsApi DnsZoneEdit Put /dns/zone/edit Edit a zone
DnsApi DnsZoneInfo Get /dns/zone/info Display the properties of a zone
DnsApi DnsZoneList Get /dns/zone/list List the DNS options of a zone
DnsApi DnsZoneparamAdd Post /dns/zoneparam/add Add a DNS option on a zone
DnsApi DnsZoneparamCount Get /dns/zoneparam/count Count the number of DNS options of a zone
DnsApi DnsZoneparamDelete Delete /dns/zoneparam/delete Delete a DNS option from a zone
DnsApi DnsZoneparamEdit Put /dns/zoneparam/edit Edit a DNS option on a zone
DnsApi DnsZoneparamInfo Get /dns/zoneparam/info Display the properties of a DNS option set on a zone
DnsApi DnsZoneparamList Get /dns/zoneparam/list List the DNS options of a zone
GuardianApi GuardianPolicyAdd Post /guardian/policy/add Add a policy
GuardianApi GuardianPolicyCount Get /guardian/policy/count Count the number of policies
GuardianApi GuardianPolicyDelete Delete /guardian/policy/delete Delete a policy
GuardianApi GuardianPolicyEdit Put /guardian/policy/edit Edit a policy
GuardianApi GuardianPolicyInfo Get /guardian/policy/info Display the properties of a policy
GuardianApi GuardianPolicyList Get /guardian/policy/list List the policies
IpamApi IpamAddress6Add Post /ipam/address6/add Add an IPv6 address
IpamApi IpamAddress6Count Get /ipam/address6/count Count the number of IPv6 addresses
IpamApi IpamAddress6Delete Delete /ipam/address6/delete Delete an IPv6 address
IpamApi IpamAddress6Edit Put /ipam/address6/edit Edit an IPv6 address
IpamApi IpamAddress6Info Get /ipam/address6/info Display the properties of an IPv6 address
IpamApi IpamAddress6List Get /ipam/address6/list List the IPv6 addresses
IpamApi IpamAddressAdd Post /ipam/address/add Add an IPv4 address
IpamApi IpamAddressCount Get /ipam/address/count Count the number of IPv4 addresses
IpamApi IpamAddressDelete Delete /ipam/address/delete Delete an IPv4 address
IpamApi IpamAddressEdit Put /ipam/address/edit Edit an IPv4 address
IpamApi IpamAddressInfo Get /ipam/address/info Display the properties of an IPv4 address
IpamApi IpamAddressList Get /ipam/address/list List the IPv4 addresses
IpamApi IpamAlias6Add Post /ipam/alias6/add Add an IPv6 address alias
IpamApi IpamAlias6Count Get /ipam/alias6/count Count the number of aliases of an IPv6 address
IpamApi IpamAlias6Delete Delete /ipam/alias6/delete Delete an IPv6 address alias
IpamApi IpamAlias6Edit Put /ipam/alias6/edit Edit an IPv6 address alias
IpamApi IpamAlias6List Get /ipam/alias6/list List the aliases of an IPv6 address
IpamApi IpamAliasAdd Post /ipam/alias/add Add an IPv4 address alias
IpamApi IpamAliasCount Get /ipam/alias/count Count the number of aliases of an IPv4 address
IpamApi IpamAliasDelete Delete /ipam/alias/delete Delete an IPv4 address alias
IpamApi IpamAliasEdit Put /ipam/alias/edit Edit an IPv4 address alias
IpamApi IpamAliasList Get /ipam/alias/list List the aliases of an IPv4 address
IpamApi IpamNetwork6Add Post /ipam/network6/add Add an IPv6 block/subnet-type network
IpamApi IpamNetwork6Count Get /ipam/network6/count Count the number of IPv6 block/subnet-type networks
IpamApi IpamNetwork6Delete Delete /ipam/network6/delete Delete an IPv6 block/subnet-type network
IpamApi IpamNetwork6Edit Put /ipam/network6/edit Edit an IPv6 block/subnet-type network
IpamApi IpamNetwork6Info Get /ipam/network6/info Display the properties of an IPv6 block/subnet-type network
IpamApi IpamNetwork6List Get /ipam/network6/list List the IPv6 block/subnet-type networks
IpamApi IpamNetworkAdd Post /ipam/network/add Add an IPv4 block/subnet-type network
IpamApi IpamNetworkCount Get /ipam/network/count Count the number of IPv4 block/subnet-type networks
IpamApi IpamNetworkDelete Delete /ipam/network/delete Delete an IPv4 block/subnet-type network
IpamApi IpamNetworkEdit Put /ipam/network/edit Edit an IPv4 block/subnet-type network
IpamApi IpamNetworkInfo Get /ipam/network/info Display the properties of an IPv4 block/subnet-type network
IpamApi IpamNetworkList Get /ipam/network/list List the IPv4 block/subnet-type networks
IpamApi IpamPool6Add Post /ipam/pool6/add Add an IPv6 pool
IpamApi IpamPool6Count Get /ipam/pool6/count Count the number of IPv6 pools
IpamApi IpamPool6Delete Delete /ipam/pool6/delete Delete an IPv6 pool
IpamApi IpamPool6Edit Put /ipam/pool6/edit Edit an IPv6 pool
IpamApi IpamPool6Info Get /ipam/pool6/info Display the properties of an IPv6 pool
IpamApi IpamPool6List Get /ipam/pool6/list List the IPv6 pools
IpamApi IpamPoolAdd Post /ipam/pool/add Add an IPv4 pool
IpamApi IpamPoolCount Get /ipam/pool/count Count the number of IPv4 pools
IpamApi IpamPoolDelete Delete /ipam/pool/delete Delete an IPv4 pool
IpamApi IpamPoolEdit Put /ipam/pool/edit Edit an IPv4 pool
IpamApi IpamPoolInfo Get /ipam/pool/info Display the properties of an IPv4 pool
IpamApi IpamPoolList Get /ipam/pool/list List the IPv4 pools
IpamApi IpamSpaceAdd Post /ipam/space/add Add a space
IpamApi IpamSpaceCount Get /ipam/space/count Count the number of spaces
IpamApi IpamSpaceDelete Delete /ipam/space/delete Delete a space
IpamApi IpamSpaceEdit Put /ipam/space/edit Edit a space
IpamApi IpamSpaceInfo Get /ipam/space/info Display the properties of a space
IpamApi IpamSpaceList Get /ipam/space/list List the spaces
VlanApi VlanDomainAdd Post /vlan/domain/add Add a VLAN domain
VlanApi VlanDomainCount Get /vlan/domain/count Count the number of VLAN domains
VlanApi VlanDomainDelete Delete /vlan/domain/delete Delete a VLAN domain
VlanApi VlanDomainEdit Put /vlan/domain/edit Edit a VLAN domain
VlanApi VlanDomainInfo Get /vlan/domain/info Display the properties of a VLAN domain
VlanApi VlanDomainList Get /vlan/domain/list List the VLAN domains
VlanApi VlanRangeAdd Post /vlan/range/add Add a VLAN range
VlanApi VlanRangeCount Get /vlan/range/count Count the number of VLAN ranges
VlanApi VlanRangeDelete Delete /vlan/range/delete Delete a VLAN range
VlanApi VlanRangeEdit Put /vlan/range/edit Edit a VLAN range
VlanApi VlanRangeInfo Get /vlan/range/info Display the properties of a VLAN range
VlanApi VlanRangeList Get /vlan/range/list List the VLAN ranges
VlanApi VlanVlanAdd Post /vlan/vlan/add Add a VLAN
VlanApi VlanVlanCount Get /vlan/vlan/count Count the number of VLANs
VlanApi VlanVlanDelete Delete /vlan/vlan/delete Delete a VLAN
VlanApi VlanVlanEdit Put /vlan/vlan/edit Edit a VLAN
VlanApi VlanVlanInfo Get /vlan/vlan/info Display the properties of a VLAN
VlanApi VlanVlanList Get /vlan/vlan/list List the VLANs

Documentation For Models

BasicAuth
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)
HttpHeaderLoginKey
  • Type: API key
  • API key parameter name: X-IPM-Username
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-IPM-Username and passed in as the auth context for each request.

HttpHeaderPasswordKey
  • Type: API key
  • API key parameter name: X-IPM-Password
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-IPM-Password and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Documentation

Documentation is too large to display.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL