package Ydb_DynamicConfig

import "github.com/ydb-platform/ydb-go-genproto/draft/protos/Ydb_DynamicConfig"

Index

Variables

var (
	YamlLabelExt_LabelType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "COMMON",
		2: "NOT_SET",
		3: "EMPTY",
	}
	YamlLabelExt_LabelType_value = map[string]int32{
		"UNSPECIFIED": 0,
		"COMMON":      1,
		"NOT_SET":     2,
		"EMPTY":       3,
	}
)

Enum value maps for YamlLabelExt_LabelType.

var File_draft_protos_ydb_dynamic_config_proto protoreflect.FileDescriptor

Types

type AddVolatileConfigRequest

type AddVolatileConfigRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Config id must strictly be set to the current max config id increment by one.
	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*AddVolatileConfigRequest) Descriptor

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

Deprecated: Use AddVolatileConfigRequest.ProtoReflect.Descriptor instead.

func (*AddVolatileConfigRequest) GetConfig

func (x *AddVolatileConfigRequest) GetConfig() string

func (*AddVolatileConfigRequest) GetOperationParams

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

func (*AddVolatileConfigRequest) ProtoMessage

func (*AddVolatileConfigRequest) ProtoMessage()

func (*AddVolatileConfigRequest) ProtoReflect

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

func (*AddVolatileConfigRequest) Reset

func (x *AddVolatileConfigRequest) Reset()

func (*AddVolatileConfigRequest) String

func (x *AddVolatileConfigRequest) String() string

type AddVolatileConfigResponse

type AddVolatileConfigResponse struct {
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*AddVolatileConfigResponse) Descriptor

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

Deprecated: Use AddVolatileConfigResponse.ProtoReflect.Descriptor instead.

func (*AddVolatileConfigResponse) GetOperation

func (*AddVolatileConfigResponse) ProtoMessage

func (*AddVolatileConfigResponse) ProtoMessage()

func (*AddVolatileConfigResponse) ProtoReflect

func (*AddVolatileConfigResponse) Reset

func (x *AddVolatileConfigResponse) Reset()

func (*AddVolatileConfigResponse) String

func (x *AddVolatileConfigResponse) String() string

type ConfigIdentity

type ConfigIdentity struct {

	// Current main config version
	Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// Cluster name (should be set on node with console tablet, unknown by default)
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigIdentity) Descriptor

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

Deprecated: Use ConfigIdentity.ProtoReflect.Descriptor instead.

func (*ConfigIdentity) GetCluster

func (x *ConfigIdentity) GetCluster() string

func (*ConfigIdentity) GetVersion

func (x *ConfigIdentity) GetVersion() uint64

func (*ConfigIdentity) ProtoMessage

func (*ConfigIdentity) ProtoMessage()

func (*ConfigIdentity) ProtoReflect

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

func (*ConfigIdentity) Reset

func (x *ConfigIdentity) Reset()

func (*ConfigIdentity) String

func (x *ConfigIdentity) String() string

type DropConfigRequest

type DropConfigRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	Identity        *ConfigIdentity                 `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*DropConfigRequest) Descriptor

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

Deprecated: Use DropConfigRequest.ProtoReflect.Descriptor instead.

func (*DropConfigRequest) GetIdentity

func (x *DropConfigRequest) GetIdentity() *ConfigIdentity

func (*DropConfigRequest) GetOperationParams

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

func (*DropConfigRequest) ProtoMessage

func (*DropConfigRequest) ProtoMessage()

func (*DropConfigRequest) ProtoReflect

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

func (*DropConfigRequest) Reset

func (x *DropConfigRequest) Reset()

func (*DropConfigRequest) String

func (x *DropConfigRequest) String() string

type DropConfigResponse

type DropConfigResponse struct {
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*DropConfigResponse) Descriptor

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

Deprecated: Use DropConfigResponse.ProtoReflect.Descriptor instead.

func (*DropConfigResponse) GetOperation

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

func (*DropConfigResponse) ProtoMessage

func (*DropConfigResponse) ProtoMessage()

func (*DropConfigResponse) ProtoReflect

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

func (*DropConfigResponse) Reset

func (x *DropConfigResponse) Reset()

func (*DropConfigResponse) String

func (x *DropConfigResponse) String() string

type GetConfigRequest

type GetConfigRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigRequest) Descriptor

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

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) GetOperationParams

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

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect

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

func (*GetConfigRequest) Reset

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) String

func (x *GetConfigRequest) String() string

type GetConfigResponse

type GetConfigResponse struct {

	// Result of request will be inside operation.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigResponse) Descriptor

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

Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.

func (*GetConfigResponse) GetOperation

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

func (*GetConfigResponse) ProtoMessage

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) ProtoReflect

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

func (*GetConfigResponse) Reset

func (x *GetConfigResponse) Reset()

func (*GetConfigResponse) String

func (x *GetConfigResponse) String() string

type GetConfigResult

type GetConfigResult struct {

	// Main dynamic config with metadata in YAML format
	Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// All volatile configs
	VolatileConfigs []*VolatileConfig `protobuf:"bytes,2,rep,name=volatile_configs,json=volatileConfigs,proto3" json:"volatile_configs,omitempty"`
	Identity        *ConfigIdentity   `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigResult) Descriptor

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

