Ydb_RateLimiter

package
v0.0.0-...-8dd88c8 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protos_ydb_rate_limiter_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AcquireResourceRequest

type AcquireResourceRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Path of a coordination node.
	CoordinationNodePath string `protobuf:"bytes,2,opt,name=coordination_node_path,json=coordinationNodePath,proto3" json:"coordination_node_path,omitempty"`
	// Path of resource inside a coordination node.
	ResourcePath string `protobuf:"bytes,3,opt,name=resource_path,json=resourcePath,proto3" json:"resource_path,omitempty"`
	// Types that are assignable to Units:
	//
	//	*AcquireResourceRequest_Required
	//	*AcquireResourceRequest_Used
	Units isAcquireResourceRequest_Units `protobuf_oneof:"units"`
	// contains filtered or unexported fields
}

func (*AcquireResourceRequest) Descriptor deprecated

func (*AcquireResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcquireResourceRequest.ProtoReflect.Descriptor instead.

func (*AcquireResourceRequest) GetCoordinationNodePath

func (x *AcquireResourceRequest) GetCoordinationNodePath() string

func (*AcquireResourceRequest) GetOperationParams

func (x *AcquireResourceRequest) GetOperationParams() *Ydb_Operations.OperationParams

func (*AcquireResourceRequest) GetRequired

func (x *AcquireResourceRequest) GetRequired() uint64

func (*AcquireResourceRequest) GetResourcePath

func (x *AcquireResourceRequest) GetResourcePath() string

func (*AcquireResourceRequest) GetUnits

func (m *AcquireResourceRequest) GetUnits() isAcquireResourceRequest_Units

func (*AcquireResourceRequest) GetUsed

func (x *AcquireResourceRequest) GetUsed() uint64

func (*AcquireResourceRequest) ProtoMessage

func (*AcquireResourceRequest) ProtoMessage()

func (*AcquireResourceRequest) ProtoReflect

func (x *AcquireResourceRequest) ProtoReflect() protoreflect.Message

func (*AcquireResourceRequest) Reset

func (x *AcquireResourceRequest) Reset()

func (*AcquireResourceRequest) String

func (x *AcquireResourceRequest) String() string

type AcquireResourceRequest_Required

type AcquireResourceRequest_Required struct {
	// Request resource's units for usage.
	Required uint64 `protobuf:"varint,4,opt,name=required,proto3,oneof"`
}

type AcquireResourceRequest_Used

type AcquireResourceRequest_Used struct {
	// Actually used resource's units by client.
	Used uint64 `protobuf:"varint,5,opt,name=used,proto3,oneof"`
}

type AcquireResourceResponse

type AcquireResourceResponse struct {

	// Holds AcquireResourceResult in case of successful call.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*AcquireResourceResponse) Descriptor deprecated

func (*AcquireResourceResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcquireResourceResponse.ProtoReflect.Descriptor instead.

func (*AcquireResourceResponse) GetOperation

func (*AcquireResourceResponse) ProtoMessage

func (*AcquireResourceResponse) ProtoMessage()

func (*AcquireResourceResponse) ProtoReflect

func (x *AcquireResourceResponse) ProtoReflect() protoreflect.Message

func (*AcquireResourceResponse) Reset

func (x *AcquireResourceResponse) Reset()

func (*AcquireResourceResponse) String

func (x *AcquireResourceResponse) String() string

type AcquireResourceResult

type AcquireResourceResult struct {
	// contains filtered or unexported fields
}

func (*AcquireResourceResult) Descriptor deprecated

func (*AcquireResourceResult) Descriptor() ([]byte, []int)

Deprecated: Use AcquireResourceResult.ProtoReflect.Descriptor instead.

func (*AcquireResourceResult) ProtoMessage

func (*AcquireResourceResult) ProtoMessage()

func (*AcquireResourceResult) ProtoReflect

func (x *AcquireResourceResult) ProtoReflect() protoreflect.Message

func (*AcquireResourceResult) Reset

func (x *AcquireResourceResult) Reset()

func (*AcquireResourceResult) String

func (x *AcquireResourceResult) String() string

type AlterResourceRequest

type AlterResourceRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Path of a coordination node.
	CoordinationNodePath string `protobuf:"bytes,2,opt,name=coordination_node_path,json=coordinationNodePath,proto3" json:"coordination_node_path,omitempty"`
	// New resource properties.
	Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterResourceRequest) Descriptor deprecated

func (*AlterResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use AlterResourceRequest.ProtoReflect.Descriptor instead.

func (*AlterResourceRequest) GetCoordinationNodePath

func (x *AlterResourceRequest) GetCoordinationNodePath() string

func (*AlterResourceRequest) GetOperationParams

func (x *AlterResourceRequest) GetOperationParams() *Ydb_Operations.OperationParams

func (*AlterResourceRequest) GetResource

func (x *AlterResourceRequest) GetResource() *Resource

func (*AlterResourceRequest) ProtoMessage

func (*AlterResourceRequest) ProtoMessage()

func (*AlterResourceRequest) ProtoReflect

func (x *AlterResourceRequest) ProtoReflect() protoreflect.Message

func (*AlterResourceRequest) Reset

func (x *AlterResourceRequest) Reset()

func (*AlterResourceRequest) String

func (x *AlterResourceRequest) String() string

type AlterResourceResponse

type AlterResourceResponse struct {

	// Holds AlterResourceResult in case of successful call.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterResourceResponse) Descriptor deprecated

func (*AlterResourceResponse) Descriptor() ([]byte, []int)

Deprecated: Use AlterResourceResponse.ProtoReflect.Descriptor instead.

func (*AlterResourceResponse) GetOperation

func (x *AlterResourceResponse) GetOperation() *Ydb_Operations.Operation

func (*AlterResourceResponse) ProtoMessage

func (*AlterResourceResponse) ProtoMessage()

func (*AlterResourceResponse) ProtoReflect

func (x *AlterResourceResponse) ProtoReflect() protoreflect.Message

func (*AlterResourceResponse) Reset

func (x *AlterResourceResponse) Reset()

func (*AlterResourceResponse) String

func (x *AlterResourceResponse) String() string

type AlterResourceResult

type AlterResourceResult struct {
	// contains filtered or unexported fields
}

func (*AlterResourceResult) Descriptor deprecated

func (*AlterResourceResult) Descriptor() ([]byte, []int)

Deprecated: Use AlterResourceResult.ProtoReflect.Descriptor instead.

func (*AlterResourceResult) ProtoMessage

func (*AlterResourceResult) ProtoMessage()

func (*AlterResourceResult) ProtoReflect

func (x *AlterResourceResult) ProtoReflect() protoreflect.Message

func (*AlterResourceResult) Reset

func (x *AlterResourceResult) Reset()

func (*AlterResourceResult) String

func (x *AlterResourceResult) String() string

type CreateResourceRequest

type CreateResourceRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Path of a coordination node.
	CoordinationNodePath string `protobuf:"bytes,2,opt,name=coordination_node_path,json=coordinationNodePath,proto3" json:"coordination_node_path,omitempty"`
	// Resource properties.
	Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceRequest) Descriptor deprecated

func (*CreateResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest) GetCoordinationNodePath

func (x *CreateResourceRequest) GetCoordinationNodePath() string

func (*CreateResourceRequest) GetOperationParams

func (x *CreateResourceRequest) GetOperationParams() *Ydb_Operations.OperationParams

func (*CreateResourceRequest) GetResource

func (x *CreateResourceRequest) GetResource() *Resource

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect

func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message

func (*CreateResourceRequest) Reset

func (x *CreateResourceRequest) Reset()

func (*CreateResourceRequest) String

func (x *CreateResourceRequest) String() string

type CreateResourceResponse

type CreateResourceResponse struct {

	// Holds CreateResourceResult in case of successful call.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceResponse) Descriptor deprecated

func (*CreateResourceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead.

func (*CreateResourceResponse) GetOperation

func (x *CreateResourceResponse) GetOperation() *Ydb_Operations.Operation

func (*CreateResourceResponse) ProtoMessage

func (*CreateResourceResponse) ProtoMessage()

func (*CreateResourceResponse) ProtoReflect

func (x *CreateResourceResponse) ProtoReflect() protoreflect.Message

func (*CreateResourceResponse) Reset

func (x *CreateResourceResponse) Reset()

func (*CreateResourceResponse) String

func (x *CreateResourceResponse) String() string

type CreateResourceResult

type CreateResourceResult struct {
	// contains filtered or unexported fields
}

func (*CreateResourceResult) Descriptor deprecated

func (*CreateResourceResult) Descriptor() ([]byte, []int)

Deprecated: Use CreateResourceResult.ProtoReflect.Descriptor instead.

func (*CreateResourceResult) ProtoMessage

func (*CreateResourceResult) ProtoMessage()

func (*CreateResourceResult) ProtoReflect

func (x *CreateResourceResult) ProtoReflect() protoreflect.Message

func (*CreateResourceResult) Reset

func (x *CreateResourceResult) Reset()

func (*CreateResourceResult) String

func (x *CreateResourceResult) String() string

type DescribeResourceRequest

type DescribeResourceRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Path of a coordination node.
	CoordinationNodePath string `protobuf:"bytes,2,opt,name=coordination_node_path,json=coordinationNodePath,proto3" json:"coordination_node_path,omitempty"`
	// Path of resource inside a coordination node.
	ResourcePath string `protobuf:"bytes,3,opt,name=resource_path,json=resourcePath,proto3" json:"resource_path,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeResourceRequest) Descriptor deprecated

func (*DescribeResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DescribeResourceRequest.ProtoReflect.Descriptor instead.

func (*DescribeResourceRequest) GetCoordinationNodePath

func (x *DescribeResourceRequest) GetCoordinationNodePath() string

func (*DescribeResourceRequest) GetOperationParams

func (x *DescribeResourceRequest) GetOperationParams() *Ydb_Operations.OperationParams

func (*DescribeResourceRequest) GetResourcePath

func (x *DescribeResourceRequest) GetResourcePath() string

func (*DescribeResourceRequest) ProtoMessage

func (*DescribeResourceRequest) ProtoMessage()

func (*DescribeResourceRequest) ProtoReflect

func (x *DescribeResourceRequest) ProtoReflect() protoreflect.Message

func (*DescribeResourceRequest) Reset

func (x *DescribeResourceRequest) Reset()

func (*DescribeResourceRequest) String

func (x *DescribeResourceRequest) String() string

type DescribeResourceResponse

type DescribeResourceResponse struct {

	// Holds DescribeResourceResult in case of successful call.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeResourceResponse) Descriptor deprecated

func (*DescribeResourceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DescribeResourceResponse.ProtoReflect.Descriptor instead.

func (*DescribeResourceResponse) GetOperation

func (*DescribeResourceResponse) ProtoMessage

func (*DescribeResourceResponse) ProtoMessage()

func (*DescribeResourceResponse) ProtoReflect

func (x *DescribeResourceResponse) ProtoReflect() protoreflect.Message

func (*DescribeResourceResponse) Reset

func (x *DescribeResourceResponse) Reset()

func (*DescribeResourceResponse) String

func (x *DescribeResourceResponse) String() string

type DescribeResourceResult

type DescribeResourceResult struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeResourceResult) Descriptor deprecated

func (*DescribeResourceResult) Descriptor() ([]byte, []int)

Deprecated: Use DescribeResourceResult.ProtoReflect.Descriptor instead.

func (*DescribeResourceResult) GetResource

func (x *DescribeResourceResult) GetResource() *Resource

func (*DescribeResourceResult) ProtoMessage

func (*DescribeResourceResult) ProtoMessage()

func (*DescribeResourceResult) ProtoReflect

func (x *DescribeResourceResult) ProtoReflect() protoreflect.Message

func (*DescribeResourceResult) Reset

func (x *DescribeResourceResult) Reset()

func (*DescribeResourceResult) String

func (x *DescribeResourceResult) String() string

type DropResourceRequest

type DropResourceRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Path of a coordination node.
	CoordinationNodePath string `protobuf:"bytes,2,opt,name=coordination_node_path,json=coordinationNodePath,proto3" json:"coordination_node_path,omitempty"`
	// Path of resource inside a coordination node.
	ResourcePath string `protobuf:"bytes,3,opt,name=resource_path,json=resourcePath,proto3" json:"resource_path,omitempty"`
	// contains filtered or unexported fields
}

func (*DropResourceRequest) Descriptor deprecated

func (*DropResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DropResourceRequest.ProtoReflect.Descriptor instead.

func (*DropResourceRequest) GetCoordinationNodePath

func (x *DropResourceRequest) GetCoordinationNodePath() string

func (*DropResourceRequest) GetOperationParams

func (x *DropResourceRequest) GetOperationParams() *Ydb_Operations.OperationParams

func (*DropResourceRequest) GetResourcePath

func (x *DropResourceRequest) GetResourcePath() string

func (*DropResourceRequest) ProtoMessage

func (*DropResourceRequest) ProtoMessage()

func (*DropResourceRequest) ProtoReflect

func (x *DropResourceRequest) ProtoReflect() protoreflect.Message

func (*DropResourceRequest) Reset

func (x *DropResourceRequest) Reset()

func (*DropResourceRequest) String

func (x *DropResourceRequest) String() string

type DropResourceResponse

type DropResourceResponse struct {

	// Holds DropResourceResult in case of successful call.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*DropResourceResponse) Descriptor deprecated

func (*DropResourceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DropResourceResponse.ProtoReflect.Descriptor instead.

func (*DropResourceResponse) GetOperation

func (x *DropResourceResponse) GetOperation() *Ydb_Operations.Operation

func (*DropResourceResponse) ProtoMessage

func (*DropResourceResponse) ProtoMessage()

func (*DropResourceResponse) ProtoReflect

func (x *DropResourceResponse) ProtoReflect() protoreflect.Message

func (*DropResourceResponse) Reset

func (x *DropResourceResponse) Reset()

func (*DropResourceResponse) String

func (x *DropResourceResponse) String() string

type DropResourceResult

type DropResourceResult struct {
	// contains filtered or unexported fields
}

func (*DropResourceResult) Descriptor deprecated

func (*DropResourceResult) Descriptor() ([]byte, []int)

Deprecated: Use DropResourceResult.ProtoReflect.Descriptor instead.

func (*DropResourceResult) ProtoMessage

func (*DropResourceResult) ProtoMessage()

func (*DropResourceResult) ProtoReflect

func (x *DropResourceResult) ProtoReflect() protoreflect.Message

func (*DropResourceResult) Reset

func (x *DropResourceResult) Reset()

func (*DropResourceResult) String

func (x *DropResourceResult) String() string

type HierarchicalDrrSettings

type HierarchicalDrrSettings struct {

	// Resource consumption speed limit.
	// Value is required for root resource.
	// 0 is equivalent to not set.
	// Must be nonnegative.
	MaxUnitsPerSecond float64 `protobuf:"fixed64,1,opt,name=max_units_per_second,json=maxUnitsPerSecond,proto3" json:"max_units_per_second,omitempty"`
	// Maximum burst size of resource consumption across the whole cluster
	// divided by max_units_per_second.
	// Default value is 1.
	// This means that maximum burst size might be equal to max_units_per_second.
	// 0 is equivalent to not set.
	// Must be nonnegative.
	MaxBurstSizeCoefficient float64 `` /* 136-byte string literal not displayed */
	// Prefetch in local bucket up to prefetch_coefficient*max_units_per_second units (full size).
	// Default value is inherited from parent or 0.2 for root.
	// Disables prefetching if any negative value is set
	// (It is useful to avoid bursts in case of large number of local buckets).
	PrefetchCoefficient float64 `protobuf:"fixed64,3,opt,name=prefetch_coefficient,json=prefetchCoefficient,proto3" json:"prefetch_coefficient,omitempty"`
	// Prefetching starts if there is less than prefetch_watermark fraction of full local bucket left.
	// Default value is inherited from parent or 0.75 for root.
	// Must be nonnegative and less than or equal to 1.
	PrefetchWatermark float64 `protobuf:"fixed64,4,opt,name=prefetch_watermark,json=prefetchWatermark,proto3" json:"prefetch_watermark,omitempty"`
	// contains filtered or unexported fields
}

Settings for hierarchical deficit round robin (HDRR) algorithm.

func (*HierarchicalDrrSettings) Descriptor deprecated

func (*HierarchicalDrrSettings) Descriptor() ([]byte, []int)

Deprecated: Use HierarchicalDrrSettings.ProtoReflect.Descriptor instead.

func (*HierarchicalDrrSettings) GetMaxBurstSizeCoefficient

func (x *HierarchicalDrrSettings) GetMaxBurstSizeCoefficient() float64

func (*HierarchicalDrrSettings) GetMaxUnitsPerSecond

func (x *HierarchicalDrrSettings) GetMaxUnitsPerSecond() float64

func (*HierarchicalDrrSettings) GetPrefetchCoefficient

func (x *HierarchicalDrrSettings) GetPrefetchCoefficient() float64

func (*HierarchicalDrrSettings) GetPrefetchWatermark

func (x *HierarchicalDrrSettings) GetPrefetchWatermark() float64

func (*HierarchicalDrrSettings) ProtoMessage

func (*HierarchicalDrrSettings) ProtoMessage()

func (*HierarchicalDrrSettings) ProtoReflect

func (x *HierarchicalDrrSettings) ProtoReflect() protoreflect.Message

func (*HierarchicalDrrSettings) Reset

func (x *HierarchicalDrrSettings) Reset()

func (*HierarchicalDrrSettings) String

func (x *HierarchicalDrrSettings) String() string

type ListResourcesRequest

type ListResourcesRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Path of a coordination node.
	CoordinationNodePath string `protobuf:"bytes,2,opt,name=coordination_node_path,json=coordinationNodePath,proto3" json:"coordination_node_path,omitempty"`
	// Path of resource inside a coordination node.
	// May be empty.
	// In that case all root resources will be listed.
	ResourcePath string `protobuf:"bytes,3,opt,name=resource_path,json=resourcePath,proto3" json:"resource_path,omitempty"`
	// List resources recursively.
	Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesRequest) Descriptor deprecated

func (*ListResourcesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListResourcesRequest) GetCoordinationNodePath

func (x *ListResourcesRequest) GetCoordinationNodePath() string

func (*ListResourcesRequest) GetOperationParams

func (x *ListResourcesRequest) GetOperationParams() *Ydb_Operations.OperationParams

func (*ListResourcesRequest) GetRecursive

func (x *ListResourcesRequest) GetRecursive() bool

func (*ListResourcesRequest) GetResourcePath

func (x *ListResourcesRequest) GetResourcePath() string

func (*ListResourcesRequest) ProtoMessage

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) ProtoReflect

func (x *ListResourcesRequest) ProtoReflect() protoreflect.Message

func (*ListResourcesRequest) Reset

func (x *ListResourcesRequest) Reset()

func (*ListResourcesRequest) String

func (x *ListResourcesRequest) String() string

type ListResourcesResponse

type ListResourcesResponse struct {

	// Holds ListResourcesResult in case of successful call.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResponse) Descriptor deprecated

func (*ListResourcesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetOperation

func (x *ListResourcesResponse) GetOperation() *Ydb_Operations.Operation

func (*ListResourcesResponse) ProtoMessage

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect

func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message

func (*ListResourcesResponse) Reset

func (x *ListResourcesResponse) Reset()

func (*ListResourcesResponse) String

func (x *ListResourcesResponse) String() string

type ListResourcesResult

type ListResourcesResult struct {
	ResourcePaths []string `protobuf:"bytes,1,rep,name=resource_paths,json=resourcePaths,proto3" json:"resource_paths,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResult) Descriptor deprecated

func (*ListResourcesResult) Descriptor() ([]byte, []int)

Deprecated: Use ListResourcesResult.ProtoReflect.Descriptor instead.

func (*ListResourcesResult) GetResourcePaths

func (x *ListResourcesResult) GetResourcePaths() []string

func (*ListResourcesResult) ProtoMessage

func (*ListResourcesResult) ProtoMessage()

func (*ListResourcesResult) ProtoReflect

func (x *ListResourcesResult) ProtoReflect() protoreflect.Message

func (*ListResourcesResult) Reset

func (x *ListResourcesResult) Reset()

func (*ListResourcesResult) String

func (x *ListResourcesResult) String() string

type Resource

type Resource struct {

	// Resource path. Elements are separated by slash.
	// The first symbol is not slash.
	// The first element is root resource name.
	// Resource path is the path of resource inside coordination node.
	ResourcePath string `protobuf:"bytes,1,opt,name=resource_path,json=resourcePath,proto3" json:"resource_path,omitempty"`
	// Types that are assignable to Type:
	//
	//	*Resource_HierarchicalDrr
	Type isResource_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Rate limiter resource description.

func (*Resource) Descriptor deprecated

func (*Resource) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetHierarchicalDrr

func (x *Resource) GetHierarchicalDrr() *HierarchicalDrrSettings

func (*Resource) GetResourcePath

func (x *Resource) GetResourcePath() string

func (*Resource) GetType

func (m *Resource) GetType() isResource_Type

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type Resource_HierarchicalDrr

type Resource_HierarchicalDrr struct {
	// Settings for Hierarchical DRR algorithm.
	HierarchicalDrr *HierarchicalDrrSettings `protobuf:"bytes,2,opt,name=hierarchical_drr,json=hierarchicalDrr,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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