Categorygithub.com/onecer/polaris-go-sdk
modulepackage
0.0.2
Repository: https://github.com/onecer/polaris-go-sdk.git
Documentation: pkg.go.dev

# README

Go API client for polaris

一个支持多语言、多框架的云原生服务发现和治理中心

提供高性能SDK和无侵入Sidecar两种接入方式

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: v0.1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://polarismesh.cn/

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 "./polaris"

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 identified 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 http://localhost

ClassMethodHTTP requestDescription
AuthApiAuthStatusGet /core/v1/auth/status查询鉴权开关信息
AuthApiCreateStrategyPost /core/v1/auth/strategy创建鉴权策略
AuthApiDeleteStrategiesPost /core/v1/auth/strategies/delete删除鉴权策略
AuthApiGetPrincipalResourcesGet /core/v1/auth/principal/resources获取鉴权策略详细
AuthApiGetStrategiesGet /core/v1/auth/strategies查询鉴权策略列表
AuthApiGetStrategyGet /core/v1/auth/strategy/detail获取鉴权策略详细
AuthApiUpdateStrategiesPut /core/v1/auth/strategies更新鉴权策略
CircuitBreakersApiCreateCircuitBreakerVersionsPost /naming/v1/circuitbreakers/version创建熔断规则版本
CircuitBreakersApiCreateCircuitBreakersPost /naming/v1/circuitbreakers创建熔断规则
CircuitBreakersApiDeleteCircuitBreakersPost /naming/v1/circuitbreakers/delete删除熔断规则
CircuitBreakersApiGetCircuitBreakerGet /naming/v1/circuitbreaker查询熔断规则
CircuitBreakersApiGetCircuitBreakerTokenGet /naming/v1/circuitbreaker/token查询熔断规则Token
CircuitBreakersApiGetCircuitBreakerVersionsGet /naming/v1/circuitbreaker/versions查询熔断规则版本
CircuitBreakersApiGetMasterCircuitBreakersGet /naming/v1/circuitbreakers/master查询熔断规则Master版本
CircuitBreakersApiGetReleaseCircuitBreakersGet /naming/v1/circuitbreakers/release根据规则id查询已发布的熔断规则
CircuitBreakersApiReleaseCircuitBreakersPost /naming/v1/circuitbreakers/release发布熔断规则
CircuitBreakersApiUnBindCircuitBreakersPost /naming/v1/circuitbreakers/unbind解绑熔断规则
CircuitBreakersApiUpdateCircuitBreakersPut /naming/v1/circuitbreakers更新熔断规则
ConfigClientApiGetConfigFileGet /config/v1/GetConfigFile拉取配置
ConfigClientApiWatchConfigFilePost /config/v1/WatchConfigFile监听配置
ConfigConsoleApiBatchDeleteConfigFilePost /config/v1/configfiles/batchdelete批量删除配置文件
ConfigConsoleApiCreateConfigFilePost /config/v1/configfiles创建配置文件
ConfigConsoleApiCreateConfigFileGroupPost /config/v1/configfilegroups创建配置文件组
ConfigConsoleApiCreateConfigFileTemplatePost /config/v1/configfiletemplates创建配置模板
ConfigConsoleApiDeleteConfigFileDelete /config/v1/configfiles创建配置文件
ConfigConsoleApiDeleteConfigFileGroupDelete /config/v1/configfilegroups删除配置文件
ConfigConsoleApiGetAllConfigFileTemplatesGet /config/v1/configfiletemplates获取配置模板
ConfigConsoleApiGetConfigFileGet /config/v1/configfiles拉取配置
ConfigConsoleApiGetConfigFileReleaseGet /config/v1/configfiles/release获取配置文件最后一次全量发布信息
ConfigConsoleApiGetConfigFileReleaseHistoryGet /config/v1/configfiles/releasehistory获取配置文件发布历史记录
ConfigConsoleApiPublishConfigFilePost /config/v1/configfiles/release发布配置文件
ConfigConsoleApiQueryConfigFileGroupsGet /config/v1/configfilegroups搜索配置文件组
ConfigConsoleApiQueryConfigFilesByGroupGet /config/v1/configfiles/by-group搜索配置文件
ConfigConsoleApiSearchConfigFileGet /config/v1/configfiles/search搜索配置文件
ConfigConsoleApiUpdateConfigFilePut /config/v1/configfiles创建配置文件
ConfigConsoleApiUpdateConfigFileGroupPut /config/v1/configfilegroups更新配置文件组
InstancesApiCreateInstancesPost /naming/v1/instances创建实例
InstancesApiDeleteInstancesPost /naming/v1/instances/delete删除实例(根据实例ID)
InstancesApiDeleteInstancesByHostPost /naming/v1/instances/delete/host删除实例(根据主机)
InstancesApiGetInstanceLabelsGet /naming/v1/instances/labels查询某个服务下所有实例的标签信息
InstancesApiGetInstancesGet /naming/v1/instances查询服务实例
InstancesApiGetInstancesCountGet /naming/v1/instances/count查询服务实例数量
InstancesApiUpdateInstancesPut /naming/v1/instances更新实例
InstancesApiUpdateInstancesIsolatePut /naming/v1/instances/isolate/host修改服务实例的隔离状态
MaintainApiCleanInstancePost /maintain/v1/instance/clean彻底清理flag=1的实例
MaintainApiCloseConnectionsPost /maintain/v1/apiserver/conn/close关闭指定client ip的连接
MaintainApiFreeOSMemoryPost /maintain/v1/memory/free释放系统内存
MaintainApiGetLastHeartbeatGet /maintain/v1/instance/heartbeat获取上一次心跳的时间
MaintainApiGetLogOutputLevelGet /maintain/v1/log/outputlevel获取日志输出级别
MaintainApiGetServerConnStatsGet /maintain/v1/apiserver/conn/stats获取服务端连接统计信息
MaintainApiGetServerConnectionsGet /maintain/v1/apiserver/conn获取服务端连接数
MaintainApiSetLogOutputLevelPut /maintain/v1/log/outputlevel设置日志输出级别
NamespacesApiCoreCreateNamespacesPost /core/v1/namespaces创建命名空间
NamespacesApiCoreDeleteNamespacesPost /core/v1/namespaces/delete删除命名空间
NamespacesApiCoreGetNamespaceTokenGet /core/v1/namespaces/token查询命名空间Token
NamespacesApiCoreGetNamespacesGet /core/v1/namespaces查询命名空间列表
NamespacesApiCoreUpdateNamespaceTokenPut /core/v1/namespaces/token更新命名空间Token
NamespacesApiCoreUpdateNamespacesPut /core/v1/namespaces更新命名空间
NamespacesApiCreateNamespacesPost /naming/v1/namespaces创建命名空间
NamespacesApiDeleteNamespacesPost /naming/v1/namespaces/delete删除命名空间
NamespacesApiGetNamespaceTokenGet /naming/v1/namespace/token查询命名空间Token
NamespacesApiGetNamespacesGet /naming/v1/namespaces获取命名空间列表
NamespacesApiUpdateNamespaceTokenPut /naming/v1/namespace/token更新命名空间Token
NamespacesApiUpdateNamespacesPut /naming/v1/namespaces更新命名空间
RateLimitsApiCreateRateLimitsPost /naming/v1/ratelimits创建限流规则
RateLimitsApiDeleteRateLimitsPost /naming/v1/ratelimits/delete删除限流规则
RateLimitsApiEnableRateLimitsPut /naming/v1/ratelimits/enable启用限流规则
RateLimitsApiGetRateLimitsGet /naming/v1/ratelimits查询限流规则
RateLimitsApiUpdateRateLimitsPut /naming/v1/ratelimits更新限流规则
RegisterInstanceApiDeregisterInstancePost /v1/DeregisterInstance注销实例
RegisterInstanceApiDiscoverPost /v1/Discover服务发现
RegisterInstanceApiHeartbeatPost /v1/Heartbeat上报心跳
RegisterInstanceApiRegisterInstancePost /v1/RegisterInstance注册实例
RegisterInstanceApiReportClientPost /v1/ReportClient上报客户端
RegisterInstanceApiV2DiscoverPost /v2/Discover服务发现
RoutingRulesApiCreateRoutingsPost /naming/v1/routings创建路由规则
RoutingRulesApiDeleteRoutingsPost /naming/v1/routings/delete删除路由规则
RoutingRulesApiGetRoutingsGet /naming/v1/routings查询路由规则
RoutingRulesApiUpdateRoutingsPut /naming/v1/routings更新路由规则
RoutingRulesApiV2CreateRoutingsPost /naming/v2/routings创建路由规则
RoutingRulesApiV2DeleteRoutingsPost /naming/v2/routings/delete删除路由规则
RoutingRulesApiV2EnableRoutingsPut /naming/v2/routings/enable启用路由规则
RoutingRulesApiV2GetRoutingsGet /naming/v2/routings获取路由规则
RoutingRulesApiV2UpdateRoutingsPut /naming/v2/routings更新路由规则
ServicesApiCreateServiceAliasPost /naming/v1/service/alias创建服务别名
ServicesApiCreateServicesPost /naming/v1/services创建服务
ServicesApiDeleteServiceAliasesPost /naming/v1/service/aliases/delete删除服务别名
ServicesApiDeleteServicesPost /naming/v1/services/delete删除服务
ServicesApiGetCircuitBreakerByServiceGet /naming/v1/service/circuitbreaker根据服务查询熔断规则
ServicesApiGetServiceAliasesGet /naming/v1/service/aliases查询服务别名
ServicesApiGetServiceOwnerPost /naming/v1/service/owner根据服务获取服务负责人
ServicesApiGetServiceTokenGet /naming/v1/service/token查询服务Token
ServicesApiGetServicesGet /naming/v1/services获取服务列表
ServicesApiGetServicesCountGet /naming/v1/services/count获取服务数量
ServicesApiUpdateServiceAliasPut /naming/v1/service/alias更新服务别名
ServicesApiUpdateServiceTokenPut /naming/v1/service/token更新服务Token
ServicesApiUpdateServicesPut /naming/v1/services更新服务
UserGroupApiCreateGroupPost /core/v1/usergroup创建用户组
UserGroupApiDeleteGroupsPost /core/v1/usergroups/delete删除用户组
UserGroupApiGetGroupGet /core/v1/usergroup/detail获取用户组详情
UserGroupApiGetGroupTokenGet /core/v1/usergroup/token获取用户组 token
UserGroupApiGetGroupsGet /core/v1/usergroups查询用户组列表
UserGroupApiResetGroupTokenPut /core/v1/usergroup/token/refresh重置用户组 token
UserGroupApiUpdateGroupTokenPut /core/v1/usergroup/token/status更新用户组 token
UserGroupApiUpdateGroupsPut /core/v1/usergroups更新用户组
UsersApiCreateUsersPost /core/v1/users创建用户
UsersApiDeleteUsersPost /core/v1/users/delete删除用户
UsersApiGetUserTokenGet /core/v1/user/token获取用户Token
UsersApiGetUsersGet /core/v1/users获取用户
UsersApiLoginPost /core/v1/user/login用户登录
UsersApiResetUserTokenPut /core/v1/user/token/refresh重置用户Token
UsersApiUpdateUserPut /core/v1/user更新用户
UsersApiUpdateUserPasswordPut /core/v1/user/password更新用户密码
UsersApiUpdateUserTokenPut /core/v1/user/token/status更新用户Token

