vendor: update all dependencies to latest versions
This commit is contained in:
+3
-5
@@ -1,7 +1,6 @@
|
||||
// Package locks implements the Azure ARM Locks service API version 2016-09-01.
|
||||
//
|
||||
// Azure resources can be locked to prevent other users in your organization
|
||||
// from deleting or modifying resources.
|
||||
// Azure resources can be locked to prevent other users in your organization from deleting or modifying resources.
|
||||
package locks
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
@@ -18,9 +17,8 @@ package locks
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
|
||||
+189
-81
@@ -14,9 +14,8 @@ package locks
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -25,33 +24,29 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// ManagementLocksClient is the azure resources can be locked to prevent other
|
||||
// users in your organization from deleting or modifying resources.
|
||||
// ManagementLocksClient is the azure resources can be locked to prevent other users in your organization from deleting
|
||||
// or modifying resources.
|
||||
type ManagementLocksClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
|
||||
// NewManagementLocksClient creates an instance of the ManagementLocksClient
|
||||
// client.
|
||||
// NewManagementLocksClient creates an instance of the ManagementLocksClient client.
|
||||
func NewManagementLocksClient(subscriptionID string) ManagementLocksClient {
|
||||
return NewManagementLocksClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewManagementLocksClientWithBaseURI creates an instance of the
|
||||
// ManagementLocksClient client.
|
||||
// NewManagementLocksClientWithBaseURI creates an instance of the ManagementLocksClient client.
|
||||
func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) ManagementLocksClient {
|
||||
return ManagementLocksClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// CreateOrUpdateAtResourceGroupLevel when you apply a lock at a parent scope,
|
||||
// all child resources inherit the same lock. To create management locks, you
|
||||
// must have access to Microsoft.Authorization/* or
|
||||
// Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner
|
||||
// and User Access Administrator are granted those actions.
|
||||
// CreateOrUpdateAtResourceGroupLevel when you apply a lock at a parent scope, all child resources inherit the same
|
||||
// lock. To create management locks, you must have access to Microsoft.Authorization/* or
|
||||
// Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted
|
||||
// those actions.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group to lock. lockName is the
|
||||
// lock name. The lock name can be a maximum of 260 characters. It cannot
|
||||
// contain <, > %, &, :, \, ?, /, or any control characters. parameters is the
|
||||
// resourceGroupName is the name of the resource group to lock. lockName is the lock name. The lock name can be a
|
||||
// maximum of 260 characters. It cannot contain <, > %, &, :, \, ?, /, or any control characters. parameters is the
|
||||
// management lock parameters.
|
||||
func (client ManagementLocksClient) CreateOrUpdateAtResourceGroupLevel(resourceGroupName string, lockName string, parameters ManagementLockObject) (result ManagementLockObject, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
@@ -127,20 +122,15 @@ func (client ManagementLocksClient) CreateOrUpdateAtResourceGroupLevelResponder(
|
||||
return
|
||||
}
|
||||
|
||||
// CreateOrUpdateAtResourceLevel when you apply a lock at a parent scope, all
|
||||
// child resources inherit the same lock. To create management locks, you must
|
||||
// have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/*
|
||||
// actions. Of the built-in roles, only Owner and User Access Administrator are
|
||||
// granted those actions.
|
||||
// CreateOrUpdateAtResourceLevel when you apply a lock at a parent scope, all child resources inherit the same lock. To
|
||||
// create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/*
|
||||
// actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group containing the resource
|
||||
// to lock. resourceProviderNamespace is the resource provider namespace of the
|
||||
// resource to lock. parentResourcePath is the parent resource identity.
|
||||
// resourceType is the resource type of the resource to lock. resourceName is
|
||||
// the name of the resource to lock. lockName is the name of lock. The lock
|
||||
// name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \,
|
||||
// ?, /, or any control characters. parameters is parameters for creating or
|
||||
// updating a management lock.
|
||||
// resourceGroupName is the name of the resource group containing the resource to lock. resourceProviderNamespace is
|
||||
// the resource provider namespace of the resource to lock. parentResourcePath is the parent resource identity.
|
||||
// resourceType is the resource type of the resource to lock. resourceName is the name of the resource to lock.
|
||||
// lockName is the name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \,
|
||||
// ?, /, or any control characters. parameters is parameters for creating or updating a management lock.
|
||||
func (client ManagementLocksClient) CreateOrUpdateAtResourceLevel(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string, parameters ManagementLockObject) (result ManagementLockObject, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: resourceGroupName,
|
||||
@@ -219,15 +209,13 @@ func (client ManagementLocksClient) CreateOrUpdateAtResourceLevelResponder(resp
|
||||
return
|
||||
}
|
||||
|
||||
// CreateOrUpdateAtSubscriptionLevel when you apply a lock at a parent scope,
|
||||
// all child resources inherit the same lock. To create management locks, you
|
||||
// must have access to Microsoft.Authorization/* or
|
||||
// Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner
|
||||
// and User Access Administrator are granted those actions.
|
||||
// CreateOrUpdateAtSubscriptionLevel when you apply a lock at a parent scope, all child resources inherit the same
|
||||
// lock. To create management locks, you must have access to Microsoft.Authorization/* or
|
||||
// Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted
|
||||
// those actions.
|
||||
//
|
||||
// lockName is the name of lock. The lock name can be a maximum of 260
|
||||
// characters. It cannot contain <, > %, &, :, \, ?, /, or any control
|
||||
// characters. parameters is the management lock parameters.
|
||||
// lockName is the name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \,
|
||||
// ?, /, or any control characters. parameters is the management lock parameters.
|
||||
func (client ManagementLocksClient) CreateOrUpdateAtSubscriptionLevel(lockName string, parameters ManagementLockObject) (result ManagementLockObject, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: parameters,
|
||||
@@ -299,13 +287,10 @@ func (client ManagementLocksClient) CreateOrUpdateAtSubscriptionLevelResponder(r
|
||||
|
||||
// CreateOrUpdateByScope create or update a management lock by scope.
|
||||
//
|
||||
// scope is the scope for the lock. When providing a scope for the assignment,
|
||||
// use '/subscriptions/{subscriptionId}' for subscriptions,
|
||||
// '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for
|
||||
// resource groups, and
|
||||
// scope is the scope for the lock. When providing a scope for the assignment, use '/subscriptions/{subscriptionId}'
|
||||
// for subscriptions, '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and
|
||||
// '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}'
|
||||
// for resources. lockName is the name of lock. parameters is create or update
|
||||
// management lock parameters.
|
||||
// for resources. lockName is the name of lock. parameters is create or update management lock parameters.
|
||||
func (client ManagementLocksClient) CreateOrUpdateByScope(scope string, lockName string, parameters ManagementLockObject) (result ManagementLockObject, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: parameters,
|
||||
@@ -375,13 +360,11 @@ func (client ManagementLocksClient) CreateOrUpdateByScopeResponder(resp *http.Re
|
||||
return
|
||||
}
|
||||
|
||||
// DeleteAtResourceGroupLevel to delete management locks, you must have access
|
||||
// to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of
|
||||
// the built-in roles, only Owner and User Access Administrator are granted
|
||||
// DeleteAtResourceGroupLevel to delete management locks, you must have access to Microsoft.Authorization/* or
|
||||
// Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted
|
||||
// those actions.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group containing the lock.
|
||||
// lockName is the name of lock to delete.
|
||||
// resourceGroupName is the name of the resource group containing the lock. lockName is the name of lock to delete.
|
||||
func (client ManagementLocksClient) DeleteAtResourceGroupLevel(resourceGroupName string, lockName string) (result autorest.Response, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: resourceGroupName,
|
||||
@@ -451,17 +434,15 @@ func (client ManagementLocksClient) DeleteAtResourceGroupLevelResponder(resp *ht
|
||||
return
|
||||
}
|
||||
|
||||
// DeleteAtResourceLevel to delete management locks, you must have access to
|
||||
// Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the
|
||||
// built-in roles, only Owner and User Access Administrator are granted those
|
||||
// actions.
|
||||
// DeleteAtResourceLevel to delete management locks, you must have access to Microsoft.Authorization/* or
|
||||
// Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted
|
||||
// those actions.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group containing the resource
|
||||
// with the lock to delete. resourceProviderNamespace is the resource provider
|
||||
// namespace of the resource with the lock to delete. parentResourcePath is the
|
||||
// parent resource identity. resourceType is the resource type of the resource
|
||||
// with the lock to delete. resourceName is the name of the resource with the
|
||||
// lock to delete. lockName is the name of the lock to delete.
|
||||
// resourceGroupName is the name of the resource group containing the resource with the lock to delete.
|
||||
// resourceProviderNamespace is the resource provider namespace of the resource with the lock to delete.
|
||||
// parentResourcePath is the parent resource identity. resourceType is the resource type of the resource with the lock
|
||||
// to delete. resourceName is the name of the resource with the lock to delete. lockName is the name of the lock to
|
||||
// delete.
|
||||
func (client ManagementLocksClient) DeleteAtResourceLevel(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string) (result autorest.Response, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: resourceGroupName,
|
||||
@@ -535,9 +516,8 @@ func (client ManagementLocksClient) DeleteAtResourceLevelResponder(resp *http.Re
|
||||
return
|
||||
}
|
||||
|
||||
// DeleteAtSubscriptionLevel to delete management locks, you must have access
|
||||
// to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of
|
||||
// the built-in roles, only Owner and User Access Administrator are granted
|
||||
// DeleteAtSubscriptionLevel to delete management locks, you must have access to Microsoft.Authorization/* or
|
||||
// Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted
|
||||
// those actions.
|
||||
//
|
||||
// lockName is the name of lock to delete.
|
||||
@@ -666,8 +646,7 @@ func (client ManagementLocksClient) DeleteByScopeResponder(resp *http.Response)
|
||||
|
||||
// GetAtResourceGroupLevel gets a management lock at the resource group level.
|
||||
//
|
||||
// resourceGroupName is the name of the locked resource group. lockName is the
|
||||
// name of the lock to get.
|
||||
// resourceGroupName is the name of the locked resource group. lockName is the name of the lock to get.
|
||||
func (client ManagementLocksClient) GetAtResourceGroupLevel(resourceGroupName string, lockName string) (result ManagementLockObject, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: resourceGroupName,
|
||||
@@ -738,14 +717,11 @@ func (client ManagementLocksClient) GetAtResourceGroupLevelResponder(resp *http.
|
||||
return
|
||||
}
|
||||
|
||||
// GetAtResourceLevel get the management lock of a resource or any level below
|
||||
// resource.
|
||||
// GetAtResourceLevel get the management lock of a resource or any level below resource.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group.
|
||||
// resourceProviderNamespace is the namespace of the resource provider.
|
||||
// parentResourcePath is an extra path parameter needed in some services, like
|
||||
// SQL Databases. resourceType is the type of the resource. resourceName is the
|
||||
// name of the resource. lockName is the name of lock.
|
||||
// resourceGroupName is the name of the resource group. resourceProviderNamespace is the namespace of the resource
|
||||
// provider. parentResourcePath is an extra path parameter needed in some services, like SQL Databases. resourceType is
|
||||
// the type of the resource. resourceName is the name of the resource. lockName is the name of lock.
|
||||
func (client ManagementLocksClient) GetAtResourceLevel(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string) (result ManagementLockObject, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: resourceGroupName,
|
||||
@@ -950,8 +926,8 @@ func (client ManagementLocksClient) GetByScopeResponder(resp *http.Response) (re
|
||||
|
||||
// ListAtResourceGroupLevel gets all the management locks for a resource group.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group containing the locks to
|
||||
// get. filter is the filter to apply on the operation.
|
||||
// resourceGroupName is the name of the resource group containing the locks to get. filter is the filter to apply on
|
||||
// the operation.
|
||||
func (client ManagementLocksClient) ListAtResourceGroupLevel(resourceGroupName string, filter string) (result ManagementLockListResult, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: resourceGroupName,
|
||||
@@ -1048,15 +1024,57 @@ func (client ManagementLocksClient) ListAtResourceGroupLevelNextResults(lastResu
|
||||
return
|
||||
}
|
||||
|
||||
// ListAtResourceLevel gets all the management locks for a resource or any
|
||||
// level below resource.
|
||||
// ListAtResourceGroupLevelComplete gets all elements from the list without paging.
|
||||
func (client ManagementLocksClient) ListAtResourceGroupLevelComplete(resourceGroupName string, filter string, cancel <-chan struct{}) (<-chan ManagementLockObject, <-chan error) {
|
||||
resultChan := make(chan ManagementLockObject)
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
defer func() {
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
list, err := client.ListAtResourceGroupLevel(resourceGroupName, filter)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
for list.NextLink != nil {
|
||||
list, err = client.ListAtResourceGroupLevelNextResults(list)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}()
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
// ListAtResourceLevel gets all the management locks for a resource or any level below resource.
|
||||
//
|
||||
// resourceGroupName is the name of the resource group containing the locked
|
||||
// resource. The name is case insensitive. resourceProviderNamespace is the
|
||||
// namespace of the resource provider. parentResourcePath is the parent
|
||||
// resource identity. resourceType is the resource type of the locked resource.
|
||||
// resourceName is the name of the locked resource. filter is the filter to
|
||||
// apply on the operation.
|
||||
// resourceGroupName is the name of the resource group containing the locked resource. The name is case insensitive.
|
||||
// resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the parent resource
|
||||
// identity. resourceType is the resource type of the locked resource. resourceName is the name of the locked resource.
|
||||
// filter is the filter to apply on the operation.
|
||||
func (client ManagementLocksClient) ListAtResourceLevel(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (result ManagementLockListResult, err error) {
|
||||
if err := validation.Validate([]validation.Validation{
|
||||
{TargetValue: resourceGroupName,
|
||||
@@ -1157,6 +1175,51 @@ func (client ManagementLocksClient) ListAtResourceLevelNextResults(lastResults M
|
||||
return
|
||||
}
|
||||
|
||||
// ListAtResourceLevelComplete gets all elements from the list without paging.
|
||||
func (client ManagementLocksClient) ListAtResourceLevelComplete(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string, cancel <-chan struct{}) (<-chan ManagementLockObject, <-chan error) {
|
||||
resultChan := make(chan ManagementLockObject)
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
defer func() {
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
list, err := client.ListAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, filter)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
for list.NextLink != nil {
|
||||
list, err = client.ListAtResourceLevelNextResults(list)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}()
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
// ListAtSubscriptionLevel gets all the management locks for a subscription.
|
||||
//
|
||||
// filter is the filter to apply on the operation.
|
||||
@@ -1246,3 +1309,48 @@ func (client ManagementLocksClient) ListAtSubscriptionLevelNextResults(lastResul
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// ListAtSubscriptionLevelComplete gets all elements from the list without paging.
|
||||
func (client ManagementLocksClient) ListAtSubscriptionLevelComplete(filter string, cancel <-chan struct{}) (<-chan ManagementLockObject, <-chan error) {
|
||||
resultChan := make(chan ManagementLockObject)
|
||||
errChan := make(chan error, 1)
|
||||
go func() {
|
||||
defer func() {
|
||||
close(resultChan)
|
||||
close(errChan)
|
||||
}()
|
||||
list, err := client.ListAtSubscriptionLevel(filter)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
for list.NextLink != nil {
|
||||
list, err = client.ListAtSubscriptionLevelNextResults(list)
|
||||
if err != nil {
|
||||
errChan <- err
|
||||
return
|
||||
}
|
||||
if list.Value != nil {
|
||||
for _, item := range *list.Value {
|
||||
select {
|
||||
case <-cancel:
|
||||
return
|
||||
case resultChan <- item:
|
||||
// Intentionally left blank
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}()
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
+2
-3
@@ -14,9 +14,8 @@ package locks
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
|
||||
+4
-5
@@ -14,16 +14,15 @@ package locks
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v10.1.0-beta arm-locks/2016-09-01"
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-locks/2016-09-01"
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return "v10.1.0-beta"
|
||||
return "v11.0.0-beta"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user