Documentation
¶
Index ¶
- Variables
- func RegisterReportServiceServer(s *grpc.Server, srv ReportServiceServer)
- type CreateReportRequest
- func (*CreateReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReportRequest) GetReport() *v1alpha1.Report
- func (*CreateReportRequest) ProtoMessage()
- func (x *CreateReportRequest) ProtoReflect() protoreflect.Message
- func (x *CreateReportRequest) Reset()
- func (x *CreateReportRequest) String() string
- type CreateReportResponse
- type DeleteReportRequest
- func (*DeleteReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteReportRequest) GetName() string
- func (x *DeleteReportRequest) GetNamespace() string
- func (*DeleteReportRequest) ProtoMessage()
- func (x *DeleteReportRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteReportRequest) Reset()
- func (x *DeleteReportRequest) String() string
- type DeleteReportResponse
- type DownloadReportRequest
- func (*DownloadReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadReportRequest) GetName() string
- func (x *DownloadReportRequest) GetNamespace() string
- func (*DownloadReportRequest) ProtoMessage()
- func (x *DownloadReportRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadReportRequest) Reset()
- func (x *DownloadReportRequest) String() string
- type DownloadReportResponse
- func (*DownloadReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadReportResponse) GetRaw() []byte
- func (*DownloadReportResponse) ProtoMessage()
- func (x *DownloadReportResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadReportResponse) Reset()
- func (x *DownloadReportResponse) String() string
- type GetReportRequest
- func (*GetReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReportRequest) GetName() string
- func (x *GetReportRequest) GetNamespace() string
- func (*GetReportRequest) ProtoMessage()
- func (x *GetReportRequest) ProtoReflect() protoreflect.Message
- func (x *GetReportRequest) Reset()
- func (x *GetReportRequest) String() string
- type GetReportResponse
- func (*GetReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReportResponse) GetReport() *v1alpha1.Report
- func (x *GetReportResponse) GetYaml() string
- func (*GetReportResponse) ProtoMessage()
- func (x *GetReportResponse) ProtoReflect() protoreflect.Message
- func (x *GetReportResponse) Reset()
- func (x *GetReportResponse) String() string
- type ListReportsRequest
- func (*ListReportsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReportsRequest) GetLabels() map[string]string
- func (x *ListReportsRequest) GetNamespace() string
- func (x *ListReportsRequest) GetOrderBy() string
- func (x *ListReportsRequest) GetPageSize() int32
- func (x *ListReportsRequest) GetPageToken() string
- func (*ListReportsRequest) ProtoMessage()
- func (x *ListReportsRequest) ProtoReflect() protoreflect.Message
- func (x *ListReportsRequest) Reset()
- func (x *ListReportsRequest) String() string
- type ListReportsResponse
- func (*ListReportsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReportsResponse) GetNextPageToken() string
- func (x *ListReportsResponse) GetReports() *v1alpha1.ReportList
- func (*ListReportsResponse) ProtoMessage()
- func (x *ListReportsResponse) ProtoReflect() protoreflect.Message
- func (x *ListReportsResponse) Reset()
- func (x *ListReportsResponse) String() string
- type ReportServiceClient
- type ReportServiceServer
- type UnimplementedReportServiceServer
- func (*UnimplementedReportServiceServer) CreateReport(context.Context, *CreateReportRequest) (*CreateReportResponse, error)
- func (*UnimplementedReportServiceServer) DeleteReport(context.Context, *DeleteReportRequest) (*DeleteReportResponse, error)
- func (*UnimplementedReportServiceServer) Download(context.Context, *DownloadReportRequest) (*DownloadReportResponse, error)
- func (*UnimplementedReportServiceServer) GetReport(context.Context, *GetReportRequest) (*GetReportResponse, error)
- func (*UnimplementedReportServiceServer) ListReports(context.Context, *ListReportsRequest) (*ListReportsResponse, error)
- func (*UnimplementedReportServiceServer) UpdateReport(context.Context, *UpdateReportRequest) (*UpdateReportResponse, error)
- type UpdateReportRequest
- func (*UpdateReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateReportRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateReportRequest) GetReport() *v1alpha1.Report
- func (*UpdateReportRequest) ProtoMessage()
- func (x *UpdateReportRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateReportRequest) Reset()
- func (x *UpdateReportRequest) String() string
- type UpdateReportResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_report_v1_report_proto protoreflect.FileDescriptor
Functions ¶
func RegisterReportServiceServer ¶
func RegisterReportServiceServer(s *grpc.Server, srv ReportServiceServer)
Types ¶
type CreateReportRequest ¶
type CreateReportRequest struct { Report *v1alpha1.Report `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"` // contains filtered or unexported fields }
func (*CreateReportRequest) Descriptor
deprecated
func (*CreateReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateReportRequest.ProtoReflect.Descriptor instead.
func (*CreateReportRequest) GetReport ¶ added in v0.4.472
func (x *CreateReportRequest) GetReport() *v1alpha1.Report
func (*CreateReportRequest) ProtoMessage ¶
func (*CreateReportRequest) ProtoMessage()
func (*CreateReportRequest) ProtoReflect ¶
func (x *CreateReportRequest) ProtoReflect() protoreflect.Message
func (*CreateReportRequest) Reset ¶
func (x *CreateReportRequest) Reset()
func (*CreateReportRequest) String ¶
func (x *CreateReportRequest) String() string
type CreateReportResponse ¶
type CreateReportResponse struct {
// contains filtered or unexported fields
}
func (*CreateReportResponse) Descriptor
deprecated
func (*CreateReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateReportResponse.ProtoReflect.Descriptor instead.
func (*CreateReportResponse) ProtoMessage ¶
func (*CreateReportResponse) ProtoMessage()
func (*CreateReportResponse) ProtoReflect ¶
func (x *CreateReportResponse) ProtoReflect() protoreflect.Message
func (*CreateReportResponse) Reset ¶
func (x *CreateReportResponse) Reset()
func (*CreateReportResponse) String ¶
func (x *CreateReportResponse) String() string
type DeleteReportRequest ¶
type DeleteReportRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteReportRequest) Descriptor
deprecated
func (*DeleteReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReportRequest.ProtoReflect.Descriptor instead.
func (*DeleteReportRequest) GetName ¶
func (x *DeleteReportRequest) GetName() string
func (*DeleteReportRequest) GetNamespace ¶
func (x *DeleteReportRequest) GetNamespace() string
func (*DeleteReportRequest) ProtoMessage ¶
func (*DeleteReportRequest) ProtoMessage()
func (*DeleteReportRequest) ProtoReflect ¶
func (x *DeleteReportRequest) ProtoReflect() protoreflect.Message
func (*DeleteReportRequest) Reset ¶
func (x *DeleteReportRequest) Reset()
func (*DeleteReportRequest) String ¶
func (x *DeleteReportRequest) String() string
type DeleteReportResponse ¶
type DeleteReportResponse struct {
// contains filtered or unexported fields
}
func (*DeleteReportResponse) Descriptor
deprecated
func (*DeleteReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReportResponse.ProtoReflect.Descriptor instead.
func (*DeleteReportResponse) ProtoMessage ¶
func (*DeleteReportResponse) ProtoMessage()
func (*DeleteReportResponse) ProtoReflect ¶
func (x *DeleteReportResponse) ProtoReflect() protoreflect.Message
func (*DeleteReportResponse) Reset ¶
func (x *DeleteReportResponse) Reset()
func (*DeleteReportResponse) String ¶
func (x *DeleteReportResponse) String() string
type DownloadReportRequest ¶
type DownloadReportRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DownloadReportRequest) Descriptor
deprecated
func (*DownloadReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadReportRequest.ProtoReflect.Descriptor instead.
func (*DownloadReportRequest) GetName ¶
func (x *DownloadReportRequest) GetName() string
func (*DownloadReportRequest) GetNamespace ¶
func (x *DownloadReportRequest) GetNamespace() string
func (*DownloadReportRequest) ProtoMessage ¶
func (*DownloadReportRequest) ProtoMessage()
func (*DownloadReportRequest) ProtoReflect ¶
func (x *DownloadReportRequest) ProtoReflect() protoreflect.Message
func (*DownloadReportRequest) Reset ¶
func (x *DownloadReportRequest) Reset()
func (*DownloadReportRequest) String ¶
func (x *DownloadReportRequest) String() string
type DownloadReportResponse ¶
type DownloadReportResponse struct { Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // contains filtered or unexported fields }
Answer the report in base 64
func (*DownloadReportResponse) Descriptor
deprecated
func (*DownloadReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadReportResponse.ProtoReflect.Descriptor instead.
func (*DownloadReportResponse) GetRaw ¶
func (x *DownloadReportResponse) GetRaw() []byte
func (*DownloadReportResponse) ProtoMessage ¶
func (*DownloadReportResponse) ProtoMessage()
func (*DownloadReportResponse) ProtoReflect ¶
func (x *DownloadReportResponse) ProtoReflect() protoreflect.Message
func (*DownloadReportResponse) Reset ¶
func (x *DownloadReportResponse) Reset()
func (*DownloadReportResponse) String ¶
func (x *DownloadReportResponse) String() string
type GetReportRequest ¶
type GetReportRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetReportRequest) Descriptor
deprecated
func (*GetReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReportRequest.ProtoReflect.Descriptor instead.
func (*GetReportRequest) GetName ¶
func (x *GetReportRequest) GetName() string
func (*GetReportRequest) GetNamespace ¶
func (x *GetReportRequest) GetNamespace() string
func (*GetReportRequest) ProtoMessage ¶
func (*GetReportRequest) ProtoMessage()
func (*GetReportRequest) ProtoReflect ¶
func (x *GetReportRequest) ProtoReflect() protoreflect.Message
func (*GetReportRequest) Reset ¶
func (x *GetReportRequest) Reset()
func (*GetReportRequest) String ¶
func (x *GetReportRequest) String() string
type GetReportResponse ¶
type GetReportResponse struct { Report *v1alpha1.Report `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetReportResponse) Descriptor
deprecated
func (*GetReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReportResponse.ProtoReflect.Descriptor instead.
func (*GetReportResponse) GetReport ¶ added in v0.4.475
func (x *GetReportResponse) GetReport() *v1alpha1.Report
func (*GetReportResponse) GetYaml ¶
func (x *GetReportResponse) GetYaml() string
func (*GetReportResponse) ProtoMessage ¶
func (*GetReportResponse) ProtoMessage()
func (*GetReportResponse) ProtoReflect ¶
func (x *GetReportResponse) ProtoReflect() protoreflect.Message
func (*GetReportResponse) Reset ¶
func (x *GetReportResponse) Reset()
func (*GetReportResponse) String ¶
func (x *GetReportResponse) String() string
type ListReportsRequest ¶
type ListReportsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListReportsRequest) Descriptor
deprecated
func (*ListReportsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReportsRequest.ProtoReflect.Descriptor instead.
func (*ListReportsRequest) GetLabels ¶
func (x *ListReportsRequest) GetLabels() map[string]string
func (*ListReportsRequest) GetNamespace ¶
func (x *ListReportsRequest) GetNamespace() string
func (*ListReportsRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListReportsRequest) GetOrderBy() string
func (*ListReportsRequest) GetPageSize ¶ added in v0.4.414
func (x *ListReportsRequest) GetPageSize() int32
func (*ListReportsRequest) GetPageToken ¶ added in v0.4.414
func (x *ListReportsRequest) GetPageToken() string
func (*ListReportsRequest) ProtoMessage ¶
func (*ListReportsRequest) ProtoMessage()
func (*ListReportsRequest) ProtoReflect ¶
func (x *ListReportsRequest) ProtoReflect() protoreflect.Message
func (*ListReportsRequest) Reset ¶
func (x *ListReportsRequest) Reset()
func (*ListReportsRequest) String ¶
func (x *ListReportsRequest) String() string
type ListReportsResponse ¶
type ListReportsResponse struct { Reports *v1alpha1.ReportList `protobuf:"bytes,1,opt,name=reports,proto3" json:"reports,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListReportsResponse) Descriptor
deprecated
func (*ListReportsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReportsResponse.ProtoReflect.Descriptor instead.
func (*ListReportsResponse) GetNextPageToken ¶ added in v0.4.472
func (x *ListReportsResponse) GetNextPageToken() string
func (*ListReportsResponse) GetReports ¶ added in v0.4.472
func (x *ListReportsResponse) GetReports() *v1alpha1.ReportList
func (*ListReportsResponse) ProtoMessage ¶
func (*ListReportsResponse) ProtoMessage()
func (*ListReportsResponse) ProtoReflect ¶
func (x *ListReportsResponse) ProtoReflect() protoreflect.Message
func (*ListReportsResponse) Reset ¶
func (x *ListReportsResponse) Reset()
func (*ListReportsResponse) String ¶
func (x *ListReportsResponse) String() string
type ReportServiceClient ¶
type ReportServiceClient interface { ListReports(ctx context.Context, in *ListReportsRequest, opts ...grpc.CallOption) (*ListReportsResponse, error) CreateReport(ctx context.Context, in *CreateReportRequest, opts ...grpc.CallOption) (*CreateReportResponse, error) GetReport(ctx context.Context, in *GetReportRequest, opts ...grpc.CallOption) (*GetReportResponse, error) UpdateReport(ctx context.Context, in *UpdateReportRequest, opts ...grpc.CallOption) (*UpdateReportResponse, error) DeleteReport(ctx context.Context, in *DeleteReportRequest, opts ...grpc.CallOption) (*DeleteReportResponse, error) Download(ctx context.Context, in *DownloadReportRequest, opts ...grpc.CallOption) (*DownloadReportResponse, error) }
ReportServiceClient is the client API for ReportService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReportServiceClient ¶
func NewReportServiceClient(cc grpc.ClientConnInterface) ReportServiceClient
type ReportServiceServer ¶
type ReportServiceServer interface { ListReports(context.Context, *ListReportsRequest) (*ListReportsResponse, error) CreateReport(context.Context, *CreateReportRequest) (*CreateReportResponse, error) GetReport(context.Context, *GetReportRequest) (*GetReportResponse, error) UpdateReport(context.Context, *UpdateReportRequest) (*UpdateReportResponse, error) DeleteReport(context.Context, *DeleteReportRequest) (*DeleteReportResponse, error) Download(context.Context, *DownloadReportRequest) (*DownloadReportResponse, error) }
ReportServiceServer is the server API for ReportService service.
type UnimplementedReportServiceServer ¶
type UnimplementedReportServiceServer struct { }
UnimplementedReportServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedReportServiceServer) CreateReport ¶
func (*UnimplementedReportServiceServer) CreateReport(context.Context, *CreateReportRequest) (*CreateReportResponse, error)
func (*UnimplementedReportServiceServer) DeleteReport ¶
func (*UnimplementedReportServiceServer) DeleteReport(context.Context, *DeleteReportRequest) (*DeleteReportResponse, error)
func (*UnimplementedReportServiceServer) Download ¶
func (*UnimplementedReportServiceServer) Download(context.Context, *DownloadReportRequest) (*DownloadReportResponse, error)
func (*UnimplementedReportServiceServer) GetReport ¶
func (*UnimplementedReportServiceServer) GetReport(context.Context, *GetReportRequest) (*GetReportResponse, error)
func (*UnimplementedReportServiceServer) ListReports ¶
func (*UnimplementedReportServiceServer) ListReports(context.Context, *ListReportsRequest) (*ListReportsResponse, error)
func (*UnimplementedReportServiceServer) UpdateReport ¶
func (*UnimplementedReportServiceServer) UpdateReport(context.Context, *UpdateReportRequest) (*UpdateReportResponse, error)
type UpdateReportRequest ¶
type UpdateReportRequest struct { Report *v1alpha1.Report `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"` FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateReportRequest) Descriptor
deprecated
func (*UpdateReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReportRequest.ProtoReflect.Descriptor instead.
func (*UpdateReportRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateReportRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateReportRequest) GetReport ¶ added in v0.4.475
func (x *UpdateReportRequest) GetReport() *v1alpha1.Report
func (*UpdateReportRequest) ProtoMessage ¶
func (*UpdateReportRequest) ProtoMessage()
func (*UpdateReportRequest) ProtoReflect ¶
func (x *UpdateReportRequest) ProtoReflect() protoreflect.Message
func (*UpdateReportRequest) Reset ¶
func (x *UpdateReportRequest) Reset()
func (*UpdateReportRequest) String ¶
func (x *UpdateReportRequest) String() string
type UpdateReportResponse ¶
type UpdateReportResponse struct {
// contains filtered or unexported fields
}
func (*UpdateReportResponse) Descriptor
deprecated
func (*UpdateReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReportResponse.ProtoReflect.Descriptor instead.
func (*UpdateReportResponse) ProtoMessage ¶
func (*UpdateReportResponse) ProtoMessage()
func (*UpdateReportResponse) ProtoReflect ¶
func (x *UpdateReportResponse) ProtoReflect() protoreflect.Message
func (*UpdateReportResponse) Reset ¶
func (x *UpdateReportResponse) Reset()
func (*UpdateReportResponse) String ¶
func (x *UpdateReportResponse) String() string