Documentation For Models

Documentation For Authorization

api_key

  • Type: API key
  • API key parameter name: X-Polaris-Token
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-Polaris-Token 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

Author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAnypbAny instantiates a new AnypbAny object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAnypbAnyWithDefaults instantiates a new AnypbAny object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewConfiguration returns a new Configuration object.
NewDurationpbDuration instantiates a new DurationpbDuration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDurationpbDurationWithDefaults instantiates a new DurationpbDuration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewMaintainConnReq instantiates a new MaintainConnReq object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewMaintainConnReqWithDefaults instantiates a new MaintainConnReq object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewV1Amount instantiates a new V1Amount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1AmountAdjuster instantiates a new V1AmountAdjuster object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1AmountAdjusterWithDefaults instantiates a new V1AmountAdjuster object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1AmountWithDefaults instantiates a new V1Amount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1AuthStrategy instantiates a new V1AuthStrategy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1AuthStrategyWithDefaults instantiates a new V1AuthStrategy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1CbPolicy instantiates a new V1CbPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1CbPolicyConsecutiveErrConfig instantiates a new V1CbPolicyConsecutiveErrConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1CbPolicyConsecutiveErrConfigWithDefaults instantiates a new V1CbPolicyConsecutiveErrConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1CbPolicyErrRateConfig instantiates a new V1CbPolicyErrRateConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1CbPolicyErrRateConfigSpecialConfig instantiates a new V1CbPolicyErrRateConfigSpecialConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1CbPolicyErrRateConfigSpecialConfigWithDefaults instantiates a new V1CbPolicyErrRateConfigSpecialConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1CbPolicyErrRateConfigWithDefaults instantiates a new V1CbPolicyErrRateConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1CbPolicySlowRateConfig instantiates a new V1CbPolicySlowRateConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1CbPolicySlowRateConfigWithDefaults instantiates a new V1CbPolicySlowRateConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1CbPolicyWithDefaults instantiates a new V1CbPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1CbRule instantiates a new V1CbRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1CbRuleWithDefaults instantiates a new V1CbRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1CircuitBreaker instantiates a new V1CircuitBreaker object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1CircuitBreakerWithDefaults instantiates a new V1CircuitBreaker object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Client instantiates a new V1Client object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClientConfigFileInfo instantiates a new V1ClientConfigFileInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClientConfigFileInfoWithDefaults instantiates a new V1ClientConfigFileInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClientWatchConfigFileRequest instantiates a new V1ClientWatchConfigFileRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClientWatchConfigFileRequestWithDefaults instantiates a new V1ClientWatchConfigFileRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClientWithDefaults instantiates a new V1Client object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClimbConfig instantiates a new V1ClimbConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClimbConfigClimbThrottling instantiates a new V1ClimbConfigClimbThrottling object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClimbConfigClimbThrottlingWithDefaults instantiates a new V1ClimbConfigClimbThrottling object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClimbConfigMetricConfig instantiates a new V1ClimbConfigMetricConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClimbConfigMetricConfigWithDefaults instantiates a new V1ClimbConfigMetricConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClimbConfigTriggerPolicy instantiates a new V1ClimbConfigTriggerPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClimbConfigTriggerPolicyErrorRate instantiates a new V1ClimbConfigTriggerPolicyErrorRate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClimbConfigTriggerPolicyErrorRateSpecialConfig instantiates a new V1ClimbConfigTriggerPolicyErrorRateSpecialConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClimbConfigTriggerPolicyErrorRateSpecialConfigWithDefaults instantiates a new V1ClimbConfigTriggerPolicyErrorRateSpecialConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClimbConfigTriggerPolicyErrorRateWithDefaults instantiates a new V1ClimbConfigTriggerPolicyErrorRate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClimbConfigTriggerPolicySlowRate instantiates a new V1ClimbConfigTriggerPolicySlowRate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ClimbConfigTriggerPolicySlowRateWithDefaults instantiates a new V1ClimbConfigTriggerPolicySlowRate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClimbConfigTriggerPolicyWithDefaults instantiates a new V1ClimbConfigTriggerPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ClimbConfigWithDefaults instantiates a new V1ClimbConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ConfigFile instantiates a new V1ConfigFile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ConfigFileGroup instantiates a new V1ConfigFileGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ConfigFileGroupWithDefaults instantiates a new V1ConfigFileGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ConfigFileRelease instantiates a new V1ConfigFileRelease object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ConfigFileReleaseWithDefaults instantiates a new V1ConfigFileRelease object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ConfigFileTag instantiates a new V1ConfigFileTag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ConfigFileTagWithDefaults instantiates a new V1ConfigFileTag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ConfigFileWithDefaults instantiates a new V1ConfigFile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ConfigRelease instantiates a new V1ConfigRelease object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ConfigReleaseWithDefaults instantiates a new V1ConfigRelease object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Destination instantiates a new V1Destination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1DestinationSet instantiates a new V1DestinationSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1DestinationSetWithDefaults instantiates a new V1DestinationSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1DestinationWithDefaults instantiates a new V1Destination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1HealthCheck instantiates a new V1HealthCheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1HealthCheckWithDefaults instantiates a new V1HealthCheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1HeartbeatHealthCheck instantiates a new V1HeartbeatHealthCheck object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1HeartbeatHealthCheckWithDefaults instantiates a new V1HeartbeatHealthCheck object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Instance instantiates a new V1Instance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1InstanceWithDefaults instantiates a new V1Instance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Location instantiates a new V1Location object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1LocationWithDefaults instantiates a new V1Location object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1LoginRequest instantiates a new V1LoginRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1LoginRequestWithDefaults instantiates a new V1LoginRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1MatchArgument instantiates a new V1MatchArgument object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1MatchArgumentWithDefaults instantiates a new V1MatchArgument object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1MatchString instantiates a new V1MatchString object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1MatchStringWithDefaults instantiates a new V1MatchString object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ModifyUserPassword instantiates a new V1ModifyUserPassword object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ModifyUserPasswordWithDefaults instantiates a new V1ModifyUserPassword object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Namespace instantiates a new V1Namespace object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1NamespaceWithDefaults instantiates a new V1Namespace object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Principal instantiates a new V1Principal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1Principals instantiates a new V1Principals object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1PrincipalsWithDefaults instantiates a new V1Principals object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1PrincipalWithDefaults instantiates a new V1Principal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1RateLimit instantiates a new V1RateLimit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1RateLimitCluster instantiates a new V1RateLimitCluster object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1RateLimitClusterWithDefaults instantiates a new V1RateLimitCluster object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1RateLimitWithDefaults instantiates a new V1RateLimit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1RecoverConfig instantiates a new V1RecoverConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1RecoverConfigWithDefaults instantiates a new V1RecoverConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Report instantiates a new V1Report object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ReportWithDefaults instantiates a new V1Report object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Route instantiates a new V1Route object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1RouteWithDefaults instantiates a new V1Route object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Routing instantiates a new V1Routing object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1RoutingWithDefaults instantiates a new V1Routing object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Rule instantiates a new V1Rule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1RuleWithDefaults instantiates a new V1Rule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Service instantiates a new V1Service object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ServiceAlias instantiates a new V1ServiceAlias object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1ServiceAliasWithDefaults instantiates a new V1ServiceAlias object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1ServiceWithDefaults instantiates a new V1Service object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1Source instantiates a new V1Source object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1SourceMatcher instantiates a new V1SourceMatcher object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1SourceMatcherWithDefaults instantiates a new V1SourceMatcher object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1SourceWithDefaults instantiates a new V1Source object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1StatInfo instantiates a new V1StatInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1StatInfoWithDefaults instantiates a new V1StatInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1StrategyResourceEntry instantiates a new V1StrategyResourceEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1StrategyResourceEntryWithDefaults instantiates a new V1StrategyResourceEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1StrategyResources instantiates a new V1StrategyResources object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1StrategyResourcesWithDefaults instantiates a new V1StrategyResources object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1User instantiates a new V1User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1UserGroup instantiates a new V1UserGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1UserGroupRelation instantiates a new V1UserGroupRelation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV1UserGroupRelationWithDefaults instantiates a new V1UserGroupRelation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1UserGroupWithDefaults instantiates a new V1UserGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV1UserWithDefaults instantiates a new V1User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewV2Routing instantiates a new V2Routing object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewV2RoutingWithDefaults instantiates a new V2Routing object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewWrapperspbInt32Value instantiates a new WrapperspbInt32Value object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewWrapperspbInt32ValueWithDefaults instantiates a new WrapperspbInt32Value object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewWrapperspbInt64Value instantiates a new WrapperspbInt64Value object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewWrapperspbInt64ValueWithDefaults instantiates a new WrapperspbInt64Value object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.

