Documentation ¶
Index ¶
- Variables
- type Convert
- func (*Convert) Descriptor() ([]byte, []int)
- func (m *Convert) GetCreatedAt() string
- func (m *Convert) GetMedia() *Media
- func (*Convert) ProtoMessage()
- func (m *Convert) Reset()
- func (m *Convert) String() string
- func (m *Convert) XXX_DiscardUnknown()
- func (m *Convert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Convert) XXX_Merge(src proto.Message)
- func (m *Convert) XXX_Size() int
- func (m *Convert) XXX_Unmarshal(b []byte) error
- type Download
- func (*Download) Descriptor() ([]byte, []int)
- func (m *Download) GetCreatedAt() string
- func (m *Download) GetMedia() *Media
- func (*Download) ProtoMessage()
- func (m *Download) Reset()
- func (m *Download) String() string
- func (m *Download) XXX_DiscardUnknown()
- func (m *Download) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Download) XXX_Merge(src proto.Message)
- func (m *Download) XXX_Size() int
- func (m *Download) XXX_Unmarshal(b []byte) error
- type Media
- func (*Media) Descriptor() ([]byte, []int)
- func (m *Media) GetCreator() Media_CreatorType
- func (m *Media) GetCreatorId() string
- func (m *Media) GetId() string
- func (m *Media) GetMetadata() Media_MetadataType
- func (m *Media) GetMetadataId() string
- func (m *Media) GetName() string
- func (m *Media) GetSource() Media_SourceType
- func (m *Media) GetSourceURI() string
- func (m *Media) GetStatus() TelemetryStatusEntry
- func (m *Media) GetType() Media_MediaType
- func (*Media) ProtoMessage()
- func (m *Media) Reset()
- func (m *Media) String() string
- func (m *Media) XXX_DiscardUnknown()
- func (m *Media) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Media) XXX_Merge(src proto.Message)
- func (m *Media) XXX_Size() int
- func (m *Media) XXX_Unmarshal(b []byte) error
- type Media_CreatorType
- type Media_MediaType
- type Media_MetadataType
- type Media_SourceType
- type TelemetryError
- func (*TelemetryError) Descriptor() ([]byte, []int)
- func (m *TelemetryError) GetId() string
- func (m *TelemetryError) GetMediaId() string
- func (m *TelemetryError) GetMessage() string
- func (*TelemetryError) ProtoMessage()
- func (m *TelemetryError) Reset()
- func (m *TelemetryError) String() string
- func (m *TelemetryError) XXX_DiscardUnknown()
- func (m *TelemetryError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TelemetryError) XXX_Merge(src proto.Message)
- func (m *TelemetryError) XXX_Size() int
- func (m *TelemetryError) XXX_Unmarshal(b []byte) error
- type TelemetryProgress
- func (*TelemetryProgress) Descriptor() ([]byte, []int)
- func (m *TelemetryProgress) GetHost() string
- func (m *TelemetryProgress) GetId() string
- func (m *TelemetryProgress) GetMediaId() string
- func (m *TelemetryProgress) GetProgress() int32
- func (m *TelemetryProgress) GetStatus() TelemetryStatusEntry
- func (*TelemetryProgress) ProtoMessage()
- func (m *TelemetryProgress) Reset()
- func (m *TelemetryProgress) String() string
- func (m *TelemetryProgress) XXX_DiscardUnknown()
- func (m *TelemetryProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TelemetryProgress) XXX_Merge(src proto.Message)
- func (m *TelemetryProgress) XXX_Size() int
- func (m *TelemetryProgress) XXX_Unmarshal(b []byte) error
- type TelemetryStatus
- func (*TelemetryStatus) Descriptor() ([]byte, []int)
- func (m *TelemetryStatus) GetHost() string
- func (m *TelemetryStatus) GetId() string
- func (m *TelemetryStatus) GetMediaId() string
- func (m *TelemetryStatus) GetStatus() TelemetryStatusEntry
- func (*TelemetryStatus) ProtoMessage()
- func (m *TelemetryStatus) Reset()
- func (m *TelemetryStatus) String() string
- func (m *TelemetryStatus) XXX_DiscardUnknown()
- func (m *TelemetryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TelemetryStatus) XXX_Merge(src proto.Message)
- func (m *TelemetryStatus) XXX_Size() int
- func (m *TelemetryStatus) XXX_Unmarshal(b []byte) error
- type TelemetryStatusEntry
Constants ¶
This section is empty.
Variables ¶
View Source
var Media_CreatorType_name = map[int32]string{
0: "EMPTY_1",
1: "TRELLO",
2: "TWILIO",
3: "DISCORD",
4: "API",
}
View Source
var Media_CreatorType_value = map[string]int32{
"EMPTY_1": 0,
"TRELLO": 1,
"TWILIO": 2,
"DISCORD": 3,
"API": 4,
}
View Source
var Media_MediaType_name = map[int32]string{
0: "EMPTY_2",
1: "MOVIE",
2: "TV",
3: "MUSIC",
}
View Source
var Media_MediaType_value = map[string]int32{
"EMPTY_2": 0,
"MOVIE": 1,
"TV": 2,
"MUSIC": 3,
}
View Source
var Media_MetadataType_name = map[int32]string{
0: "EMPTY_4",
1: "MAL",
2: "IMDB",
3: "ANILIST",
4: "KITSU",
5: "ANIDB",
}
View Source
var Media_MetadataType_value = map[string]int32{
"EMPTY_4": 0,
"MAL": 1,
"IMDB": 2,
"ANILIST": 3,
"KITSU": 4,
"ANIDB": 5,
}
View Source
var Media_SourceType_name = map[int32]string{
0: "EMPTY_3",
1: "HTTP",
2: "TORRENT",
3: "FILE",
4: "BUCKET",
}
View Source
var Media_SourceType_value = map[string]int32{
"EMPTY_3": 0,
"HTTP": 1,
"TORRENT": 2,
"FILE": 3,
"BUCKET": 4,
}
View Source
var TelemetryStatusEntry_name = map[int32]string{
0: "EMPTY_4",
1: "QUEUED",
2: "DOWNLOADING",
3: "CONVERTING",
4: "UPLOADING",
5: "DEPLOYED",
6: "ERRORED",
}
View Source
var TelemetryStatusEntry_value = map[string]int32{
"EMPTY_4": 0,
"QUEUED": 1,
"DOWNLOADING": 2,
"CONVERTING": 3,
"UPLOADING": 4,
"DEPLOYED": 5,
"ERRORED": 6,
}
Functions ¶
This section is empty.
Types ¶
type Convert ¶
type Convert struct { // when this job was created CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // media is the media we need to convert Media *Media `protobuf:"bytes,2,opt,name=media,proto3" json:"media,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Convert) Descriptor ¶
func (*Convert) GetCreatedAt ¶
func (*Convert) ProtoMessage ¶
func (*Convert) ProtoMessage()
func (*Convert) XXX_DiscardUnknown ¶
func (m *Convert) XXX_DiscardUnknown()
func (*Convert) XXX_Marshal ¶
func (*Convert) XXX_Unmarshal ¶
type Download ¶
type Download struct { // when this job was created CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // media is the media we need to download Media *Media `protobuf:"bytes,2,opt,name=media,proto3" json:"media,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Download) Descriptor ¶
func (*Download) GetCreatedAt ¶
func (*Download) ProtoMessage ¶
func (*Download) ProtoMessage()
func (*Download) XXX_DiscardUnknown ¶
func (m *Download) XXX_DiscardUnknown()
func (*Download) XXX_Marshal ¶
func (*Download) XXX_Unmarshal ¶
type Media ¶
type Media struct { // id of this media Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name of the media Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Creator Media_CreatorType `protobuf:"varint,3,opt,name=creator,proto3,enum=api.Media_CreatorType" json:"creator,omitempty"` // ID that correlates to creator, if needed CreatorId string `protobuf:"bytes,4,opt,name=creatorId,proto3" json:"creatorId,omitempty"` Type Media_MediaType `protobuf:"varint,5,opt,name=type,proto3,enum=api.Media_MediaType" json:"type,omitempty"` Source Media_SourceType `protobuf:"varint,6,opt,name=source,proto3,enum=api.Media_SourceType" json:"source,omitempty"` SourceURI string `protobuf:"bytes,7,opt,name=sourceURI,proto3" json:"sourceURI,omitempty"` Metadata Media_MetadataType `protobuf:"varint,8,opt,name=metadata,proto3,enum=api.Media_MetadataType" json:"metadata,omitempty"` // metadataId is the id used to tie this to a metadata provider MetadataId string `protobuf:"bytes,9,opt,name=metadataId,proto3" json:"metadataId,omitempty"` // Status is the status of the media in the pipeline Status TelemetryStatusEntry `protobuf:"varint,10,opt,name=status,proto3,enum=api.TelemetryStatusEntry" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
v1.media represents v1 of the media card
func (*Media) Descriptor ¶
func (*Media) GetCreator ¶
func (m *Media) GetCreator() Media_CreatorType
func (*Media) GetCreatorId ¶
func (*Media) GetMetadata ¶
func (m *Media) GetMetadata() Media_MetadataType
func (*Media) GetMetadataId ¶
func (*Media) GetSource ¶
func (m *Media) GetSource() Media_SourceType
func (*Media) GetSourceURI ¶
func (*Media) GetStatus ¶
func (m *Media) GetStatus() TelemetryStatusEntry
func (*Media) GetType ¶
func (m *Media) GetType() Media_MediaType
func (*Media) ProtoMessage ¶
func (*Media) ProtoMessage()
func (*Media) XXX_DiscardUnknown ¶
func (m *Media) XXX_DiscardUnknown()
func (*Media) XXX_Marshal ¶
func (*Media) XXX_Unmarshal ¶
type Media_CreatorType ¶
type Media_CreatorType int32
CreatorType is where this media came from (where it was requested)
const ( // 0 isn't sent over the write in a lot of proto implementations, but is required to be // set in an enum, so we just throw this away here Media_EMPTY_1 Media_CreatorType = 0 Media_TRELLO Media_CreatorType = 1 Media_TWILIO Media_CreatorType = 2 Media_DISCORD Media_CreatorType = 3 Media_API Media_CreatorType = 4 )
func (Media_CreatorType) EnumDescriptor ¶
func (Media_CreatorType) EnumDescriptor() ([]byte, []int)
func (Media_CreatorType) String ¶
func (x Media_CreatorType) String() string
type Media_MediaType ¶
type Media_MediaType int32
type of the media
const ( // 0 isn't sent over the write in a lot of proto implementations, but is required to be // set in an enum, so we just throw this away here Media_EMPTY_2 Media_MediaType = 0 Media_MOVIE Media_MediaType = 1 Media_TV Media_MediaType = 2 Media_MUSIC Media_MediaType = 3 )
func (Media_MediaType) EnumDescriptor ¶
func (Media_MediaType) EnumDescriptor() ([]byte, []int)
func (Media_MediaType) String ¶
func (x Media_MediaType) String() string
type Media_MetadataType ¶
type Media_MetadataType int32
MetadataType is the metadata provider used for deduplication and identification
const ( // 0 isn't sent over the write in a lot of proto implementations, but is required to be // set in an enum, so we just throw this away here Media_EMPTY_4 Media_MetadataType = 0 Media_MAL Media_MetadataType = 1 Media_IMDB Media_MetadataType = 2 Media_ANILIST Media_MetadataType = 3 Media_KITSU Media_MetadataType = 4 Media_ANIDB Media_MetadataType = 5 )
func (Media_MetadataType) EnumDescriptor ¶
func (Media_MetadataType) EnumDescriptor() ([]byte, []int)
func (Media_MetadataType) String ¶
func (x Media_MetadataType) String() string
type Media_SourceType ¶
type Media_SourceType int32
SourceType is where this media came from
const ( // 0 isn't sent over the write in a lot of proto implementations, but is required to be // set in an enum, so we just throw this away here Media_EMPTY_3 Media_SourceType = 0 Media_HTTP Media_SourceType = 1 Media_TORRENT Media_SourceType = 2 Media_FILE Media_SourceType = 3 Media_BUCKET Media_SourceType = 4 )
func (Media_SourceType) EnumDescriptor ¶
func (Media_SourceType) EnumDescriptor() ([]byte, []int)
func (Media_SourceType) String ¶
func (x Media_SourceType) String() string
type TelemetryError ¶
type TelemetryError struct { // id for this error Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // mediaId this error correlates too MediaId string `protobuf:"bytes,2,opt,name=mediaId,proto3" json:"mediaId,omitempty"` // error message Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TelemetryError) Descriptor ¶
func (*TelemetryError) Descriptor() ([]byte, []int)
func (*TelemetryError) GetId ¶
func (m *TelemetryError) GetId() string
func (*TelemetryError) GetMediaId ¶
func (m *TelemetryError) GetMediaId() string
func (*TelemetryError) GetMessage ¶
func (m *TelemetryError) GetMessage() string
func (*TelemetryError) ProtoMessage ¶
func (*TelemetryError) ProtoMessage()
func (*TelemetryError) Reset ¶
func (m *TelemetryError) Reset()
func (*TelemetryError) String ¶
func (m *TelemetryError) String() string
func (*TelemetryError) XXX_DiscardUnknown ¶
func (m *TelemetryError) XXX_DiscardUnknown()
func (*TelemetryError) XXX_Marshal ¶
func (m *TelemetryError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TelemetryError) XXX_Merge ¶
func (m *TelemetryError) XXX_Merge(src proto.Message)
func (*TelemetryError) XXX_Size ¶
func (m *TelemetryError) XXX_Size() int
func (*TelemetryError) XXX_Unmarshal ¶
func (m *TelemetryError) XXX_Unmarshal(b []byte) error
type TelemetryProgress ¶
type TelemetryProgress struct { // id for this telemetry update Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // media id thjis perstains too MediaId string `protobuf:"bytes,2,opt,name=mediaId,proto3" json:"mediaId,omitempty"` // progress in 0-100 Progress int32 `protobuf:"varint,3,opt,name=progress,proto3" json:"progress,omitempty"` // status Status TelemetryStatusEntry `protobuf:"varint,4,opt,name=status,proto3,enum=api.TelemetryStatusEntry" json:"status,omitempty"` // Host this was processed on Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TelemetryProgress) Descriptor ¶
func (*TelemetryProgress) Descriptor() ([]byte, []int)
func (*TelemetryProgress) GetHost ¶
func (m *TelemetryProgress) GetHost() string
func (*TelemetryProgress) GetId ¶
func (m *TelemetryProgress) GetId() string
func (*TelemetryProgress) GetMediaId ¶
func (m *TelemetryProgress) GetMediaId() string
func (*TelemetryProgress) GetProgress ¶
func (m *TelemetryProgress) GetProgress() int32
func (*TelemetryProgress) GetStatus ¶
func (m *TelemetryProgress) GetStatus() TelemetryStatusEntry
func (*TelemetryProgress) ProtoMessage ¶
func (*TelemetryProgress) ProtoMessage()
func (*TelemetryProgress) Reset ¶
func (m *TelemetryProgress) Reset()
func (*TelemetryProgress) String ¶
func (m *TelemetryProgress) String() string
func (*TelemetryProgress) XXX_DiscardUnknown ¶
func (m *TelemetryProgress) XXX_DiscardUnknown()
func (*TelemetryProgress) XXX_Marshal ¶
func (m *TelemetryProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TelemetryProgress) XXX_Merge ¶
func (m *TelemetryProgress) XXX_Merge(src proto.Message)
func (*TelemetryProgress) XXX_Size ¶
func (m *TelemetryProgress) XXX_Size() int
func (*TelemetryProgress) XXX_Unmarshal ¶
func (m *TelemetryProgress) XXX_Unmarshal(b []byte) error
type TelemetryStatus ¶
type TelemetryStatus struct { // id is the ID for this status update Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // mediaId is the id of the media this status pertains too MediaId string `protobuf:"bytes,2,opt,name=mediaId,proto3" json:"mediaId,omitempty"` Status TelemetryStatusEntry `protobuf:"varint,3,opt,name=status,proto3,enum=api.TelemetryStatusEntry" json:"status,omitempty"` // Host this was started on Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TelemetryStatus) Descriptor ¶
func (*TelemetryStatus) Descriptor() ([]byte, []int)
func (*TelemetryStatus) GetHost ¶
func (m *TelemetryStatus) GetHost() string
func (*TelemetryStatus) GetId ¶
func (m *TelemetryStatus) GetId() string
func (*TelemetryStatus) GetMediaId ¶
func (m *TelemetryStatus) GetMediaId() string
func (*TelemetryStatus) GetStatus ¶
func (m *TelemetryStatus) GetStatus() TelemetryStatusEntry
func (*TelemetryStatus) ProtoMessage ¶
func (*TelemetryStatus) ProtoMessage()
func (*TelemetryStatus) Reset ¶
func (m *TelemetryStatus) Reset()
func (*TelemetryStatus) String ¶
func (m *TelemetryStatus) String() string
func (*TelemetryStatus) XXX_DiscardUnknown ¶
func (m *TelemetryStatus) XXX_DiscardUnknown()
func (*TelemetryStatus) XXX_Marshal ¶
func (m *TelemetryStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TelemetryStatus) XXX_Merge ¶
func (m *TelemetryStatus) XXX_Merge(src proto.Message)
func (*TelemetryStatus) XXX_Size ¶
func (m *TelemetryStatus) XXX_Size() int
func (*TelemetryStatus) XXX_Unmarshal ¶
func (m *TelemetryStatus) XXX_Unmarshal(b []byte) error
type TelemetryStatusEntry ¶
type TelemetryStatusEntry int32
Status is the status of this media
const ( // 0 isn't sent over the write in a lot of proto implementations, but is required to be // set in an enum, so we just throw this away here TelemetryStatusEntry_EMPTY_4 TelemetryStatusEntry = 0 TelemetryStatusEntry_QUEUED TelemetryStatusEntry = 1 TelemetryStatusEntry_DOWNLOADING TelemetryStatusEntry = 2 TelemetryStatusEntry_CONVERTING TelemetryStatusEntry = 3 TelemetryStatusEntry_UPLOADING TelemetryStatusEntry = 4 TelemetryStatusEntry_DEPLOYED TelemetryStatusEntry = 5 TelemetryStatusEntry_ERRORED TelemetryStatusEntry = 6 )
func (TelemetryStatusEntry) EnumDescriptor ¶
func (TelemetryStatusEntry) EnumDescriptor() ([]byte, []int)
func (TelemetryStatusEntry) String ¶
func (x TelemetryStatusEntry) String() string
Click to show internal directories.
Click to hide internal directories.