Ydb_Discovery

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointInfo

type EndpointInfo struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Port                 uint32   `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	LoadFactor           float32  `protobuf:"fixed32,3,opt,name=load_factor,json=loadFactor,proto3" json:"load_factor,omitempty"`
	Ssl                  bool     `protobuf:"varint,4,opt,name=ssl,proto3" json:"ssl,omitempty"`
	Service              []string `protobuf:"bytes,5,rep,name=service,proto3" json:"service,omitempty"`
	Location             string   `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
	NodeId               uint32   `protobuf:"varint,7,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EndpointInfo) Descriptor

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

func (*EndpointInfo) GetAddress

func (m *EndpointInfo) GetAddress() string

func (*EndpointInfo) GetLoadFactor

func (m *EndpointInfo) GetLoadFactor() float32

func (*EndpointInfo) GetLocation

func (m *EndpointInfo) GetLocation() string

func (*EndpointInfo) GetNodeId

func (m *EndpointInfo) GetNodeId() uint32

func (*EndpointInfo) GetPort

func (m *EndpointInfo) GetPort() uint32

func (*EndpointInfo) GetService

func (m *EndpointInfo) GetService() []string

func (*EndpointInfo) GetSsl

func (m *EndpointInfo) GetSsl() bool

func (*EndpointInfo) ProtoMessage

func (*EndpointInfo) ProtoMessage()

func (*EndpointInfo) Reset

func (m *EndpointInfo) Reset()

func (*EndpointInfo) String

func (m *EndpointInfo) String() string

func (*EndpointInfo) XXX_DiscardUnknown

func (m *EndpointInfo) XXX_DiscardUnknown()

func (*EndpointInfo) XXX_Marshal

func (m *EndpointInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EndpointInfo) XXX_Merge

func (m *EndpointInfo) XXX_Merge(src proto.Message)

func (*EndpointInfo) XXX_Size

func (m *EndpointInfo) XXX_Size() int

func (*EndpointInfo) XXX_Unmarshal

func (m *EndpointInfo) XXX_Unmarshal(b []byte) error

type ListEndpointsRequest

type ListEndpointsRequest struct {
	Database             string   `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Service              []string `protobuf:"bytes,2,rep,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListEndpointsRequest) Descriptor

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

func (*ListEndpointsRequest) GetDatabase

func (m *ListEndpointsRequest) GetDatabase() string

func (*ListEndpointsRequest) GetService

func (m *ListEndpointsRequest) GetService() []string

func (*ListEndpointsRequest) ProtoMessage

func (*ListEndpointsRequest) ProtoMessage()

func (*ListEndpointsRequest) Reset

func (m *ListEndpointsRequest) Reset()

func (*ListEndpointsRequest) String

func (m *ListEndpointsRequest) String() string

func (*ListEndpointsRequest) XXX_DiscardUnknown

func (m *ListEndpointsRequest) XXX_DiscardUnknown()

func (*ListEndpointsRequest) XXX_Marshal

func (m *ListEndpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEndpointsRequest) XXX_Merge

func (m *ListEndpointsRequest) XXX_Merge(src proto.Message)

func (*ListEndpointsRequest) XXX_Size

func (m *ListEndpointsRequest) XXX_Size() int

func (*ListEndpointsRequest) XXX_Unmarshal

func (m *ListEndpointsRequest) XXX_Unmarshal(b []byte) error

type ListEndpointsResponse

type ListEndpointsResponse struct {
	Operation            *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*ListEndpointsResponse) Descriptor

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

func (*ListEndpointsResponse) GetOperation

func (m *ListEndpointsResponse) GetOperation() *Ydb_Operations.Operation

func (*ListEndpointsResponse) ProtoMessage

func (*ListEndpointsResponse) ProtoMessage()

func (*ListEndpointsResponse) Reset

func (m *ListEndpointsResponse) Reset()

func (*ListEndpointsResponse) String

func (m *ListEndpointsResponse) String() string

func (*ListEndpointsResponse) XXX_DiscardUnknown

func (m *ListEndpointsResponse) XXX_DiscardUnknown()

func (*ListEndpointsResponse) XXX_Marshal

func (m *ListEndpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEndpointsResponse) XXX_Merge

func (m *ListEndpointsResponse) XXX_Merge(src proto.Message)

func (*ListEndpointsResponse) XXX_Size

func (m *ListEndpointsResponse) XXX_Size() int

func (*ListEndpointsResponse) XXX_Unmarshal

func (m *ListEndpointsResponse) XXX_Unmarshal(b []byte) error

type ListEndpointsResult

type ListEndpointsResult struct {
	Endpoints            []*EndpointInfo `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	SelfLocation         string          `protobuf:"bytes,2,opt,name=self_location,json=selfLocation,proto3" json:"self_location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ListEndpointsResult) Descriptor

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

func (*ListEndpointsResult) GetEndpoints

func (m *ListEndpointsResult) GetEndpoints() []*EndpointInfo

func (*ListEndpointsResult) GetSelfLocation

func (m *ListEndpointsResult) GetSelfLocation() string

func (*ListEndpointsResult) ProtoMessage

func (*ListEndpointsResult) ProtoMessage()

func (*ListEndpointsResult) Reset

func (m *ListEndpointsResult) Reset()

func (*ListEndpointsResult) String

func (m *ListEndpointsResult) String() string

func (*ListEndpointsResult) XXX_DiscardUnknown

func (m *ListEndpointsResult) XXX_DiscardUnknown()

func (*ListEndpointsResult) XXX_Marshal

func (m *ListEndpointsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEndpointsResult) XXX_Merge

func (m *ListEndpointsResult) XXX_Merge(src proto.Message)

func (*ListEndpointsResult) XXX_Size

func (m *ListEndpointsResult) XXX_Size() int

func (*ListEndpointsResult) XXX_Unmarshal

func (m *ListEndpointsResult) XXX_Unmarshal(b []byte) error

type WhoAmIRequest

type WhoAmIRequest struct {
	// Include user groups in response
	IncludeGroups        bool     `protobuf:"varint,1,opt,name=include_groups,json=includeGroups,proto3" json:"include_groups,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WhoAmIRequest) Descriptor

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