Deprecated: Use GetConfigResult.ProtoReflect.Descriptor instead.

func (*GetConfigResult) GetConfig

func (x *GetConfigResult) GetConfig() string

func (*GetConfigResult) GetIdentity

func (x *GetConfigResult) GetIdentity() *ConfigIdentity

func (*GetConfigResult) GetVolatileConfigs

func (x *GetConfigResult) GetVolatileConfigs() []*VolatileConfig

func (*GetConfigResult) ProtoMessage

func (*GetConfigResult) ProtoMessage()

func (*GetConfigResult) ProtoReflect

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

func (*GetConfigResult) Reset

func (x *GetConfigResult) Reset()

func (*GetConfigResult) String

func (x *GetConfigResult) String() string

type GetMetadataRequest

type GetMetadataRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMetadataRequest) Descriptor

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

Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetMetadataRequest) GetOperationParams

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

func (*GetMetadataRequest) ProtoMessage

func (*GetMetadataRequest) ProtoMessage()

func (*GetMetadataRequest) ProtoReflect

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

func (*GetMetadataRequest) Reset

func (x *GetMetadataRequest) Reset()

func (*GetMetadataRequest) String

func (x *GetMetadataRequest) String() string

type GetMetadataResponse

type GetMetadataResponse struct {

	// Result of request will be inside operation.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMetadataResponse) Descriptor

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

Deprecated: Use GetMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetMetadataResponse) GetOperation

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

func (*GetMetadataResponse) ProtoMessage

func (*GetMetadataResponse) ProtoMessage()

func (*GetMetadataResponse) ProtoReflect

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

func (*GetMetadataResponse) Reset

func (x *GetMetadataResponse) Reset()

func (*GetMetadataResponse) String

func (x *GetMetadataResponse) String() string

type GetMetadataResult

type GetMetadataResult struct {

	// Main dynamic config metadata in YAML format
	Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// All volatile configs
	VolatileConfigs []*VolatileConfigMetadata `protobuf:"bytes,2,rep,name=volatile_configs,json=volatileConfigs,proto3" json:"volatile_configs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMetadataResult) Descriptor

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

Deprecated: Use GetMetadataResult.ProtoReflect.Descriptor instead.

func (*GetMetadataResult) GetMetadata

func (x *GetMetadataResult) GetMetadata() string

func (*GetMetadataResult) GetVolatileConfigs

func (x *GetMetadataResult) GetVolatileConfigs() []*VolatileConfigMetadata

func (*GetMetadataResult) ProtoMessage

func (*GetMetadataResult) ProtoMessage()

func (*GetMetadataResult) ProtoReflect

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

func (*GetMetadataResult) Reset

func (x *GetMetadataResult) Reset()

func (*GetMetadataResult) String

func (x *GetMetadataResult) String() string

type GetNodeLabelsRequest

type GetNodeLabelsRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	NodeId          uint32                          `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeLabelsRequest) Descriptor

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

Deprecated: Use GetNodeLabelsRequest.ProtoReflect.Descriptor instead.

func (*GetNodeLabelsRequest) GetNodeId

func (x *GetNodeLabelsRequest) GetNodeId() uint32

func (*GetNodeLabelsRequest) GetOperationParams

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

func (*GetNodeLabelsRequest) ProtoMessage

func (*GetNodeLabelsRequest) ProtoMessage()

func (*GetNodeLabelsRequest) ProtoReflect

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

func (*GetNodeLabelsRequest) Reset

func (x *GetNodeLabelsRequest) Reset()

