Documentation ¶
Index ¶
- Variables
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)deprecated
- func (x *Collection) GetCreated() *timestamppb.Timestamp
- func (x *Collection) GetDescription() string
- func (x *Collection) GetHooks() []*KeyValue
- func (x *Collection) GetId() string
- func (x *Collection) GetIsPublic() bool
- func (x *Collection) GetLabelOntology() *LabelOntology
- func (x *Collection) GetLabels() []*KeyValue
- func (x *Collection) GetLatest() bool
- func (x *Collection) GetName() string
- func (x *Collection) GetObjectGroups() []*ObjectGroup
- func (x *Collection) GetObjects() []*Object
- func (x *Collection) GetSemanticVersion() *Version
- func (x *Collection) GetSpecifications() []*Object
- func (x *Collection) GetStats() *CollectionStats
- func (m *Collection) GetVersion() isCollection_Version
- func (*Collection) ProtoMessage()
- func (x *Collection) ProtoReflect() protoreflect.Message
- func (x *Collection) Reset()
- func (x *Collection) String() string
- type CollectionOverview
- func (*CollectionOverview) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionOverview) GetCreated() *timestamppb.Timestamp
- func (x *CollectionOverview) GetDescription() string
- func (x *CollectionOverview) GetHooks() []*KeyValue
- func (x *CollectionOverview) GetId() string
- func (x *CollectionOverview) GetIsPublic() bool
- func (x *CollectionOverview) GetLabelOntology() *LabelOntology
- func (x *CollectionOverview) GetLabels() []*KeyValue
- func (x *CollectionOverview) GetLatest() bool
- func (x *CollectionOverview) GetName() string
- func (x *CollectionOverview) GetSemanticVersion() *Version
- func (x *CollectionOverview) GetStats() *CollectionStats
- func (m *CollectionOverview) GetVersion() isCollectionOverview_Version
- func (*CollectionOverview) ProtoMessage()
- func (x *CollectionOverview) ProtoReflect() protoreflect.Message
- func (x *CollectionOverview) Reset()
- func (x *CollectionOverview) String() string
- type CollectionOverview_Latest
- type CollectionOverview_SemanticVersion
- type CollectionOverviews
- func (*CollectionOverviews) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionOverviews) GetCollectionOverviews() []*CollectionOverview
- func (*CollectionOverviews) ProtoMessage()
- func (x *CollectionOverviews) ProtoReflect() protoreflect.Message
- func (x *CollectionOverviews) Reset()
- func (x *CollectionOverviews) String() string
- type CollectionStats
- func (*CollectionStats) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionStats) GetLastUpdated() *timestamppb.Timestamp
- func (x *CollectionStats) GetObjectGroupCount() int64
- func (x *CollectionStats) GetObjectStats() *Stats
- func (*CollectionStats) ProtoMessage()
- func (x *CollectionStats) ProtoReflect() protoreflect.Message
- func (x *CollectionStats) Reset()
- func (x *CollectionStats) String() string
- type CollectionWithID
- func (*CollectionWithID) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionWithID) GetCreated() *timestamppb.Timestamp
- func (x *CollectionWithID) GetDescription() string
- func (x *CollectionWithID) GetHooks() []*KeyValue
- func (x *CollectionWithID) GetId() string
- func (x *CollectionWithID) GetIsPublic() bool
- func (x *CollectionWithID) GetLabelOntology() *LabelOntology
- func (x *CollectionWithID) GetLabels() []*KeyValue
- func (x *CollectionWithID) GetLatest() bool
- func (x *CollectionWithID) GetName() string
- func (x *CollectionWithID) GetObjectGroups() []string
- func (x *CollectionWithID) GetObjects() []string
- func (x *CollectionWithID) GetSemanticVersion() *Version
- func (x *CollectionWithID) GetSpecifications() []string
- func (x *CollectionWithID) GetStats() *CollectionStats
- func (m *CollectionWithID) GetVersion() isCollectionWithID_Version
- func (*CollectionWithID) ProtoMessage()
- func (x *CollectionWithID) ProtoReflect() protoreflect.Message
- func (x *CollectionWithID) Reset()
- func (x *CollectionWithID) String() string
- type CollectionWithID_Latest
- type CollectionWithID_SemanticVersion
- type CollectionWithIDs
- func (*CollectionWithIDs) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionWithIDs) GetCollectionWithIds() []*CollectionWithID
- func (*CollectionWithIDs) ProtoMessage()
- func (x *CollectionWithIDs) ProtoReflect() protoreflect.Message
- func (x *CollectionWithIDs) Reset()
- func (x *CollectionWithIDs) String() string
- type Collection_Latest
- type Collection_SemanticVersion
- type Collections
- type DataClass
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetDocumentationPath() string
- func (x *Endpoint) GetEpType() EndpointType
- func (x *Endpoint) GetId() string
- func (x *Endpoint) GetInternalHostname() string
- func (x *Endpoint) GetIsDefault() bool
- func (x *Endpoint) GetIsPublic() bool
- func (x *Endpoint) GetName() string
- func (x *Endpoint) GetProxyHostname() string
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type EndpointType
- func (EndpointType) Descriptor() protoreflect.EnumDescriptor
- func (x EndpointType) Enum() *EndpointType
- func (EndpointType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EndpointType) Number() protoreflect.EnumNumber
- func (x EndpointType) String() string
- func (EndpointType) Type() protoreflect.EnumType
- type Hash
- type Hashalgorithm
- func (Hashalgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x Hashalgorithm) Enum() *Hashalgorithm
- func (Hashalgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x Hashalgorithm) Number() protoreflect.EnumNumber
- func (x Hashalgorithm) String() string
- func (Hashalgorithm) Type() protoreflect.EnumType
- type KeyValue
- type LabelFilter
- func (*LabelFilter) Descriptor() ([]byte, []int)deprecated
- func (x *LabelFilter) GetAndOrOr() bool
- func (x *LabelFilter) GetKeysOnly() bool
- func (x *LabelFilter) GetLabels() []*KeyValue
- func (*LabelFilter) ProtoMessage()
- func (x *LabelFilter) ProtoReflect() protoreflect.Message
- func (x *LabelFilter) Reset()
- func (x *LabelFilter) String() string
- type LabelOntology
- type LabelOrIDQuery
- func (*LabelOrIDQuery) Descriptor() ([]byte, []int)deprecated
- func (x *LabelOrIDQuery) GetIds() []string
- func (x *LabelOrIDQuery) GetLabels() *LabelFilter
- func (*LabelOrIDQuery) ProtoMessage()
- func (x *LabelOrIDQuery) ProtoReflect() protoreflect.Message
- func (x *LabelOrIDQuery) Reset()
- func (x *LabelOrIDQuery) String() string
- type Object
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (x *Object) GetAutoUpdate() bool
- func (x *Object) GetContentLen() int64
- func (x *Object) GetCreated() *timestamppb.Timestamp
- func (x *Object) GetDataClass() DataClass
- func (x *Object) GetFilename() string
- func (x *Object) GetHashes() []*Hash
- func (x *Object) GetHooks() []*KeyValue
- func (x *Object) GetId() string
- func (x *Object) GetLabels() []*KeyValue
- func (x *Object) GetLatest() bool
- func (x *Object) GetOrigin() *Origin
- func (x *Object) GetRevNumber() int64
- func (x *Object) GetSource() *Source
- func (x *Object) GetStatus() Status
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (x *Object) String() string
- type ObjectGroup
- func (*ObjectGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectGroup) GetDescription() string
- func (x *ObjectGroup) GetHooks() []*KeyValue
- func (x *ObjectGroup) GetId() string
- func (x *ObjectGroup) GetLabels() []*KeyValue
- func (x *ObjectGroup) GetMetaObjects() []*Object
- func (x *ObjectGroup) GetName() string
- func (x *ObjectGroup) GetObjects() []*Object
- func (x *ObjectGroup) GetRevNumber() int64
- func (x *ObjectGroup) GetStats() *ObjectGroupStats
- func (*ObjectGroup) ProtoMessage()
- func (x *ObjectGroup) ProtoReflect() protoreflect.Message
- func (x *ObjectGroup) Reset()
- func (x *ObjectGroup) String() string
- type ObjectGroupOverview
- func (*ObjectGroupOverview) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectGroupOverview) GetDescription() string
- func (x *ObjectGroupOverview) GetHooks() []*KeyValue
- func (x *ObjectGroupOverview) GetId() string
- func (x *ObjectGroupOverview) GetLabels() []*KeyValue
- func (x *ObjectGroupOverview) GetName() string
- func (x *ObjectGroupOverview) GetRevNumber() int64
- func (x *ObjectGroupOverview) GetStats() *ObjectGroupStats
- func (*ObjectGroupOverview) ProtoMessage()
- func (x *ObjectGroupOverview) ProtoReflect() protoreflect.Message
- func (x *ObjectGroupOverview) Reset()
- func (x *ObjectGroupOverview) String() string
- type ObjectGroupOverviews
- func (*ObjectGroupOverviews) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectGroupOverviews) GetObjectGroupOverviews() []*ObjectGroupOverview
- func (*ObjectGroupOverviews) ProtoMessage()
- func (x *ObjectGroupOverviews) ProtoReflect() protoreflect.Message
- func (x *ObjectGroupOverviews) Reset()
- func (x *ObjectGroupOverviews) String() string
- type ObjectGroupStats
- func (*ObjectGroupStats) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectGroupStats) GetLastUpdated() *timestamppb.Timestamp
- func (x *ObjectGroupStats) GetObjectStats() *Stats
- func (*ObjectGroupStats) ProtoMessage()
- func (x *ObjectGroupStats) ProtoReflect() protoreflect.Message
- func (x *ObjectGroupStats) Reset()
- func (x *ObjectGroupStats) String() string
- type ObjectGroupWithID
- func (*ObjectGroupWithID) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectGroupWithID) GetDescription() string
- func (x *ObjectGroupWithID) GetHooks() []*KeyValue
- func (x *ObjectGroupWithID) GetId() string
- func (x *ObjectGroupWithID) GetLabels() []*KeyValue
- func (x *ObjectGroupWithID) GetMetaObjectIds() []string
- func (x *ObjectGroupWithID) GetName() string
- func (x *ObjectGroupWithID) GetObjectIds() []string
- func (x *ObjectGroupWithID) GetRevNumber() int64
- func (x *ObjectGroupWithID) GetStats() *ObjectGroupStats
- func (*ObjectGroupWithID) ProtoMessage()
- func (x *ObjectGroupWithID) ProtoReflect() protoreflect.Message
- func (x *ObjectGroupWithID) Reset()
- func (x *ObjectGroupWithID) String() string
- type ObjectGroupWithIDs
- func (*ObjectGroupWithIDs) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectGroupWithIDs) GetObjectGroupWithIds() []*ObjectGroupWithID
- func (*ObjectGroupWithIDs) ProtoMessage()
- func (x *ObjectGroupWithIDs) ProtoReflect() protoreflect.Message
- func (x *ObjectGroupWithIDs) Reset()
- func (x *ObjectGroupWithIDs) String() string
- type ObjectGroups
- type Objects
- type Origin
- type PageRequest
- func (*PageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageRequest) GetLastUuid() string
- func (x *PageRequest) GetPageSize() int64
- func (*PageRequest) ProtoMessage()
- func (x *PageRequest) ProtoReflect() protoreflect.Message
- func (x *PageRequest) Reset()
- func (x *PageRequest) String() string
- type PermType
- type Permission
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetCollectionIds() []string
- func (x *Project) GetDescription() string
- func (x *Project) GetId() string
- func (x *Project) GetName() string
- func (x *Project) GetUserPermissions() []*ProjectPermission
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectOverview
- func (*ProjectOverview) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectOverview) GetCollectionIds() []string
- func (x *ProjectOverview) GetDescription() string
- func (x *ProjectOverview) GetId() string
- func (x *ProjectOverview) GetName() string
- func (x *ProjectOverview) GetUserIds() []string
- func (*ProjectOverview) ProtoMessage()
- func (x *ProjectOverview) ProtoReflect() protoreflect.Message
- func (x *ProjectOverview) Reset()
- func (x *ProjectOverview) String() string
- type ProjectPermission
- func (*ProjectPermission) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPermission) GetPermission() Permission
- func (x *ProjectPermission) GetProjectId() string
- func (x *ProjectPermission) GetServiceAccount() bool
- func (x *ProjectPermission) GetUserId() string
- func (*ProjectPermission) ProtoMessage()
- func (x *ProjectPermission) ProtoReflect() protoreflect.Message
- func (x *ProjectPermission) Reset()
- func (x *ProjectPermission) String() string
- type ProjectPermissionDisplayName
- func (*ProjectPermissionDisplayName) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPermissionDisplayName) GetDisplayName() string
- func (x *ProjectPermissionDisplayName) GetPermission() Permission
- func (x *ProjectPermissionDisplayName) GetProjectId() string
- func (x *ProjectPermissionDisplayName) GetUserId() string
- func (*ProjectPermissionDisplayName) ProtoMessage()
- func (x *ProjectPermissionDisplayName) ProtoReflect() protoreflect.Message
- func (x *ProjectPermissionDisplayName) Reset()
- func (x *ProjectPermissionDisplayName) String() string
- type ResourceAction
- func (ResourceAction) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceAction) Enum() *ResourceAction
- func (ResourceAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceAction) Number() protoreflect.EnumNumber
- func (x ResourceAction) String() string
- func (ResourceAction) Type() protoreflect.EnumType
- type ResourceType
- func (ResourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceType) Enum() *ResourceType
- func (ResourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceType) Number() protoreflect.EnumNumber
- func (x ResourceType) String() string
- func (ResourceType) Type() protoreflect.EnumType
- type Source
- type SourceType
- type Stats
- type Status
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetCollectionId() string
- func (x *Token) GetCreatedAt() *timestamppb.Timestamp
- func (x *Token) GetExpiresAt() *timestamppb.Timestamp
- func (x *Token) GetId() string
- func (x *Token) GetName() string
- func (x *Token) GetPermission() Permission
- func (x *Token) GetProjectId() string
- func (x *Token) GetTokenType() TokenType
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- type TokenType
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetActive() bool
- func (x *User) GetDisplayName() string
- func (x *User) GetExternalId() string
- func (x *User) GetId() string
- func (x *User) GetIsAdmin() bool
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetMajor() int32
- func (x *Version) GetMinor() int32
- func (x *Version) GetPatch() int32
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Permission_name = map[int32]string{ 0: "PERMISSION_UNSPECIFIED", 1: "PERMISSION_NONE", 2: "PERMISSION_READ", 3: "PERMISSION_APPEND", 4: "PERMISSION_MODIFY", 5: "PERMISSION_ADMIN", } Permission_value = map[string]int32{ "PERMISSION_UNSPECIFIED": 0, "PERMISSION_NONE": 1, "PERMISSION_READ": 2, "PERMISSION_APPEND": 3, "PERMISSION_MODIFY": 4, "PERMISSION_ADMIN": 5, } )
Enum value maps for Permission.
var ( PermType_name = map[int32]string{ 0: "PERM_TYPE_UNSPECIFIED", 1: "PERM_TYPE_USER", 2: "PERM_TYPE_ANONYMOUS", 3: "PERM_TYPE_TOKEN", } PermType_value = map[string]int32{ "PERM_TYPE_UNSPECIFIED": 0, "PERM_TYPE_USER": 1, "PERM_TYPE_ANONYMOUS": 2, "PERM_TYPE_TOKEN": 3, } )
Enum value maps for PermType.
var ( TokenType_name = map[int32]string{ 0: "TOKEN_TYPE_UNSPECIFIED", 1: "TOKEN_TYPE_PERSONAL", 2: "TOKEN_TYPE_SCOPED", } TokenType_value = map[string]int32{ "TOKEN_TYPE_UNSPECIFIED": 0, "TOKEN_TYPE_PERSONAL": 1, "TOKEN_TYPE_SCOPED": 2, } )
Enum value maps for TokenType.
var ( ResourceType_name = map[int32]string{ 0: "RESOURCE_TYPE_UNSPECIFIED", 1: "RESOURCE_TYPE_PROJECT", 2: "RESOURCE_TYPE_COLLECTION", 3: "RESOURCE_TYPE_OBJECT_GROUP", 4: "RESOURCE_TYPE_OBJECT", 5: "RESOURCE_TYPE_ALL", } ResourceType_value = map[string]int32{ "RESOURCE_TYPE_UNSPECIFIED": 0, "RESOURCE_TYPE_PROJECT": 1, "RESOURCE_TYPE_COLLECTION": 2, "RESOURCE_TYPE_OBJECT_GROUP": 3, "RESOURCE_TYPE_OBJECT": 4, "RESOURCE_TYPE_ALL": 5, } )
Enum value maps for ResourceType.
var ( ResourceAction_name = map[int32]string{ 0: "RESOURCE_ACTION_UNSPECIFIED", 1: "RESOURCE_ACTION_CREATE", 2: "RESOURCE_ACTION_APPEND", 3: "RESOURCE_ACTION_UPDATE", 4: "RESOURCE_ACTION_READ", 5: "RESOURCE_ACTION_DELETE", } ResourceAction_value = map[string]int32{ "RESOURCE_ACTION_UNSPECIFIED": 0, "RESOURCE_ACTION_CREATE": 1, "RESOURCE_ACTION_APPEND": 2, "RESOURCE_ACTION_UPDATE": 3, "RESOURCE_ACTION_READ": 4, "RESOURCE_ACTION_DELETE": 5, } )
Enum value maps for ResourceAction.
var ( Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_INITIALIZING", 2: "STATUS_AVAILABLE", 3: "STATUS_UNAVAILABLE", 4: "STATUS_ERROR", 5: "STATUS_TRASH", } Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_INITIALIZING": 1, "STATUS_AVAILABLE": 2, "STATUS_UNAVAILABLE": 3, "STATUS_ERROR": 4, "STATUS_TRASH": 5, } )
Enum value maps for Status.
var ( Hashalgorithm_name = map[int32]string{ 0: "HASHALGORITHM_UNSPECIFIED", 1: "HASHALGORITHM_MD5", 3: "HASHALGORITHM_SHA256", } Hashalgorithm_value = map[string]int32{ "HASHALGORITHM_UNSPECIFIED": 0, "HASHALGORITHM_MD5": 1, "HASHALGORITHM_SHA256": 3, } )
Enum value maps for Hashalgorithm.
var ( DataClass_name = map[int32]string{ 0: "DATA_CLASS_UNSPECIFIED", 1: "DATA_CLASS_PUBLIC", 2: "DATA_CLASS_PRIVATE", 3: "DATA_CLASS_CONFIDENTIAL", 4: "DATA_CLASS_PROTECTED", } DataClass_value = map[string]int32{ "DATA_CLASS_UNSPECIFIED": 0, "DATA_CLASS_PUBLIC": 1, "DATA_CLASS_PRIVATE": 2, "DATA_CLASS_CONFIDENTIAL": 3, "DATA_CLASS_PROTECTED": 4, } )
Enum value maps for DataClass.
var ( SourceType_name = map[int32]string{ 0: "SOURCE_TYPE_UNSPECIFIED", 1: "SOURCE_TYPE_URL", 2: "SOURCE_TYPE_DOI", } SourceType_value = map[string]int32{ "SOURCE_TYPE_UNSPECIFIED": 0, "SOURCE_TYPE_URL": 1, "SOURCE_TYPE_DOI": 2, } )
Enum value maps for SourceType.
var ( EndpointType_name = map[int32]string{ 0: "ENDPOINT_TYPE_UNSPECIFIED", 1: "ENDPOINT_TYPE_S3", 2: "ENDPOINT_TYPE_FILE", } EndpointType_value = map[string]int32{ "ENDPOINT_TYPE_UNSPECIFIED": 0, "ENDPOINT_TYPE_S3": 1, "ENDPOINT_TYPE_FILE": 2, } )
Enum value maps for EndpointType.
var File_aruna_api_storage_models_v1_auth_proto protoreflect.FileDescriptor
var File_aruna_api_storage_models_v1_models_proto protoreflect.FileDescriptor
var File_aruna_api_storage_models_v1_query_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Should be unique in authgroup Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Labels []*KeyValue `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` Hooks []*KeyValue `protobuf:"bytes,5,rep,name=hooks,proto3" json:"hooks,omitempty"` LabelOntology *LabelOntology `protobuf:"bytes,6,opt,name=label_ontology,json=labelOntology,proto3" json:"label_ontology,omitempty"` // Ontology for labels Created *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created,proto3" json:"created,omitempty"` Objects []*Object `protobuf:"bytes,8,rep,name=objects,proto3" json:"objects,omitempty"` Specifications []*Object `protobuf:"bytes,9,rep,name=specifications,proto3" json:"specifications,omitempty"` ObjectGroups []*ObjectGroup `protobuf:"bytes,10,rep,name=object_groups,json=objectGroups,proto3" json:"object_groups,omitempty"` // Types that are assignable to Version: // *Collection_SemanticVersion // *Collection_Latest Version isCollection_Version `protobuf_oneof:"version"` Stats *CollectionStats `protobuf:"bytes,14,opt,name=stats,proto3" json:"stats,omitempty"` IsPublic bool `protobuf:"varint,15,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetCreated ¶
func (x *Collection) GetCreated() *timestamppb.Timestamp
func (*Collection) GetDescription ¶
func (x *Collection) GetDescription() string
func (*Collection) GetHooks ¶
func (x *Collection) GetHooks() []*KeyValue
func (*Collection) GetId ¶
func (x *Collection) GetId() string
func (*Collection) GetIsPublic ¶
func (x *Collection) GetIsPublic() bool
func (*Collection) GetLabelOntology ¶
func (x *Collection) GetLabelOntology() *LabelOntology
func (*Collection) GetLabels ¶
func (x *Collection) GetLabels() []*KeyValue
func (*Collection) GetLatest ¶
func (x *Collection) GetLatest() bool
func (*Collection) GetName ¶
func (x *Collection) GetName() string
func (*Collection) GetObjectGroups ¶
func (x *Collection) GetObjectGroups() []*ObjectGroup
func (*Collection) GetObjects ¶
func (x *Collection) GetObjects() []*Object
func (*Collection) GetSemanticVersion ¶
func (x *Collection) GetSemanticVersion() *Version
func (*Collection) GetSpecifications ¶
func (x *Collection) GetSpecifications() []*Object
func (*Collection) GetStats ¶
func (x *Collection) GetStats() *CollectionStats
func (*Collection) GetVersion ¶
func (m *Collection) GetVersion() isCollection_Version
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
type CollectionOverview ¶
type CollectionOverview struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Labels []*KeyValue `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` Hooks []*KeyValue `protobuf:"bytes,5,rep,name=hooks,proto3" json:"hooks,omitempty"` LabelOntology *LabelOntology `protobuf:"bytes,6,opt,name=label_ontology,json=labelOntology,proto3" json:"label_ontology,omitempty"` // Ontology for labels Created *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created,proto3" json:"created,omitempty"` // Types that are assignable to Version: // *CollectionOverview_SemanticVersion // *CollectionOverview_Latest Version isCollectionOverview_Version `protobuf_oneof:"version"` Stats *CollectionStats `protobuf:"bytes,14,opt,name=stats,proto3" json:"stats,omitempty"` IsPublic bool `protobuf:"varint,15,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // contains filtered or unexported fields }
This is a representation of the Collection without the recursive nature of objectreferences
func (*CollectionOverview) Descriptor
deprecated
func (*CollectionOverview) Descriptor() ([]byte, []int)
Deprecated: Use CollectionOverview.ProtoReflect.Descriptor instead.
func (*CollectionOverview) GetCreated ¶
func (x *CollectionOverview) GetCreated() *timestamppb.Timestamp
func (*CollectionOverview) GetDescription ¶
func (x *CollectionOverview) GetDescription() string
func (*CollectionOverview) GetHooks ¶
func (x *CollectionOverview) GetHooks() []*KeyValue
func (*CollectionOverview) GetId ¶
func (x *CollectionOverview) GetId() string
func (*CollectionOverview) GetIsPublic ¶
func (x *CollectionOverview) GetIsPublic() bool
func (*CollectionOverview) GetLabelOntology ¶
func (x *CollectionOverview) GetLabelOntology() *LabelOntology
func (*CollectionOverview) GetLabels ¶
func (x *CollectionOverview) GetLabels() []*KeyValue
func (*CollectionOverview) GetLatest ¶
func (x *CollectionOverview) GetLatest() bool
func (*CollectionOverview) GetName ¶
func (x *CollectionOverview) GetName() string
func (*CollectionOverview) GetSemanticVersion ¶
func (x *CollectionOverview) GetSemanticVersion() *Version
func (*CollectionOverview) GetStats ¶
func (x *CollectionOverview) GetStats() *CollectionStats
func (*CollectionOverview) GetVersion ¶
func (m *CollectionOverview) GetVersion() isCollectionOverview_Version
func (*CollectionOverview) ProtoMessage ¶
func (*CollectionOverview) ProtoMessage()
func (*CollectionOverview) ProtoReflect ¶
func (x *CollectionOverview) ProtoReflect() protoreflect.Message
func (*CollectionOverview) Reset ¶
func (x *CollectionOverview) Reset()
func (*CollectionOverview) String ¶
func (x *CollectionOverview) String() string
type CollectionOverview_Latest ¶
type CollectionOverview_Latest struct {
Latest bool `protobuf:"varint,13,opt,name=latest,proto3,oneof"`
}
type CollectionOverview_SemanticVersion ¶
type CollectionOverview_SemanticVersion struct {
SemanticVersion *Version `protobuf:"bytes,12,opt,name=semantic_version,json=semanticVersion,proto3,oneof"`
}
type CollectionOverviews ¶
type CollectionOverviews struct { CollectionOverviews []*CollectionOverview `protobuf:"bytes,1,rep,name=collection_overviews,json=collectionOverviews,proto3" json:"collection_overviews,omitempty"` // contains filtered or unexported fields }
Multiple CollectionOverviews
func (*CollectionOverviews) Descriptor
deprecated
func (*CollectionOverviews) Descriptor() ([]byte, []int)
Deprecated: Use CollectionOverviews.ProtoReflect.Descriptor instead.
func (*CollectionOverviews) GetCollectionOverviews ¶
func (x *CollectionOverviews) GetCollectionOverviews() []*CollectionOverview
func (*CollectionOverviews) ProtoMessage ¶
func (*CollectionOverviews) ProtoMessage()
func (*CollectionOverviews) ProtoReflect ¶
func (x *CollectionOverviews) ProtoReflect() protoreflect.Message
func (*CollectionOverviews) Reset ¶
func (x *CollectionOverviews) Reset()
func (*CollectionOverviews) String ¶
func (x *CollectionOverviews) String() string
type CollectionStats ¶
type CollectionStats struct { ObjectStats *Stats `protobuf:"bytes,1,opt,name=object_stats,json=objectStats,proto3" json:"object_stats,omitempty"` ObjectGroupCount int64 `protobuf:"varint,2,opt,name=object_group_count,json=objectGroupCount,proto3" json:"object_group_count,omitempty"` LastUpdated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // contains filtered or unexported fields }
Stats for a collection
func (*CollectionStats) Descriptor
deprecated
func (*CollectionStats) Descriptor() ([]byte, []int)
Deprecated: Use CollectionStats.ProtoReflect.Descriptor instead.
func (*CollectionStats) GetLastUpdated ¶
func (x *CollectionStats) GetLastUpdated() *timestamppb.Timestamp
func (*CollectionStats) GetObjectGroupCount ¶
func (x *CollectionStats) GetObjectGroupCount() int64
func (*CollectionStats) GetObjectStats ¶
func (x *CollectionStats) GetObjectStats() *Stats
func (*CollectionStats) ProtoMessage ¶
func (*CollectionStats) ProtoMessage()
func (*CollectionStats) ProtoReflect ¶
func (x *CollectionStats) ProtoReflect() protoreflect.Message
func (*CollectionStats) Reset ¶
func (x *CollectionStats) Reset()
func (*CollectionStats) String ¶
func (x *CollectionStats) String() string
type CollectionWithID ¶
type CollectionWithID struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Labels []*KeyValue `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` Hooks []*KeyValue `protobuf:"bytes,5,rep,name=hooks,proto3" json:"hooks,omitempty"` LabelOntology *LabelOntology `protobuf:"bytes,6,opt,name=label_ontology,json=labelOntology,proto3" json:"label_ontology,omitempty"` // Ontology for labels Created *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created,proto3" json:"created,omitempty"` Objects []string `protobuf:"bytes,8,rep,name=objects,proto3" json:"objects,omitempty"` Specifications []string `protobuf:"bytes,9,rep,name=specifications,proto3" json:"specifications,omitempty"` ObjectGroups []string `protobuf:"bytes,10,rep,name=object_groups,json=objectGroups,proto3" json:"object_groups,omitempty"` // Types that are assignable to Version: // *CollectionWithID_SemanticVersion // *CollectionWithID_Latest Version isCollectionWithID_Version `protobuf_oneof:"version"` Stats *CollectionStats `protobuf:"bytes,14,opt,name=stats,proto3" json:"stats,omitempty"` IsPublic bool `protobuf:"varint,15,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` // contains filtered or unexported fields }
This is a representation of the Collection with only Resource RevisionIDs instead of full objects
func (*CollectionWithID) Descriptor
deprecated
func (*CollectionWithID) Descriptor() ([]byte, []int)
Deprecated: Use CollectionWithID.ProtoReflect.Descriptor instead.
func (*CollectionWithID) GetCreated ¶
func (x *CollectionWithID) GetCreated() *timestamppb.Timestamp
func (*CollectionWithID) GetDescription ¶
func (x *CollectionWithID) GetDescription() string
func (*CollectionWithID) GetHooks ¶
func (x *CollectionWithID) GetHooks() []*KeyValue
func (*CollectionWithID) GetId ¶
func (x *CollectionWithID) GetId() string
func (*CollectionWithID) GetIsPublic ¶
func (x *CollectionWithID) GetIsPublic() bool
func (*CollectionWithID) GetLabelOntology ¶
func (x *CollectionWithID) GetLabelOntology() *LabelOntology
func (*CollectionWithID) GetLabels ¶
func (x *CollectionWithID) GetLabels() []*KeyValue
func (*CollectionWithID) GetLatest ¶
func (x *CollectionWithID) GetLatest() bool
func (*CollectionWithID) GetName ¶
func (x *CollectionWithID) GetName() string
func (*CollectionWithID) GetObjectGroups ¶
func (x *CollectionWithID) GetObjectGroups() []string
func (*CollectionWithID) GetObjects ¶
func (x *CollectionWithID) GetObjects() []string
func (*CollectionWithID) GetSemanticVersion ¶
func (x *CollectionWithID) GetSemanticVersion() *Version
func (*CollectionWithID) GetSpecifications ¶
func (x *CollectionWithID) GetSpecifications() []string
func (*CollectionWithID) GetStats ¶
func (x *CollectionWithID) GetStats() *CollectionStats
func (*CollectionWithID) GetVersion ¶
func (m *CollectionWithID) GetVersion() isCollectionWithID_Version
func (*CollectionWithID) ProtoMessage ¶
func (*CollectionWithID) ProtoMessage()
func (*CollectionWithID) ProtoReflect ¶
func (x *CollectionWithID) ProtoReflect() protoreflect.Message
func (*CollectionWithID) Reset ¶
func (x *CollectionWithID) Reset()
func (*CollectionWithID) String ¶
func (x *CollectionWithID) String() string
type CollectionWithID_Latest ¶
type CollectionWithID_Latest struct {
Latest bool `protobuf:"varint,13,opt,name=latest,proto3,oneof"`
}
type CollectionWithID_SemanticVersion ¶
type CollectionWithID_SemanticVersion struct {
SemanticVersion *Version `protobuf:"bytes,12,opt,name=semantic_version,json=semanticVersion,proto3,oneof"`
}
type CollectionWithIDs ¶
type CollectionWithIDs struct { CollectionWithIds []*CollectionWithID `protobuf:"bytes,1,rep,name=collection_with_ids,json=collectionWithIds,proto3" json:"collection_with_ids,omitempty"` // contains filtered or unexported fields }
Multiple CollectionWithIDs
func (*CollectionWithIDs) Descriptor
deprecated
func (*CollectionWithIDs) Descriptor() ([]byte, []int)
Deprecated: Use CollectionWithIDs.ProtoReflect.Descriptor instead.
func (*CollectionWithIDs) GetCollectionWithIds ¶
func (x *CollectionWithIDs) GetCollectionWithIds() []*CollectionWithID
func (*CollectionWithIDs) ProtoMessage ¶
func (*CollectionWithIDs) ProtoMessage()
func (*CollectionWithIDs) ProtoReflect ¶
func (x *CollectionWithIDs) ProtoReflect() protoreflect.Message
func (*CollectionWithIDs) Reset ¶
func (x *CollectionWithIDs) Reset()
func (*CollectionWithIDs) String ¶
func (x *CollectionWithIDs) String() string
type Collection_Latest ¶
type Collection_Latest struct {
Latest bool `protobuf:"varint,13,opt,name=latest,proto3,oneof"`
}
type Collection_SemanticVersion ¶
type Collection_SemanticVersion struct {
SemanticVersion *Version `protobuf:"bytes,12,opt,name=semantic_version,json=semanticVersion,proto3,oneof"`
}
type Collections ¶
type Collections struct { Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` // contains filtered or unexported fields }
Multiple Collections
func (*Collections) Descriptor
deprecated
func (*Collections) Descriptor() ([]byte, []int)
Deprecated: Use Collections.ProtoReflect.Descriptor instead.
func (*Collections) GetCollections ¶
func (x *Collections) GetCollections() []*Collection
func (*Collections) ProtoMessage ¶
func (*Collections) ProtoMessage()
func (*Collections) ProtoReflect ¶
func (x *Collections) ProtoReflect() protoreflect.Message
func (*Collections) Reset ¶
func (x *Collections) Reset()
func (*Collections) String ¶
func (x *Collections) String() string
type DataClass ¶
type DataClass int32
Dataclass defines the confidentiality of the object
func (DataClass) Descriptor ¶
func (DataClass) Descriptor() protoreflect.EnumDescriptor
func (DataClass) EnumDescriptor
deprecated
func (DataClass) Number ¶
func (x DataClass) Number() protoreflect.EnumNumber
func (DataClass) Type ¶
func (DataClass) Type() protoreflect.EnumType
type Endpoint ¶
type Endpoint struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` EpType EndpointType `` /* 126-byte string literal not displayed */ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` ProxyHostname string `protobuf:"bytes,4,opt,name=proxy_hostname,json=proxyHostname,proto3" json:"proxy_hostname,omitempty"` InternalHostname string `protobuf:"bytes,5,opt,name=internal_hostname,json=internalHostname,proto3" json:"internal_hostname,omitempty"` DocumentationPath string `protobuf:"bytes,6,opt,name=documentation_path,json=documentationPath,proto3" json:"documentation_path,omitempty"` IsPublic bool `protobuf:"varint,7,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"` IsDefault bool `protobuf:"varint,8,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetDocumentationPath ¶
func (*Endpoint) GetEpType ¶
func (x *Endpoint) GetEpType() EndpointType
func (*Endpoint) GetInternalHostname ¶
func (*Endpoint) GetIsDefault ¶
func (*Endpoint) GetIsPublic ¶
func (*Endpoint) GetProxyHostname ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type EndpointType ¶
type EndpointType int32
const ( EndpointType_ENDPOINT_TYPE_UNSPECIFIED EndpointType = 0 EndpointType_ENDPOINT_TYPE_S3 EndpointType = 1 EndpointType_ENDPOINT_TYPE_FILE EndpointType = 2 )
func (EndpointType) Descriptor ¶
func (EndpointType) Descriptor() protoreflect.EnumDescriptor
func (EndpointType) Enum ¶
func (x EndpointType) Enum() *EndpointType
func (EndpointType) EnumDescriptor
deprecated
func (EndpointType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EndpointType.Descriptor instead.
func (EndpointType) Number ¶
func (x EndpointType) Number() protoreflect.EnumNumber
func (EndpointType) String ¶
func (x EndpointType) String() string
func (EndpointType) Type ¶
func (EndpointType) Type() protoreflect.EnumType
type Hash ¶
type Hash struct { Alg Hashalgorithm `protobuf:"varint,1,opt,name=alg,proto3,enum=aruna.api.storage.models.v1.Hashalgorithm" json:"alg,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*Hash) Descriptor
deprecated
func (*Hash) GetAlg ¶
func (x *Hash) GetAlg() Hashalgorithm
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶
func (x *Hash) ProtoReflect() protoreflect.Message
type Hashalgorithm ¶
type Hashalgorithm int32
const ( Hashalgorithm_HASHALGORITHM_UNSPECIFIED Hashalgorithm = 0 Hashalgorithm_HASHALGORITHM_MD5 Hashalgorithm = 1 //HASHALGORITHM_SHA1 = 2; Hashalgorithm_HASHALGORITHM_SHA256 Hashalgorithm = 3 )
func (Hashalgorithm) Descriptor ¶
func (Hashalgorithm) Descriptor() protoreflect.EnumDescriptor
func (Hashalgorithm) Enum ¶
func (x Hashalgorithm) Enum() *Hashalgorithm
func (Hashalgorithm) EnumDescriptor
deprecated
func (Hashalgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use Hashalgorithm.Descriptor instead.
func (Hashalgorithm) Number ¶
func (x Hashalgorithm) Number() protoreflect.EnumNumber
func (Hashalgorithm) String ¶
func (x Hashalgorithm) String() string
func (Hashalgorithm) Type ¶
func (Hashalgorithm) Type() protoreflect.EnumType
type KeyValue ¶
type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A key value pair for hooks and labels
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
type LabelFilter ¶
type LabelFilter struct { Labels []*KeyValue `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` // True if and, if empty or false or AndOrOr bool `protobuf:"varint,2,opt,name=and_or_or,json=andOrOr,proto3" json:"and_or_or,omitempty"` // Should only the keys be considered ? KeysOnly bool `protobuf:"varint,3,opt,name=keys_only,json=keysOnly,proto3" json:"keys_only,omitempty"` // contains filtered or unexported fields }
LabelFilter is used to filter resources by labels. The labels are specified as a map of key-value pairs.
func (*LabelFilter) Descriptor
deprecated
func (*LabelFilter) Descriptor() ([]byte, []int)
Deprecated: Use LabelFilter.ProtoReflect.Descriptor instead.
func (*LabelFilter) GetAndOrOr ¶
func (x *LabelFilter) GetAndOrOr() bool
func (*LabelFilter) GetKeysOnly ¶
func (x *LabelFilter) GetKeysOnly() bool
func (*LabelFilter) GetLabels ¶
func (x *LabelFilter) GetLabels() []*KeyValue
func (*LabelFilter) ProtoMessage ¶
func (*LabelFilter) ProtoMessage()
func (*LabelFilter) ProtoReflect ¶
func (x *LabelFilter) ProtoReflect() protoreflect.Message
func (*LabelFilter) Reset ¶
func (x *LabelFilter) Reset()
func (*LabelFilter) String ¶
func (x *LabelFilter) String() string
type LabelOntology ¶
type LabelOntology struct { // These are the keys for labels that are required for the collection // Adding an Object without these keys will result in an error // Defaults to empty string if not specified RequiredLabelKeys []string `protobuf:"bytes,1,rep,name=required_label_keys,json=requiredLabelKeys,proto3" json:"required_label_keys,omitempty"` // contains filtered or unexported fields }
func (*LabelOntology) Descriptor
deprecated
func (*LabelOntology) Descriptor() ([]byte, []int)
Deprecated: Use LabelOntology.ProtoReflect.Descriptor instead.
func (*LabelOntology) GetRequiredLabelKeys ¶
func (x *LabelOntology) GetRequiredLabelKeys() []string
func (*LabelOntology) ProtoMessage ¶
func (*LabelOntology) ProtoMessage()
func (*LabelOntology) ProtoReflect ¶
func (x *LabelOntology) ProtoReflect() protoreflect.Message
func (*LabelOntology) Reset ¶
func (x *LabelOntology) Reset()
func (*LabelOntology) String ¶
func (x *LabelOntology) String() string
type LabelOrIDQuery ¶
type LabelOrIDQuery struct { Labels *LabelFilter `protobuf:"bytes,1,opt,name=labels,proto3" json:"labels,omitempty"` Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
This is a combined query for either a list of resource IDs or filtered by Label Can be expanded in the future to allow for more complex queries
func (*LabelOrIDQuery) Descriptor
deprecated
func (*LabelOrIDQuery) Descriptor() ([]byte, []int)
Deprecated: Use LabelOrIDQuery.ProtoReflect.Descriptor instead.
func (*LabelOrIDQuery) GetIds ¶
func (x *LabelOrIDQuery) GetIds() []string
func (*LabelOrIDQuery) GetLabels ¶
func (x *LabelOrIDQuery) GetLabels() *LabelFilter
func (*LabelOrIDQuery) ProtoMessage ¶
func (*LabelOrIDQuery) ProtoMessage()
func (*LabelOrIDQuery) ProtoReflect ¶
func (x *LabelOrIDQuery) ProtoReflect() protoreflect.Message
func (*LabelOrIDQuery) Reset ¶
func (x *LabelOrIDQuery) Reset()
func (*LabelOrIDQuery) String ¶
func (x *LabelOrIDQuery) String() string
type Object ¶
type Object struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ObjectID Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` // Filename: Name of the original file e.g.: mydata.json Labels []*KeyValue `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` // Labels to additionally describe the object Hooks []*KeyValue `protobuf:"bytes,5,rep,name=hooks,proto3" json:"hooks,omitempty"` // Hooks to be executed on the object Created *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"` ContentLen int64 `protobuf:"varint,7,opt,name=content_len,json=contentLen,proto3" json:"content_len,omitempty"` // Lenght of the stored dataset Status Status `protobuf:"varint,8,opt,name=status,proto3,enum=aruna.api.storage.models.v1.Status" json:"status,omitempty"` Origin *Origin `protobuf:"bytes,9,opt,name=origin,proto3" json:"origin,omitempty"` // Origin of the object DataClass DataClass `` // Confidentiality of the object /* 133-byte string literal not displayed */ Hashes []*Hash `protobuf:"bytes,16,rep,name=hashes,proto3" json:"hashes,omitempty"` // MD5 and SHA256 hash of the data RevNumber int64 `protobuf:"varint,12,opt,name=rev_number,json=revNumber,proto3" json:"rev_number,omitempty"` // Increasing revion number for each update Source *Source `protobuf:"bytes,13,opt,name=source,proto3" json:"source,omitempty"` // External source where this data originates from Latest bool `protobuf:"varint,14,opt,name=latest,proto3" json:"latest,omitempty"` // Is this the latest version of the object? // This is a collection specific attribute // Must be false if collection is immutable AutoUpdate bool `protobuf:"varint,15,opt,name=auto_update,json=autoUpdate,proto3" json:"auto_update,omitempty"` // If true, the object will be updated automatically // contains filtered or unexported fields }
func (*Object) Descriptor
deprecated
func (*Object) GetAutoUpdate ¶
func (*Object) GetContentLen ¶
func (*Object) GetCreated ¶
func (x *Object) GetCreated() *timestamppb.Timestamp
func (*Object) GetDataClass ¶
func (*Object) GetFilename ¶
func (*Object) GetRevNumber ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
type ObjectGroup ¶
type ObjectGroup struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Labels []*KeyValue `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"` Hooks []*KeyValue `protobuf:"bytes,7,rep,name=hooks,proto3" json:"hooks,omitempty"` Objects []*Object `protobuf:"bytes,8,rep,name=objects,proto3" json:"objects,omitempty"` // Must be in collection objects MetaObjects []*Object `protobuf:"bytes,9,rep,name=meta_objects,json=metaObjects,proto3" json:"meta_objects,omitempty"` // Must be in collection objects Stats *ObjectGroupStats `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"` RevNumber int64 `protobuf:"varint,11,opt,name=rev_number,json=revNumber,proto3" json:"rev_number,omitempty"` // contains filtered or unexported fields }
ObjectGroups are optional and can be used to group objects in a collection together They need to refer to objects in the same collection Objectgroups can be changed if the collection is mutable
func (*ObjectGroup) Descriptor
deprecated
func (*ObjectGroup) Descriptor() ([]byte, []int)
Deprecated: Use ObjectGroup.ProtoReflect.Descriptor instead.
func (*ObjectGroup) GetDescription ¶
func (x *ObjectGroup) GetDescription() string
func (*ObjectGroup) GetHooks ¶
func (x *ObjectGroup) GetHooks() []*KeyValue
func (*ObjectGroup) GetId ¶
func (x *ObjectGroup) GetId() string
func (*ObjectGroup) GetLabels ¶
func (x *ObjectGroup) GetLabels() []*KeyValue
func (*ObjectGroup) GetMetaObjects ¶
func (x *ObjectGroup) GetMetaObjects() []*Object
func (*ObjectGroup) GetName ¶
func (x *ObjectGroup) GetName() string
func (*ObjectGroup) GetObjects ¶
func (x *ObjectGroup) GetObjects() []*Object
func (*ObjectGroup) GetRevNumber ¶
func (x *ObjectGroup) GetRevNumber() int64
func (*ObjectGroup) GetStats ¶
func (x *ObjectGroup) GetStats() *ObjectGroupStats
func (*ObjectGroup) ProtoMessage ¶
func (*ObjectGroup) ProtoMessage()
func (*ObjectGroup) ProtoReflect ¶
func (x *ObjectGroup) ProtoReflect() protoreflect.Message
func (*ObjectGroup) Reset ¶
func (x *ObjectGroup) Reset()
func (*ObjectGroup) String ¶
func (x *ObjectGroup) String() string
type ObjectGroupOverview ¶
type ObjectGroupOverview struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Labels []*KeyValue `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"` Hooks []*KeyValue `protobuf:"bytes,7,rep,name=hooks,proto3" json:"hooks,omitempty"` Stats *ObjectGroupStats `protobuf:"bytes,8,opt,name=stats,proto3" json:"stats,omitempty"` RevNumber int64 `protobuf:"varint,9,opt,name=rev_number,json=revNumber,proto3" json:"rev_number,omitempty"` // contains filtered or unexported fields }
This is a representation of the ObjectGroup without the recursive nature of object references
func (*ObjectGroupOverview) Descriptor
deprecated
func (*ObjectGroupOverview) Descriptor() ([]byte, []int)
Deprecated: Use ObjectGroupOverview.ProtoReflect.Descriptor instead.
func (*ObjectGroupOverview) GetDescription ¶
func (x *ObjectGroupOverview) GetDescription() string
func (*ObjectGroupOverview) GetHooks ¶
func (x *ObjectGroupOverview) GetHooks() []*KeyValue
func (*ObjectGroupOverview) GetId ¶
func (x *ObjectGroupOverview) GetId() string
func (*ObjectGroupOverview) GetLabels ¶
func (x *ObjectGroupOverview) GetLabels() []*KeyValue
func (*ObjectGroupOverview) GetName ¶
func (x *ObjectGroupOverview) GetName() string
func (*ObjectGroupOverview) GetRevNumber ¶
func (x *ObjectGroupOverview) GetRevNumber() int64
func (*ObjectGroupOverview) GetStats ¶
func (x *ObjectGroupOverview) GetStats() *ObjectGroupStats
func (*ObjectGroupOverview) ProtoMessage ¶
func (*ObjectGroupOverview) ProtoMessage()
func (*ObjectGroupOverview) ProtoReflect ¶
func (x *ObjectGroupOverview) ProtoReflect() protoreflect.Message
func (*ObjectGroupOverview) Reset ¶
func (x *ObjectGroupOverview) Reset()
func (*ObjectGroupOverview) String ¶
func (x *ObjectGroupOverview) String() string
type ObjectGroupOverviews ¶
type ObjectGroupOverviews struct { ObjectGroupOverviews []*ObjectGroupOverview `protobuf:"bytes,1,rep,name=object_group_overviews,json=objectGroupOverviews,proto3" json:"object_group_overviews,omitempty"` // contains filtered or unexported fields }
Multiple ObjectGroupOverviews
func (*ObjectGroupOverviews) Descriptor
deprecated
func (*ObjectGroupOverviews) Descriptor() ([]byte, []int)
Deprecated: Use ObjectGroupOverviews.ProtoReflect.Descriptor instead.
func (*ObjectGroupOverviews) GetObjectGroupOverviews ¶
func (x *ObjectGroupOverviews) GetObjectGroupOverviews() []*ObjectGroupOverview
func (*ObjectGroupOverviews) ProtoMessage ¶
func (*ObjectGroupOverviews) ProtoMessage()
func (*ObjectGroupOverviews) ProtoReflect ¶
func (x *ObjectGroupOverviews) ProtoReflect() protoreflect.Message
func (*ObjectGroupOverviews) Reset ¶
func (x *ObjectGroupOverviews) Reset()
func (*ObjectGroupOverviews) String ¶
func (x *ObjectGroupOverviews) String() string
type ObjectGroupStats ¶
type ObjectGroupStats struct { ObjectStats *Stats `protobuf:"bytes,1,opt,name=object_stats,json=objectStats,proto3" json:"object_stats,omitempty"` LastUpdated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // contains filtered or unexported fields }
Stats for an object group
func (*ObjectGroupStats) Descriptor
deprecated
func (*ObjectGroupStats) Descriptor() ([]byte, []int)
Deprecated: Use ObjectGroupStats.ProtoReflect.Descriptor instead.
func (*ObjectGroupStats) GetLastUpdated ¶
func (x *ObjectGroupStats) GetLastUpdated() *timestamppb.Timestamp
func (*ObjectGroupStats) GetObjectStats ¶
func (x *ObjectGroupStats) GetObjectStats() *Stats
func (*ObjectGroupStats) ProtoMessage ¶
func (*ObjectGroupStats) ProtoMessage()
func (*ObjectGroupStats) ProtoReflect ¶
func (x *ObjectGroupStats) ProtoReflect() protoreflect.Message
func (*ObjectGroupStats) Reset ¶
func (x *ObjectGroupStats) Reset()
func (*ObjectGroupStats) String ¶
func (x *ObjectGroupStats) String() string
type ObjectGroupWithID ¶
type ObjectGroupWithID struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Labels []*KeyValue `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"` Hooks []*KeyValue `protobuf:"bytes,7,rep,name=hooks,proto3" json:"hooks,omitempty"` ObjectIds []string `protobuf:"bytes,8,rep,name=object_ids,json=objectIds,proto3" json:"object_ids,omitempty"` // Must be in collection objects MetaObjectIds []string `protobuf:"bytes,9,rep,name=meta_object_ids,json=metaObjectIds,proto3" json:"meta_object_ids,omitempty"` // Must be in collection objects Stats *ObjectGroupStats `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"` RevNumber int64 `protobuf:"varint,11,opt,name=rev_number,json=revNumber,proto3" json:"rev_number,omitempty"` // contains filtered or unexported fields }
This is a representation of the ObjectGroup with only ObjectIDs instead of full objects
func (*ObjectGroupWithID) Descriptor
deprecated
func (*ObjectGroupWithID) Descriptor() ([]byte, []int)
Deprecated: Use ObjectGroupWithID.ProtoReflect.Descriptor instead.
func (*ObjectGroupWithID) GetDescription ¶
func (x *ObjectGroupWithID) GetDescription() string
func (*ObjectGroupWithID) GetHooks ¶
func (x *ObjectGroupWithID) GetHooks() []*KeyValue
func (*ObjectGroupWithID) GetId ¶
func (x *ObjectGroupWithID) GetId() string
func (*ObjectGroupWithID) GetLabels ¶
func (x *ObjectGroupWithID) GetLabels() []*KeyValue
func (*ObjectGroupWithID) GetMetaObjectIds ¶
func (x *ObjectGroupWithID) GetMetaObjectIds() []string
func (*ObjectGroupWithID) GetName ¶
func (x *ObjectGroupWithID) GetName() string
func (*ObjectGroupWithID) GetObjectIds ¶
func (x *ObjectGroupWithID) GetObjectIds() []string
func (*ObjectGroupWithID) GetRevNumber ¶
func (x *ObjectGroupWithID) GetRevNumber() int64
func (*ObjectGroupWithID) GetStats ¶
func (x *ObjectGroupWithID) GetStats() *ObjectGroupStats
func (*ObjectGroupWithID) ProtoMessage ¶
func (*ObjectGroupWithID) ProtoMessage()
func (*ObjectGroupWithID) ProtoReflect ¶
func (x *ObjectGroupWithID) ProtoReflect() protoreflect.Message
func (*ObjectGroupWithID) Reset ¶
func (x *ObjectGroupWithID) Reset()
func (*ObjectGroupWithID) String ¶
func (x *ObjectGroupWithID) String() string
type ObjectGroupWithIDs ¶
type ObjectGroupWithIDs struct { ObjectGroupWithIds []*ObjectGroupWithID `protobuf:"bytes,1,rep,name=object_group_with_ids,json=objectGroupWithIds,proto3" json:"object_group_with_ids,omitempty"` // contains filtered or unexported fields }
Multiple ObjectGroupWithIDs
func (*ObjectGroupWithIDs) Descriptor
deprecated
func (*ObjectGroupWithIDs) Descriptor() ([]byte, []int)
Deprecated: Use ObjectGroupWithIDs.ProtoReflect.Descriptor instead.
func (*ObjectGroupWithIDs) GetObjectGroupWithIds ¶
func (x *ObjectGroupWithIDs) GetObjectGroupWithIds() []*ObjectGroupWithID
func (*ObjectGroupWithIDs) ProtoMessage ¶
func (*ObjectGroupWithIDs) ProtoMessage()
func (*ObjectGroupWithIDs) ProtoReflect ¶
func (x *ObjectGroupWithIDs) ProtoReflect() protoreflect.Message
func (*ObjectGroupWithIDs) Reset ¶
func (x *ObjectGroupWithIDs) Reset()
func (*ObjectGroupWithIDs) String ¶
func (x *ObjectGroupWithIDs) String() string
type ObjectGroups ¶
type ObjectGroups struct { ObjectGroups []*ObjectGroup `protobuf:"bytes,1,rep,name=object_groups,json=objectGroups,proto3" json:"object_groups,omitempty"` // contains filtered or unexported fields }
Multiple ObjectGroups
func (*ObjectGroups) Descriptor
deprecated
func (*ObjectGroups) Descriptor() ([]byte, []int)
Deprecated: Use ObjectGroups.ProtoReflect.Descriptor instead.
func (*ObjectGroups) GetObjectGroups ¶
func (x *ObjectGroups) GetObjectGroups() []*ObjectGroup
func (*ObjectGroups) ProtoMessage ¶
func (*ObjectGroups) ProtoMessage()
func (*ObjectGroups) ProtoReflect ¶
func (x *ObjectGroups) ProtoReflect() protoreflect.Message
func (*ObjectGroups) Reset ¶
func (x *ObjectGroups) Reset()
func (*ObjectGroups) String ¶
func (x *ObjectGroups) String() string
type Objects ¶
type Objects struct { Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
Multiple Objects
func (*Objects) Descriptor
deprecated
func (*Objects) GetObjects ¶
func (*Objects) ProtoMessage ¶
func (*Objects) ProtoMessage()
func (*Objects) ProtoReflect ¶
func (x *Objects) ProtoReflect() protoreflect.Message
type Origin ¶
type Origin struct { //OriginType type = 1; Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Origin of the object -> To be GDPA compliant
func (*Origin) Descriptor
deprecated
func (*Origin) ProtoMessage ¶
func (*Origin) ProtoMessage()
func (*Origin) ProtoReflect ¶
func (x *Origin) ProtoReflect() protoreflect.Message
type PageRequest ¶
type PageRequest struct { LastUuid string `protobuf:"bytes,1,opt,name=last_uuid,json=lastUuid,proto3" json:"last_uuid,omitempty"` // This is the last ID of the previous returned request PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Default to 20, -1 for all // contains filtered or unexported fields }
This file contains parameters for queries that return a list of resources. The results are paginated. The page request specifies the page size and last_id. If page_size is not specified, it defaults to 20. If page_size is -1, it returns all objects.
func (*PageRequest) Descriptor
deprecated
func (*PageRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageRequest.ProtoReflect.Descriptor instead.
func (*PageRequest) GetLastUuid ¶
func (x *PageRequest) GetLastUuid() string
func (*PageRequest) GetPageSize ¶
func (x *PageRequest) GetPageSize() int64
func (*PageRequest) ProtoMessage ¶
func (*PageRequest) ProtoMessage()
func (*PageRequest) ProtoReflect ¶
func (x *PageRequest) ProtoReflect() protoreflect.Message
func (*PageRequest) Reset ¶
func (x *PageRequest) Reset()
func (*PageRequest) String ¶
func (x *PageRequest) String() string
type PermType ¶
type PermType int32
func (PermType) Descriptor ¶
func (PermType) Descriptor() protoreflect.EnumDescriptor
func (PermType) EnumDescriptor
deprecated
func (PermType) Number ¶
func (x PermType) Number() protoreflect.EnumNumber
func (PermType) Type ¶
func (PermType) Type() protoreflect.EnumType
type Permission ¶
type Permission int32
const ( Permission_PERMISSION_UNSPECIFIED Permission = 0 Permission_PERMISSION_NONE Permission = 1 // No permissions granted, used for users that are in the // project but have no default permissions Permission_PERMISSION_READ Permission = 2 // Read only Permission_PERMISSION_APPEND Permission = 3 // Append objects to the collection cannot modify existing objects Permission_PERMISSION_MODIFY Permission = 4 // Can Read/Append/Modify objects in the collection // that owns the object / Create new collections Permission_PERMISSION_ADMIN Permission = 5 // Can modify the collections itself and permanently )
func (Permission) Descriptor ¶
func (Permission) Descriptor() protoreflect.EnumDescriptor
func (Permission) Enum ¶
func (x Permission) Enum() *Permission
func (Permission) EnumDescriptor
deprecated
func (Permission) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission.Descriptor instead.
func (Permission) Number ¶
func (x Permission) Number() protoreflect.EnumNumber
func (Permission) String ¶
func (x Permission) String() string
func (Permission) Type ¶
func (Permission) Type() protoreflect.EnumType
type Project ¶
type Project struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` UserPermissions []*ProjectPermission `protobuf:"bytes,3,rep,name=user_permissions,json=userPermissions,proto3" json:"user_permissions,omitempty"` CollectionIds []string `protobuf:"bytes,4,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
A Project is a list of collections with associated users This is used to manage access to multiple collections at the same time Each Collection can only be in one Project at a time
func (*Project) Descriptor
deprecated
func (*Project) GetCollectionIds ¶
func (*Project) GetDescription ¶
func (*Project) GetUserPermissions ¶
func (x *Project) GetUserPermissions() []*ProjectPermission
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectOverview ¶
type ProjectOverview struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CollectionIds []string `protobuf:"bytes,4,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` UserIds []string `protobuf:"bytes,5,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
func (*ProjectOverview) Descriptor
deprecated
func (*ProjectOverview) Descriptor() ([]byte, []int)
Deprecated: Use ProjectOverview.ProtoReflect.Descriptor instead.
func (*ProjectOverview) GetCollectionIds ¶
func (x *ProjectOverview) GetCollectionIds() []string
func (*ProjectOverview) GetDescription ¶
func (x *ProjectOverview) GetDescription() string
func (*ProjectOverview) GetId ¶
func (x *ProjectOverview) GetId() string
func (*ProjectOverview) GetName ¶
func (x *ProjectOverview) GetName() string
func (*ProjectOverview) GetUserIds ¶
func (x *ProjectOverview) GetUserIds() []string
func (*ProjectOverview) ProtoMessage ¶
func (*ProjectOverview) ProtoMessage()
func (*ProjectOverview) ProtoReflect ¶
func (x *ProjectOverview) ProtoReflect() protoreflect.Message
func (*ProjectOverview) Reset ¶
func (x *ProjectOverview) Reset()
func (*ProjectOverview) String ¶
func (x *ProjectOverview) String() string
type ProjectPermission ¶
type ProjectPermission struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Permission Permission `protobuf:"varint,3,opt,name=permission,proto3,enum=aruna.api.storage.models.v1.Permission" json:"permission,omitempty"` ServiceAccount bool `protobuf:"varint,4,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // contains filtered or unexported fields }
func (*ProjectPermission) Descriptor
deprecated
func (*ProjectPermission) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPermission.ProtoReflect.Descriptor instead.
func (*ProjectPermission) GetPermission ¶
func (x *ProjectPermission) GetPermission() Permission
func (*ProjectPermission) GetProjectId ¶
func (x *ProjectPermission) GetProjectId() string
func (*ProjectPermission) GetServiceAccount ¶ added in v0.5.0
func (x *ProjectPermission) GetServiceAccount() bool
func (*ProjectPermission) GetUserId ¶
func (x *ProjectPermission) GetUserId() string
func (*ProjectPermission) ProtoMessage ¶
func (*ProjectPermission) ProtoMessage()
func (*ProjectPermission) ProtoReflect ¶
func (x *ProjectPermission) ProtoReflect() protoreflect.Message
func (*ProjectPermission) Reset ¶
func (x *ProjectPermission) Reset()
func (*ProjectPermission) String ¶
func (x *ProjectPermission) String() string
type ProjectPermissionDisplayName ¶ added in v0.5.0
type ProjectPermissionDisplayName struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Permission Permission `protobuf:"varint,3,opt,name=permission,proto3,enum=aruna.api.storage.models.v1.Permission" json:"permission,omitempty"` DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
func (*ProjectPermissionDisplayName) Descriptor
deprecated
added in
v0.5.0
func (*ProjectPermissionDisplayName) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPermissionDisplayName.ProtoReflect.Descriptor instead.
func (*ProjectPermissionDisplayName) GetDisplayName ¶ added in v0.5.0
func (x *ProjectPermissionDisplayName) GetDisplayName() string
func (*ProjectPermissionDisplayName) GetPermission ¶ added in v0.5.0
func (x *ProjectPermissionDisplayName) GetPermission() Permission
func (*ProjectPermissionDisplayName) GetProjectId ¶ added in v0.5.0
func (x *ProjectPermissionDisplayName) GetProjectId() string
func (*ProjectPermissionDisplayName) GetUserId ¶ added in v0.5.0
func (x *ProjectPermissionDisplayName) GetUserId() string
func (*ProjectPermissionDisplayName) ProtoMessage ¶ added in v0.5.0
func (*ProjectPermissionDisplayName) ProtoMessage()
func (*ProjectPermissionDisplayName) ProtoReflect ¶ added in v0.5.0
func (x *ProjectPermissionDisplayName) ProtoReflect() protoreflect.Message
func (*ProjectPermissionDisplayName) Reset ¶ added in v0.5.0
func (x *ProjectPermissionDisplayName) Reset()
func (*ProjectPermissionDisplayName) String ¶ added in v0.5.0
func (x *ProjectPermissionDisplayName) String() string
type ResourceAction ¶ added in v0.5.0
type ResourceAction int32
Used for the internal associated services to validate permissions Actions are similar to HTTP verbs
const ( ResourceAction_RESOURCE_ACTION_UNSPECIFIED ResourceAction = 0 ResourceAction_RESOURCE_ACTION_CREATE ResourceAction = 1 ResourceAction_RESOURCE_ACTION_APPEND ResourceAction = 2 ResourceAction_RESOURCE_ACTION_UPDATE ResourceAction = 3 ResourceAction_RESOURCE_ACTION_READ ResourceAction = 4 ResourceAction_RESOURCE_ACTION_DELETE ResourceAction = 5 )
func (ResourceAction) Descriptor ¶ added in v0.5.0
func (ResourceAction) Descriptor() protoreflect.EnumDescriptor
func (ResourceAction) Enum ¶ added in v0.5.0
func (x ResourceAction) Enum() *ResourceAction
func (ResourceAction) EnumDescriptor
deprecated
added in
v0.5.0
func (ResourceAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceAction.Descriptor instead.
func (ResourceAction) Number ¶ added in v0.5.0
func (x ResourceAction) Number() protoreflect.EnumNumber
func (ResourceAction) String ¶ added in v0.5.0
func (x ResourceAction) String() string
func (ResourceAction) Type ¶ added in v0.5.0
func (ResourceAction) Type() protoreflect.EnumType
type ResourceType ¶ added in v0.5.0
type ResourceType int32
An resourcetype used to identify generic authorizations
const ( ResourceType_RESOURCE_TYPE_UNSPECIFIED ResourceType = 0 ResourceType_RESOURCE_TYPE_PROJECT ResourceType = 1 ResourceType_RESOURCE_TYPE_COLLECTION ResourceType = 2 ResourceType_RESOURCE_TYPE_OBJECT_GROUP ResourceType = 3 ResourceType_RESOURCE_TYPE_OBJECT ResourceType = 4 ResourceType_RESOURCE_TYPE_ALL ResourceType = 5 )
func (ResourceType) Descriptor ¶ added in v0.5.0
func (ResourceType) Descriptor() protoreflect.EnumDescriptor
func (ResourceType) Enum ¶ added in v0.5.0
func (x ResourceType) Enum() *ResourceType
func (ResourceType) EnumDescriptor
deprecated
added in
v0.5.0
func (ResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) Number ¶ added in v0.5.0
func (x ResourceType) Number() protoreflect.EnumNumber
func (ResourceType) String ¶ added in v0.5.0
func (x ResourceType) String() string
func (ResourceType) Type ¶ added in v0.5.0
func (ResourceType) Type() protoreflect.EnumType
type Source ¶
type Source struct { // This is a URL / DOI Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // Either URL oder DOI SourceType SourceType `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Source) Descriptor
deprecated
func (*Source) GetIdentifier ¶
func (*Source) GetSourceType ¶
func (x *Source) GetSourceType() SourceType
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
type SourceType ¶
type SourceType int32
const ( SourceType_SOURCE_TYPE_UNSPECIFIED SourceType = 0 SourceType_SOURCE_TYPE_URL SourceType = 1 SourceType_SOURCE_TYPE_DOI SourceType = 2 )
func (SourceType) Descriptor ¶
func (SourceType) Descriptor() protoreflect.EnumDescriptor
func (SourceType) Enum ¶
func (x SourceType) Enum() *SourceType
func (SourceType) EnumDescriptor
deprecated
func (SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SourceType.Descriptor instead.
func (SourceType) Number ¶
func (x SourceType) Number() protoreflect.EnumNumber
func (SourceType) String ¶
func (x SourceType) String() string
func (SourceType) Type ¶
func (SourceType) Type() protoreflect.EnumType
type Stats ¶
type Stats struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` AccSize int64 `protobuf:"varint,2,opt,name=acc_size,json=accSize,proto3" json:"acc_size,omitempty"` // contains filtered or unexported fields }
Stats for a set of objects
func (*Stats) Descriptor
deprecated
func (*Stats) GetAccSize ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
type Status ¶
type Status int32
An arbitrary status for Objects
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type Token ¶
type Token struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` TokenType TokenType `` /* 132-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` CollectionId string `protobuf:"bytes,7,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Permission Permission `protobuf:"varint,9,opt,name=permission,proto3,enum=aruna.api.storage.models.v1.Permission" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
func (*Token) GetCollectionId ¶
func (*Token) GetCreatedAt ¶
func (x *Token) GetCreatedAt() *timestamppb.Timestamp
func (*Token) GetExpiresAt ¶
func (x *Token) GetExpiresAt() *timestamppb.Timestamp
func (*Token) GetPermission ¶
func (x *Token) GetPermission() Permission
func (*Token) GetProjectId ¶
func (*Token) GetTokenType ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
type TokenType ¶
type TokenType int32
func (TokenType) Descriptor ¶
func (TokenType) Descriptor() protoreflect.EnumDescriptor
func (TokenType) EnumDescriptor
deprecated
func (TokenType) Number ¶
func (x TokenType) Number() protoreflect.EnumNumber
func (TokenType) Type ¶
func (TokenType) Type() protoreflect.EnumType
type User ¶
type User struct { // Internal Aruna UserID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Oidc subject ID ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // (optional) User display_name DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Is the user activated Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"` // Is the user admin ? IsAdmin bool `protobuf:"varint,5,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetDisplayName ¶
func (*User) GetExternalId ¶
func (*User) GetIsAdmin ¶ added in v0.5.0
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type Version ¶
type Version struct { Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` // contains filtered or unexported fields }
Semver version -> Alpha Beta release are not supported -> Use "latest" for mutable collections that are in development
func (*Version) Descriptor
deprecated
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message