namespacepb

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package namespacepb provides gRPC services and Protocolbuffer definitions for namespaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNamespaceServer

func RegisterNamespaceServer(s *grpc.Server, srv NamespaceServer)

Types

type NamespaceClient

type NamespaceClient interface {
	// Requests searchLabel for URI
	SearchLabel(ctx context.Context, in *SearchLabelRequest, opts ...grpc.CallOption) (*SearchLabelResponse, error)
}

NamespaceClient is the client API for Namespace service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNamespaceClient

func NewNamespaceClient(cc *grpc.ClientConn) NamespaceClient

type NamespaceServer

type NamespaceServer interface {
	// Requests searchLabel for URI
	SearchLabel(context.Context, *SearchLabelRequest) (*SearchLabelResponse, error)
}

NamespaceServer is the server API for Namespace service.

type SearchLabelRequest

type SearchLabelRequest struct {
	Uri                  string   `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SearchLabelRequest message containing the URI to be turned into a searchLabel

func (*SearchLabelRequest) Descriptor

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

func (*SearchLabelRequest) GetUri

func (m *SearchLabelRequest) GetUri() string

func (*SearchLabelRequest) ProtoMessage

func (*SearchLabelRequest) ProtoMessage()

func (*SearchLabelRequest) Reset

func (m *SearchLabelRequest) Reset()

func (*SearchLabelRequest) String

func (m *SearchLabelRequest) String() string

func (*SearchLabelRequest) XXX_DiscardUnknown

func (m *SearchLabelRequest) XXX_DiscardUnknown()

func (*SearchLabelRequest) XXX_Marshal

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

func (*SearchLabelRequest) XXX_Merge

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

func (*SearchLabelRequest) XXX_Size

func (m *SearchLabelRequest) XXX_Size() int

func (*SearchLabelRequest) XXX_Unmarshal

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

type SearchLabelResponse

type SearchLabelResponse struct {
	Label                string   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SearchLabelResponse message contains extracted searchLabel

func (*SearchLabelResponse) Descriptor

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

func (*SearchLabelResponse) GetLabel

func (m *SearchLabelResponse) GetLabel() string

func (*SearchLabelResponse) ProtoMessage

func (*SearchLabelResponse) ProtoMessage()

func (*SearchLabelResponse) Reset

func (m *SearchLabelResponse) Reset()

func (*SearchLabelResponse) String

func (m *SearchLabelResponse) String() string

func (*SearchLabelResponse) XXX_DiscardUnknown

func (m *SearchLabelResponse) XXX_DiscardUnknown()

func (*SearchLabelResponse) XXX_Marshal

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

func (*SearchLabelResponse) XXX_Merge

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

func (*SearchLabelResponse) XXX_Size

func (m *SearchLabelResponse) XXX_Size() int

func (*SearchLabelResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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