v1

package
v1.0.0-rc.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_aruna_api_storage_models_v1_auth_proto protoreflect.FileDescriptor
View Source
var File_aruna_api_storage_models_v1_models_proto protoreflect.FileDescriptor
View Source
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

const (
	DataClass_DATA_CLASS_UNSPECIFIED  DataClass = 0
	DataClass_DATA_CLASS_PUBLIC       DataClass = 1
	DataClass_DATA_CLASS_PRIVATE      DataClass = 2
	DataClass_DATA_CLASS_CONFIDENTIAL DataClass = 3
	DataClass_DATA_CLASS_PROTECTED    DataClass = 4
)

func (DataClass) Descriptor

func (DataClass) Descriptor() protoreflect.EnumDescriptor

func (DataClass) Enum

func (x DataClass) Enum() *DataClass

func (DataClass) EnumDescriptor deprecated

func (DataClass) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataClass.Descriptor instead.

func (DataClass) Number

func (x DataClass) Number() protoreflect.EnumNumber

func (DataClass) String

func (x DataClass) String() string

func (DataClass) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetDocumentationPath

func (x *Endpoint) GetDocumentationPath() string

func (*Endpoint) GetEpType

func (x *Endpoint) GetEpType() EndpointType

func (*Endpoint) GetId

func (x *Endpoint) GetId() string

func (*Endpoint) GetInternalHostname

func (x *Endpoint) GetInternalHostname() string

func (*Endpoint) GetIsDefault

func (x *Endpoint) GetIsDefault() bool

func (*Endpoint) GetIsPublic

func (x *Endpoint) GetIsPublic() bool

func (*Endpoint) GetName

func (x *Endpoint) GetName() string

func (*Endpoint) GetProxyHostname

func (x *Endpoint) GetProxyHostname() string

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

func (x *Endpoint) ProtoReflect() protoreflect.Message

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

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) Enum

func (x EndpointType) Enum() *EndpointType

func (EndpointType) EnumDescriptor deprecated

