Versions in this module Expand all Collapse all v0 v0.1.0 Sep 15, 2018 Changes in this version + var RecordType_name = map[int32]string + var RecordType_value = map[string]int32 + func RegisterNameserverServer(s *grpc.Server, srv NameserverServer) + type CreateRequest struct + Name string + Records []*Record + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (dst *CreateRequest) XXX_Merge(src proto.Message) + func (m *CreateRequest) GetName() string + func (m *CreateRequest) GetRecords() []*Record + func (m *CreateRequest) Reset() + func (m *CreateRequest) String() string + func (m *CreateRequest) XXX_DiscardUnknown() + func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateRequest) XXX_Size() int + func (m *CreateRequest) XXX_Unmarshal(b []byte) error + type DeleteRequest struct + Name string + Type RecordType + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (dst *DeleteRequest) XXX_Merge(src proto.Message) + func (m *DeleteRequest) GetName() string + func (m *DeleteRequest) GetType() RecordType + func (m *DeleteRequest) Reset() + func (m *DeleteRequest) String() string + func (m *DeleteRequest) XXX_DiscardUnknown() + func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteRequest) XXX_Size() int + func (m *DeleteRequest) XXX_Unmarshal(b []byte) error + type ListRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (dst *ListRequest) XXX_Merge(src proto.Message) + func (m *ListRequest) Reset() + func (m *ListRequest) String() string + func (m *ListRequest) XXX_DiscardUnknown() + func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListRequest) XXX_Size() int + func (m *ListRequest) XXX_Unmarshal(b []byte) error + type ListResponse struct + Records []*Record + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (dst *ListResponse) XXX_Merge(src proto.Message) + func (m *ListResponse) GetRecords() []*Record + func (m *ListResponse) Reset() + func (m *ListResponse) String() string + func (m *ListResponse) XXX_DiscardUnknown() + func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListResponse) XXX_Size() int + func (m *ListResponse) XXX_Unmarshal(b []byte) error + type LookupRequest struct + Query string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LookupRequest) Descriptor() ([]byte, []int) + func (*LookupRequest) ProtoMessage() + func (dst *LookupRequest) XXX_Merge(src proto.Message) + func (m *LookupRequest) GetQuery() string + func (m *LookupRequest) Reset() + func (m *LookupRequest) String() string + func (m *LookupRequest) XXX_DiscardUnknown() + func (m *LookupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LookupRequest) XXX_Size() int + func (m *LookupRequest) XXX_Unmarshal(b []byte) error + type LookupResponse struct + Name string + Records []*Record + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LookupResponse) Descriptor() ([]byte, []int) + func (*LookupResponse) ProtoMessage() + func (dst *LookupResponse) XXX_Merge(src proto.Message) + func (m *LookupResponse) GetName() string + func (m *LookupResponse) GetRecords() []*Record + func (m *LookupResponse) Reset() + func (m *LookupResponse) String() string + func (m *LookupResponse) XXX_DiscardUnknown() + func (m *LookupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LookupResponse) XXX_Size() int + func (m *LookupResponse) XXX_Unmarshal(b []byte) error + type NameserverClient interface + Create func(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*types.Empty, error) + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*types.Empty, error) + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) + Lookup func(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) + func NewNameserverClient(cc *grpc.ClientConn) NameserverClient + type NameserverServer interface + Create func(context.Context, *CreateRequest) (*types.Empty, error) + Delete func(context.Context, *DeleteRequest) (*types.Empty, error) + List func(context.Context, *ListRequest) (*ListResponse, error) + Lookup func(context.Context, *LookupRequest) (*LookupResponse, error) + type Record struct + Name string + Options *types.Any + Type RecordType + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Record) Descriptor() ([]byte, []int) + func (*Record) ProtoMessage() + func (dst *Record) XXX_Merge(src proto.Message) + func (m *Record) GetName() string + func (m *Record) GetOptions() *types.Any + func (m *Record) GetType() RecordType + func (m *Record) GetValue() string + func (m *Record) Reset() + func (m *Record) String() string + func (m *Record) XXX_DiscardUnknown() + func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Record) XXX_Size() int + func (m *Record) XXX_Unmarshal(b []byte) error + type RecordType int32 + const RecordType_A + const RecordType_CNAME + const RecordType_MX + const RecordType_SRV + const RecordType_TXT + const RecordType_UNKNOWN + func (RecordType) EnumDescriptor() ([]byte, []int) + func (x RecordType) String() string