Versions in this module Expand all Collapse all v0 v0.2.0 Aug 30, 2023 Changes in this version + const ProjectService_CreateProject_FullMethodName + const ProjectService_GetProject_FullMethodName + const ProjectService_ListProjects_FullMethodName + const ProjectService_UpdateProject_FullMethodName + const RecordService_BatchCreateRecords_FullMethodName + const RecordService_CreateRecord_FullMethodName + const RecordService_DeleteRecord_FullMethodName + const RecordService_GetRecord_FullMethodName + const RecordService_ListRecords_FullMethodName + const RecordService_UpdateRecord_FullMethodName + var File_auditumio_auditum_v1alpha1_openapi_proto protoreflect.FileDescriptor + var File_auditumio_auditum_v1alpha1_project_proto protoreflect.FileDescriptor + var File_auditumio_auditum_v1alpha1_project_service_proto protoreflect.FileDescriptor + var File_auditumio_auditum_v1alpha1_record_proto protoreflect.FileDescriptor + var File_auditumio_auditum_v1alpha1_record_service_proto protoreflect.FileDescriptor + var OperationStatus_Enum_name = map[int32]string + var OperationStatus_Enum_value = map[string]int32 + var ProjectService_ServiceDesc = grpc.ServiceDesc + var RecordService_ServiceDesc = grpc.ServiceDesc + func RegisterProjectServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectServiceClient) error + func RegisterProjectServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectServiceServer) error + func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer) + func RegisterRecordServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterRecordServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RecordServiceClient) error + func RegisterRecordServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterRecordServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RecordServiceServer) error + func RegisterRecordServiceServer(s grpc.ServiceRegistrar, srv RecordServiceServer) + type Actor struct + Id string + Metadata map[string]string + Type string + func (*Actor) Descriptor() ([]byte, []int) + func (*Actor) ProtoMessage() + func (x *Actor) GetId() string + func (x *Actor) GetMetadata() map[string]string + func (x *Actor) GetType() string + func (x *Actor) ProtoReflect() protoreflect.Message + func (x *Actor) Reset() + func (x *Actor) String() string + type BatchCreateRecordsRequest struct + ProjectId string + Records []*Record + func (*BatchCreateRecordsRequest) Descriptor() ([]byte, []int) + func (*BatchCreateRecordsRequest) ProtoMessage() + func (x *BatchCreateRecordsRequest) GetProjectId() string + func (x *BatchCreateRecordsRequest) GetRecords() []*Record + func (x *BatchCreateRecordsRequest) ProtoReflect() protoreflect.Message + func (x *BatchCreateRecordsRequest) Reset() + func (x *BatchCreateRecordsRequest) String() string + type BatchCreateRecordsResponse struct + Records []*Record + func (*BatchCreateRecordsResponse) Descriptor() ([]byte, []int) + func (*BatchCreateRecordsResponse) ProtoMessage() + func (x *BatchCreateRecordsResponse) GetRecords() []*Record + func (x *BatchCreateRecordsResponse) ProtoReflect() protoreflect.Message + func (x *BatchCreateRecordsResponse) Reset() + func (x *BatchCreateRecordsResponse) String() string + type CreateProjectRequest struct + Project *Project + func (*CreateProjectRequest) Descriptor() ([]byte, []int) + func (*CreateProjectRequest) ProtoMessage() + func (x *CreateProjectRequest) GetProject() *Project + func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message + func (x *CreateProjectRequest) Reset() + func (x *CreateProjectRequest) String() string + type CreateProjectResponse struct + Project *Project + func (*CreateProjectResponse) Descriptor() ([]byte, []int) + func (*CreateProjectResponse) ProtoMessage() + func (x *CreateProjectResponse) GetProject() *Project + func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message + func (x *CreateProjectResponse) Reset() + func (x *CreateProjectResponse) String() string + type CreateRecordRequest struct + Record *Record + func (*CreateRecordRequest) Descriptor() ([]byte, []int) + func (*CreateRecordRequest) ProtoMessage() + func (x *CreateRecordRequest) GetRecord() *Record + func (x *CreateRecordRequest) ProtoReflect() protoreflect.Message + func (x *CreateRecordRequest) Reset() + func (x *CreateRecordRequest) String() string + type CreateRecordResponse struct + Record *Record + func (*CreateRecordResponse) Descriptor() ([]byte, []int) + func (*CreateRecordResponse) ProtoMessage() + func (x *CreateRecordResponse) GetRecord() *Record + func (x *CreateRecordResponse) ProtoReflect() protoreflect.Message + func (x *CreateRecordResponse) Reset() + func (x *CreateRecordResponse) String() string + type DeleteRecordRequest struct + ProjectId string + RecordId string + func (*DeleteRecordRequest) Descriptor() ([]byte, []int) + func (*DeleteRecordRequest) ProtoMessage() + func (x *DeleteRecordRequest) GetProjectId() string + func (x *DeleteRecordRequest) GetRecordId() string + func (x *DeleteRecordRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRecordRequest) Reset() + func (x *DeleteRecordRequest) String() string + type DeleteRecordResponse struct + func (*DeleteRecordResponse) Descriptor() ([]byte, []int) + func (*DeleteRecordResponse) ProtoMessage() + func (x *DeleteRecordResponse) ProtoReflect() protoreflect.Message + func (x *DeleteRecordResponse) Reset() + func (x *DeleteRecordResponse) String() string + type GetProjectRequest struct + ProjectId string + func (*GetProjectRequest) Descriptor() ([]byte, []int) + func (*GetProjectRequest) ProtoMessage() + func (x *GetProjectRequest) GetProjectId() string + func (x *GetProjectRequest) ProtoReflect() protoreflect.Message + func (x *GetProjectRequest) Reset() + func (x *GetProjectRequest) String() string + type GetProjectResponse struct + Project *Project + func (*GetProjectResponse) Descriptor() ([]byte, []int) + func (*GetProjectResponse) ProtoMessage() + func (x *GetProjectResponse) GetProject() *Project + func (x *GetProjectResponse) ProtoReflect() protoreflect.Message + func (x *GetProjectResponse) Reset() + func (x *GetProjectResponse) String() string + type GetRecordRequest struct + ProjectId string + RecordId string + func (*GetRecordRequest) Descriptor() ([]byte, []int) + func (*GetRecordRequest) ProtoMessage() + func (x *GetRecordRequest) GetProjectId() string + func (x *GetRecordRequest) GetRecordId() string + func (x *GetRecordRequest) ProtoReflect() protoreflect.Message + func (x *GetRecordRequest) Reset() + func (x *GetRecordRequest) String() string + type GetRecordResponse struct + Record *Record + func (*GetRecordResponse) Descriptor() ([]byte, []int) + func (*GetRecordResponse) ProtoMessage() + func (x *GetRecordResponse) GetRecord() *Record + func (x *GetRecordResponse) ProtoReflect() protoreflect.Message + func (x *GetRecordResponse) Reset() + func (x *GetRecordResponse) String() string + type ListProjectsRequest struct + Filter *ListProjectsRequest_Filter + PageSize int32 + PageToken string + func (*ListProjectsRequest) Descriptor() ([]byte, []int) + func (*ListProjectsRequest) ProtoMessage() + func (x *ListProjectsRequest) GetFilter() *ListProjectsRequest_Filter + func (x *ListProjectsRequest) GetPageSize() int32 + func (x *ListProjectsRequest) GetPageToken() string + func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message + func (x *ListProjectsRequest) Reset() + func (x *ListProjectsRequest) String() string + type ListProjectsRequest_Filter struct + func (*ListProjectsRequest_Filter) Descriptor() ([]byte, []int) + func (*ListProjectsRequest_Filter) ProtoMessage() + func (x *ListProjectsRequest_Filter) ProtoReflect() protoreflect.Message + func (x *ListProjectsRequest_Filter) Reset() + func (x *ListProjectsRequest_Filter) String() string + type ListProjectsResponse struct + NextPageToken string + Projects []*Project + func (*ListProjectsResponse) Descriptor() ([]byte, []int) + func (*ListProjectsResponse) ProtoMessage() + func (x *ListProjectsResponse) GetNextPageToken() string + func (x *ListProjectsResponse) GetProjects() []*Project + func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message + func (x *ListProjectsResponse) Reset() + func (x *ListProjectsResponse) String() string + type ListRecordsRequest struct + Filter *ListRecordsRequest_Filter + PageSize int32 + PageToken string + ProjectId string + func (*ListRecordsRequest) Descriptor() ([]byte, []int) + func (*ListRecordsRequest) ProtoMessage() + func (x *ListRecordsRequest) GetFilter() *ListRecordsRequest_Filter + func (x *ListRecordsRequest) GetPageSize() int32 + func (x *ListRecordsRequest) GetPageToken() string + func (x *ListRecordsRequest) GetProjectId() string + func (x *ListRecordsRequest) ProtoReflect() protoreflect.Message + func (x *ListRecordsRequest) Reset() + func (x *ListRecordsRequest) String() string + type ListRecordsRequest_Filter struct + ActorId string + ActorType string + Labels map[string]string + OperationId string + OperationTimeFrom *timestamppb.Timestamp + OperationTimeTo *timestamppb.Timestamp + OperationType string + ResourceId string + ResourceType string + func (*ListRecordsRequest_Filter) Descriptor() ([]byte, []int) + func (*ListRecordsRequest_Filter) ProtoMessage() + func (x *ListRecordsRequest_Filter) GetActorId() string + func (x *ListRecordsRequest_Filter) GetActorType() string + func (x *ListRecordsRequest_Filter) GetLabels() map[string]string + func (x *ListRecordsRequest_Filter) GetOperationId() string + func (x *ListRecordsRequest_Filter) GetOperationTimeFrom() *timestamppb.Timestamp + func (x *ListRecordsRequest_Filter) GetOperationTimeTo() *timestamppb.Timestamp + func (x *ListRecordsRequest_Filter) GetOperationType() string + func (x *ListRecordsRequest_Filter) GetResourceId() string + func (x *ListRecordsRequest_Filter) GetResourceType() string + func (x *ListRecordsRequest_Filter) ProtoReflect() protoreflect.Message + func (x *ListRecordsRequest_Filter) Reset() + func (x *ListRecordsRequest_Filter) String() string + type ListRecordsResponse struct + NextPageToken string + Records []*Record + func (*ListRecordsResponse) Descriptor() ([]byte, []int) + func (*ListRecordsResponse) ProtoMessage() + func (x *ListRecordsResponse) GetNextPageToken() string + func (x *ListRecordsResponse) GetRecords() []*Record + func (x *ListRecordsResponse) ProtoReflect() protoreflect.Message + func (x *ListRecordsResponse) Reset() + func (x *ListRecordsResponse) String() string + type Operation struct + Id string + Metadata map[string]string + Status OperationStatus_Enum + Time *timestamppb.Timestamp + TraceContext *TraceContext + Type string + func (*Operation) Descriptor() ([]byte, []int) + func (*Operation) ProtoMessage() + func (x *Operation) GetId() string + func (x *Operation) GetMetadata() map[string]string + func (x *Operation) GetStatus() OperationStatus_Enum + func (x *Operation) GetTime() *timestamppb.Timestamp + func (x *Operation) GetTraceContext() *TraceContext + func (x *Operation) GetType() string + func (x *Operation) ProtoReflect() protoreflect.Message + func (x *Operation) Reset() + func (x *Operation) String() string + type OperationStatus struct + func (*OperationStatus) Descriptor() ([]byte, []int) + func (*OperationStatus) ProtoMessage() + func (x *OperationStatus) ProtoReflect() protoreflect.Message + func (x *OperationStatus) Reset() + func (x *OperationStatus) String() string + type OperationStatus_Enum int32 + const OperationStatus_FAILED + const OperationStatus_SUCCEEDED + const OperationStatus_UNSPECIFIED + func (OperationStatus_Enum) Descriptor() protoreflect.EnumDescriptor + func (OperationStatus_Enum) EnumDescriptor() ([]byte, []int) + func (OperationStatus_Enum) Type() protoreflect.EnumType + func (x OperationStatus_Enum) Enum() *OperationStatus_Enum + func (x OperationStatus_Enum) Number() protoreflect.EnumNumber + func (x OperationStatus_Enum) String() string + type Project struct + CreateTime *timestamppb.Timestamp + DeleteRecordEnabled *wrapperspb.BoolValue + DisplayName string + Id string + UpdateRecordEnabled *wrapperspb.BoolValue + func (*Project) Descriptor() ([]byte, []int) + func (*Project) ProtoMessage() + func (x *Project) GetCreateTime() *timestamppb.Timestamp + func (x *Project) GetDeleteRecordEnabled() *wrapperspb.BoolValue + func (x *Project) GetDisplayName() string + func (x *Project) GetId() string + func (x *Project) GetUpdateRecordEnabled() *wrapperspb.BoolValue + func (x *Project) ProtoReflect() protoreflect.Message + func (x *Project) Reset() + func (x *Project) String() string + type ProjectServiceClient interface + CreateProject func(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error) + GetProject func(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error) + ListProjects func(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) + UpdateProject func(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error) + func NewProjectServiceClient(cc grpc.ClientConnInterface) ProjectServiceClient + type ProjectServiceServer interface + CreateProject func(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error) + GetProject func(context.Context, *GetProjectRequest) (*GetProjectResponse, error) + ListProjects func(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) + UpdateProject func(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error) + type Record struct + Actor *Actor + CreateTime *timestamppb.Timestamp + Id string + Labels map[string]string + Operation *Operation + ProjectId string + Resource *Resource + func (*Record) Descriptor() ([]byte, []int) + func (*Record) ProtoMessage() + func (x *Record) GetActor() *Actor + func (x *Record) GetCreateTime() *timestamppb.Timestamp + func (x *Record) GetId() string + func (x *Record) GetLabels() map[string]string + func (x *Record) GetOperation() *Operation + func (x *Record) GetProjectId() string + func (x *Record) GetResource() *Resource + func (x *Record) ProtoReflect() protoreflect.Message + func (x *Record) Reset() + func (x *Record) String() string + type RecordServiceClient interface + BatchCreateRecords func(ctx context.Context, in *BatchCreateRecordsRequest, opts ...grpc.CallOption) (*BatchCreateRecordsResponse, error) + CreateRecord func(ctx context.Context, in *CreateRecordRequest, opts ...grpc.CallOption) (*CreateRecordResponse, error) + DeleteRecord func(ctx context.Context, in *DeleteRecordRequest, opts ...grpc.CallOption) (*DeleteRecordResponse, error) + GetRecord func(ctx context.Context, in *GetRecordRequest, opts ...grpc.CallOption) (*GetRecordResponse, error) + ListRecords func(ctx context.Context, in *ListRecordsRequest, opts ...grpc.CallOption) (*ListRecordsResponse, error) + UpdateRecord func(ctx context.Context, in *UpdateRecordRequest, opts ...grpc.CallOption) (*UpdateRecordResponse, error) + func NewRecordServiceClient(cc grpc.ClientConnInterface) RecordServiceClient + type RecordServiceServer interface + BatchCreateRecords func(context.Context, *BatchCreateRecordsRequest) (*BatchCreateRecordsResponse, error) + CreateRecord func(context.Context, *CreateRecordRequest) (*CreateRecordResponse, error) + DeleteRecord func(context.Context, *DeleteRecordRequest) (*DeleteRecordResponse, error) + GetRecord func(context.Context, *GetRecordRequest) (*GetRecordResponse, error) + ListRecords func(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error) + UpdateRecord func(context.Context, *UpdateRecordRequest) (*UpdateRecordResponse, error) + type Resource struct + Changes []*ResourceChange + Id string + Metadata map[string]string + Type string + func (*Resource) Descriptor() ([]byte, []int) + func (*Resource) ProtoMessage() + func (x *Resource) GetChanges() []*ResourceChange + func (x *Resource) GetId() string + func (x *Resource) GetMetadata() map[string]string + func (x *Resource) GetType() string + func (x *Resource) ProtoReflect() protoreflect.Message + func (x *Resource) Reset() + func (x *Resource) String() string + type ResourceChange struct + Description string + Name string + NewValue *structpb.Value + OldValue *structpb.Value + func (*ResourceChange) Descriptor() ([]byte, []int) + func (*ResourceChange) ProtoMessage() + func (x *ResourceChange) GetDescription() string + func (x *ResourceChange) GetName() string + func (x *ResourceChange) GetNewValue() *structpb.Value + func (x *ResourceChange) GetOldValue() *structpb.Value + func (x *ResourceChange) ProtoReflect() protoreflect.Message + func (x *ResourceChange) Reset() + func (x *ResourceChange) String() string + type TraceContext struct + Traceparent string + Tracestate string + func (*TraceContext) Descriptor() ([]byte, []int) + func (*TraceContext) ProtoMessage() + func (x *TraceContext) GetTraceparent() string + func (x *TraceContext) GetTracestate() string + func (x *TraceContext) ProtoReflect() protoreflect.Message + func (x *TraceContext) Reset() + func (x *TraceContext) String() string + type UnimplementedProjectServiceServer struct + func (UnimplementedProjectServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error) + func (UnimplementedProjectServiceServer) GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error) + func (UnimplementedProjectServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) + func (UnimplementedProjectServiceServer) UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error) + type UnimplementedRecordServiceServer struct + func (UnimplementedRecordServiceServer) BatchCreateRecords(context.Context, *BatchCreateRecordsRequest) (*BatchCreateRecordsResponse, error) + func (UnimplementedRecordServiceServer) CreateRecord(context.Context, *CreateRecordRequest) (*CreateRecordResponse, error) + func (UnimplementedRecordServiceServer) DeleteRecord(context.Context, *DeleteRecordRequest) (*DeleteRecordResponse, error) + func (UnimplementedRecordServiceServer) GetRecord(context.Context, *GetRecordRequest) (*GetRecordResponse, error) + func (UnimplementedRecordServiceServer) ListRecords(context.Context, *ListRecordsRequest) (*ListRecordsResponse, error) + func (UnimplementedRecordServiceServer) UpdateRecord(context.Context, *UpdateRecordRequest) (*UpdateRecordResponse, error) + type UnsafeProjectServiceServer interface + type UnsafeRecordServiceServer interface + type UpdateProjectRequest struct + Project *Project + UpdateMask *fieldmaskpb.FieldMask + func (*UpdateProjectRequest) Descriptor() ([]byte, []int) + func (*UpdateProjectRequest) ProtoMessage() + func (x *UpdateProjectRequest) GetProject() *Project + func (x *UpdateProjectRequest) GetUpdateMask() *fieldmaskpb.FieldMask + func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message + func (x *UpdateProjectRequest) Reset() + func (x *UpdateProjectRequest) String() string + type UpdateProjectResponse struct + Project *Project + func (*UpdateProjectResponse) Descriptor() ([]byte, []int) + func (*UpdateProjectResponse) ProtoMessage() + func (x *UpdateProjectResponse) GetProject() *Project + func (x *UpdateProjectResponse) ProtoReflect() protoreflect.Message + func (x *UpdateProjectResponse) Reset() + func (x *UpdateProjectResponse) String() string + type UpdateRecordRequest struct + Record *Record + UpdateMask *fieldmaskpb.FieldMask + func (*UpdateRecordRequest) Descriptor() ([]byte, []int) + func (*UpdateRecordRequest) ProtoMessage() + func (x *UpdateRecordRequest) GetRecord() *Record + func (x *UpdateRecordRequest) GetUpdateMask() *fieldmaskpb.FieldMask + func (x *UpdateRecordRequest) ProtoReflect() protoreflect.Message + func (x *UpdateRecordRequest) Reset() + func (x *UpdateRecordRequest) String() string + type UpdateRecordResponse struct + Record *Record + func (*UpdateRecordResponse) Descriptor() ([]byte, []int) + func (*UpdateRecordResponse) ProtoMessage() + func (x *UpdateRecordResponse) GetRecord() *Record + func (x *UpdateRecordResponse) ProtoReflect() protoreflect.Message + func (x *UpdateRecordResponse) Reset() + func (x *UpdateRecordResponse) String() string