# Structs

AnypbAny struct for AnypbAny.
No description provided by the author
No description provided by the author
No description provided by the author
APIClient manages communication with the Polaris Server API vv0.1.0 In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
DurationpbDuration struct for DurationpbDuration.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
MaintainConnReq struct for MaintainConnReq.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
V1Amount struct for V1Amount.
V1AmountAdjuster struct for V1AmountAdjuster.
V1AuthStrategy struct for V1AuthStrategy.
V1CbPolicy struct for V1CbPolicy.
V1CbPolicyConsecutiveErrConfig struct for V1CbPolicyConsecutiveErrConfig.
V1CbPolicyErrRateConfig struct for V1CbPolicyErrRateConfig.
V1CbPolicyErrRateConfigSpecialConfig struct for V1CbPolicyErrRateConfigSpecialConfig.
V1CbPolicySlowRateConfig struct for V1CbPolicySlowRateConfig.
V1CbRule struct for V1CbRule.
V1CircuitBreaker struct for V1CircuitBreaker.
V1Client struct for V1Client.
V1ClientConfigFileInfo struct for V1ClientConfigFileInfo.
V1ClientWatchConfigFileRequest struct for V1ClientWatchConfigFileRequest.
V1ClimbConfig struct for V1ClimbConfig.
V1ClimbConfigClimbThrottling struct for V1ClimbConfigClimbThrottling.
V1ClimbConfigMetricConfig struct for V1ClimbConfigMetricConfig.
V1ClimbConfigTriggerPolicy struct for V1ClimbConfigTriggerPolicy.
V1ClimbConfigTriggerPolicyErrorRate struct for V1ClimbConfigTriggerPolicyErrorRate.
V1ClimbConfigTriggerPolicyErrorRateSpecialConfig struct for V1ClimbConfigTriggerPolicyErrorRateSpecialConfig.
V1ClimbConfigTriggerPolicySlowRate struct for V1ClimbConfigTriggerPolicySlowRate.
V1ConfigFile struct for V1ConfigFile.
V1ConfigFileGroup struct for V1ConfigFileGroup.
V1ConfigFileRelease struct for V1ConfigFileRelease.
V1ConfigFileTag struct for V1ConfigFileTag.
V1ConfigRelease struct for V1ConfigRelease.
V1Destination struct for V1Destination.
V1DestinationSet struct for V1DestinationSet.
V1HealthCheck struct for V1HealthCheck.
V1HeartbeatHealthCheck struct for V1HeartbeatHealthCheck.
V1Instance struct for V1Instance.
V1Location struct for V1Location.
V1LoginRequest struct for V1LoginRequest.
V1MatchArgument struct for V1MatchArgument.
V1MatchString struct for V1MatchString.
V1ModifyUserPassword struct for V1ModifyUserPassword.
V1Namespace struct for V1Namespace.
V1Principal struct for V1Principal.
V1Principals struct for V1Principals.
V1RateLimit struct for V1RateLimit.
V1RateLimitCluster struct for V1RateLimitCluster.
V1RecoverConfig struct for V1RecoverConfig.
V1Report struct for V1Report.
V1Route struct for V1Route.
V1Routing struct for V1Routing.
V1Rule struct for V1Rule.
V1Service struct for V1Service.
V1ServiceAlias struct for V1ServiceAlias.
V1Source struct for V1Source.
V1SourceMatcher struct for V1SourceMatcher.
V1StatInfo struct for V1StatInfo.
V1StrategyResourceEntry struct for V1StrategyResourceEntry.
V1StrategyResources struct for V1StrategyResources.
V1User struct for V1User.
V1UserGroup struct for V1UserGroup.
V1UserGroupRelation struct for V1UserGroupRelation.
V2Routing struct for V2Routing.
WrapperspbInt32Value struct for WrapperspbInt32Value.
WrapperspbInt64Value struct for WrapperspbInt64Value.

# Type aliases

AuthApiService AuthApi service.
CircuitBreakersApiService CircuitBreakersApi service.
ConfigClientApiService ConfigClientApi service.
ConfigConsoleApiService ConfigConsoleApi service.
InstancesApiService InstancesApi service.
MaintainApiService MaintainApi service.
NamespacesApiService NamespacesApi service.
RateLimitsApiService RateLimitsApi service.
RegisterInstanceApiService RegisterInstanceApi service.
RoutingRulesApiService RoutingRulesApi service.
ServerConfigurations stores multiple ServerConfiguration items.
ServicesApiService ServicesApi service.
UserGroupApiService UserGroupApi service.
UsersApiService UsersApi service.