func (EndpointType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EndpointType.Descriptor instead.

func (EndpointType) Number

func (EndpointType) String

func (x EndpointType) String() string

func (EndpointType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetAlg

func (x *Hash) GetAlg() Hashalgorithm

func (*Hash) GetHash

func (x *Hash) GetHash() string

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect

func (x *Hash) ProtoReflect() protoreflect.Message

func (*Hash) Reset

func (x *Hash) Reset()

func (*Hash) String

func (x *Hash) String() string

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) Enum

func (x Hashalgorithm) Enum() *Hashalgorithm

func (Hashalgorithm) EnumDescriptor deprecated

func (Hashalgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use Hashalgorithm.Descriptor instead.

func (Hashalgorithm) Number

func (Hashalgorithm) String

func (x Hashalgorithm) String() string

func (Hashalgorithm) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey

func (x *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect

func (x *KeyValue) ProtoReflect() protoreflect.Message

func (*KeyValue) Reset

func (x *KeyValue) Reset()

func (*KeyValue) String

func (x *KeyValue) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetAutoUpdate

func (x *Object) GetAutoUpdate() bool

func (*Object) GetContentLen

func (x *Object) GetContentLen() int64

func (*Object) GetCreated

func (x *Object) GetCreated() *timestamppb.Timestamp

func (*Object) GetDataClass

func (x *Object) GetDataClass() DataClass

func (*Object) GetFilename

func (x *Object) GetFilename() string

func (*Object) GetHashes added in v1.0.0

func (x *Object) GetHashes() []*Hash

func (*Object) GetHooks

func (x *Object) GetHooks() []*KeyValue

func (*Object) GetId

func (x *Object) GetId() string

func (*Object) GetLabels

func (x *Object) GetLabels() []*KeyValue

func (*Object) GetLatest

func (x *Object) GetLatest() bool

func (*Object) GetOrigin

func (x *Object) GetOrigin() *Origin

func (*Object) GetRevNumber

func (x *Object) GetRevNumber() int64

func (*Object) GetSource

func (x *Object) GetSource() *Source

func (*Object) GetStatus

func (x *Object) GetStatus() Status

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

func (x *Object) ProtoReflect() protoreflect.Message

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Objects.ProtoReflect.Descriptor instead.

func (*Objects) GetObjects

func (x *Objects) GetObjects() []*Object

func (*Objects) ProtoMessage

func (*Objects) ProtoMessage()

func (*Objects) ProtoReflect

func (x *Objects) ProtoReflect() protoreflect.Message

func (*Objects) Reset

func (x *Objects) Reset()

func (*Objects) String

func (x *Objects) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Origin.ProtoReflect.Descriptor instead.

func (*Origin) GetId

func (x *Origin) GetId() string

func (*Origin) ProtoMessage

func (*Origin) ProtoMessage()

func (*Origin) ProtoReflect

func (x *Origin) ProtoReflect() protoreflect.Message

func (*Origin) Reset

func (x *Origin) Reset()

func (*Origin) String

func (x *Origin) String() string

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
const (
	PermType_PERM_TYPE_UNSPECIFIED PermType = 0
	PermType_PERM_TYPE_USER        PermType = 1 // Regular OAuth users
	PermType_PERM_TYPE_ANONYMOUS   PermType = 2 // Anonymous users without an OAuth token
	PermType_PERM_TYPE_TOKEN       PermType = 3 // Access token on behalf of a user
)

func (PermType) Descriptor

func (PermType) Descriptor() protoreflect.EnumDescriptor

func (PermType) Enum

func (x PermType) Enum() *PermType

func (PermType) EnumDescriptor deprecated

func (PermType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PermType.Descriptor instead.

func (PermType) Number

func (x PermType) Number() protoreflect.EnumNumber

func (PermType) String

func (x PermType) String() string

func (PermType) Type

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetCollectionIds

func (x *Project) GetCollectionIds() []string

func (*Project) GetDescription

func (x *Project) GetDescription() string

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetUserPermissions

func (x *Project) GetUserPermissions() []*ProjectPermission

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

func (x *Project) ProtoReflect() protoreflect.Message

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

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 (*ProjectPermissionDisplayName) Reset added in v0.5.0

func (x *ProjectPermissionDisplayName) Reset()

func (*ProjectPermissionDisplayName) String added in v0.5.0

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) 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 (ResourceAction) String added in v0.5.0

func (x ResourceAction) String() string

func (ResourceAction) Type added in v0.5.0

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) 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 (ResourceType) String added in v0.5.0

func (x ResourceType) String() string

func (ResourceType) Type added in v0.5.0

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) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetIdentifier

func (x *Source) GetIdentifier() string

func (*Source) GetSourceType

func (x *Source) GetSourceType() SourceType

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Stats.ProtoReflect.Descriptor instead.

func (*Stats) GetAccSize

func (x *Stats) GetAccSize() int64

func (*Stats) GetCount

func (x *Stats) GetCount() int64

func (*Stats) ProtoMessage

func (*Stats) ProtoMessage()

func (*Stats) ProtoReflect

func (x *Stats) ProtoReflect() protoreflect.Message

func (*Stats) Reset

func (x *Stats) Reset()

func (*Stats) String

func (x *Stats) String() string

type Status

type Status int32

An arbitrary status for Objects

const (
	Status_STATUS_UNSPECIFIED  Status = 0
	Status_STATUS_INITIALIZING Status = 1
	Status_STATUS_AVAILABLE    Status = 2
	Status_STATUS_UNAVAILABLE  Status = 3
	Status_STATUS_ERROR        Status = 4
	Status_STATUS_TRASH        Status = 5
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetCollectionId

func (x *Token) GetCollectionId() string

func (*Token) GetCreatedAt

func (x *Token) GetCreatedAt() *timestamppb.Timestamp

func (*Token) GetExpiresAt

func (x *Token) GetExpiresAt() *timestamppb.Timestamp

func (*Token) GetId

func (x *Token) GetId() string

func (*Token) GetName

func (x *Token) GetName() string

func (*Token) GetPermission

func (x *Token) GetPermission() Permission

func (*Token) GetProjectId

func (x *Token) GetProjectId() string

func (*Token) GetTokenType

func (x *Token) GetTokenType() TokenType

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

func (x *Token) ProtoReflect() protoreflect.Message

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type TokenType

type TokenType int32
const (
	TokenType_TOKEN_TYPE_UNSPECIFIED TokenType = 0
	TokenType_TOKEN_TYPE_PERSONAL    TokenType = 1
	TokenType_TOKEN_TYPE_SCOPED      TokenType = 2
)

func (TokenType) Descriptor

func (TokenType) Descriptor() protoreflect.EnumDescriptor

func (TokenType) Enum

func (x TokenType) Enum() *TokenType

func (TokenType) EnumDescriptor deprecated

func (TokenType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TokenType.Descriptor instead.

func (TokenType) Number

func (x TokenType) Number() protoreflect.EnumNumber

func (TokenType) String

func (x TokenType) String() string

func (TokenType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetActive

func (x *User) GetActive() bool

func (*User) GetDisplayName

func (x *User) GetDisplayName() string

func (*User) GetExternalId

func (x *User) GetExternalId() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetIsAdmin added in v0.5.0

func (x *User) GetIsAdmin() bool

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetMajor

func (x *Version) GetMajor() int32

func (*Version) GetMinor

func (x *Version) GetMinor() int32

func (*Version) GetPatch

func (x *Version) GetPatch() int32

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL