Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInsightsServer(s grpc.ServiceRegistrar, srv InsightsServer)
- type CreateInsightRequest
- func (*CreateInsightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInsightRequest) GetInsight() *Insight
- func (*CreateInsightRequest) ProtoMessage()
- func (x *CreateInsightRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInsightRequest) Reset()
- func (x *CreateInsightRequest) String() string
- type CreateInsightResponse
- func (*CreateInsightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInsightResponse) GetInsight() *Insight
- func (*CreateInsightResponse) ProtoMessage()
- func (x *CreateInsightResponse) ProtoReflect() protoreflect.Message
- func (x *CreateInsightResponse) Reset()
- func (x *CreateInsightResponse) String() string
- type DeleteInsightRequest
- func (*DeleteInsightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInsightRequest) GetInsightId() int64
- func (x *DeleteInsightRequest) GetResourceId() string
- func (*DeleteInsightRequest) ProtoMessage()
- func (x *DeleteInsightRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInsightRequest) Reset()
- func (x *DeleteInsightRequest) String() string
- type DeleteInsightResponse
- func (*DeleteInsightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInsightResponse) GetInsight() *Insight
- func (*DeleteInsightResponse) ProtoMessage()
- func (x *DeleteInsightResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteInsightResponse) Reset()
- func (x *DeleteInsightResponse) String() string
- type GetInsightRequest
- func (*GetInsightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInsightRequest) GetInsightId() int64
- func (x *GetInsightRequest) GetResourceId() string
- func (*GetInsightRequest) ProtoMessage()
- func (x *GetInsightRequest) ProtoReflect() protoreflect.Message
- func (x *GetInsightRequest) Reset()
- func (x *GetInsightRequest) String() string
- type GetInsightResponse
- func (*GetInsightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInsightResponse) GetInsight() *Insight
- func (*GetInsightResponse) ProtoMessage()
- func (x *GetInsightResponse) ProtoReflect() protoreflect.Message
- func (x *GetInsightResponse) Reset()
- func (x *GetInsightResponse) String() string
- type GetVfsSchemaRequest
- func (*GetVfsSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVfsSchemaRequest) GetAliasName() string
- func (*GetVfsSchemaRequest) ProtoMessage()
- func (x *GetVfsSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *GetVfsSchemaRequest) Reset()
- func (x *GetVfsSchemaRequest) String() string
- type GetVfsSchemaResponse
- func (*GetVfsSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVfsSchemaResponse) GetAliasName() string
- func (x *GetVfsSchemaResponse) GetFields() []*GetVfsSchemaResponse_Field
- func (x *GetVfsSchemaResponse) GetVfsDescription() string
- func (*GetVfsSchemaResponse) ProtoMessage()
- func (x *GetVfsSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *GetVfsSchemaResponse) Reset()
- func (x *GetVfsSchemaResponse) String() string
- type GetVfsSchemaResponse_Field
- func (*GetVfsSchemaResponse_Field) Descriptor() ([]byte, []int)deprecated
- func (x *GetVfsSchemaResponse_Field) GetColumnDescription() string
- func (x *GetVfsSchemaResponse_Field) GetColumnName() string
- func (x *GetVfsSchemaResponse_Field) GetColumnType() commons.InsightVfsSchemaType
- func (*GetVfsSchemaResponse_Field) ProtoMessage()
- func (x *GetVfsSchemaResponse_Field) ProtoReflect() protoreflect.Message
- func (x *GetVfsSchemaResponse_Field) Reset()
- func (x *GetVfsSchemaResponse_Field) String() string
- type Insight
- func (*Insight) Descriptor() ([]byte, []int)deprecated
- func (x *Insight) GetBody() string
- func (x *Insight) GetDescription() string
- func (x *Insight) GetInsightId() int64
- func (x *Insight) GetInsightPermissionType() commons.InsightPermissionType
- func (x *Insight) GetInsightType() commons.InsightType
- func (x *Insight) GetInsightVersion() uint32
- func (x *Insight) GetName() string
- func (x *Insight) GetResourceId() string
- func (x *Insight) GetStandardInsight() bool
- func (*Insight) ProtoMessage()
- func (x *Insight) ProtoReflect() protoreflect.Message
- func (x *Insight) Reset()
- func (x *Insight) String() string
- type InsightsClient
- type InsightsServer
- type ListInsightsRequest
- func (*ListInsightsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInsightsRequest) GetInsightPermissionTypes() []commons.InsightPermissionType
- func (*ListInsightsRequest) ProtoMessage()
- func (x *ListInsightsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInsightsRequest) Reset()
- func (x *ListInsightsRequest) String() string
- type ListInsightsResponse
- func (*ListInsightsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInsightsResponse) GetInsights() []*Insight
- func (*ListInsightsResponse) ProtoMessage()
- func (x *ListInsightsResponse) ProtoReflect() protoreflect.Message
- func (x *ListInsightsResponse) Reset()
- func (x *ListInsightsResponse) String() string
- type ListVfsSchemasRequest
- type ListVfsSchemasResponse
- func (*ListVfsSchemasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVfsSchemasResponse) GetVfsSchemas() []*GetVfsSchemaResponse
- func (*ListVfsSchemasResponse) ProtoMessage()
- func (x *ListVfsSchemasResponse) ProtoReflect() protoreflect.Message
- func (x *ListVfsSchemasResponse) Reset()
- func (x *ListVfsSchemasResponse) String() string
- type ListVfsesRequest
- type ListVfsesResponse
- type PublishInsightRequest
- func (*PublishInsightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishInsightRequest) GetDestinationResourceId() string
- func (x *PublishInsightRequest) GetResourceId() string
- func (*PublishInsightRequest) ProtoMessage()
- func (x *PublishInsightRequest) ProtoReflect() protoreflect.Message
- func (x *PublishInsightRequest) Reset()
- func (x *PublishInsightRequest) String() string
- type PublishInsightResponse
- func (*PublishInsightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublishInsightResponse) GetInsight() *Insight
- func (*PublishInsightResponse) ProtoMessage()
- func (x *PublishInsightResponse) ProtoReflect() protoreflect.Message
- func (x *PublishInsightResponse) Reset()
- func (x *PublishInsightResponse) String() string
- type UnimplementedInsightsServer
- func (UnimplementedInsightsServer) CreateCommonsInsight(context.Context, *CreateInsightRequest) (*CreateInsightResponse, error)
- func (UnimplementedInsightsServer) CreateInsight(context.Context, *CreateInsightRequest) (*CreateInsightResponse, error)
- func (UnimplementedInsightsServer) DeleteCommonsInsight(context.Context, *DeleteInsightRequest) (*DeleteInsightResponse, error)
- func (UnimplementedInsightsServer) DeleteInsight(context.Context, *DeleteInsightRequest) (*DeleteInsightResponse, error)
- func (UnimplementedInsightsServer) GetInsight(context.Context, *GetInsightRequest) (*GetInsightResponse, error)
- func (UnimplementedInsightsServer) GetVfsSchema(context.Context, *GetVfsSchemaRequest) (*GetVfsSchemaResponse, error)
- func (UnimplementedInsightsServer) ListInsights(context.Context, *ListInsightsRequest) (*ListInsightsResponse, error)
- func (UnimplementedInsightsServer) ListVfsSchemas(context.Context, *ListVfsSchemasRequest) (*ListVfsSchemasResponse, error)
- func (UnimplementedInsightsServer) ListVfses(context.Context, *ListVfsesRequest) (*ListVfsesResponse, error)
- func (UnimplementedInsightsServer) PublishInsight(context.Context, *PublishInsightRequest) (*PublishInsightResponse, error)
- func (UnimplementedInsightsServer) UpdateCommonsInsight(context.Context, *UpdateInsightRequest) (*UpdateInsightResponse, error)
- func (UnimplementedInsightsServer) UpdateInsight(context.Context, *UpdateInsightRequest) (*UpdateInsightResponse, error)
- type UnsafeInsightsServer
- type UpdateInsightRequest
- func (*UpdateInsightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInsightRequest) GetInsight() *Insight
- func (x *UpdateInsightRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateInsightRequest) ProtoMessage()
- func (x *UpdateInsightRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInsightRequest) Reset()
- func (x *UpdateInsightRequest) String() string
- type UpdateInsightResponse
- func (*UpdateInsightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInsightResponse) GetInsight() *Insight
- func (*UpdateInsightResponse) ProtoMessage()
- func (x *UpdateInsightResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateInsightResponse) Reset()
- func (x *UpdateInsightResponse) String() string
Constants ¶
const ( Insights_CreateInsight_FullMethodName = "/api.v1alpha1.insights.Insights/CreateInsight" Insights_ListInsights_FullMethodName = "/api.v1alpha1.insights.Insights/ListInsights" Insights_UpdateInsight_FullMethodName = "/api.v1alpha1.insights.Insights/UpdateInsight" Insights_DeleteInsight_FullMethodName = "/api.v1alpha1.insights.Insights/DeleteInsight" Insights_GetInsight_FullMethodName = "/api.v1alpha1.insights.Insights/GetInsight" Insights_CreateCommonsInsight_FullMethodName = "/api.v1alpha1.insights.Insights/CreateCommonsInsight" Insights_UpdateCommonsInsight_FullMethodName = "/api.v1alpha1.insights.Insights/UpdateCommonsInsight" Insights_DeleteCommonsInsight_FullMethodName = "/api.v1alpha1.insights.Insights/DeleteCommonsInsight" Insights_GetVfsSchema_FullMethodName = "/api.v1alpha1.insights.Insights/GetVfsSchema" Insights_ListVfses_FullMethodName = "/api.v1alpha1.insights.Insights/ListVfses" Insights_ListVfsSchemas_FullMethodName = "/api.v1alpha1.insights.Insights/ListVfsSchemas" Insights_PublishInsight_FullMethodName = "/api.v1alpha1.insights.Insights/PublishInsight" )
Variables ¶
var File_api_v1alpha1_insights_insight_proto protoreflect.FileDescriptor
var File_api_v1alpha1_insights_service_proto protoreflect.FileDescriptor
var Insights_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.insights.Insights", HandlerType: (*InsightsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateInsight", Handler: _Insights_CreateInsight_Handler, }, { MethodName: "ListInsights", Handler: _Insights_ListInsights_Handler, }, { MethodName: "UpdateInsight", Handler: _Insights_UpdateInsight_Handler, }, { MethodName: "DeleteInsight", Handler: _Insights_DeleteInsight_Handler, }, { MethodName: "GetInsight", Handler: _Insights_GetInsight_Handler, }, { MethodName: "CreateCommonsInsight", Handler: _Insights_CreateCommonsInsight_Handler, }, { MethodName: "UpdateCommonsInsight", Handler: _Insights_UpdateCommonsInsight_Handler, }, { MethodName: "DeleteCommonsInsight", Handler: _Insights_DeleteCommonsInsight_Handler, }, { MethodName: "GetVfsSchema", Handler: _Insights_GetVfsSchema_Handler, }, { MethodName: "ListVfses", Handler: _Insights_ListVfses_Handler, }, { MethodName: "ListVfsSchemas", Handler: _Insights_ListVfsSchemas_Handler, }, { MethodName: "PublishInsight", Handler: _Insights_PublishInsight_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/insights/service.proto", }
Insights_ServiceDesc is the grpc.ServiceDesc for Insights service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInsightsServer ¶
func RegisterInsightsServer(s grpc.ServiceRegistrar, srv InsightsServer)
Types ¶
type CreateInsightRequest ¶
type CreateInsightRequest struct { Insight *Insight `protobuf:"bytes,1,opt,name=insight,proto3" json:"insight,omitempty"` // Required - insight to be created // contains filtered or unexported fields }
CreateInsightRequest is the request to create an insight.
func (*CreateInsightRequest) Descriptor
deprecated
func (*CreateInsightRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInsightRequest.ProtoReflect.Descriptor instead.
func (*CreateInsightRequest) GetInsight ¶
func (x *CreateInsightRequest) GetInsight() *Insight
func (*CreateInsightRequest) ProtoMessage ¶
func (*CreateInsightRequest) ProtoMessage()
func (*CreateInsightRequest) ProtoReflect ¶
func (x *CreateInsightRequest) ProtoReflect() protoreflect.Message
func (*CreateInsightRequest) Reset ¶
func (x *CreateInsightRequest) Reset()
func (*CreateInsightRequest) String ¶
func (x *CreateInsightRequest) String() string
type CreateInsightResponse ¶
type CreateInsightResponse struct { Insight *Insight `protobuf:"bytes,1,opt,name=insight,proto3" json:"insight,omitempty"` // Created entity // contains filtered or unexported fields }
CreateInsightResponse contains the Insight that was created.
func (*CreateInsightResponse) Descriptor
deprecated
func (*CreateInsightResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateInsightResponse.ProtoReflect.Descriptor instead.
func (*CreateInsightResponse) GetInsight ¶
func (x *CreateInsightResponse) GetInsight() *Insight
func (*CreateInsightResponse) ProtoMessage ¶
func (*CreateInsightResponse) ProtoMessage()
func (*CreateInsightResponse) ProtoReflect ¶
func (x *CreateInsightResponse) ProtoReflect() protoreflect.Message
func (*CreateInsightResponse) Reset ¶
func (x *CreateInsightResponse) Reset()
func (*CreateInsightResponse) String ¶
func (x *CreateInsightResponse) String() string
type DeleteInsightRequest ¶
type DeleteInsightRequest struct { InsightId int64 `protobuf:"varint,1,opt,name=insight_id,json=insightId,proto3" json:"insight_id,omitempty"` // Required - id of insight to delete ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // resource id of the insight to delete // contains filtered or unexported fields }
DeleteInsightRequest is the request to delete an insight.
func (*DeleteInsightRequest) Descriptor
deprecated
func (*DeleteInsightRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInsightRequest.ProtoReflect.Descriptor instead.
func (*DeleteInsightRequest) GetInsightId ¶
func (x *DeleteInsightRequest) GetInsightId() int64
func (*DeleteInsightRequest) GetResourceId ¶ added in v1.7.37
func (x *DeleteInsightRequest) GetResourceId() string
func (*DeleteInsightRequest) ProtoMessage ¶
func (*DeleteInsightRequest) ProtoMessage()
func (*DeleteInsightRequest) ProtoReflect ¶
func (x *DeleteInsightRequest) ProtoReflect() protoreflect.Message
func (*DeleteInsightRequest) Reset ¶
func (x *DeleteInsightRequest) Reset()
func (*DeleteInsightRequest) String ¶
func (x *DeleteInsightRequest) String() string
type DeleteInsightResponse ¶
type DeleteInsightResponse struct { Insight *Insight `protobuf:"bytes,1,opt,name=insight,proto3" json:"insight,omitempty"` // Deleted entity // contains filtered or unexported fields }
DeleteInsightResponse contains the Insight that was deleted.
func (*DeleteInsightResponse) Descriptor
deprecated
func (*DeleteInsightResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInsightResponse.ProtoReflect.Descriptor instead.
func (*DeleteInsightResponse) GetInsight ¶
func (x *DeleteInsightResponse) GetInsight() *Insight
func (*DeleteInsightResponse) ProtoMessage ¶
func (*DeleteInsightResponse) ProtoMessage()
func (*DeleteInsightResponse) ProtoReflect ¶
func (x *DeleteInsightResponse) ProtoReflect() protoreflect.Message
func (*DeleteInsightResponse) Reset ¶
func (x *DeleteInsightResponse) Reset()
func (*DeleteInsightResponse) String ¶
func (x *DeleteInsightResponse) String() string
type GetInsightRequest ¶
type GetInsightRequest struct { InsightId int64 `protobuf:"varint,1,opt,name=insight_id,json=insightId,proto3" json:"insight_id,omitempty"` // Required - id of insight to get ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // resource id of insight to get // contains filtered or unexported fields }
GetInsightRequest is the request to get an insight.
func (*GetInsightRequest) Descriptor
deprecated
func (*GetInsightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInsightRequest.ProtoReflect.Descriptor instead.
func (*GetInsightRequest) GetInsightId ¶
func (x *GetInsightRequest) GetInsightId() int64
func (*GetInsightRequest) GetResourceId ¶ added in v1.7.37
func (x *GetInsightRequest) GetResourceId() string
func (*GetInsightRequest) ProtoMessage ¶
func (*GetInsightRequest) ProtoMessage()
func (*GetInsightRequest) ProtoReflect ¶
func (x *GetInsightRequest) ProtoReflect() protoreflect.Message
func (*GetInsightRequest) Reset ¶
func (x *GetInsightRequest) Reset()
func (*GetInsightRequest) String ¶
func (x *GetInsightRequest) String() string
type GetInsightResponse ¶
type GetInsightResponse struct { Insight *Insight `protobuf:"bytes,1,opt,name=insight,proto3" json:"insight,omitempty"` // Requested entity // contains filtered or unexported fields }
GetInsightResponse contains the Insight that was retrieved.
func (*GetInsightResponse) Descriptor
deprecated
func (*GetInsightResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInsightResponse.ProtoReflect.Descriptor instead.
func (*GetInsightResponse) GetInsight ¶
func (x *GetInsightResponse) GetInsight() *Insight
func (*GetInsightResponse) ProtoMessage ¶
func (*GetInsightResponse) ProtoMessage()
func (*GetInsightResponse) ProtoReflect ¶
func (x *GetInsightResponse) ProtoReflect() protoreflect.Message
func (*GetInsightResponse) Reset ¶
func (x *GetInsightResponse) Reset()
func (*GetInsightResponse) String ¶
func (x *GetInsightResponse) String() string
type GetVfsSchemaRequest ¶
type GetVfsSchemaRequest struct { AliasName string `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"` // Required - alias name of vfs to get schema for // contains filtered or unexported fields }
GetVfsSchemaRequest is request to get vfs schema using alias
func (*GetVfsSchemaRequest) Descriptor
deprecated
func (*GetVfsSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVfsSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetVfsSchemaRequest) GetAliasName ¶
func (x *GetVfsSchemaRequest) GetAliasName() string
func (*GetVfsSchemaRequest) ProtoMessage ¶
func (*GetVfsSchemaRequest) ProtoMessage()
func (*GetVfsSchemaRequest) ProtoReflect ¶
func (x *GetVfsSchemaRequest) ProtoReflect() protoreflect.Message
func (*GetVfsSchemaRequest) Reset ¶
func (x *GetVfsSchemaRequest) Reset()
func (*GetVfsSchemaRequest) String ¶
func (x *GetVfsSchemaRequest) String() string
type GetVfsSchemaResponse ¶
type GetVfsSchemaResponse struct { Fields []*GetVfsSchemaResponse_Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // array of fields VfsDescription string `protobuf:"bytes,2,opt,name=vfs_description,json=vfsDescription,proto3" json:"vfs_description,omitempty"` // description of the vfs - optional may not always be present AliasName string `protobuf:"bytes,3,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"` // alias name of the vfs // contains filtered or unexported fields }
GetVfsSchemaResponse is response with vfs schema
func (*GetVfsSchemaResponse) Descriptor
deprecated
func (*GetVfsSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVfsSchemaResponse.ProtoReflect.Descriptor instead.
func (*GetVfsSchemaResponse) GetAliasName ¶ added in v1.7.48
func (x *GetVfsSchemaResponse) GetAliasName() string
func (*GetVfsSchemaResponse) GetFields ¶
func (x *GetVfsSchemaResponse) GetFields() []*GetVfsSchemaResponse_Field
func (*GetVfsSchemaResponse) GetVfsDescription ¶
func (x *GetVfsSchemaResponse) GetVfsDescription() string
func (*GetVfsSchemaResponse) ProtoMessage ¶
func (*GetVfsSchemaResponse) ProtoMessage()
func (*GetVfsSchemaResponse) ProtoReflect ¶
func (x *GetVfsSchemaResponse) ProtoReflect() protoreflect.Message
func (*GetVfsSchemaResponse) Reset ¶
func (x *GetVfsSchemaResponse) Reset()
func (*GetVfsSchemaResponse) String ¶
func (x *GetVfsSchemaResponse) String() string
type GetVfsSchemaResponse_Field ¶
type GetVfsSchemaResponse_Field struct { ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` // name of the column ColumnType commons.InsightVfsSchemaType `` // internal enumerated column type /* 130-byte string literal not displayed */ ColumnDescription string `protobuf:"bytes,3,opt,name=column_description,json=columnDescription,proto3" json:"column_description,omitempty"` // description of the column - optional may not always be present // contains filtered or unexported fields }
Field represents a column in a dataframe
func (*GetVfsSchemaResponse_Field) Descriptor
deprecated
func (*GetVfsSchemaResponse_Field) Descriptor() ([]byte, []int)
Deprecated: Use GetVfsSchemaResponse_Field.ProtoReflect.Descriptor instead.
func (*GetVfsSchemaResponse_Field) GetColumnDescription ¶
func (x *GetVfsSchemaResponse_Field) GetColumnDescription() string
func (*GetVfsSchemaResponse_Field) GetColumnName ¶
func (x *GetVfsSchemaResponse_Field) GetColumnName() string
func (*GetVfsSchemaResponse_Field) GetColumnType ¶
func (x *GetVfsSchemaResponse_Field) GetColumnType() commons.InsightVfsSchemaType
func (*GetVfsSchemaResponse_Field) ProtoMessage ¶
func (*GetVfsSchemaResponse_Field) ProtoMessage()
func (*GetVfsSchemaResponse_Field) ProtoReflect ¶
func (x *GetVfsSchemaResponse_Field) ProtoReflect() protoreflect.Message
func (*GetVfsSchemaResponse_Field) Reset ¶
func (x *GetVfsSchemaResponse_Field) Reset()
func (*GetVfsSchemaResponse_Field) String ¶
func (x *GetVfsSchemaResponse_Field) String() string
type Insight ¶
type Insight struct { InsightId int64 `protobuf:"varint,2,opt,name=insight_id,json=insightId,proto3" json:"insight_id,omitempty"` // Required - unique insight snowflake id Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Required - name of the insight Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Required - description of the insight InsightType commons.InsightType `protobuf:"varint,5,opt,name=insight_type,json=insightType,proto3,enum=api.commons.InsightType" json:"insight_type,omitempty"` // Required - enum type used to deserialize body InsightVersion uint32 `protobuf:"varint,6,opt,name=insight_version,json=insightVersion,proto3" json:"insight_version,omitempty"` // Required - version of the insight Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // Required - serialized json of the insight body InsightPermissionType commons.InsightPermissionType `` // Required - enum type used to deserialize body /* 166-byte string literal not displayed */ ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // unique resource id of the insight StandardInsight bool `protobuf:"varint,10,opt,name=standard_insight,json=standardInsight,proto3" json:"standard_insight,omitempty"` // whether the insight is a standard insight // contains filtered or unexported fields }
Insight is a data handling entity used to process data Insight can represent an object that belongs to the user Insight can represent an object inside the common lib
func (*Insight) Descriptor
deprecated
func (*Insight) GetDescription ¶
func (*Insight) GetInsightId ¶
func (*Insight) GetInsightPermissionType ¶
func (x *Insight) GetInsightPermissionType() commons.InsightPermissionType
func (*Insight) GetInsightType ¶
func (x *Insight) GetInsightType() commons.InsightType
func (*Insight) GetInsightVersion ¶
func (*Insight) GetResourceId ¶ added in v1.7.37
func (*Insight) GetStandardInsight ¶ added in v1.7.37
func (*Insight) ProtoMessage ¶
func (*Insight) ProtoMessage()
func (*Insight) ProtoReflect ¶
func (x *Insight) ProtoReflect() protoreflect.Message
type InsightsClient ¶
type InsightsClient interface { // CreateInsight creates a new insight CreateInsight(ctx context.Context, in *CreateInsightRequest, opts ...grpc.CallOption) (*CreateInsightResponse, error) // ListInsights lists insights ListInsights(ctx context.Context, in *ListInsightsRequest, opts ...grpc.CallOption) (*ListInsightsResponse, error) // UpdateInsight updates an existing insight UpdateInsight(ctx context.Context, in *UpdateInsightRequest, opts ...grpc.CallOption) (*UpdateInsightResponse, error) // DeleteInsight deletes a insight DeleteInsight(ctx context.Context, in *DeleteInsightRequest, opts ...grpc.CallOption) (*DeleteInsightResponse, error) // GetInsight gets a insight by id GetInsight(ctx context.Context, in *GetInsightRequest, opts ...grpc.CallOption) (*GetInsightResponse, error) // CreateCommonsInsight is deprecated. CreateCommonsInsight(ctx context.Context, in *CreateInsightRequest, opts ...grpc.CallOption) (*CreateInsightResponse, error) // UpdateCommonsInsight is deprecated. UpdateCommonsInsight(ctx context.Context, in *UpdateInsightRequest, opts ...grpc.CallOption) (*UpdateInsightResponse, error) // DeleteCommonsInsight is deprecated. DeleteCommonsInsight(ctx context.Context, in *DeleteInsightRequest, opts ...grpc.CallOption) (*DeleteInsightResponse, error) // GetVfsSchema gets schema for a vfs GetVfsSchema(ctx context.Context, in *GetVfsSchemaRequest, opts ...grpc.CallOption) (*GetVfsSchemaResponse, error) // ListVfses lists exported vfs aliases ListVfses(ctx context.Context, in *ListVfsesRequest, opts ...grpc.CallOption) (*ListVfsesResponse, error) // ListVfses lists exported vfs aliases ListVfsSchemas(ctx context.Context, in *ListVfsSchemasRequest, opts ...grpc.CallOption) (*ListVfsSchemasResponse, error) // PublishInsight publishes an insight PublishInsight(ctx context.Context, in *PublishInsightRequest, opts ...grpc.CallOption) (*PublishInsightResponse, error) }
InsightsClient is the client API for Insights service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInsightsClient ¶
func NewInsightsClient(cc grpc.ClientConnInterface) InsightsClient
type InsightsServer ¶
type InsightsServer interface { // CreateInsight creates a new insight CreateInsight(context.Context, *CreateInsightRequest) (*CreateInsightResponse, error) // ListInsights lists insights ListInsights(context.Context, *ListInsightsRequest) (*ListInsightsResponse, error) // UpdateInsight updates an existing insight UpdateInsight(context.Context, *UpdateInsightRequest) (*UpdateInsightResponse, error) // DeleteInsight deletes a insight DeleteInsight(context.Context, *DeleteInsightRequest) (*DeleteInsightResponse, error) // GetInsight gets a insight by id GetInsight(context.Context, *GetInsightRequest) (*GetInsightResponse, error) // CreateCommonsInsight is deprecated. CreateCommonsInsight(context.Context, *CreateInsightRequest) (*CreateInsightResponse, error) // UpdateCommonsInsight is deprecated. UpdateCommonsInsight(context.Context, *UpdateInsightRequest) (*UpdateInsightResponse, error) // DeleteCommonsInsight is deprecated. DeleteCommonsInsight(context.Context, *DeleteInsightRequest) (*DeleteInsightResponse, error) // GetVfsSchema gets schema for a vfs GetVfsSchema(context.Context, *GetVfsSchemaRequest) (*GetVfsSchemaResponse, error) // ListVfses lists exported vfs aliases ListVfses(context.Context, *ListVfsesRequest) (*ListVfsesResponse, error) // ListVfses lists exported vfs aliases ListVfsSchemas(context.Context, *ListVfsSchemasRequest) (*ListVfsSchemasResponse, error) // PublishInsight publishes an insight PublishInsight(context.Context, *PublishInsightRequest) (*PublishInsightResponse, error) // contains filtered or unexported methods }
InsightsServer is the server API for Insights service. All implementations must embed UnimplementedInsightsServer for forward compatibility
type ListInsightsRequest ¶
type ListInsightsRequest struct { InsightPermissionTypes []commons.InsightPermissionType `` // Optional - list of insight permission types to filter by /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
ListInsightsRequest is the request to list insights.
func (*ListInsightsRequest) Descriptor
deprecated
func (*ListInsightsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInsightsRequest.ProtoReflect.Descriptor instead.
func (*ListInsightsRequest) GetInsightPermissionTypes ¶
func (x *ListInsightsRequest) GetInsightPermissionTypes() []commons.InsightPermissionType
func (*ListInsightsRequest) ProtoMessage ¶
func (*ListInsightsRequest) ProtoMessage()
func (*ListInsightsRequest) ProtoReflect ¶
func (x *ListInsightsRequest) ProtoReflect() protoreflect.Message
func (*ListInsightsRequest) Reset ¶
func (x *ListInsightsRequest) Reset()
func (*ListInsightsRequest) String ¶
func (x *ListInsightsRequest) String() string
type ListInsightsResponse ¶
type ListInsightsResponse struct { Insights []*Insight `protobuf:"bytes,1,rep,name=insights,proto3" json:"insights,omitempty"` // Requested insights // contains filtered or unexported fields }
ListInsightsResponse contains the Insights that were listed.
func (*ListInsightsResponse) Descriptor
deprecated
func (*ListInsightsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInsightsResponse.ProtoReflect.Descriptor instead.
func (*ListInsightsResponse) GetInsights ¶
func (x *ListInsightsResponse) GetInsights() []*Insight
func (*ListInsightsResponse) ProtoMessage ¶
func (*ListInsightsResponse) ProtoMessage()
func (*ListInsightsResponse) ProtoReflect ¶
func (x *ListInsightsResponse) ProtoReflect() protoreflect.Message
func (*ListInsightsResponse) Reset ¶
func (x *ListInsightsResponse) Reset()
func (*ListInsightsResponse) String ¶
func (x *ListInsightsResponse) String() string
type ListVfsSchemasRequest ¶ added in v1.7.48
type ListVfsSchemasRequest struct {
// contains filtered or unexported fields
}
ListVfsSchemasRequest is request to list vfs schemas
func (*ListVfsSchemasRequest) Descriptor
deprecated
added in
v1.7.48
func (*ListVfsSchemasRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVfsSchemasRequest.ProtoReflect.Descriptor instead.
func (*ListVfsSchemasRequest) ProtoMessage ¶ added in v1.7.48
func (*ListVfsSchemasRequest) ProtoMessage()
func (*ListVfsSchemasRequest) ProtoReflect ¶ added in v1.7.48
func (x *ListVfsSchemasRequest) ProtoReflect() protoreflect.Message
func (*ListVfsSchemasRequest) Reset ¶ added in v1.7.48
func (x *ListVfsSchemasRequest) Reset()
func (*ListVfsSchemasRequest) String ¶ added in v1.7.48
func (x *ListVfsSchemasRequest) String() string
type ListVfsSchemasResponse ¶ added in v1.7.48
type ListVfsSchemasResponse struct { VfsSchemas []*GetVfsSchemaResponse `protobuf:"bytes,1,rep,name=vfs_schemas,json=vfsSchemas,proto3" json:"vfs_schemas,omitempty"` // Array of vfs schemas // contains filtered or unexported fields }
ListVfsSchemasResponse is response with vfs schemas
func (*ListVfsSchemasResponse) Descriptor
deprecated
added in
v1.7.48
func (*ListVfsSchemasResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVfsSchemasResponse.ProtoReflect.Descriptor instead.
func (*ListVfsSchemasResponse) GetVfsSchemas ¶ added in v1.7.48
func (x *ListVfsSchemasResponse) GetVfsSchemas() []*GetVfsSchemaResponse
func (*ListVfsSchemasResponse) ProtoMessage ¶ added in v1.7.48
func (*ListVfsSchemasResponse) ProtoMessage()
func (*ListVfsSchemasResponse) ProtoReflect ¶ added in v1.7.48
func (x *ListVfsSchemasResponse) ProtoReflect() protoreflect.Message
func (*ListVfsSchemasResponse) Reset ¶ added in v1.7.48
func (x *ListVfsSchemasResponse) Reset()
func (*ListVfsSchemasResponse) String ¶ added in v1.7.48
func (x *ListVfsSchemasResponse) String() string
type ListVfsesRequest ¶
type ListVfsesRequest struct {
// contains filtered or unexported fields
}
ListVfsesRequest is request to list vfses
func (*ListVfsesRequest) Descriptor
deprecated
func (*ListVfsesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVfsesRequest.ProtoReflect.Descriptor instead.
func (*ListVfsesRequest) ProtoMessage ¶
func (*ListVfsesRequest) ProtoMessage()
func (*ListVfsesRequest) ProtoReflect ¶
func (x *ListVfsesRequest) ProtoReflect() protoreflect.Message
func (*ListVfsesRequest) Reset ¶
func (x *ListVfsesRequest) Reset()
func (*ListVfsesRequest) String ¶
func (x *ListVfsesRequest) String() string
type ListVfsesResponse ¶
type ListVfsesResponse struct { Aliases []string `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"` // Array of vfs alias names // contains filtered or unexported fields }
ListVfsesResponse is response with vfs aliases
func (*ListVfsesResponse) Descriptor
deprecated
func (*ListVfsesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVfsesResponse.ProtoReflect.Descriptor instead.
func (*ListVfsesResponse) GetAliases ¶
func (x *ListVfsesResponse) GetAliases() []string
func (*ListVfsesResponse) ProtoMessage ¶
func (*ListVfsesResponse) ProtoMessage()
func (*ListVfsesResponse) ProtoReflect ¶
func (x *ListVfsesResponse) ProtoReflect() protoreflect.Message
func (*ListVfsesResponse) Reset ¶
func (x *ListVfsesResponse) Reset()
func (*ListVfsesResponse) String ¶
func (x *ListVfsesResponse) String() string
type PublishInsightRequest ¶ added in v1.7.37
type PublishInsightRequest struct { // Required - resource id of the insight to publish ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // Optional - resource id of the destination to publish to // If not provided, a new standard insight will be created DestinationResourceId string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
PublishInsightRequest is the request to publish an insight.
func (*PublishInsightRequest) Descriptor
deprecated
added in
v1.7.37
func (*PublishInsightRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishInsightRequest.ProtoReflect.Descriptor instead.
func (*PublishInsightRequest) GetDestinationResourceId ¶ added in v1.7.37
func (x *PublishInsightRequest) GetDestinationResourceId() string
func (*PublishInsightRequest) GetResourceId ¶ added in v1.7.37
func (x *PublishInsightRequest) GetResourceId() string
func (*PublishInsightRequest) ProtoMessage ¶ added in v1.7.37
func (*PublishInsightRequest) ProtoMessage()
func (*PublishInsightRequest) ProtoReflect ¶ added in v1.7.37
func (x *PublishInsightRequest) ProtoReflect() protoreflect.Message
func (*PublishInsightRequest) Reset ¶ added in v1.7.37
func (x *PublishInsightRequest) Reset()
func (*PublishInsightRequest) String ¶ added in v1.7.37
func (x *PublishInsightRequest) String() string
type PublishInsightResponse ¶ added in v1.7.37
type PublishInsightResponse struct { Insight *Insight `protobuf:"bytes,1,opt,name=insight,proto3" json:"insight,omitempty"` // Published entity // contains filtered or unexported fields }
PublishInsightResponse contains the Insight that was published.
func (*PublishInsightResponse) Descriptor
deprecated
added in
v1.7.37
func (*PublishInsightResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishInsightResponse.ProtoReflect.Descriptor instead.
func (*PublishInsightResponse) GetInsight ¶ added in v1.7.37
func (x *PublishInsightResponse) GetInsight() *Insight
func (*PublishInsightResponse) ProtoMessage ¶ added in v1.7.37
func (*PublishInsightResponse) ProtoMessage()
func (*PublishInsightResponse) ProtoReflect ¶ added in v1.7.37
func (x *PublishInsightResponse) ProtoReflect() protoreflect.Message
func (*PublishInsightResponse) Reset ¶ added in v1.7.37
func (x *PublishInsightResponse) Reset()
func (*PublishInsightResponse) String ¶ added in v1.7.37
func (x *PublishInsightResponse) String() string
type UnimplementedInsightsServer ¶
type UnimplementedInsightsServer struct { }
UnimplementedInsightsServer must be embedded to have forward compatible implementations.
func (UnimplementedInsightsServer) CreateCommonsInsight ¶
func (UnimplementedInsightsServer) CreateCommonsInsight(context.Context, *CreateInsightRequest) (*CreateInsightResponse, error)
func (UnimplementedInsightsServer) CreateInsight ¶
func (UnimplementedInsightsServer) CreateInsight(context.Context, *CreateInsightRequest) (*CreateInsightResponse, error)
func (UnimplementedInsightsServer) DeleteCommonsInsight ¶
func (UnimplementedInsightsServer) DeleteCommonsInsight(context.Context, *DeleteInsightRequest) (*DeleteInsightResponse, error)
func (UnimplementedInsightsServer) DeleteInsight ¶
func (UnimplementedInsightsServer) DeleteInsight(context.Context, *DeleteInsightRequest) (*DeleteInsightResponse, error)
func (UnimplementedInsightsServer) GetInsight ¶
func (UnimplementedInsightsServer) GetInsight(context.Context, *GetInsightRequest) (*GetInsightResponse, error)
func (UnimplementedInsightsServer) GetVfsSchema ¶
func (UnimplementedInsightsServer) GetVfsSchema(context.Context, *GetVfsSchemaRequest) (*GetVfsSchemaResponse, error)
func (UnimplementedInsightsServer) ListInsights ¶
func (UnimplementedInsightsServer) ListInsights(context.Context, *ListInsightsRequest) (*ListInsightsResponse, error)
func (UnimplementedInsightsServer) ListVfsSchemas ¶ added in v1.7.48
func (UnimplementedInsightsServer) ListVfsSchemas(context.Context, *ListVfsSchemasRequest) (*ListVfsSchemasResponse, error)
func (UnimplementedInsightsServer) ListVfses ¶
func (UnimplementedInsightsServer) ListVfses(context.Context, *ListVfsesRequest) (*ListVfsesResponse, error)
func (UnimplementedInsightsServer) PublishInsight ¶ added in v1.7.37
func (UnimplementedInsightsServer) PublishInsight(context.Context, *PublishInsightRequest) (*PublishInsightResponse, error)
func (UnimplementedInsightsServer) UpdateCommonsInsight ¶
func (UnimplementedInsightsServer) UpdateCommonsInsight(context.Context, *UpdateInsightRequest) (*UpdateInsightResponse, error)
func (UnimplementedInsightsServer) UpdateInsight ¶
func (UnimplementedInsightsServer) UpdateInsight(context.Context, *UpdateInsightRequest) (*UpdateInsightResponse, error)
type UnsafeInsightsServer ¶
type UnsafeInsightsServer interface {
// contains filtered or unexported methods
}
UnsafeInsightsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InsightsServer will result in compilation errors.
type UpdateInsightRequest ¶
type UpdateInsightRequest struct { Insight *Insight `protobuf:"bytes,1,opt,name=insight,proto3" json:"insight,omitempty"` // Required - insight to be updated UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required - mask of fields to update // contains filtered or unexported fields }
UpdateInsightRequest is the request to update an insight.
func (*UpdateInsightRequest) Descriptor
deprecated
func (*UpdateInsightRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInsightRequest.ProtoReflect.Descriptor instead.
func (*UpdateInsightRequest) GetInsight ¶
func (x *UpdateInsightRequest) GetInsight() *Insight
func (*UpdateInsightRequest) GetUpdateMask ¶
func (x *UpdateInsightRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInsightRequest) ProtoMessage ¶
func (*UpdateInsightRequest) ProtoMessage()
func (*UpdateInsightRequest) ProtoReflect ¶
func (x *UpdateInsightRequest) ProtoReflect() protoreflect.Message
func (*UpdateInsightRequest) Reset ¶
func (x *UpdateInsightRequest) Reset()
func (*UpdateInsightRequest) String ¶
func (x *UpdateInsightRequest) String() string
type UpdateInsightResponse ¶
type UpdateInsightResponse struct { Insight *Insight `protobuf:"bytes,1,opt,name=insight,proto3" json:"insight,omitempty"` // Updated entity // contains filtered or unexported fields }
UpdateInsightResponse contains the Insight that was updated.
func (*UpdateInsightResponse) Descriptor
deprecated
func (*UpdateInsightResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInsightResponse.ProtoReflect.Descriptor instead.
func (*UpdateInsightResponse) GetInsight ¶
func (x *UpdateInsightResponse) GetInsight() *Insight
func (*UpdateInsightResponse) ProtoMessage ¶
func (*UpdateInsightResponse) ProtoMessage()
func (*UpdateInsightResponse) ProtoReflect ¶
func (x *UpdateInsightResponse) ProtoReflect() protoreflect.Message
func (*UpdateInsightResponse) Reset ¶
func (x *UpdateInsightResponse) Reset()
func (*UpdateInsightResponse) String ¶
func (x *UpdateInsightResponse) String() string