Versions in this module Expand all Collapse all v0 v0.0.7 Apr 4, 2023 Changes in this version + var ErrIntOverflowPoll = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthPoll = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupPoll = fmt.Errorf("proto: unexpected end of group") + var ResponseType_name = map[int32]string + var ResponseType_value = map[string]int32 + func RegisterPollConfigServer(s *grpc.Server, srv PollConfigServer) + type PollConfigClient interface + Poll func(ctx context.Context, in *PollRequest, opts ...grpc.CallOption) (*PollResponse, error) + func NewPollConfigClient(cc *grpc.ClientConn) PollConfigClient + type PollConfigServer interface + Poll func(context.Context, *PollRequest) (*PollResponse, error) + type PollRequest struct + CurrentHash string + Resource *v1.Resource + Ts int64 + func (*PollRequest) Descriptor() ([]byte, []int) + func (*PollRequest) ProtoMessage() + func (m *PollRequest) GetCurrentHash() string + func (m *PollRequest) GetResource() *v1.Resource + func (m *PollRequest) GetTs() int64 + func (m *PollRequest) Marshal() (dAtA []byte, err error) + func (m *PollRequest) MarshalTo(dAtA []byte) (int, error) + func (m *PollRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PollRequest) Reset() + func (m *PollRequest) Size() (n int) + func (m *PollRequest) String() string + func (m *PollRequest) Unmarshal(dAtA []byte) error + func (m *PollRequest) XXX_DiscardUnknown() + func (m *PollRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PollRequest) XXX_Merge(src proto.Message) + func (m *PollRequest) XXX_Size() int + func (m *PollRequest) XXX_Unmarshal(b []byte) error + type PollResponse struct + CurrentHash string + Response []*v11.TracePointConfig + ResponseType ResponseType + Ts int64 + func (*PollResponse) Descriptor() ([]byte, []int) + func (*PollResponse) ProtoMessage() + func (m *PollResponse) GetCurrentHash() string + func (m *PollResponse) GetResponse() []*v11.TracePointConfig + func (m *PollResponse) GetResponseType() ResponseType + func (m *PollResponse) GetTs() int64 + func (m *PollResponse) Marshal() (dAtA []byte, err error) + func (m *PollResponse) MarshalTo(dAtA []byte) (int, error) + func (m *PollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PollResponse) Reset() + func (m *PollResponse) Size() (n int) + func (m *PollResponse) String() string + func (m *PollResponse) Unmarshal(dAtA []byte) error + func (m *PollResponse) XXX_DiscardUnknown() + func (m *PollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PollResponse) XXX_Merge(src proto.Message) + func (m *PollResponse) XXX_Size() int + func (m *PollResponse) XXX_Unmarshal(b []byte) error + type ResponseType int32 + const ResponseType_NO_CHANGE + const ResponseType_UPDATE + func (ResponseType) EnumDescriptor() ([]byte, []int) + func (x ResponseType) String() string + type UnimplementedPollConfigServer struct + func (*UnimplementedPollConfigServer) Poll(ctx context.Context, req *PollRequest) (*PollResponse, error)