Ydb_FederationDiscovery

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 (
	DatabaseInfo_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "AVAILABLE",
		2: "READ_ONLY",
		3: "UNAVAILABLE",
	}
	DatabaseInfo_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"AVAILABLE":          1,
		"READ_ONLY":          2,
		"UNAVAILABLE":        3,
	}
)

Enum value maps for DatabaseInfo_Status.

View Source
var File_protos_ydb_federation_discovery_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DatabaseInfo

type DatabaseInfo struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path     string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Id       string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// for single datacenter databases
	Location string              `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	Status   DatabaseInfo_Status `protobuf:"varint,6,opt,name=status,proto3,enum=Ydb.FederationDiscovery.DatabaseInfo_Status" json:"status,omitempty"`
	// to determine this database priority on the client side
	Weight int64 `protobuf:"varint,7,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseInfo) Descriptor deprecated

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

Deprecated: Use DatabaseInfo.ProtoReflect.Descriptor instead.

func (*DatabaseInfo) GetEndpoint

func (x *DatabaseInfo) GetEndpoint() string

func (*DatabaseInfo) GetId

func (x *DatabaseInfo) GetId() string

func (*DatabaseInfo) GetLocation

func (x *DatabaseInfo) GetLocation() string

func (*DatabaseInfo) GetName

func (x *DatabaseInfo) GetName() string

func (*DatabaseInfo) GetPath

func (x *DatabaseInfo) GetPath() string

func (*DatabaseInfo) GetStatus

func (x *DatabaseInfo) GetStatus() DatabaseInfo_Status

func (*DatabaseInfo) GetWeight

func (x *DatabaseInfo) GetWeight() int64

func (*DatabaseInfo) ProtoMessage

func (*DatabaseInfo) ProtoMessage()

func (*DatabaseInfo) ProtoReflect

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

func (*DatabaseInfo) Reset

func (x *DatabaseInfo) Reset()

func (*DatabaseInfo) String

func (x *DatabaseInfo) String() string

type DatabaseInfo_Status

type DatabaseInfo_Status int32
const (
	DatabaseInfo_STATUS_UNSPECIFIED DatabaseInfo_Status = 0
	DatabaseInfo_AVAILABLE          DatabaseInfo_Status = 1
	DatabaseInfo_READ_ONLY          DatabaseInfo_Status = 2
	DatabaseInfo_UNAVAILABLE        DatabaseInfo_Status = 3
)

func (DatabaseInfo_Status) Descriptor

func (DatabaseInfo_Status) Enum

func (DatabaseInfo_Status) EnumDescriptor deprecated

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

Deprecated: Use DatabaseInfo_Status.Descriptor instead.

func (DatabaseInfo_Status) Number

func (DatabaseInfo_Status) String

func (x DatabaseInfo_Status) String() string

func (DatabaseInfo_Status) Type

type ListFederationDatabasesRequest

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

func (*ListFederationDatabasesRequest) Descriptor deprecated

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

Deprecated: Use ListFederationDatabasesRequest.ProtoReflect.Descriptor instead.

func (*ListFederationDatabasesRequest) ProtoMessage

func (*ListFederationDatabasesRequest) ProtoMessage()

func (*ListFederationDatabasesRequest) ProtoReflect

func (*ListFederationDatabasesRequest) Reset

func (x *ListFederationDatabasesRequest) Reset()

func (*ListFederationDatabasesRequest) String

type ListFederationDatabasesResponse

type ListFederationDatabasesResponse struct {

	// Operation contains the result of the request. Check the ydb_operation.proto.
	Operation *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFederationDatabasesResponse) Descriptor deprecated

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

Deprecated: Use ListFederationDatabasesResponse.ProtoReflect.Descriptor instead.

func (*ListFederationDatabasesResponse) GetOperation

func (*ListFederationDatabasesResponse) ProtoMessage

func (*ListFederationDatabasesResponse) ProtoMessage()

func (*ListFederationDatabasesResponse) ProtoReflect

func (*ListFederationDatabasesResponse) Reset

func (*ListFederationDatabasesResponse) String

type ListFederationDatabasesResult

type ListFederationDatabasesResult struct {
	ControlPlaneEndpoint string          `protobuf:"bytes,1,opt,name=control_plane_endpoint,json=controlPlaneEndpoint,proto3" json:"control_plane_endpoint,omitempty"`
	FederationDatabases  []*DatabaseInfo `protobuf:"bytes,2,rep,name=federation_databases,json=federationDatabases,proto3" json:"federation_databases,omitempty"`
	SelfLocation         string          `protobuf:"bytes,3,opt,name=self_location,json=selfLocation,proto3" json:"self_location,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFederationDatabasesResult) Descriptor deprecated

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

Deprecated: Use ListFederationDatabasesResult.ProtoReflect.Descriptor instead.

func (*ListFederationDatabasesResult) GetControlPlaneEndpoint

func (x *ListFederationDatabasesResult) GetControlPlaneEndpoint() string

func (*ListFederationDatabasesResult) GetFederationDatabases

func (x *ListFederationDatabasesResult) GetFederationDatabases() []*DatabaseInfo

func (*ListFederationDatabasesResult) GetSelfLocation

func (x *ListFederationDatabasesResult) GetSelfLocation() string

func (*ListFederationDatabasesResult) ProtoMessage

func (*ListFederationDatabasesResult) ProtoMessage()

func (*ListFederationDatabasesResult) ProtoReflect

func (*ListFederationDatabasesResult) Reset

func (x *ListFederationDatabasesResult) Reset()

func (*ListFederationDatabasesResult) String

Jump to

Keyboard shortcuts

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