Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterReporterPluginServer(s *grpc.Server, srv ReporterPluginServer)
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (m *Empty) Marshal() (dAtA []byte, err error)
- func (m *Empty) MarshalTo(dAtA []byte) (int, error)
- func (m *Empty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) Size() (n int)
- func (this *Empty) String() string
- func (m *Empty) Unmarshal(dAtA []byte) error
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type FieldType
- type GetReportContentResponse
- func (*GetReportContentResponse) Descriptor() ([]byte, []int)
- func (m *GetReportContentResponse) GetContent() []*ReportContent
- func (m *GetReportContentResponse) Marshal() (dAtA []byte, err error)
- func (m *GetReportContentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetReportContentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetReportContentResponse) ProtoMessage()
- func (m *GetReportContentResponse) Reset()
- func (m *GetReportContentResponse) Size() (n int)
- func (this *GetReportContentResponse) String() string
- func (m *GetReportContentResponse) Unmarshal(dAtA []byte) error
- func (m *GetReportContentResponse) XXX_DiscardUnknown()
- func (m *GetReportContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReportContentResponse) XXX_Merge(src proto.Message)
- func (m *GetReportContentResponse) XXX_Size() int
- func (m *GetReportContentResponse) XXX_Unmarshal(b []byte) error
- type ReportContent
- func (*ReportContent) Descriptor() ([]byte, []int)
- func (m *ReportContent) GetField() []*ReportField
- func (m *ReportContent) GetGroupVersionKind() *v1.GroupVersionKind
- func (m *ReportContent) Marshal() (dAtA []byte, err error)
- func (m *ReportContent) MarshalTo(dAtA []byte) (int, error)
- func (m *ReportContent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReportContent) ProtoMessage()
- func (m *ReportContent) Reset()
- func (m *ReportContent) Size() (n int)
- func (this *ReportContent) String() string
- func (m *ReportContent) Unmarshal(dAtA []byte) error
- func (m *ReportContent) XXX_DiscardUnknown()
- func (m *ReportContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportContent) XXX_Merge(src proto.Message)
- func (m *ReportContent) XXX_Size() int
- func (m *ReportContent) XXX_Unmarshal(b []byte) error
- type ReportField
- func (*ReportField) Descriptor() ([]byte, []int)
- func (m *ReportField) GetFieldName() string
- func (m *ReportField) GetFieldType() FieldType
- func (m *ReportField) GetValue() []byte
- func (m *ReportField) Marshal() (dAtA []byte, err error)
- func (m *ReportField) MarshalTo(dAtA []byte) (int, error)
- func (m *ReportField) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReportField) ProtoMessage()
- func (m *ReportField) Reset()
- func (m *ReportField) Size() (n int)
- func (this *ReportField) String() string
- func (m *ReportField) Unmarshal(dAtA []byte) error
- func (m *ReportField) XXX_DiscardUnknown()
- func (m *ReportField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportField) XXX_Merge(src proto.Message)
- func (m *ReportField) XXX_Size() int
- func (m *ReportField) XXX_Unmarshal(b []byte) error
- type ReporterPluginClient
- type ReporterPluginServer
- type ReporterPlugin_ListAndWatchReportContentClient
- type ReporterPlugin_ListAndWatchReportContentServer
- type UnimplementedReporterPluginServer
Constants ¶
View Source
const (
Version = "v1alpha1"
)
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group") )
View Source
var FieldType_name = map[int32]string{
0: "Spec",
1: "Status",
2: "Metadata",
}
View Source
var FieldType_value = map[string]int32{
"Spec": 0,
"Status": 1,
"Metadata": 2,
}
View Source
var SupportedVersions = [...]string{Version}
Functions ¶
func RegisterReporterPluginServer ¶
func RegisterReporterPluginServer(s *grpc.Server, srv ReporterPluginServer)
Types ¶
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type GetReportContentResponse ¶
type GetReportContentResponse struct { Content []*ReportContent `protobuf:"bytes,1,rep,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetReportContentResponse) Descriptor ¶
func (*GetReportContentResponse) Descriptor() ([]byte, []int)
func (*GetReportContentResponse) GetContent ¶
func (m *GetReportContentResponse) GetContent() []*ReportContent
func (*GetReportContentResponse) Marshal ¶
func (m *GetReportContentResponse) Marshal() (dAtA []byte, err error)
func (*GetReportContentResponse) MarshalTo ¶
func (m *GetReportContentResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetReportContentResponse) MarshalToSizedBuffer ¶
func (m *GetReportContentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetReportContentResponse) ProtoMessage ¶
func (*GetReportContentResponse) ProtoMessage()
func (*GetReportContentResponse) Reset ¶
func (m *GetReportContentResponse) Reset()
func (*GetReportContentResponse) Size ¶
func (m *GetReportContentResponse) Size() (n int)
func (*GetReportContentResponse) String ¶
func (this *GetReportContentResponse) String() string
func (*GetReportContentResponse) Unmarshal ¶
func (m *GetReportContentResponse) Unmarshal(dAtA []byte) error
func (*GetReportContentResponse) XXX_DiscardUnknown ¶
func (m *GetReportContentResponse) XXX_DiscardUnknown()
func (*GetReportContentResponse) XXX_Marshal ¶
func (m *GetReportContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetReportContentResponse) XXX_Merge ¶
func (m *GetReportContentResponse) XXX_Merge(src proto.Message)
func (*GetReportContentResponse) XXX_Size ¶
func (m *GetReportContentResponse) XXX_Size() int
func (*GetReportContentResponse) XXX_Unmarshal ¶
func (m *GetReportContentResponse) XXX_Unmarshal(b []byte) error
type ReportContent ¶
type ReportContent struct { GroupVersionKind *v1.GroupVersionKind `protobuf:"bytes,1,opt,name=groupVersionKind,proto3" json:"groupVersionKind,omitempty"` Field []*ReportField `protobuf:"bytes,2,rep,name=field,proto3" json:"field,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReportContent) Descriptor ¶
func (*ReportContent) Descriptor() ([]byte, []int)
func (*ReportContent) GetField ¶
func (m *ReportContent) GetField() []*ReportField
func (*ReportContent) GetGroupVersionKind ¶
func (m *ReportContent) GetGroupVersionKind() *v1.GroupVersionKind
func (*ReportContent) Marshal ¶
func (m *ReportContent) Marshal() (dAtA []byte, err error)
func (*ReportContent) MarshalToSizedBuffer ¶
func (m *ReportContent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReportContent) ProtoMessage ¶
func (*ReportContent) ProtoMessage()
func (*ReportContent) Reset ¶
func (m *ReportContent) Reset()
func (*ReportContent) Size ¶
func (m *ReportContent) Size() (n int)
func (*ReportContent) String ¶
func (this *ReportContent) String() string
func (*ReportContent) Unmarshal ¶
func (m *ReportContent) Unmarshal(dAtA []byte) error
func (*ReportContent) XXX_DiscardUnknown ¶
func (m *ReportContent) XXX_DiscardUnknown()
func (*ReportContent) XXX_Marshal ¶
func (m *ReportContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportContent) XXX_Merge ¶
func (m *ReportContent) XXX_Merge(src proto.Message)
func (*ReportContent) XXX_Size ¶
func (m *ReportContent) XXX_Size() int
func (*ReportContent) XXX_Unmarshal ¶
func (m *ReportContent) XXX_Unmarshal(b []byte) error
type ReportField ¶
type ReportField struct { FieldType FieldType `protobuf:"varint,1,opt,name=fieldType,proto3,enum=reporterplugin.v1alpha1.FieldType" json:"fieldType,omitempty"` FieldName string `protobuf:"bytes,2,opt,name=fieldName,proto3" json:"fieldName,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReportField) Descriptor ¶
func (*ReportField) Descriptor() ([]byte, []int)
func (*ReportField) GetFieldName ¶
func (m *ReportField) GetFieldName() string
func (*ReportField) GetFieldType ¶
func (m *ReportField) GetFieldType() FieldType
func (*ReportField) GetValue ¶
func (m *ReportField) GetValue() []byte
func (*ReportField) Marshal ¶
func (m *ReportField) Marshal() (dAtA []byte, err error)
func (*ReportField) MarshalToSizedBuffer ¶
func (m *ReportField) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReportField) ProtoMessage ¶
func (*ReportField) ProtoMessage()
func (*ReportField) Reset ¶
func (m *ReportField) Reset()
func (*ReportField) Size ¶
func (m *ReportField) Size() (n int)
func (*ReportField) String ¶
func (this *ReportField) String() string
func (*ReportField) Unmarshal ¶
func (m *ReportField) Unmarshal(dAtA []byte) error
func (*ReportField) XXX_DiscardUnknown ¶
func (m *ReportField) XXX_DiscardUnknown()
func (*ReportField) XXX_Marshal ¶
func (m *ReportField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportField) XXX_Merge ¶
func (m *ReportField) XXX_Merge(src proto.Message)
func (*ReportField) XXX_Size ¶
func (m *ReportField) XXX_Size() int
func (*ReportField) XXX_Unmarshal ¶
func (m *ReportField) XXX_Unmarshal(b []byte) error
type ReporterPluginClient ¶
type ReporterPluginClient interface { GetReportContent(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetReportContentResponse, error) ListAndWatchReportContent(ctx context.Context, in *Empty, opts ...grpc.CallOption) (ReporterPlugin_ListAndWatchReportContentClient, error) }
ReporterPluginClient is the client API for ReporterPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReporterPluginClient ¶
func NewReporterPluginClient(cc *grpc.ClientConn) ReporterPluginClient
type ReporterPluginServer ¶
type ReporterPluginServer interface { GetReportContent(context.Context, *Empty) (*GetReportContentResponse, error) ListAndWatchReportContent(*Empty, ReporterPlugin_ListAndWatchReportContentServer) error }
ReporterPluginServer is the server API for ReporterPlugin service.
type ReporterPlugin_ListAndWatchReportContentClient ¶
type ReporterPlugin_ListAndWatchReportContentClient interface { Recv() (*GetReportContentResponse, error) grpc.ClientStream }
type ReporterPlugin_ListAndWatchReportContentServer ¶
type ReporterPlugin_ListAndWatchReportContentServer interface { Send(*GetReportContentResponse) error grpc.ServerStream }
type UnimplementedReporterPluginServer ¶
type UnimplementedReporterPluginServer struct { }
UnimplementedReporterPluginServer can be embedded to have forward compatible implementations.
func (*UnimplementedReporterPluginServer) GetReportContent ¶
func (*UnimplementedReporterPluginServer) GetReportContent(ctx context.Context, req *Empty) (*GetReportContentResponse, error)
func (*UnimplementedReporterPluginServer) ListAndWatchReportContent ¶
func (*UnimplementedReporterPluginServer) ListAndWatchReportContent(req *Empty, srv ReporterPlugin_ListAndWatchReportContentServer) error
Click to show internal directories.
Click to hide internal directories.