Documentation ¶
Index ¶
- func RegisterCloudproberServer(s *grpc.Server, srv CloudproberServer)
- type AddProbeRequest
- func (*AddProbeRequest) Descriptor() ([]byte, []int)
- func (m *AddProbeRequest) GetProbeConfig() *proto1.ProbeDef
- func (*AddProbeRequest) ProtoMessage()
- func (m *AddProbeRequest) Reset()
- func (m *AddProbeRequest) String() string
- func (m *AddProbeRequest) XXX_DiscardUnknown()
- func (m *AddProbeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddProbeRequest) XXX_Merge(src proto.Message)
- func (m *AddProbeRequest) XXX_Size() int
- func (m *AddProbeRequest) XXX_Unmarshal(b []byte) error
- type AddProbeResponse
- func (*AddProbeResponse) Descriptor() ([]byte, []int)
- func (*AddProbeResponse) ProtoMessage()
- func (m *AddProbeResponse) Reset()
- func (m *AddProbeResponse) String() string
- func (m *AddProbeResponse) XXX_DiscardUnknown()
- func (m *AddProbeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddProbeResponse) XXX_Merge(src proto.Message)
- func (m *AddProbeResponse) XXX_Size() int
- func (m *AddProbeResponse) XXX_Unmarshal(b []byte) error
- type CloudproberClient
- type CloudproberServer
- type ListProbesRequest
- func (*ListProbesRequest) Descriptor() ([]byte, []int)
- func (*ListProbesRequest) ProtoMessage()
- func (m *ListProbesRequest) Reset()
- func (m *ListProbesRequest) String() string
- func (m *ListProbesRequest) XXX_DiscardUnknown()
- func (m *ListProbesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListProbesRequest) XXX_Merge(src proto.Message)
- func (m *ListProbesRequest) XXX_Size() int
- func (m *ListProbesRequest) XXX_Unmarshal(b []byte) error
- type ListProbesResponse
- func (*ListProbesResponse) Descriptor() ([]byte, []int)
- func (m *ListProbesResponse) GetProbe() []*Probe
- func (*ListProbesResponse) ProtoMessage()
- func (m *ListProbesResponse) Reset()
- func (m *ListProbesResponse) String() string
- func (m *ListProbesResponse) XXX_DiscardUnknown()
- func (m *ListProbesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListProbesResponse) XXX_Merge(src proto.Message)
- func (m *ListProbesResponse) XXX_Size() int
- func (m *ListProbesResponse) XXX_Unmarshal(b []byte) error
- type Probe
- func (*Probe) Descriptor() ([]byte, []int)
- func (m *Probe) GetConfig() *proto1.ProbeDef
- func (m *Probe) GetName() string
- func (*Probe) ProtoMessage()
- func (m *Probe) Reset()
- func (m *Probe) String() string
- func (m *Probe) XXX_DiscardUnknown()
- func (m *Probe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Probe) XXX_Merge(src proto.Message)
- func (m *Probe) XXX_Size() int
- func (m *Probe) XXX_Unmarshal(b []byte) error
- type RemoveProbeRequest
- func (*RemoveProbeRequest) Descriptor() ([]byte, []int)
- func (m *RemoveProbeRequest) GetProbeName() string
- func (*RemoveProbeRequest) ProtoMessage()
- func (m *RemoveProbeRequest) Reset()
- func (m *RemoveProbeRequest) String() string
- func (m *RemoveProbeRequest) XXX_DiscardUnknown()
- func (m *RemoveProbeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveProbeRequest) XXX_Merge(src proto.Message)
- func (m *RemoveProbeRequest) XXX_Size() int
- func (m *RemoveProbeRequest) XXX_Unmarshal(b []byte) error
- type RemoveProbeResponse
- func (*RemoveProbeResponse) Descriptor() ([]byte, []int)
- func (*RemoveProbeResponse) ProtoMessage()
- func (m *RemoveProbeResponse) Reset()
- func (m *RemoveProbeResponse) String() string
- func (m *RemoveProbeResponse) XXX_DiscardUnknown()
- func (m *RemoveProbeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveProbeResponse) XXX_Merge(src proto.Message)
- func (m *RemoveProbeResponse) XXX_Size() int
- func (m *RemoveProbeResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedCloudproberServer
- func (*UnimplementedCloudproberServer) AddProbe(ctx context.Context, req *AddProbeRequest) (*AddProbeResponse, error)
- func (*UnimplementedCloudproberServer) ListProbes(ctx context.Context, req *ListProbesRequest) (*ListProbesResponse, error)
- func (*UnimplementedCloudproberServer) RemoveProbe(ctx context.Context, req *RemoveProbeRequest) (*RemoveProbeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCloudproberServer ¶
func RegisterCloudproberServer(s *grpc.Server, srv CloudproberServer)
Types ¶
type AddProbeRequest ¶
type AddProbeRequest struct { ProbeConfig *proto1.ProbeDef `protobuf:"bytes,1,opt,name=probe_config,json=probeConfig" json:"probe_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddProbeRequest) Descriptor ¶
func (*AddProbeRequest) Descriptor() ([]byte, []int)
func (*AddProbeRequest) GetProbeConfig ¶
func (m *AddProbeRequest) GetProbeConfig() *proto1.ProbeDef
func (*AddProbeRequest) ProtoMessage ¶
func (*AddProbeRequest) ProtoMessage()
func (*AddProbeRequest) Reset ¶
func (m *AddProbeRequest) Reset()
func (*AddProbeRequest) String ¶
func (m *AddProbeRequest) String() string
func (*AddProbeRequest) XXX_DiscardUnknown ¶
func (m *AddProbeRequest) XXX_DiscardUnknown()
func (*AddProbeRequest) XXX_Marshal ¶
func (m *AddProbeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddProbeRequest) XXX_Merge ¶
func (m *AddProbeRequest) XXX_Merge(src proto.Message)
func (*AddProbeRequest) XXX_Size ¶
func (m *AddProbeRequest) XXX_Size() int
func (*AddProbeRequest) XXX_Unmarshal ¶
func (m *AddProbeRequest) XXX_Unmarshal(b []byte) error
type AddProbeResponse ¶
type AddProbeResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddProbeResponse) Descriptor ¶
func (*AddProbeResponse) Descriptor() ([]byte, []int)
func (*AddProbeResponse) ProtoMessage ¶
func (*AddProbeResponse) ProtoMessage()
func (*AddProbeResponse) Reset ¶
func (m *AddProbeResponse) Reset()
func (*AddProbeResponse) String ¶
func (m *AddProbeResponse) String() string
func (*AddProbeResponse) XXX_DiscardUnknown ¶
func (m *AddProbeResponse) XXX_DiscardUnknown()
func (*AddProbeResponse) XXX_Marshal ¶
func (m *AddProbeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddProbeResponse) XXX_Merge ¶
func (m *AddProbeResponse) XXX_Merge(src proto.Message)
func (*AddProbeResponse) XXX_Size ¶
func (m *AddProbeResponse) XXX_Size() int
func (*AddProbeResponse) XXX_Unmarshal ¶
func (m *AddProbeResponse) XXX_Unmarshal(b []byte) error
type CloudproberClient ¶
type CloudproberClient interface { // AddProbe adds a probe to cloudprober. Error is returned if probe is already // defined or there is an error during initialization of the probe. AddProbe(ctx context.Context, in *AddProbeRequest, opts ...grpc.CallOption) (*AddProbeResponse, error) // RemoveProbe stops the probe and removes it from the in-memory database. RemoveProbe(ctx context.Context, in *RemoveProbeRequest, opts ...grpc.CallOption) (*RemoveProbeResponse, error) // ListProbes lists active probes. ListProbes(ctx context.Context, in *ListProbesRequest, opts ...grpc.CallOption) (*ListProbesResponse, error) }
CloudproberClient is the client API for Cloudprober service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCloudproberClient ¶
func NewCloudproberClient(cc *grpc.ClientConn) CloudproberClient
type CloudproberServer ¶
type CloudproberServer interface { // AddProbe adds a probe to cloudprober. Error is returned if probe is already // defined or there is an error during initialization of the probe. AddProbe(context.Context, *AddProbeRequest) (*AddProbeResponse, error) // RemoveProbe stops the probe and removes it from the in-memory database. RemoveProbe(context.Context, *RemoveProbeRequest) (*RemoveProbeResponse, error) // ListProbes lists active probes. ListProbes(context.Context, *ListProbesRequest) (*ListProbesResponse, error) }
CloudproberServer is the server API for Cloudprober service.
type ListProbesRequest ¶
type ListProbesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListProbesRequest) Descriptor ¶
func (*ListProbesRequest) Descriptor() ([]byte, []int)
func (*ListProbesRequest) ProtoMessage ¶
func (*ListProbesRequest) ProtoMessage()
func (*ListProbesRequest) Reset ¶
func (m *ListProbesRequest) Reset()
func (*ListProbesRequest) String ¶
func (m *ListProbesRequest) String() string
func (*ListProbesRequest) XXX_DiscardUnknown ¶
func (m *ListProbesRequest) XXX_DiscardUnknown()
func (*ListProbesRequest) XXX_Marshal ¶
func (m *ListProbesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProbesRequest) XXX_Merge ¶
func (m *ListProbesRequest) XXX_Merge(src proto.Message)
func (*ListProbesRequest) XXX_Size ¶
func (m *ListProbesRequest) XXX_Size() int
func (*ListProbesRequest) XXX_Unmarshal ¶
func (m *ListProbesRequest) XXX_Unmarshal(b []byte) error
type ListProbesResponse ¶
type ListProbesResponse struct { Probe []*Probe `protobuf:"bytes,1,rep,name=probe" json:"probe,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListProbesResponse) Descriptor ¶
func (*ListProbesResponse) Descriptor() ([]byte, []int)
func (*ListProbesResponse) GetProbe ¶
func (m *ListProbesResponse) GetProbe() []*Probe
func (*ListProbesResponse) ProtoMessage ¶
func (*ListProbesResponse) ProtoMessage()
func (*ListProbesResponse) Reset ¶
func (m *ListProbesResponse) Reset()
func (*ListProbesResponse) String ¶
func (m *ListProbesResponse) String() string
func (*ListProbesResponse) XXX_DiscardUnknown ¶
func (m *ListProbesResponse) XXX_DiscardUnknown()
func (*ListProbesResponse) XXX_Marshal ¶
func (m *ListProbesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProbesResponse) XXX_Merge ¶
func (m *ListProbesResponse) XXX_Merge(src proto.Message)
func (*ListProbesResponse) XXX_Size ¶
func (m *ListProbesResponse) XXX_Size() int
func (*ListProbesResponse) XXX_Unmarshal ¶
func (m *ListProbesResponse) XXX_Unmarshal(b []byte) error
type Probe ¶
type Probe struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Config *proto1.ProbeDef `protobuf:"bytes,2,opt,name=config" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Probe) Descriptor ¶
func (*Probe) ProtoMessage ¶
func (*Probe) ProtoMessage()
func (*Probe) XXX_DiscardUnknown ¶
func (m *Probe) XXX_DiscardUnknown()
func (*Probe) XXX_Marshal ¶
func (*Probe) XXX_Unmarshal ¶
type RemoveProbeRequest ¶
type RemoveProbeRequest struct { ProbeName *string `protobuf:"bytes,1,opt,name=probe_name,json=probeName" json:"probe_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveProbeRequest) Descriptor ¶
func (*RemoveProbeRequest) Descriptor() ([]byte, []int)
func (*RemoveProbeRequest) GetProbeName ¶
func (m *RemoveProbeRequest) GetProbeName() string
func (*RemoveProbeRequest) ProtoMessage ¶
func (*RemoveProbeRequest) ProtoMessage()
func (*RemoveProbeRequest) Reset ¶
func (m *RemoveProbeRequest) Reset()
func (*RemoveProbeRequest) String ¶
func (m *RemoveProbeRequest) String() string
func (*RemoveProbeRequest) XXX_DiscardUnknown ¶
func (m *RemoveProbeRequest) XXX_DiscardUnknown()
func (*RemoveProbeRequest) XXX_Marshal ¶
func (m *RemoveProbeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveProbeRequest) XXX_Merge ¶
func (m *RemoveProbeRequest) XXX_Merge(src proto.Message)
func (*RemoveProbeRequest) XXX_Size ¶
func (m *RemoveProbeRequest) XXX_Size() int
func (*RemoveProbeRequest) XXX_Unmarshal ¶
func (m *RemoveProbeRequest) XXX_Unmarshal(b []byte) error
type RemoveProbeResponse ¶
type RemoveProbeResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveProbeResponse) Descriptor ¶
func (*RemoveProbeResponse) Descriptor() ([]byte, []int)
func (*RemoveProbeResponse) ProtoMessage ¶
func (*RemoveProbeResponse) ProtoMessage()
func (*RemoveProbeResponse) Reset ¶
func (m *RemoveProbeResponse) Reset()
func (*RemoveProbeResponse) String ¶
func (m *RemoveProbeResponse) String() string
func (*RemoveProbeResponse) XXX_DiscardUnknown ¶
func (m *RemoveProbeResponse) XXX_DiscardUnknown()
func (*RemoveProbeResponse) XXX_Marshal ¶
func (m *RemoveProbeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveProbeResponse) XXX_Merge ¶
func (m *RemoveProbeResponse) XXX_Merge(src proto.Message)
func (*RemoveProbeResponse) XXX_Size ¶
func (m *RemoveProbeResponse) XXX_Size() int
func (*RemoveProbeResponse) XXX_Unmarshal ¶
func (m *RemoveProbeResponse) XXX_Unmarshal(b []byte) error
type UnimplementedCloudproberServer ¶ added in v0.10.4
type UnimplementedCloudproberServer struct { }
UnimplementedCloudproberServer can be embedded to have forward compatible implementations.
func (*UnimplementedCloudproberServer) AddProbe ¶ added in v0.10.4
func (*UnimplementedCloudproberServer) AddProbe(ctx context.Context, req *AddProbeRequest) (*AddProbeResponse, error)
func (*UnimplementedCloudproberServer) ListProbes ¶ added in v0.10.4
func (*UnimplementedCloudproberServer) ListProbes(ctx context.Context, req *ListProbesRequest) (*ListProbesResponse, error)
func (*UnimplementedCloudproberServer) RemoveProbe ¶ added in v0.10.4
func (*UnimplementedCloudproberServer) RemoveProbe(ctx context.Context, req *RemoveProbeRequest) (*RemoveProbeResponse, error)
Click to show internal directories.
Click to hide internal directories.