func (*GetNodeLabelsRequest) String

func (x *GetNodeLabelsRequest) String() string

type GetNodeLabelsResponse

type GetNodeLabelsResponse struct {

	// Result of request will be inside operation.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeLabelsResponse) Descriptor

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

Deprecated: Use GetNodeLabelsResponse.ProtoReflect.Descriptor instead.

func (*GetNodeLabelsResponse) GetOperation

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

func (*GetNodeLabelsResponse) ProtoMessage

func (*GetNodeLabelsResponse) ProtoMessage()

func (*GetNodeLabelsResponse) ProtoReflect

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

func (*GetNodeLabelsResponse) Reset

func (x *GetNodeLabelsResponse) Reset()

func (*GetNodeLabelsResponse) String

func (x *GetNodeLabelsResponse) String() string

type GetNodeLabelsResult

type GetNodeLabelsResult struct {

	// Labels of a node
	Labels []*YamlLabel `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeLabelsResult) Descriptor

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

Deprecated: Use GetNodeLabelsResult.ProtoReflect.Descriptor instead.

func (*GetNodeLabelsResult) GetLabels

func (x *GetNodeLabelsResult) GetLabels() []*YamlLabel

func (*GetNodeLabelsResult) ProtoMessage

func (*GetNodeLabelsResult) ProtoMessage()

func (*GetNodeLabelsResult) ProtoReflect

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

func (*GetNodeLabelsResult) Reset

func (x *GetNodeLabelsResult) Reset()

func (*GetNodeLabelsResult) String

func (x *GetNodeLabelsResult) String() string

type LabelSet

type LabelSet struct {

	// labels for which the config are applicable
	Labels []*YamlLabelExt `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*LabelSet) Descriptor

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

Deprecated: Use LabelSet.ProtoReflect.Descriptor instead.

func (*LabelSet) GetLabels

func (x *LabelSet) GetLabels() []*YamlLabelExt

func (*LabelSet) ProtoMessage

func (*LabelSet) ProtoMessage()

func (*LabelSet) ProtoReflect

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

func (*LabelSet) Reset

func (x *LabelSet) Reset()

func (*LabelSet) String

func (x *LabelSet) String() string

type RemoveVolatileConfigRequest

type RemoveVolatileConfigRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Types that are assignable to ConsistencyCheck:
	//
	//	*RemoveVolatileConfigRequest_Identity
	//	*RemoveVolatileConfigRequest_Force
	ConsistencyCheck isRemoveVolatileConfigRequest_ConsistencyCheck `protobuf_oneof:"consistency_check"`
	// Ids to delete
	//
	// Types that are assignable to Selector:
	//
	//	*RemoveVolatileConfigRequest_Ids
	//	*RemoveVolatileConfigRequest_All
	Selector isRemoveVolatileConfigRequest_Selector `protobuf_oneof:"selector"`
	// contains filtered or unexported fields
}

func (*RemoveVolatileConfigRequest) Descriptor

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

Deprecated: Use RemoveVolatileConfigRequest.ProtoReflect.Descriptor instead.

func (*RemoveVolatileConfigRequest) GetAll

func (x *RemoveVolatileConfigRequest) GetAll() bool

func (*RemoveVolatileConfigRequest) GetConsistencyCheck

func (m *RemoveVolatileConfigRequest) GetConsistencyCheck() isRemoveVolatileConfigRequest_ConsistencyCheck

func (*RemoveVolatileConfigRequest) GetForce

func (x *RemoveVolatileConfigRequest) GetForce() bool

func (*RemoveVolatileConfigRequest) GetIdentity

func (x *RemoveVolatileConfigRequest) GetIdentity() *ConfigIdentity

func (*RemoveVolatileConfigRequest) GetIds

func (*RemoveVolatileConfigRequest) GetOperationParams

func (*RemoveVolatileConfigRequest) GetSelector

func (m *RemoveVolatileConfigRequest) GetSelector() isRemoveVolatileConfigRequest_Selector

func (*RemoveVolatileConfigRequest) ProtoMessage

func (*RemoveVolatileConfigRequest) ProtoMessage()

func (*RemoveVolatileConfigRequest) ProtoReflect

func (*RemoveVolatileConfigRequest) Reset

func (x *RemoveVolatileConfigRequest) Reset()

func (*RemoveVolatileConfigRequest) String

func (x *RemoveVolatileConfigRequest) String() string

