Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterOpensearchServer(s grpc.ServiceRegistrar, srv OpensearchServer)
- type ClusterReference
- func (*ClusterReference) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterReference) GetAuthorizedClusterID() string
- func (*ClusterReference) ProtoMessage()
- func (x *ClusterReference) ProtoReflect() protoreflect.Message
- func (x *ClusterReference) Reset()
- func (x *ClusterReference) String() string
- type OpensearchClient
- type OpensearchDetails
- func (*OpensearchDetails) Descriptor() ([]byte, []int)deprecated
- func (x *OpensearchDetails) GetExternalURL() string
- func (x *OpensearchDetails) GetPassword() string
- func (x *OpensearchDetails) GetTracingEnabled() bool
- func (x *OpensearchDetails) GetUsername() string
- func (*OpensearchDetails) ProtoMessage()
- func (x *OpensearchDetails) ProtoReflect() protoreflect.Message
- func (x *OpensearchDetails) Reset()
- func (x *OpensearchDetails) String() string
- type OpensearchServer
- type UnimplementedOpensearchServer
- type UnsafeOpensearchServer
Constants ¶
const (
Opensearch_GetDetails_FullMethodName = "/opensearch.Opensearch/GetDetails"
)
Variables ¶
var File_github_com_rancher_opni_plugins_logging_apis_opensearch_opensearch_proto protoreflect.FileDescriptor
var Opensearch_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opensearch.Opensearch", HandlerType: (*OpensearchServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDetails", Handler: _Opensearch_GetDetails_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/rancher/opni/plugins/logging/apis/opensearch/opensearch.proto", }
Opensearch_ServiceDesc is the grpc.ServiceDesc for Opensearch service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOpensearchServer ¶
func RegisterOpensearchServer(s grpc.ServiceRegistrar, srv OpensearchServer)
Types ¶
type ClusterReference ¶
type ClusterReference struct { AuthorizedClusterID string `protobuf:"bytes,1,opt,name=AuthorizedClusterID,proto3" json:"AuthorizedClusterID,omitempty"` // contains filtered or unexported fields }
func (*ClusterReference) Descriptor
deprecated
func (*ClusterReference) Descriptor() ([]byte, []int)
Deprecated: Use ClusterReference.ProtoReflect.Descriptor instead.
func (*ClusterReference) GetAuthorizedClusterID ¶
func (x *ClusterReference) GetAuthorizedClusterID() string
func (*ClusterReference) ProtoMessage ¶
func (*ClusterReference) ProtoMessage()
func (*ClusterReference) ProtoReflect ¶
func (x *ClusterReference) ProtoReflect() protoreflect.Message
func (*ClusterReference) Reset ¶
func (x *ClusterReference) Reset()
func (*ClusterReference) String ¶
func (x *ClusterReference) String() string
type OpensearchClient ¶
type OpensearchClient interface {
GetDetails(ctx context.Context, in *ClusterReference, opts ...grpc.CallOption) (*OpensearchDetails, error)
}
OpensearchClient is the client API for Opensearch service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOpensearchClient ¶
func NewOpensearchClient(cc grpc.ClientConnInterface) OpensearchClient
type OpensearchDetails ¶
type OpensearchDetails struct { Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"Username,omitempty"` Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` ExternalURL string `protobuf:"bytes,3,opt,name=ExternalURL,proto3" json:"ExternalURL,omitempty"` TracingEnabled bool `protobuf:"varint,4,opt,name=TracingEnabled,proto3" json:"TracingEnabled,omitempty"` // contains filtered or unexported fields }
func (*OpensearchDetails) Descriptor
deprecated
func (*OpensearchDetails) Descriptor() ([]byte, []int)
Deprecated: Use OpensearchDetails.ProtoReflect.Descriptor instead.
func (*OpensearchDetails) GetExternalURL ¶
func (x *OpensearchDetails) GetExternalURL() string
func (*OpensearchDetails) GetPassword ¶
func (x *OpensearchDetails) GetPassword() string
func (*OpensearchDetails) GetTracingEnabled ¶
func (x *OpensearchDetails) GetTracingEnabled() bool
func (*OpensearchDetails) GetUsername ¶
func (x *OpensearchDetails) GetUsername() string
func (*OpensearchDetails) ProtoMessage ¶
func (*OpensearchDetails) ProtoMessage()
func (*OpensearchDetails) ProtoReflect ¶
func (x *OpensearchDetails) ProtoReflect() protoreflect.Message
func (*OpensearchDetails) Reset ¶
func (x *OpensearchDetails) Reset()
func (*OpensearchDetails) String ¶
func (x *OpensearchDetails) String() string
type OpensearchServer ¶
type OpensearchServer interface { GetDetails(context.Context, *ClusterReference) (*OpensearchDetails, error) // contains filtered or unexported methods }
OpensearchServer is the server API for Opensearch service. All implementations must embed UnimplementedOpensearchServer for forward compatibility
type UnimplementedOpensearchServer ¶
type UnimplementedOpensearchServer struct { }
UnimplementedOpensearchServer must be embedded to have forward compatible implementations.
func (UnimplementedOpensearchServer) GetDetails ¶
func (UnimplementedOpensearchServer) GetDetails(context.Context, *ClusterReference) (*OpensearchDetails, error)
type UnsafeOpensearchServer ¶
type UnsafeOpensearchServer interface {
// contains filtered or unexported methods
}
UnsafeOpensearchServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OpensearchServer will result in compilation errors.