func (*WhoAmIRequest) GetIncludeGroups

func (m *WhoAmIRequest) GetIncludeGroups() bool

func (*WhoAmIRequest) ProtoMessage

func (*WhoAmIRequest) ProtoMessage()

func (*WhoAmIRequest) Reset

func (m *WhoAmIRequest) Reset()

func (*WhoAmIRequest) String

func (m *WhoAmIRequest) String() string

func (*WhoAmIRequest) XXX_DiscardUnknown

func (m *WhoAmIRequest) XXX_DiscardUnknown()

func (*WhoAmIRequest) XXX_Marshal

func (m *WhoAmIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WhoAmIRequest) XXX_Merge

func (m *WhoAmIRequest) XXX_Merge(src proto.Message)

func (*WhoAmIRequest) XXX_Size

func (m *WhoAmIRequest) XXX_Size() int

func (*WhoAmIRequest) XXX_Unmarshal

func (m *WhoAmIRequest) XXX_Unmarshal(b []byte) error

type WhoAmIResponse

type WhoAmIResponse struct {
	Operation            *Ydb_Operations.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*WhoAmIResponse) Descriptor

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

func (*WhoAmIResponse) GetOperation

func (m *WhoAmIResponse) GetOperation() *Ydb_Operations.Operation

func (*WhoAmIResponse) ProtoMessage

func (*WhoAmIResponse) ProtoMessage()

func (*WhoAmIResponse) Reset

func (m *WhoAmIResponse) Reset()

func (*WhoAmIResponse) String

func (m *WhoAmIResponse) String() string

func (*WhoAmIResponse) XXX_DiscardUnknown

func (m *WhoAmIResponse) XXX_DiscardUnknown()

func (*WhoAmIResponse) XXX_Marshal

func (m *WhoAmIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WhoAmIResponse) XXX_Merge

func (m *WhoAmIResponse) XXX_Merge(src proto.Message)

func (*WhoAmIResponse) XXX_Size

func (m *WhoAmIResponse) XXX_Size() int

func (*WhoAmIResponse) XXX_Unmarshal

func (m *WhoAmIResponse) XXX_Unmarshal(b []byte) error

type WhoAmIResult

type WhoAmIResult struct {
	// User SID (Security ID)
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// List of group SIDs (Security IDs) for the user
	Groups               []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WhoAmIResult) Descriptor

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

func (*WhoAmIResult) GetGroups

func (m *WhoAmIResult) GetGroups() []string

func (*WhoAmIResult) GetUser

func (m *WhoAmIResult) GetUser() string

func (*WhoAmIResult) ProtoMessage

func (*WhoAmIResult) ProtoMessage()

func (*WhoAmIResult) Reset

func (m *WhoAmIResult) Reset()

func (*WhoAmIResult) String

func (m *WhoAmIResult) String() string

func (*WhoAmIResult) XXX_DiscardUnknown

func (m *WhoAmIResult) XXX_DiscardUnknown()

func (*WhoAmIResult) XXX_Marshal

func (m *WhoAmIResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WhoAmIResult) XXX_Merge

func (m *WhoAmIResult) XXX_Merge(src proto.Message)

func (*WhoAmIResult) XXX_Size

func (m *WhoAmIResult) XXX_Size() int

func (*WhoAmIResult) XXX_Unmarshal

func (m *WhoAmIResult) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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