Versions in this module Expand all Collapse all v2 v2.9.4 Mar 2, 2021 Changes in this version + func RegisterDnsHandler(s server.Server, hdlr DnsHandler, opts ...server.HandlerOption) error + type AdvertiseRequest struct + Records []*Record + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AdvertiseRequest) Descriptor() ([]byte, []int) + func (*AdvertiseRequest) ProtoMessage() + func (m *AdvertiseRequest) GetRecords() []*Record + func (m *AdvertiseRequest) Reset() + func (m *AdvertiseRequest) String() string + func (m *AdvertiseRequest) XXX_DiscardUnknown() + func (m *AdvertiseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AdvertiseRequest) XXX_Merge(src proto.Message) + func (m *AdvertiseRequest) XXX_Size() int + func (m *AdvertiseRequest) XXX_Unmarshal(b []byte) error + type AdvertiseResponse struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AdvertiseResponse) Descriptor() ([]byte, []int) + func (*AdvertiseResponse) ProtoMessage() + func (m *AdvertiseResponse) Reset() + func (m *AdvertiseResponse) String() string + func (m *AdvertiseResponse) XXX_DiscardUnknown() + func (m *AdvertiseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AdvertiseResponse) XXX_Merge(src proto.Message) + func (m *AdvertiseResponse) XXX_Size() int + func (m *AdvertiseResponse) XXX_Unmarshal(b []byte) error + type DnsHandler interface + Advertise func(context.Context, *AdvertiseRequest, *AdvertiseResponse) error + Remove func(context.Context, *RemoveRequest, *RemoveResponse) error + Resolve func(context.Context, *ResolveRequest, *ResolveResponse) error + type DnsService interface + Advertise func(ctx context.Context, in *AdvertiseRequest, opts ...client.CallOption) (*AdvertiseResponse, error) + Remove func(ctx context.Context, in *RemoveRequest, opts ...client.CallOption) (*RemoveResponse, error) + Resolve func(ctx context.Context, in *ResolveRequest, opts ...client.CallOption) (*ResolveResponse, error) + func NewDnsService(name string, c client.Client) DnsService + type Record struct + Name string + Priority uint32 + Ttl uint32 + Type string + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Record) Descriptor() ([]byte, []int) + func (*Record) ProtoMessage() + func (m *Record) GetName() string + func (m *Record) GetPriority() uint32 + func (m *Record) GetTtl() uint32 + func (m *Record) GetType() string + 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_Merge(src proto.Message) + func (m *Record) XXX_Size() int + func (m *Record) XXX_Unmarshal(b []byte) error + type RemoveRequest struct + Records []*Record + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RemoveRequest) Descriptor() ([]byte, []int) + func (*RemoveRequest) ProtoMessage() + func (m *RemoveRequest) GetRecords() []*Record + func (m *RemoveRequest) Reset() + func (m *RemoveRequest) String() string + func (m *RemoveRequest) XXX_DiscardUnknown() + func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RemoveRequest) XXX_Merge(src proto.Message) + func (m *RemoveRequest) XXX_Size() int + func (m *RemoveRequest) XXX_Unmarshal(b []byte) error + type RemoveResponse struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RemoveResponse) Descriptor() ([]byte, []int) + func (*RemoveResponse) ProtoMessage() + func (m *RemoveResponse) Reset() + func (m *RemoveResponse) String() string + func (m *RemoveResponse) XXX_DiscardUnknown() + func (m *RemoveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RemoveResponse) XXX_Merge(src proto.Message) + func (m *RemoveResponse) XXX_Size() int + func (m *RemoveResponse) XXX_Unmarshal(b []byte) error + type ResolveRequest struct + Name string + Type string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ResolveRequest) Descriptor() ([]byte, []int) + func (*ResolveRequest) ProtoMessage() + func (m *ResolveRequest) GetName() string + func (m *ResolveRequest) GetType() string + func (m *ResolveRequest) Reset() + func (m *ResolveRequest) String() string + func (m *ResolveRequest) XXX_DiscardUnknown() + func (m *ResolveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ResolveRequest) XXX_Merge(src proto.Message) + func (m *ResolveRequest) XXX_Size() int + func (m *ResolveRequest) XXX_Unmarshal(b []byte) error + type ResolveResponse struct + Records []*Record + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ResolveResponse) Descriptor() ([]byte, []int) + func (*ResolveResponse) ProtoMessage() + func (m *ResolveResponse) GetRecords() []*Record + func (m *ResolveResponse) Reset() + func (m *ResolveResponse) String() string + func (m *ResolveResponse) XXX_DiscardUnknown() + func (m *ResolveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ResolveResponse) XXX_Merge(src proto.Message) + func (m *ResolveResponse) XXX_Size() int + func (m *ResolveResponse) XXX_Unmarshal(b []byte) error