type RemoveVolatileConfigRequest_All

type RemoveVolatileConfigRequest_All struct {
	// Delete all
	All bool `protobuf:"varint,5,opt,name=all,proto3,oneof"`
}

type RemoveVolatileConfigRequest_Force

type RemoveVolatileConfigRequest_Force struct {
	// Ignore version and cluster checks
	Force bool `protobuf:"varint,3,opt,name=force,proto3,oneof"`
}

type RemoveVolatileConfigRequest_Identity

type RemoveVolatileConfigRequest_Identity struct {
	Identity *ConfigIdentity `protobuf:"bytes,2,opt,name=identity,proto3,oneof"`
}

type RemoveVolatileConfigRequest_Ids

type RemoveVolatileConfigRequest_Ids struct {
	// Explicit list of ids
	Ids *RemoveVolatileConfigRequest_IdsToDelete `protobuf:"bytes,4,opt,name=ids,proto3,oneof"`
}

type RemoveVolatileConfigRequest_IdsToDelete

type RemoveVolatileConfigRequest_IdsToDelete struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVolatileConfigRequest_IdsToDelete) Descriptor

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

Deprecated: Use RemoveVolatileConfigRequest_IdsToDelete.ProtoReflect.Descriptor instead.

func (*RemoveVolatileConfigRequest_IdsToDelete) GetIds

func (*RemoveVolatileConfigRequest_IdsToDelete) ProtoMessage

func (*RemoveVolatileConfigRequest_IdsToDelete) ProtoReflect

func (*RemoveVolatileConfigRequest_IdsToDelete) Reset

func (*RemoveVolatileConfigRequest_IdsToDelete) String

type RemoveVolatileConfigResponse

type RemoveVolatileConfigResponse struct {
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVolatileConfigResponse) Descriptor

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

Deprecated: Use RemoveVolatileConfigResponse.ProtoReflect.Descriptor instead.

func (*RemoveVolatileConfigResponse) GetOperation

func (*RemoveVolatileConfigResponse) ProtoMessage

func (*RemoveVolatileConfigResponse) ProtoMessage()

func (*RemoveVolatileConfigResponse) ProtoReflect

func (*RemoveVolatileConfigResponse) Reset

func (x *RemoveVolatileConfigResponse) Reset()

func (*RemoveVolatileConfigResponse) String

type ReplaceConfigRequest

type ReplaceConfigRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Config in YAML format
	Config             string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	DryRun             bool   `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	AllowUnknownFields bool   `protobuf:"varint,4,opt,name=allow_unknown_fields,json=allowUnknownFields,proto3" json:"allow_unknown_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplaceConfigRequest) Descriptor

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

Deprecated: Use ReplaceConfigRequest.ProtoReflect.Descriptor instead.

func (*ReplaceConfigRequest) GetAllowUnknownFields

func (x *ReplaceConfigRequest) GetAllowUnknownFields() bool

func (*ReplaceConfigRequest) GetConfig

func (x *ReplaceConfigRequest) GetConfig() string

func (*ReplaceConfigRequest) GetDryRun

func (x *ReplaceConfigRequest) GetDryRun() bool

func (*ReplaceConfigRequest) GetOperationParams

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

func (*ReplaceConfigRequest) ProtoMessage

func (*ReplaceConfigRequest) ProtoMessage()

func (*ReplaceConfigRequest) ProtoReflect

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

func (*ReplaceConfigRequest) Reset

func (x *ReplaceConfigRequest) Reset()

func (*ReplaceConfigRequest) String

func (x *ReplaceConfigRequest) String() string

type ReplaceConfigResponse

type ReplaceConfigResponse struct {
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplaceConfigResponse) Descriptor

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

Deprecated: Use ReplaceConfigResponse.ProtoReflect.Descriptor instead.

func (*ReplaceConfigResponse) GetOperation

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

func (*ReplaceConfigResponse) ProtoMessage

func (*ReplaceConfigResponse) ProtoMessage()

func (*ReplaceConfigResponse) ProtoReflect

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

func (*ReplaceConfigResponse) Reset

func (x *ReplaceConfigResponse) Reset()

func (*ReplaceConfigResponse) String

func (x *ReplaceConfigResponse) String() string

type ResolveAllConfigRequest

type ResolveAllConfigRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Config to resolve
	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// Additional configs which will be apended to selectors
	VolatileConfigs []*VolatileConfig `protobuf:"bytes,3,rep,name=volatile_configs,json=volatileConfigs,proto3" json:"volatile_configs,omitempty"`
	// Either send YAML stream in config field or separate configs in configs field
	VerboseResponse bool `protobuf:"varint,4,opt,name=verbose_response,json=verboseResponse,proto3" json:"verbose_response,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveAllConfigRequest) Descriptor

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

Deprecated: Use ResolveAllConfigRequest.ProtoReflect.Descriptor instead.

func (*ResolveAllConfigRequest) GetConfig

func (x *ResolveAllConfigRequest) GetConfig() string

func (*ResolveAllConfigRequest) GetOperationParams

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

func (*ResolveAllConfigRequest) GetVerboseResponse

func (x *ResolveAllConfigRequest) GetVerboseResponse() bool

func (*ResolveAllConfigRequest) GetVolatileConfigs

func (x *ResolveAllConfigRequest) GetVolatileConfigs() []*VolatileConfig

func (*ResolveAllConfigRequest) ProtoMessage

func (*ResolveAllConfigRequest) ProtoMessage()

func (*ResolveAllConfigRequest) ProtoReflect

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

func (*ResolveAllConfigRequest) Reset

func (x *ResolveAllConfigRequest) Reset()

func (*ResolveAllConfigRequest) String

func (x *ResolveAllConfigRequest) String() string

type ResolveAllConfigResponse

type ResolveAllConfigResponse struct {

	// Result of request will be inside operation.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveAllConfigResponse) Descriptor

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

Deprecated: Use ResolveAllConfigResponse.ProtoReflect.Descriptor instead.

func (*ResolveAllConfigResponse) GetOperation

func (*ResolveAllConfigResponse) ProtoMessage

func (*ResolveAllConfigResponse) ProtoMessage()

func (*ResolveAllConfigResponse) ProtoReflect

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

func (*ResolveAllConfigResponse) Reset

func (x *ResolveAllConfigResponse) Reset()

func (*ResolveAllConfigResponse) String

func (x *ResolveAllConfigResponse) String() string

type ResolveAllConfigResult

type ResolveAllConfigResult struct {

	// YAML stream with resolved configs
	// Label combinations shown in comments
	Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// Verbose resolved configs
	Configs []*ResolvedConfig `protobuf:"bytes,2,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveAllConfigResult) Descriptor

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

Deprecated: Use ResolveAllConfigResult.ProtoReflect.Descriptor instead.

func (*ResolveAllConfigResult) GetConfig

func (x *ResolveAllConfigResult) GetConfig() string

func (*ResolveAllConfigResult) GetConfigs

func (x *ResolveAllConfigResult) GetConfigs() []*ResolvedConfig

func (*ResolveAllConfigResult) ProtoMessage

func (*ResolveAllConfigResult) ProtoMessage()

func (*ResolveAllConfigResult) ProtoReflect

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

func (*ResolveAllConfigResult) Reset

func (x *ResolveAllConfigResult) Reset()

func (*ResolveAllConfigResult) String

func (x *ResolveAllConfigResult) String() string

type ResolveConfigRequest

type ResolveConfigRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Config to resolve
	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// Additional configs which will be apended to selectors
	VolatileConfigs []*VolatileConfig `protobuf:"bytes,3,rep,name=volatile_configs,json=volatileConfigs,proto3" json:"volatile_configs,omitempty"`
	// Target labels
	Labels []*YamlLabel `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveConfigRequest) Descriptor

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

Deprecated: Use ResolveConfigRequest.ProtoReflect.Descriptor instead.

func (*ResolveConfigRequest) GetConfig

func (x *ResolveConfigRequest) GetConfig() string

func (*ResolveConfigRequest) GetLabels

func (x *ResolveConfigRequest) GetLabels() []*YamlLabel

func (*ResolveConfigRequest) GetOperationParams

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

func (*ResolveConfigRequest) GetVolatileConfigs

func (x *ResolveConfigRequest) GetVolatileConfigs() []*VolatileConfig

func (*ResolveConfigRequest) ProtoMessage

func (*ResolveConfigRequest) ProtoMessage()

func (*ResolveConfigRequest) ProtoReflect

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

func (*ResolveConfigRequest) Reset

func (x *ResolveConfigRequest) Reset()

func (*ResolveConfigRequest) String

func (x *ResolveConfigRequest) String() string

type ResolveConfigResponse

type ResolveConfigResponse struct {

	// Result of request will be inside operation.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveConfigResponse) Descriptor

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

Deprecated: Use ResolveConfigResponse.ProtoReflect.Descriptor instead.

func (*ResolveConfigResponse) GetOperation

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

func (*ResolveConfigResponse) ProtoMessage

func (*ResolveConfigResponse) ProtoMessage()

func (*ResolveConfigResponse) ProtoReflect

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

func (*ResolveConfigResponse) Reset

func (x *ResolveConfigResponse) Reset()

func (*ResolveConfigResponse) String

func (x *ResolveConfigResponse) String() string

type ResolveConfigResult

type ResolveConfigResult struct {

	// YAML document with resolved config
	Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveConfigResult) Descriptor

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

Deprecated: Use ResolveConfigResult.ProtoReflect.Descriptor instead.

func (*ResolveConfigResult) GetConfig

func (x *ResolveConfigResult) GetConfig() string

func (*ResolveConfigResult) ProtoMessage

func (*ResolveConfigResult) ProtoMessage()

func (*ResolveConfigResult) ProtoReflect

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

func (*ResolveConfigResult) Reset

func (x *ResolveConfigResult) Reset()

func (*ResolveConfigResult) String

func (x *ResolveConfigResult) String() string

type ResolvedConfig

type ResolvedConfig struct {

	// label sets for which the config are applicable
	LabelSets []*LabelSet `protobuf:"bytes,1,rep,name=label_sets,json=labelSets,proto3" json:"label_sets,omitempty"`
	// resolved YAML config
	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolvedConfig) Descriptor

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

Deprecated: Use ResolvedConfig.ProtoReflect.Descriptor instead.

func (*ResolvedConfig) GetConfig

func (x *ResolvedConfig) GetConfig() string

func (*ResolvedConfig) GetLabelSets

func (x *ResolvedConfig) GetLabelSets() []*LabelSet

func (*ResolvedConfig) ProtoMessage

func (*ResolvedConfig) ProtoMessage()

func (*ResolvedConfig) ProtoReflect

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

func (*ResolvedConfig) Reset

func (x *ResolvedConfig) Reset()

func (*ResolvedConfig) String

func (x *ResolvedConfig) String() string

type SetConfigRequest

type SetConfigRequest struct {
	OperationParams *Ydb_Operations.OperationParams `protobuf:"bytes,1,opt,name=operation_params,json=operationParams,proto3" json:"operation_params,omitempty"`
	// Config in YAML format. metadata will be ignored
	Config             string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	DryRun             bool   `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	AllowUnknownFields bool   `protobuf:"varint,4,opt,name=allow_unknown_fields,json=allowUnknownFields,proto3" json:"allow_unknown_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*SetConfigRequest) Descriptor

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

Deprecated: Use SetConfigRequest.ProtoReflect.Descriptor instead.

func (*SetConfigRequest) GetAllowUnknownFields

func (x *SetConfigRequest) GetAllowUnknownFields() bool

func (*SetConfigRequest) GetConfig

func (x *SetConfigRequest) GetConfig() string

func (*SetConfigRequest) GetDryRun

func (x *SetConfigRequest) GetDryRun() bool

func (*SetConfigRequest) GetOperationParams

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

func (*SetConfigRequest) ProtoMessage

func (*SetConfigRequest) ProtoMessage()

func (*SetConfigRequest) ProtoReflect

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

func (*SetConfigRequest) Reset

func (x *SetConfigRequest) Reset()

func (*SetConfigRequest) String

func (x *SetConfigRequest) String() string

type SetConfigResponse

type SetConfigResponse struct {
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*SetConfigResponse) Descriptor

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

Deprecated: Use SetConfigResponse.ProtoReflect.Descriptor instead.

func (*SetConfigResponse) GetOperation

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

func (*SetConfigResponse) ProtoMessage

func (*SetConfigResponse) ProtoMessage()

func (*SetConfigResponse) ProtoReflect

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

func (*SetConfigResponse) Reset

func (x *SetConfigResponse) Reset()

func (*SetConfigResponse) String

func (x *SetConfigResponse) String() string

type VolatileConfig

type VolatileConfig struct {

	// Config id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Volatile config YAML document
	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*VolatileConfig) Descriptor

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

Deprecated: Use VolatileConfig.ProtoReflect.Descriptor instead.

func (*VolatileConfig) GetConfig

func (x *VolatileConfig) GetConfig() string

func (*VolatileConfig) GetId

func (x *VolatileConfig) GetId() uint64

func (*VolatileConfig) ProtoMessage

func (*VolatileConfig) ProtoMessage()

func (*VolatileConfig) ProtoReflect

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

func (*VolatileConfig) Reset

func (x *VolatileConfig) Reset()

func (*VolatileConfig) String

func (x *VolatileConfig) String() string

type VolatileConfigMetadata

type VolatileConfigMetadata struct {

	// Config id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Volatile config YAML document
	Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*VolatileConfigMetadata) Descriptor

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

Deprecated: Use VolatileConfigMetadata.ProtoReflect.Descriptor instead.

func (*VolatileConfigMetadata) GetId

func (x *VolatileConfigMetadata) GetId() uint64

func (*VolatileConfigMetadata) GetMetadata

func (x *VolatileConfigMetadata) GetMetadata() string

func (*VolatileConfigMetadata) ProtoMessage

func (*VolatileConfigMetadata) ProtoMessage()

func (*VolatileConfigMetadata) ProtoReflect

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

func (*VolatileConfigMetadata) Reset

func (x *VolatileConfigMetadata) Reset()

func (*VolatileConfigMetadata) String

func (x *VolatileConfigMetadata) String() string

type YamlLabel

type YamlLabel struct {

	// Name of the label
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// Value of the label
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*YamlLabel) Descriptor

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

Deprecated: Use YamlLabel.ProtoReflect.Descriptor instead.

func (*YamlLabel) GetLabel

func (x *YamlLabel) GetLabel() string

func (*YamlLabel) GetValue

func (x *YamlLabel) GetValue() string

func (*YamlLabel) ProtoMessage

func (*YamlLabel) ProtoMessage()

func (*YamlLabel) ProtoReflect

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

func (*YamlLabel) Reset

func (x *YamlLabel) Reset()

func (*YamlLabel) String

func (x *YamlLabel) String() string

type YamlLabelExt

type YamlLabelExt struct {

	// Name of the label
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// Type of label value
	Type YamlLabelExt_LabelType `protobuf:"varint,2,opt,name=type,proto3,enum=Ydb.DynamicConfig.YamlLabelExt_LabelType" json:"type,omitempty"`
	// Value of the label
	Value *string `protobuf:"bytes,3,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*YamlLabelExt) Descriptor

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

