Documentation
¶
Index ¶
- Variables
- type Empty
- type ID
- type IDList
- type Int64Wrapper
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetBucket() string
- func (x *Location) GetKey() string
- func (x *Location) GetURL() string
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type Origin
- func (*Origin) Descriptor() ([]byte, []int)deprecated
- func (x *Origin) GetLink() string
- func (x *Origin) GetObjectStorageLocatio() *Location
- func (x *Origin) GetOriginType() Origin_OriginTypeEnum
- func (*Origin) ProtoMessage()
- func (x *Origin) ProtoReflect() protoreflect.Message
- func (x *Origin) Reset()
- func (x *Origin) String() string
- type Origin_OriginTypeEnum
- func (Origin_OriginTypeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x Origin_OriginTypeEnum) Enum() *Origin_OriginTypeEnum
- func (Origin_OriginTypeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x Origin_OriginTypeEnum) Number() protoreflect.EnumNumber
- func (x Origin_OriginTypeEnum) String() string
- func (Origin_OriginTypeEnum) Type() protoreflect.EnumType
- type Resource
- type Right
- type Stage
- type User
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetMajor() int32
- func (x *Version) GetMinor() int32
- func (x *Version) GetPatch() int32
- func (x *Version) GetRevision() int32
- func (x *Version) GetStage() Version_VersionStage
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type Version_VersionStage
- func (Version_VersionStage) Descriptor() protoreflect.EnumDescriptor
- func (x Version_VersionStage) Enum() *Version_VersionStage
- func (Version_VersionStage) EnumDescriptor() ([]byte, []int)deprecated
- func (x Version_VersionStage) Number() protoreflect.EnumNumber
- func (x Version_VersionStage) String() string
- func (Version_VersionStage) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Right_name = map[int32]string{ 0: "Read", 1: "Write", } Right_value = map[string]int32{ "Read": 0, "Write": 1, } )
Enum value maps for Right.
View Source
var ( Resource_name = map[int32]string{ 0: "Project", 1: "Dataset", 2: "DatasetVersion", 3: "DatasetObject", 4: "DatasetObjectGroupResource", } Resource_value = map[string]int32{ "Project": 0, "Dataset": 1, "DatasetVersion": 2, "DatasetObject": 3, "DatasetObjectGroupResource": 4, } )
Enum value maps for Resource.
View Source
var ( Stage_name = map[int32]string{ 0: "Stable", 1: "Beta", 2: "Alpha", } Stage_value = map[string]int32{ "Stable": 0, "Beta": 1, "Alpha": 2, } )
Enum value maps for Stage.
View Source
var ( Origin_OriginTypeEnum_name = map[int32]string{ 0: "ObjectStorage", 1: "OriginLink", } Origin_OriginTypeEnum_value = map[string]int32{ "ObjectStorage": 0, "OriginLink": 1, } )
Enum value maps for Origin_OriginTypeEnum.
View Source
var ( Version_VersionStage_name = map[int32]string{ 0: "Stable", 1: "ReleaseCandidate", 2: "Beta", 3: "Alpha", } Version_VersionStage_value = map[string]int32{ "Stable": 0, "ReleaseCandidate": 1, "Beta": 2, "Alpha": 3, } )
Enum value maps for Version_VersionStage.
View Source
var File_proto_CommonModels_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type ID ¶
type ID struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // An arbitrary ID // contains filtered or unexported fields }
func (*ID) Descriptor
deprecated
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
func (*ID) ProtoReflect ¶
func (x *ID) ProtoReflect() protoreflect.Message
type IDList ¶
type IDList struct { IDs []string `protobuf:"bytes,1,rep,name=IDs,proto3" json:"IDs,omitempty"` // contains filtered or unexported fields }
func (*IDList) Descriptor
deprecated
func (*IDList) ProtoMessage ¶
func (*IDList) ProtoMessage()
func (*IDList) ProtoReflect ¶
func (x *IDList) ProtoReflect() protoreflect.Message
type Int64Wrapper ¶
type Int64Wrapper struct { Value int64 `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*Int64Wrapper) Descriptor
deprecated
func (*Int64Wrapper) Descriptor() ([]byte, []int)
Deprecated: Use Int64Wrapper.ProtoReflect.Descriptor instead.
func (*Int64Wrapper) GetValue ¶
func (x *Int64Wrapper) GetValue() int64
func (*Int64Wrapper) ProtoMessage ¶
func (*Int64Wrapper) ProtoMessage()
func (*Int64Wrapper) ProtoReflect ¶
func (x *Int64Wrapper) ProtoReflect() protoreflect.Message
func (*Int64Wrapper) Reset ¶
func (x *Int64Wrapper) Reset()
func (*Int64Wrapper) String ¶
func (x *Int64Wrapper) String() string
type Location ¶
type Location struct { Bucket string `protobuf:"bytes,1,opt,name=Bucket,proto3" json:"Bucket,omitempty"` Key string `protobuf:"bytes,2,opt,name=Key,proto3" json:"Key,omitempty"` URL string `protobuf:"bytes,3,opt,name=URL,proto3" json:"URL,omitempty"` // Object storage endpoint // contains filtered or unexported fields }
A location in S3
func (*Location) Descriptor
deprecated
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type Origin ¶
type Origin struct { Link string `protobuf:"bytes,1,opt,name=Link,proto3" json:"Link,omitempty"` ObjectStorageLocatio *Location `protobuf:"bytes,2,opt,name=ObjectStorageLocatio,proto3" json:"ObjectStorageLocatio,omitempty"` OriginType Origin_OriginTypeEnum `protobuf:"varint,4,opt,name=OriginType,proto3,enum=Origin_OriginTypeEnum" json:"OriginType,omitempty"` // contains filtered or unexported fields }
func (*Origin) Descriptor
deprecated
func (*Origin) GetObjectStorageLocatio ¶
func (*Origin) GetOriginType ¶
func (x *Origin) GetOriginType() Origin_OriginTypeEnum
func (*Origin) ProtoMessage ¶
func (*Origin) ProtoMessage()
func (*Origin) ProtoReflect ¶
func (x *Origin) ProtoReflect() protoreflect.Message
type Origin_OriginTypeEnum ¶
type Origin_OriginTypeEnum int32
const ( Origin_ObjectStorage Origin_OriginTypeEnum = 0 Origin_OriginLink Origin_OriginTypeEnum = 1 )
func (Origin_OriginTypeEnum) Descriptor ¶
func (Origin_OriginTypeEnum) Descriptor() protoreflect.EnumDescriptor
func (Origin_OriginTypeEnum) Enum ¶
func (x Origin_OriginTypeEnum) Enum() *Origin_OriginTypeEnum
func (Origin_OriginTypeEnum) EnumDescriptor
deprecated
func (Origin_OriginTypeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Origin_OriginTypeEnum.Descriptor instead.
func (Origin_OriginTypeEnum) Number ¶
func (x Origin_OriginTypeEnum) Number() protoreflect.EnumNumber
func (Origin_OriginTypeEnum) String ¶
func (x Origin_OriginTypeEnum) String() string
func (Origin_OriginTypeEnum) Type ¶
func (Origin_OriginTypeEnum) Type() protoreflect.EnumType
type Resource ¶
type Resource int32
func (Resource) Descriptor ¶
func (Resource) Descriptor() protoreflect.EnumDescriptor
func (Resource) EnumDescriptor
deprecated
func (Resource) Number ¶
func (x Resource) Number() protoreflect.EnumNumber
func (Resource) Type ¶
func (Resource) Type() protoreflect.EnumType
type Right ¶
type Right int32
func (Right) Descriptor ¶
func (Right) Descriptor() protoreflect.EnumDescriptor
func (Right) EnumDescriptor
deprecated
func (Right) Number ¶
func (x Right) Number() protoreflect.EnumNumber
func (Right) Type ¶
func (Right) Type() protoreflect.EnumType
type Stage ¶
type Stage int32
func (Stage) Descriptor ¶
func (Stage) Descriptor() protoreflect.EnumDescriptor
func (Stage) EnumDescriptor
deprecated
func (Stage) Number ¶
func (x Stage) Number() protoreflect.EnumNumber
func (Stage) Type ¶
func (Stage) Type() protoreflect.EnumType
type User ¶
type User struct { UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"` Rights []Right `protobuf:"varint,2,rep,packed,name=Rights,proto3,enum=Right" json:"Rights,omitempty"` Resource Resource `protobuf:"varint,3,opt,name=Resource,proto3,enum=Resource" json:"Resource,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetResource ¶
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"` Revision int32 `protobuf:"varint,4,opt,name=Revision,proto3" json:"Revision,omitempty"` Stage Version_VersionStage `protobuf:"varint,5,opt,name=Stage,proto3,enum=Version_VersionStage" json:"Stage,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor
deprecated
func (*Version) GetRevision ¶
func (*Version) GetStage ¶
func (x *Version) GetStage() Version_VersionStage
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
type Version_VersionStage ¶
type Version_VersionStage int32
const ( Version_Stable Version_VersionStage = 0 Version_ReleaseCandidate Version_VersionStage = 1 Version_Beta Version_VersionStage = 2 Version_Alpha Version_VersionStage = 3 )
func (Version_VersionStage) Descriptor ¶
func (Version_VersionStage) Descriptor() protoreflect.EnumDescriptor
func (Version_VersionStage) Enum ¶
func (x Version_VersionStage) Enum() *Version_VersionStage
func (Version_VersionStage) EnumDescriptor
deprecated
func (Version_VersionStage) EnumDescriptor() ([]byte, []int)
Deprecated: Use Version_VersionStage.Descriptor instead.
func (Version_VersionStage) Number ¶
func (x Version_VersionStage) Number() protoreflect.EnumNumber
func (Version_VersionStage) String ¶
func (x Version_VersionStage) String() string
func (Version_VersionStage) Type ¶
func (Version_VersionStage) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.