Deprecated: Use YamlLabelExt.ProtoReflect.Descriptor instead.

func (*YamlLabelExt) GetLabel

func (x *YamlLabelExt) GetLabel() string

func (*YamlLabelExt) GetType

func (x *YamlLabelExt) GetType() YamlLabelExt_LabelType

func (*YamlLabelExt) GetValue

func (x *YamlLabelExt) GetValue() string

func (*YamlLabelExt) ProtoMessage

func (*YamlLabelExt) ProtoMessage()

func (*YamlLabelExt) ProtoReflect

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

func (*YamlLabelExt) Reset

func (x *YamlLabelExt) Reset()

func (*YamlLabelExt) String

func (x *YamlLabelExt) String() string

type YamlLabelExt_LabelType

type YamlLabelExt_LabelType int32
const (
	YamlLabelExt_UNSPECIFIED YamlLabelExt_LabelType = 0
	YamlLabelExt_COMMON      YamlLabelExt_LabelType = 1
	YamlLabelExt_NOT_SET     YamlLabelExt_LabelType = 2
	YamlLabelExt_EMPTY       YamlLabelExt_LabelType = 3
)

func (YamlLabelExt_LabelType) Descriptor

func (YamlLabelExt_LabelType) Enum

func (YamlLabelExt_LabelType) EnumDescriptor

func (YamlLabelExt_LabelType) EnumDescriptor() ([]byte, []int)

Deprecated: Use YamlLabelExt_LabelType.Descriptor instead.

func (YamlLabelExt_LabelType) Number

func (YamlLabelExt_LabelType) String

func (x YamlLabelExt_LabelType) String() string

func (YamlLabelExt_LabelType) Type

Source Files

ydb_dynamic_config.pb.go

Version
v0.0.0-20241112172322-ea1f63298f77 (latest)
Published
Nov 12, 2024
Platform
linux/amd64
Imports
5 packages
Last checked
2 months ago

Tools for package owners.