Documentation ¶
Index ¶
- Variables
- func All() []interface{}
- func AllMap() map[string]interface{}
- func ByName(name string) interface{}
- func ForeignKeys() [][3]string
- type Achievement
- func (*Achievement) Descriptor() ([]byte, []int)
- func (m *Achievement) GetArgument() string
- func (m *Achievement) GetAuthor() *TournamentMember
- func (m *Achievement) GetAuthorID() string
- func (m *Achievement) GetComment() string
- func (m *Achievement) GetIsGlobal() bool
- func (m *Achievement) GetLevelValidation() *LevelValidation
- func (m *Achievement) GetLevelValidationID() string
- func (m *Achievement) GetType() Achievement_Type
- func (m *Achievement) Marshal() (dAtA []byte, err error)
- func (m *Achievement) MarshalTo(dAtA []byte) (int, error)
- func (m *Achievement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Achievement) ProtoMessage()
- func (m *Achievement) Reset()
- func (m *Achievement) Size() (n int)
- func (m *Achievement) String() string
- func (m *Achievement) Unmarshal(dAtA []byte) error
- func (m *Achievement) XXX_DiscardUnknown()
- func (m *Achievement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Achievement) XXX_Merge(src proto.Message)
- func (m *Achievement) XXX_Size() int
- func (m *Achievement) XXX_Unmarshal(b []byte) error
- type Achievement_Type
- type Coupon
- func (*Coupon) Descriptor() ([]byte, []int)
- func (m *Coupon) GetHash() string
- func (m *Coupon) GetMaxValidationCount() int32
- func (m *Coupon) GetTournament() *Tournament
- func (m *Coupon) GetTournamentID() string
- func (m *Coupon) GetValidations() []*CouponValidation
- func (m *Coupon) GetValue() int32
- func (m *Coupon) Marshal() (dAtA []byte, err error)
- func (m *Coupon) MarshalTo(dAtA []byte) (int, error)
- func (m *Coupon) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Coupon) ProtoMessage()
- func (m *Coupon) Reset()
- func (m *Coupon) Size() (n int)
- func (m *Coupon) String() string
- func (m *Coupon) Unmarshal(dAtA []byte) error
- func (m *Coupon) XXX_DiscardUnknown()
- func (m *Coupon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Coupon) XXX_Merge(src proto.Message)
- func (m *Coupon) XXX_Size() int
- func (m *Coupon) XXX_Unmarshal(b []byte) error
- type CouponValidation
- func (*CouponValidation) Descriptor() ([]byte, []int)
- func (m *CouponValidation) GetAuthor() *TournamentMember
- func (m *CouponValidation) GetAuthorID() string
- func (m *CouponValidation) GetComment() string
- func (m *CouponValidation) GetCoupon() *Coupon
- func (m *CouponValidation) GetCouponID() string
- func (m *CouponValidation) Marshal() (dAtA []byte, err error)
- func (m *CouponValidation) MarshalTo(dAtA []byte) (int, error)
- func (m *CouponValidation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CouponValidation) ProtoMessage()
- func (m *CouponValidation) Reset()
- func (m *CouponValidation) Size() (n int)
- func (m *CouponValidation) String() string
- func (m *CouponValidation) Unmarshal(dAtA []byte) error
- func (m *CouponValidation) XXX_DiscardUnknown()
- func (m *CouponValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CouponValidation) XXX_Merge(src proto.Message)
- func (m *CouponValidation) XXX_Size() int
- func (m *CouponValidation) XXX_Unmarshal(b []byte) error
- type Dump
- func (*Dump) Descriptor() ([]byte, []int)
- func (m *Dump) GetAchievements() []*Achievement
- func (m *Dump) GetCouponValidations() []*CouponValidation
- func (m *Dump) GetCoupons() []*Coupon
- func (m *Dump) GetHypervisors() []*Hypervisor
- func (m *Dump) GetInventoryItems() []*InventoryItem
- func (m *Dump) GetLevelFlavors() []*LevelFlavor
- func (m *Dump) GetLevelInstances() []*LevelInstance
- func (m *Dump) GetLevelSubscriptions() []*LevelSubscription
- func (m *Dump) GetLevelValidations() []*LevelValidation
- func (m *Dump) GetLevelVersions() []*LevelVersion
- func (m *Dump) GetLevels() []*Level
- func (m *Dump) GetNotifications() []*Notification
- func (m *Dump) GetTeamMembers() []*TeamMember
- func (m *Dump) GetTeams() []*Team
- func (m *Dump) GetTournamentMembers() []*TournamentMember
- func (m *Dump) GetTournamentTeams() []*TournamentTeam
- func (m *Dump) GetTournaments() []*Tournament
- func (m *Dump) GetUsers() []*User
- func (m *Dump) GetWhoswhoAttempts() []*WhoswhoAttempt
- func (m *Dump) Marshal() (dAtA []byte, err error)
- func (m *Dump) MarshalTo(dAtA []byte) (int, error)
- func (m *Dump) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Dump) ProtoMessage()
- func (m *Dump) Reset()
- func (m *Dump) Size() (n int)
- func (m *Dump) String() string
- func (m *Dump) Unmarshal(dAtA []byte) error
- func (m *Dump) XXX_DiscardUnknown()
- func (m *Dump) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dump) XXX_Merge(src proto.Message)
- func (m *Dump) XXX_Size() int
- func (m *Dump) XXX_Unmarshal(b []byte) error
- type Hypervisor
- func (*Hypervisor) Descriptor() ([]byte, []int)
- func (m *Hypervisor) GetAddress() string
- func (m *Hypervisor) GetLevelInstances() []*LevelInstance
- func (m *Hypervisor) GetName() string
- func (m *Hypervisor) GetStatus() Hypervisor_Status
- func (m *Hypervisor) Marshal() (dAtA []byte, err error)
- func (m *Hypervisor) MarshalTo(dAtA []byte) (int, error)
- func (m *Hypervisor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Hypervisor) ProtoMessage()
- func (m *Hypervisor) Reset()
- func (m *Hypervisor) Size() (n int)
- func (m *Hypervisor) String() string
- func (m *Hypervisor) Unmarshal(dAtA []byte) error
- func (m *Hypervisor) XXX_DiscardUnknown()
- func (m *Hypervisor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Hypervisor) XXX_Merge(src proto.Message)
- func (m *Hypervisor) XXX_Size() int
- func (m *Hypervisor) XXX_Unmarshal(b []byte) error
- type Hypervisor_Status
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetBuiltAt() string
- func (m *Info) GetBuiltBy() string
- func (m *Info) GetCommit() string
- func (m *Info) GetUptime() int32
- func (m *Info) GetVersion() string
- func (m *Info) Marshal() (dAtA []byte, err error)
- func (m *Info) MarshalTo(dAtA []byte) (int, error)
- func (m *Info) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) Size() (n int)
- func (m *Info) String() string
- func (m *Info) Unmarshal(dAtA []byte) error
- func (m *Info) XXX_DiscardUnknown()
- func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Info) XXX_Merge(src proto.Message)
- func (m *Info) XXX_Size() int
- func (m *Info) XXX_Unmarshal(b []byte) error
- type InventoryItem
- func (*InventoryItem) Descriptor() ([]byte, []int)
- func (m *InventoryItem) GetItem() InventoryItem_Item
- func (m *InventoryItem) GetOwner() *TournamentMember
- func (m *InventoryItem) GetOwnerID() string
- func (m *InventoryItem) Marshal() (dAtA []byte, err error)
- func (m *InventoryItem) MarshalTo(dAtA []byte) (int, error)
- func (m *InventoryItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InventoryItem) ProtoMessage()
- func (m *InventoryItem) Reset()
- func (m *InventoryItem) Size() (n int)
- func (m *InventoryItem) String() string
- func (m *InventoryItem) Unmarshal(dAtA []byte) error
- func (m *InventoryItem) XXX_DiscardUnknown()
- func (m *InventoryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InventoryItem) XXX_Merge(src proto.Message)
- func (m *InventoryItem) XXX_Size() int
- func (m *InventoryItem) XXX_Unmarshal(b []byte) error
- type InventoryItem_Item
- type Level
- func (*Level) Descriptor() ([]byte, []int)
- func (m *Level) GetAuthor() string
- func (m *Level) GetDescription() string
- func (m *Level) GetHomepage() string
- func (m *Level) GetIsDraft() bool
- func (m *Level) GetLocale() string
- func (m *Level) GetName() string
- func (m *Level) GetPreviewUrl() string
- func (m *Level) GetVersions() []*LevelVersion
- func (m *Level) Marshal() (dAtA []byte, err error)
- func (m *Level) MarshalTo(dAtA []byte) (int, error)
- func (m *Level) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Level) ProtoMessage()
- func (m *Level) Reset()
- func (m *Level) Size() (n int)
- func (m *Level) String() string
- func (m *Level) Unmarshal(dAtA []byte) error
- func (m *Level) XXX_DiscardUnknown()
- func (m *Level) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Level) XXX_Merge(src proto.Message)
- func (m *Level) XXX_Size() int
- func (m *Level) XXX_Unmarshal(b []byte) error
- type LevelFlavor
- func (*LevelFlavor) Descriptor() ([]byte, []int)
- func (m *LevelFlavor) GetInstances() []*LevelInstance
- func (m *LevelFlavor) GetLevelVersion() *Level
- func (m *LevelFlavor) GetLevelVersionID() string
- func (m *LevelFlavor) GetSubscriptions() []*LevelSubscription
- func (m *LevelFlavor) Marshal() (dAtA []byte, err error)
- func (m *LevelFlavor) MarshalTo(dAtA []byte) (int, error)
- func (m *LevelFlavor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LevelFlavor) ProtoMessage()
- func (m *LevelFlavor) Reset()
- func (m *LevelFlavor) Size() (n int)
- func (m *LevelFlavor) String() string
- func (m *LevelFlavor) Unmarshal(dAtA []byte) error
- func (m *LevelFlavor) XXX_DiscardUnknown()
- func (m *LevelFlavor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LevelFlavor) XXX_Merge(src proto.Message)
- func (m *LevelFlavor) XXX_Size() int
- func (m *LevelFlavor) XXX_Unmarshal(b []byte) error
- type LevelInstance
- func (*LevelInstance) Descriptor() ([]byte, []int)
- func (m *LevelInstance) GetFlavor() *LevelFlavor
- func (m *LevelInstance) GetFlavorID() string
- func (m *LevelInstance) GetHypervisor() *Hypervisor
- func (m *LevelInstance) GetHypervisorID() string
- func (m *LevelInstance) GetStatus() LevelInstance_Status
- func (m *LevelInstance) Marshal() (dAtA []byte, err error)
- func (m *LevelInstance) MarshalTo(dAtA []byte) (int, error)
- func (m *LevelInstance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LevelInstance) ProtoMessage()
- func (m *LevelInstance) Reset()
- func (m *LevelInstance) Size() (n int)
- func (m *LevelInstance) String() string
- func (m *LevelInstance) Unmarshal(dAtA []byte) error
- func (m *LevelInstance) XXX_DiscardUnknown()
- func (m *LevelInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LevelInstance) XXX_Merge(src proto.Message)
- func (m *LevelInstance) XXX_Size() int
- func (m *LevelInstance) XXX_Unmarshal(b []byte) error
- type LevelInstance_Status
- type LevelList
- func (*LevelList) Descriptor() ([]byte, []int)
- func (m *LevelList) GetItems() []*Level
- func (m *LevelList) Marshal() (dAtA []byte, err error)
- func (m *LevelList) MarshalTo(dAtA []byte) (int, error)
- func (m *LevelList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LevelList) ProtoMessage()
- func (m *LevelList) Reset()
- func (m *LevelList) Size() (n int)
- func (m *LevelList) String() string
- func (m *LevelList) Unmarshal(dAtA []byte) error
- func (m *LevelList) XXX_DiscardUnknown()
- func (m *LevelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LevelList) XXX_Merge(src proto.Message)
- func (m *LevelList) XXX_Size() int
- func (m *LevelList) XXX_Unmarshal(b []byte) error
- type LevelSubscription
- func (*LevelSubscription) Descriptor() ([]byte, []int)
- func (m *LevelSubscription) GetLevelFlavor() *LevelFlavor
- func (m *LevelSubscription) GetLevelFlavorID() string
- func (m *LevelSubscription) GetTournamentTeam() *TournamentTeam
- func (m *LevelSubscription) GetTournamentTeamID() string
- func (m *LevelSubscription) GetValidations() []*LevelValidation
- func (m *LevelSubscription) Marshal() (dAtA []byte, err error)
- func (m *LevelSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *LevelSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LevelSubscription) ProtoMessage()
- func (m *LevelSubscription) Reset()
- func (m *LevelSubscription) Size() (n int)
- func (m *LevelSubscription) String() string
- func (m *LevelSubscription) Unmarshal(dAtA []byte) error
- func (m *LevelSubscription) XXX_DiscardUnknown()
- func (m *LevelSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LevelSubscription) XXX_Merge(src proto.Message)
- func (m *LevelSubscription) XXX_Size() int
- func (m *LevelSubscription) XXX_Unmarshal(b []byte) error
- type LevelValidation
- func (*LevelValidation) Descriptor() ([]byte, []int)
- func (m *LevelValidation) GetAuthorComment() string
- func (m *LevelValidation) GetCorrectorComment() string
- func (m *LevelValidation) GetLevelSubscription() *LevelSubscription
- func (m *LevelValidation) GetLevelSubscriptionID() string
- func (m *LevelValidation) GetStatus() LevelValidation_Status
- func (m *LevelValidation) GetTournamentMember() *TournamentMember
- func (m *LevelValidation) GetTournamentMemberID() string
- func (m *LevelValidation) Marshal() (dAtA []byte, err error)
- func (m *LevelValidation) MarshalTo(dAtA []byte) (int, error)
- func (m *LevelValidation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LevelValidation) ProtoMessage()
- func (m *LevelValidation) Reset()
- func (m *LevelValidation) Size() (n int)
- func (m *LevelValidation) String() string
- func (m *LevelValidation) Unmarshal(dAtA []byte) error
- func (m *LevelValidation) XXX_DiscardUnknown()
- func (m *LevelValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LevelValidation) XXX_Merge(src proto.Message)
- func (m *LevelValidation) XXX_Size() int
- func (m *LevelValidation) XXX_Unmarshal(b []byte) error
- type LevelValidation_Status
- type LevelVersion
- func (*LevelVersion) Descriptor() ([]byte, []int)
- func (m *LevelVersion) GetChangelog() string
- func (m *LevelVersion) GetDriver() LevelVersion_Driver
- func (m *LevelVersion) GetFlavors() []*LevelFlavor
- func (m *LevelVersion) GetIsDraft() bool
- func (m *LevelVersion) GetIsLatest() bool
- func (m *LevelVersion) GetLevel() *Level
- func (m *LevelVersion) GetLevelID() string
- func (m *LevelVersion) GetSourceURL() string
- func (m *LevelVersion) GetVersion() string
- func (m *LevelVersion) Marshal() (dAtA []byte, err error)
- func (m *LevelVersion) MarshalTo(dAtA []byte) (int, error)
- func (m *LevelVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LevelVersion) ProtoMessage()
- func (m *LevelVersion) Reset()
- func (m *LevelVersion) Size() (n int)
- func (m *LevelVersion) String() string
- func (m *LevelVersion) Unmarshal(dAtA []byte) error
- func (m *LevelVersion) XXX_DiscardUnknown()
- func (m *LevelVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LevelVersion) XXX_Merge(src proto.Message)
- func (m *LevelVersion) XXX_Size() int
- func (m *LevelVersion) XXX_Unmarshal(b []byte) error
- type LevelVersion_Driver
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetCreatedAt() *time.Time
- func (m *Metadata) GetID() string
- func (m *Metadata) GetUpdatedAt() *time.Time
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)
- func (m *Notification) GetArgs() string
- func (m *Notification) GetClickUrl() string
- func (m *Notification) GetIsRead() bool
- func (m *Notification) GetMsg() string
- func (m *Notification) GetUser() *User
- func (m *Notification) GetUserID() string
- func (m *Notification) Marshal() (dAtA []byte, err error)
- func (m *Notification) MarshalTo(dAtA []byte) (int, error)
- func (m *Notification) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Notification) ProtoMessage()
- func (m *Notification) Reset()
- func (m *Notification) Size() (n int)
- func (m *Notification) String() string
- func (m *Notification) Unmarshal(dAtA []byte) error
- func (m *Notification) XXX_DiscardUnknown()
- func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Notification) XXX_Merge(src proto.Message)
- func (m *Notification) XXX_Size() int
- func (m *Notification) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetEverythingIsOK() bool
- func (m *Status) Marshal() (dAtA []byte, err error)
- func (m *Status) MarshalTo(dAtA []byte) (int, error)
- func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) Size() (n int)
- func (m *Status) String() string
- func (m *Status) Unmarshal(dAtA []byte) error
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type Team
- func (*Team) Descriptor() ([]byte, []int)
- func (m *Team) GetGravatarURL() string
- func (m *Team) GetLocale() string
- func (m *Team) GetMembers() []*TeamMember
- func (m *Team) GetName() string
- func (m *Team) GetReceivedWhoswhoAttempts() []*WhoswhoAttempt
- func (m *Team) GetTournamentTeams() []*TournamentTeam
- func (m *Team) Marshal() (dAtA []byte, err error)
- func (m *Team) MarshalTo(dAtA []byte) (int, error)
- func (m *Team) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Team) ProtoMessage()
- func (m *Team) Reset()
- func (m *Team) Size() (n int)
- func (m *Team) String() string
- func (m *Team) Unmarshal(dAtA []byte) error
- func (m *Team) XXX_DiscardUnknown()
- func (m *Team) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Team) XXX_Merge(src proto.Message)
- func (m *Team) XXX_Size() int
- func (m *Team) XXX_Unmarshal(b []byte) error
- type TeamList
- func (*TeamList) Descriptor() ([]byte, []int)
- func (m *TeamList) GetItems() []*Team
- func (m *TeamList) Marshal() (dAtA []byte, err error)
- func (m *TeamList) MarshalTo(dAtA []byte) (int, error)
- func (m *TeamList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TeamList) ProtoMessage()
- func (m *TeamList) Reset()
- func (m *TeamList) Size() (n int)
- func (m *TeamList) String() string
- func (m *TeamList) Unmarshal(dAtA []byte) error
- func (m *TeamList) XXX_DiscardUnknown()
- func (m *TeamList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TeamList) XXX_Merge(src proto.Message)
- func (m *TeamList) XXX_Size() int
- func (m *TeamList) XXX_Unmarshal(b []byte) error
- type TeamMember
- func (*TeamMember) Descriptor() ([]byte, []int)
- func (m *TeamMember) GetRole() TeamMember_Role
- func (m *TeamMember) GetTeam() *Team
- func (m *TeamMember) GetTeamID() string
- func (m *TeamMember) GetUser() *User
- func (m *TeamMember) GetUserID() string
- func (m *TeamMember) Marshal() (dAtA []byte, err error)
- func (m *TeamMember) MarshalTo(dAtA []byte) (int, error)
- func (m *TeamMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TeamMember) ProtoMessage()
- func (m *TeamMember) Reset()
- func (m *TeamMember) Size() (n int)
- func (m *TeamMember) String() string
- func (m *TeamMember) Unmarshal(dAtA []byte) error
- func (m *TeamMember) XXX_DiscardUnknown()
- func (m *TeamMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TeamMember) XXX_Merge(src proto.Message)
- func (m *TeamMember) XXX_Size() int
- func (m *TeamMember) XXX_Unmarshal(b []byte) error
- type TeamMember_Role
- type Tournament
- func (*Tournament) Descriptor() ([]byte, []int)
- func (m *Tournament) GetCoupons() []*Coupon
- func (m *Tournament) GetIsDefault() bool
- func (m *Tournament) GetName() string
- func (m *Tournament) GetStatus() Tournament_Status
- func (m *Tournament) GetTeams() []*TournamentTeam
- func (m *Tournament) GetVisibility() Tournament_Visibility
- func (m *Tournament) Marshal() (dAtA []byte, err error)
- func (m *Tournament) MarshalTo(dAtA []byte) (int, error)
- func (m *Tournament) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tournament) ProtoMessage()
- func (m *Tournament) Reset()
- func (m *Tournament) Size() (n int)
- func (m *Tournament) String() string
- func (m *Tournament) Unmarshal(dAtA []byte) error
- func (m *Tournament) XXX_DiscardUnknown()
- func (m *Tournament) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tournament) XXX_Merge(src proto.Message)
- func (m *Tournament) XXX_Size() int
- func (m *Tournament) XXX_Unmarshal(b []byte) error
- type TournamentList
- func (*TournamentList) Descriptor() ([]byte, []int)
- func (m *TournamentList) GetItems() []*Tournament
- func (m *TournamentList) Marshal() (dAtA []byte, err error)
- func (m *TournamentList) MarshalTo(dAtA []byte) (int, error)
- func (m *TournamentList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TournamentList) ProtoMessage()
- func (m *TournamentList) Reset()
- func (m *TournamentList) Size() (n int)
- func (m *TournamentList) String() string
- func (m *TournamentList) Unmarshal(dAtA []byte) error
- func (m *TournamentList) XXX_DiscardUnknown()
- func (m *TournamentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TournamentList) XXX_Merge(src proto.Message)
- func (m *TournamentList) XXX_Size() int
- func (m *TournamentList) XXX_Unmarshal(b []byte) error
- type TournamentMember
- func (*TournamentMember) Descriptor() ([]byte, []int)
- func (m *TournamentMember) GetAchievements() []*Achievement
- func (m *TournamentMember) GetCoupons() []*Coupon
- func (m *TournamentMember) GetItems() []*InventoryItem
- func (m *TournamentMember) GetLevelValidations() []*LevelValidation
- func (m *TournamentMember) GetReceivedWhoswhoAttempts() []*WhoswhoAttempt
- func (m *TournamentMember) GetRole() TournamentMember_Role
- func (m *TournamentMember) GetSentWhoswhoAttempts() []*WhoswhoAttempt
- func (m *TournamentMember) GetTournamentTeam() *TournamentTeam
- func (m *TournamentMember) GetTournamentTeamID() string
- func (m *TournamentMember) GetUser() *User
- func (m *TournamentMember) GetUserID() string
- func (m *TournamentMember) Marshal() (dAtA []byte, err error)
- func (m *TournamentMember) MarshalTo(dAtA []byte) (int, error)
- func (m *TournamentMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TournamentMember) ProtoMessage()
- func (m *TournamentMember) Reset()
- func (m *TournamentMember) Size() (n int)
- func (m *TournamentMember) String() string
- func (m *TournamentMember) Unmarshal(dAtA []byte) error
- func (m *TournamentMember) XXX_DiscardUnknown()
- func (m *TournamentMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TournamentMember) XXX_Merge(src proto.Message)
- func (m *TournamentMember) XXX_Size() int
- func (m *TournamentMember) XXX_Unmarshal(b []byte) error
- type TournamentMember_Role
- type TournamentTeam
- func (*TournamentTeam) Descriptor() ([]byte, []int)
- func (m *TournamentTeam) GetIsDefault() bool
- func (m *TournamentTeam) GetLevelSubscriptions() []*LevelSubscription
- func (m *TournamentTeam) GetMembers() []*TournamentMember
- func (m *TournamentTeam) GetTeam() *Team
- func (m *TournamentTeam) GetTeamID() string
- func (m *TournamentTeam) GetTournament() *Tournament
- func (m *TournamentTeam) GetTournamentID() string
- func (m *TournamentTeam) Marshal() (dAtA []byte, err error)
- func (m *TournamentTeam) MarshalTo(dAtA []byte) (int, error)
- func (m *TournamentTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TournamentTeam) ProtoMessage()
- func (m *TournamentTeam) Reset()
- func (m *TournamentTeam) Size() (n int)
- func (m *TournamentTeam) String() string
- func (m *TournamentTeam) Unmarshal(dAtA []byte) error
- func (m *TournamentTeam) XXX_DiscardUnknown()
- func (m *TournamentTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TournamentTeam) XXX_Merge(src proto.Message)
- func (m *TournamentTeam) XXX_Size() int
- func (m *TournamentTeam) XXX_Unmarshal(b []byte) error
- type Tournament_Status
- type Tournament_Visibility
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetActiveTournamentMember() *TournamentMember
- func (m *User) GetActiveTournamentMemberID() string
- func (m *User) GetEmail() string
- func (m *User) GetGravatarURL() string
- func (m *User) GetLocale() string
- func (m *User) GetMemberships() []*TeamMember
- func (m *User) GetNotifications() []*Notification
- func (m *User) GetTournamentMemberships() []*TournamentMember
- func (m *User) GetUsername() string
- func (m *User) GetWebsiteURL() string
- func (m *User) Marshal() (dAtA []byte, err error)
- func (m *User) MarshalTo(dAtA []byte) (int, error)
- func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) Size() (n int)
- func (m *User) String() string
- func (m *User) Unmarshal(dAtA []byte) error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserList
- func (*UserList) Descriptor() ([]byte, []int)
- func (m *UserList) GetItems() []*User
- func (m *UserList) Marshal() (dAtA []byte, err error)
- func (m *UserList) MarshalTo(dAtA []byte) (int, error)
- func (m *UserList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserList) ProtoMessage()
- func (m *UserList) Reset()
- func (m *UserList) Size() (n int)
- func (m *UserList) String() string
- func (m *UserList) Unmarshal(dAtA []byte) error
- func (m *UserList) XXX_DiscardUnknown()
- func (m *UserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserList) XXX_Merge(src proto.Message)
- func (m *UserList) XXX_Size() int
- func (m *UserList) XXX_Unmarshal(b []byte) error
- type WhoswhoAttempt
- func (*WhoswhoAttempt) Descriptor() ([]byte, []int)
- func (m *WhoswhoAttempt) GetAuthor() *TournamentMember
- func (m *WhoswhoAttempt) GetAuthorID() string
- func (m *WhoswhoAttempt) GetSuccess() bool
- func (m *WhoswhoAttempt) GetTargetMember() *TournamentMember
- func (m *WhoswhoAttempt) GetTargetMemberID() string
- func (m *WhoswhoAttempt) GetTargetTeam() *TournamentTeam
- func (m *WhoswhoAttempt) GetTargetTeamID() string
- func (m *WhoswhoAttempt) Marshal() (dAtA []byte, err error)
- func (m *WhoswhoAttempt) MarshalTo(dAtA []byte) (int, error)
- func (m *WhoswhoAttempt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhoswhoAttempt) ProtoMessage()
- func (m *WhoswhoAttempt) Reset()
- func (m *WhoswhoAttempt) Size() (n int)
- func (m *WhoswhoAttempt) String() string
- func (m *WhoswhoAttempt) Unmarshal(dAtA []byte) error
- func (m *WhoswhoAttempt) XXX_DiscardUnknown()
- func (m *WhoswhoAttempt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhoswhoAttempt) XXX_Merge(src proto.Message)
- func (m *WhoswhoAttempt) XXX_Size() int
- func (m *WhoswhoAttempt) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthEntity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEntity = fmt.Errorf("proto: integer overflow") )
View Source
var Achievement_Type_name = map[int32]string{
0: "Undefined",
1: "Buy1Level",
2: "Buy5Levels",
3: "Buy10Levels",
4: "Buy20Levels",
5: "Buy50Levels",
10: "Validate1Level",
11: "Validate5Levels",
12: "Validate10Levels",
13: "Validate20Levels",
14: "Validate50Levels",
20: "Validate1Coupon",
21: "Validate5Coupons",
22: "Validate10Coupons",
23: "Validate20Coupons",
24: "Validate50Coupons",
25: "Validate100Coupons",
30: "Author1Level",
31: "Author2Levels",
32: "Author5Levels",
33: "Author10Levels",
40: "EarlyAdopterTop100",
41: "EarlyAdopterTop1000",
50: "Old1Year",
90: "Send1PullRequest",
91: "Send2PullRequests",
92: "Send5PullRequests",
93: "Send10Pullrequests",
100: "Staff",
101: "Contributor",
102: "BugHunter",
103: "Moderator",
104: "HackThePlatform",
}
View Source
var Achievement_Type_value = map[string]int32{
"Undefined": 0,
"Buy1Level": 1,
"Buy5Levels": 2,
"Buy10Levels": 3,
"Buy20Levels": 4,
"Buy50Levels": 5,
"Validate1Level": 10,
"Validate5Levels": 11,
"Validate10Levels": 12,
"Validate20Levels": 13,
"Validate50Levels": 14,
"Validate1Coupon": 20,
"Validate5Coupons": 21,
"Validate10Coupons": 22,
"Validate20Coupons": 23,
"Validate50Coupons": 24,
"Validate100Coupons": 25,
"Author1Level": 30,
"Author2Levels": 31,
"Author5Levels": 32,
"Author10Levels": 33,
"EarlyAdopterTop100": 40,
"EarlyAdopterTop1000": 41,
"Old1Year": 50,
"Send1PullRequest": 90,
"Send2PullRequests": 91,
"Send5PullRequests": 92,
"Send10Pullrequests": 93,
"Staff": 100,
"Contributor": 101,
"BugHunter": 102,
"Moderator": 103,
"HackThePlatform": 104,
}
View Source
var Hypervisor_Status_name = map[int32]string{
0: "Unknown",
1: "Active",
2: "Inactive",
}
View Source
var Hypervisor_Status_value = map[string]int32{
"Unknown": 0,
"Active": 1,
"Inactive": 2,
}
View Source
var InventoryItem_Item_name = map[int32]string{
0: "Unknown",
}
View Source
var InventoryItem_Item_value = map[string]int32{
"Unknown": 0,
}
View Source
var LevelInstance_Status_name = map[int32]string{
0: "Unknown",
1: "Active",
2: "Inactive",
}
View Source
var LevelInstance_Status_value = map[string]int32{
"Unknown": 0,
"Active": 1,
"Inactive": 2,
}
View Source
var LevelValidation_Status_name = map[int32]string{
0: "Unknown",
1: "Sent",
2: "Accepted",
3: "Refused",
4: "AutoAccepted",
}
View Source
var LevelValidation_Status_value = map[string]int32{
"Unknown": 0,
"Sent": 1,
"Accepted": 2,
"Refused": 3,
"AutoAccepted": 4,
}
View Source
var LevelVersion_Driver_name = map[int32]string{
0: "Unknown",
1: "Docker",
2: "DockerCompose",
}
View Source
var LevelVersion_Driver_value = map[string]int32{
"Unknown": 0,
"Docker": 1,
"DockerCompose": 2,
}
View Source
var TeamMember_Role_name = map[int32]string{
0: "Undefined",
1: "Owner",
2: "Member",
}
View Source
var TeamMember_Role_value = map[string]int32{
"Undefined": 0,
"Owner": 1,
"Member": 2,
}
View Source
var TournamentMember_Role_name = map[int32]string{
0: "Undefined",
1: "Owner",
2: "Member",
}
View Source
var TournamentMember_Role_value = map[string]int32{
"Undefined": 0,
"Owner": 1,
"Member": 2,
}
View Source
var Tournament_Status_name = map[int32]string{
0: "UnknownStatus",
1: "Started",
2: "Stopped",
}
View Source
var Tournament_Status_value = map[string]int32{
"UnknownStatus": 0,
"Started": 1,
"Stopped": 2,
}
View Source
var Tournament_Visibility_name = map[int32]string{
0: "UnknownVisibility",
1: "Private",
2: "Unlisted",
3: "Public",
}
View Source
var Tournament_Visibility_value = map[string]int32{
"UnknownVisibility": 0,
"Private": 1,
"Unlisted": 2,
"Public": 3,
}
Functions ¶
func ForeignKeys ¶
func ForeignKeys() [][3]string
Types ¶
type Achievement ¶
type Achievement struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Type Achievement_Type `protobuf:"varint,100,opt,name=type,proto3,enum=pathwar.entity.Achievement_Type" json:"type,omitempty"` IsGlobal bool `protobuf:"varint,101,opt,name=is_global,json=isGlobal,proto3" json:"is_global,omitempty"` Comment string `protobuf:"bytes,102,opt,name=comment,proto3" json:"comment,omitempty"` Argument string `protobuf:"bytes,103,opt,name=argument,proto3" json:"argument,omitempty"` Author *TournamentMember `protobuf:"bytes,200,opt,name=author,proto3" json:"author,omitempty" gorm:"foreignkey:AuthorID"` AuthorID string `protobuf:"bytes,201,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty" sql:"not null" gorm:"index"` LevelValidation *LevelValidation `` /* 144-byte string literal not displayed */ LevelValidationID string `` /* 147-byte string literal not displayed */ }
func (*Achievement) Descriptor ¶
func (*Achievement) Descriptor() ([]byte, []int)
func (*Achievement) GetArgument ¶
func (m *Achievement) GetArgument() string
func (*Achievement) GetAuthor ¶
func (m *Achievement) GetAuthor() *TournamentMember
func (*Achievement) GetAuthorID ¶
func (m *Achievement) GetAuthorID() string
func (*Achievement) GetComment ¶
func (m *Achievement) GetComment() string
func (*Achievement) GetIsGlobal ¶
func (m *Achievement) GetIsGlobal() bool
func (*Achievement) GetLevelValidation ¶
func (m *Achievement) GetLevelValidation() *LevelValidation
func (*Achievement) GetLevelValidationID ¶
func (m *Achievement) GetLevelValidationID() string
func (*Achievement) GetType ¶
func (m *Achievement) GetType() Achievement_Type
func (*Achievement) Marshal ¶
func (m *Achievement) Marshal() (dAtA []byte, err error)
func (*Achievement) MarshalToSizedBuffer ¶
func (m *Achievement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Achievement) ProtoMessage ¶
func (*Achievement) ProtoMessage()
func (*Achievement) Reset ¶
func (m *Achievement) Reset()
func (*Achievement) Size ¶
func (m *Achievement) Size() (n int)
func (*Achievement) String ¶
func (m *Achievement) String() string
func (*Achievement) Unmarshal ¶
func (m *Achievement) Unmarshal(dAtA []byte) error
func (*Achievement) XXX_DiscardUnknown ¶
func (m *Achievement) XXX_DiscardUnknown()
func (*Achievement) XXX_Marshal ¶
func (m *Achievement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Achievement) XXX_Merge ¶
func (m *Achievement) XXX_Merge(src proto.Message)
func (*Achievement) XXX_Size ¶
func (m *Achievement) XXX_Size() int
func (*Achievement) XXX_Unmarshal ¶
func (m *Achievement) XXX_Unmarshal(b []byte) error
type Achievement_Type ¶
type Achievement_Type int32
fields
const ( Achievement_Undefined Achievement_Type = 0 Achievement_Buy1Level Achievement_Type = 1 Achievement_Buy5Levels Achievement_Type = 2 Achievement_Buy10Levels Achievement_Type = 3 Achievement_Buy20Levels Achievement_Type = 4 Achievement_Buy50Levels Achievement_Type = 5 Achievement_Validate1Level Achievement_Type = 10 Achievement_Validate5Levels Achievement_Type = 11 Achievement_Validate10Levels Achievement_Type = 12 Achievement_Validate20Levels Achievement_Type = 13 Achievement_Validate50Levels Achievement_Type = 14 Achievement_Validate1Coupon Achievement_Type = 20 Achievement_Validate5Coupons Achievement_Type = 21 Achievement_Validate10Coupons Achievement_Type = 22 Achievement_Validate20Coupons Achievement_Type = 23 Achievement_Validate50Coupons Achievement_Type = 24 Achievement_Validate100Coupons Achievement_Type = 25 Achievement_Author1Level Achievement_Type = 30 Achievement_Author2Levels Achievement_Type = 31 Achievement_Author5Levels Achievement_Type = 32 Achievement_Author10Levels Achievement_Type = 33 Achievement_EarlyAdopterTop100 Achievement_Type = 40 Achievement_EarlyAdopterTop1000 Achievement_Type = 41 Achievement_Old1Year Achievement_Type = 50 Achievement_Send1PullRequest Achievement_Type = 90 Achievement_Send2PullRequests Achievement_Type = 91 Achievement_Send5PullRequests Achievement_Type = 92 Achievement_Send10Pullrequests Achievement_Type = 93 Achievement_Staff Achievement_Type = 100 Achievement_Contributor Achievement_Type = 101 Achievement_BugHunter Achievement_Type = 102 Achievement_Moderator Achievement_Type = 103 Achievement_HackThePlatform Achievement_Type = 104 )
func (Achievement_Type) EnumDescriptor ¶
func (Achievement_Type) EnumDescriptor() ([]byte, []int)
func (Achievement_Type) String ¶
func (x Achievement_Type) String() string
type Coupon ¶
type Coupon struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` // // fields // Hash string `protobuf:"bytes,100,opt,name=hash,proto3" json:"hash,omitempty" gorm:"unique_index"` Value int32 `protobuf:"varint,101,opt,name=value,proto3" json:"value,omitempty"` MaxValidationCount int32 `protobuf:"varint,102,opt,name=max_validation_count,json=maxValidationCount,proto3" json:"max_validation_count,omitempty"` // // associations // Tournament *Tournament `protobuf:"bytes,200,opt,name=tournament,proto3" json:"tournament,omitempty" gorm:"foreignkey:TournamentID"` TournamentID string `protobuf:"bytes,201,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty" gorm:"index"` Validations []*CouponValidation `protobuf:"bytes,202,rep,name=validations,proto3" json:"validations,omitempty" gorm:"PRELOAD:false"` }
func (*Coupon) Descriptor ¶
func (*Coupon) GetMaxValidationCount ¶
func (*Coupon) GetTournament ¶
func (m *Coupon) GetTournament() *Tournament
func (*Coupon) GetTournamentID ¶
func (*Coupon) GetValidations ¶
func (m *Coupon) GetValidations() []*CouponValidation
func (*Coupon) MarshalToSizedBuffer ¶
func (*Coupon) ProtoMessage ¶
func (*Coupon) ProtoMessage()
func (*Coupon) XXX_DiscardUnknown ¶
func (m *Coupon) XXX_DiscardUnknown()
func (*Coupon) XXX_Marshal ¶
func (*Coupon) XXX_Unmarshal ¶
type CouponValidation ¶
type CouponValidation struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` // // fields // Comment string `protobuf:"bytes,100,opt,name=comment,proto3" json:"comment,omitempty"` // // associations // Author *TournamentMember `protobuf:"bytes,200,opt,name=author,proto3" json:"author,omitempty" gorm:"foreignkey:AuthorID"` AuthorID string `protobuf:"bytes,201,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty" sql:"not null" gorm:"index"` Coupon *Coupon `protobuf:"bytes,202,opt,name=coupon,proto3" json:"coupon,omitempty" gorm:"foreignkey:CouponID"` CouponID string `protobuf:"bytes,203,opt,name=coupon_id,json=couponId,proto3" json:"coupon_id,omitempty" sql:"not null" gorm:"index"` }
func (*CouponValidation) Descriptor ¶
func (*CouponValidation) Descriptor() ([]byte, []int)
func (*CouponValidation) GetAuthor ¶
func (m *CouponValidation) GetAuthor() *TournamentMember
func (*CouponValidation) GetAuthorID ¶
func (m *CouponValidation) GetAuthorID() string
func (*CouponValidation) GetComment ¶
func (m *CouponValidation) GetComment() string
func (*CouponValidation) GetCoupon ¶
func (m *CouponValidation) GetCoupon() *Coupon
func (*CouponValidation) GetCouponID ¶
func (m *CouponValidation) GetCouponID() string
func (*CouponValidation) Marshal ¶
func (m *CouponValidation) Marshal() (dAtA []byte, err error)
func (*CouponValidation) MarshalToSizedBuffer ¶
func (m *CouponValidation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CouponValidation) ProtoMessage ¶
func (*CouponValidation) ProtoMessage()
func (*CouponValidation) Reset ¶
func (m *CouponValidation) Reset()
func (*CouponValidation) Size ¶
func (m *CouponValidation) Size() (n int)
func (*CouponValidation) String ¶
func (m *CouponValidation) String() string
func (*CouponValidation) Unmarshal ¶
func (m *CouponValidation) Unmarshal(dAtA []byte) error
func (*CouponValidation) XXX_DiscardUnknown ¶
func (m *CouponValidation) XXX_DiscardUnknown()
func (*CouponValidation) XXX_Marshal ¶
func (m *CouponValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CouponValidation) XXX_Merge ¶
func (m *CouponValidation) XXX_Merge(src proto.Message)
func (*CouponValidation) XXX_Size ¶
func (m *CouponValidation) XXX_Size() int
func (*CouponValidation) XXX_Unmarshal ¶
func (m *CouponValidation) XXX_Unmarshal(b []byte) error
type Dump ¶
type Dump struct { Achievements []*Achievement `protobuf:"bytes,1,rep,name=achievements,proto3" json:"achievements,omitempty"` Coupons []*Coupon `protobuf:"bytes,3,rep,name=coupons,proto3" json:"coupons,omitempty"` CouponValidations []*CouponValidation `protobuf:"bytes,4,rep,name=coupon_validations,json=couponValidations,proto3" json:"coupon_validations,omitempty"` Hypervisors []*Hypervisor `protobuf:"bytes,5,rep,name=hypervisors,proto3" json:"hypervisors,omitempty"` InventoryItems []*InventoryItem `protobuf:"bytes,6,rep,name=inventory_items,json=inventoryItems,proto3" json:"inventory_items,omitempty"` Levels []*Level `protobuf:"bytes,7,rep,name=levels,proto3" json:"levels,omitempty"` LevelFlavors []*LevelFlavor `protobuf:"bytes,8,rep,name=level_flavors,json=levelFlavors,proto3" json:"level_flavors,omitempty"` LevelInstances []*LevelInstance `protobuf:"bytes,9,rep,name=level_instances,json=levelInstances,proto3" json:"level_instances,omitempty"` LevelSubscriptions []*LevelSubscription `protobuf:"bytes,10,rep,name=level_subscriptions,json=levelSubscriptions,proto3" json:"level_subscriptions,omitempty"` LevelValidations []*LevelValidation `protobuf:"bytes,11,rep,name=level_validations,json=levelValidations,proto3" json:"level_validations,omitempty"` LevelVersions []*LevelVersion `protobuf:"bytes,12,rep,name=level_versions,json=levelVersions,proto3" json:"level_versions,omitempty"` Notifications []*Notification `protobuf:"bytes,13,rep,name=notifications,proto3" json:"notifications,omitempty"` Teams []*Team `protobuf:"bytes,14,rep,name=teams,proto3" json:"teams,omitempty"` TeamMembers []*TeamMember `protobuf:"bytes,15,rep,name=team_members,json=teamMembers,proto3" json:"team_members,omitempty"` Tournaments []*Tournament `protobuf:"bytes,16,rep,name=tournaments,proto3" json:"tournaments,omitempty"` TournamentMembers []*TournamentMember `protobuf:"bytes,17,rep,name=tournament_members,json=tournamentMembers,proto3" json:"tournament_members,omitempty"` TournamentTeams []*TournamentTeam `protobuf:"bytes,18,rep,name=tournament_teams,json=tournamentTeams,proto3" json:"tournament_teams,omitempty"` Users []*User `protobuf:"bytes,19,rep,name=users,proto3" json:"users,omitempty"` WhoswhoAttempts []*WhoswhoAttempt `protobuf:"bytes,20,rep,name=whoswho_attempts,json=whoswhoAttempts,proto3" json:"whoswho_attempts,omitempty"` }
func (*Dump) Descriptor ¶
func (*Dump) GetAchievements ¶
func (m *Dump) GetAchievements() []*Achievement
func (*Dump) GetCouponValidations ¶
func (m *Dump) GetCouponValidations() []*CouponValidation
func (*Dump) GetCoupons ¶
func (*Dump) GetHypervisors ¶
func (m *Dump) GetHypervisors() []*Hypervisor
func (*Dump) GetInventoryItems ¶
func (m *Dump) GetInventoryItems() []*InventoryItem
func (*Dump) GetLevelFlavors ¶
func (m *Dump) GetLevelFlavors() []*LevelFlavor
func (*Dump) GetLevelInstances ¶
func (m *Dump) GetLevelInstances() []*LevelInstance
func (*Dump) GetLevelSubscriptions ¶
func (m *Dump) GetLevelSubscriptions() []*LevelSubscription
func (*Dump) GetLevelValidations ¶
func (m *Dump) GetLevelValidations() []*LevelValidation
func (*Dump) GetLevelVersions ¶
func (m *Dump) GetLevelVersions() []*LevelVersion
func (*Dump) GetNotifications ¶
func (m *Dump) GetNotifications() []*Notification
func (*Dump) GetTeamMembers ¶
func (m *Dump) GetTeamMembers() []*TeamMember
func (*Dump) GetTournamentMembers ¶
func (m *Dump) GetTournamentMembers() []*TournamentMember
func (*Dump) GetTournamentTeams ¶
func (m *Dump) GetTournamentTeams() []*TournamentTeam
func (*Dump) GetTournaments ¶
func (m *Dump) GetTournaments() []*Tournament
func (*Dump) GetWhoswhoAttempts ¶
func (m *Dump) GetWhoswhoAttempts() []*WhoswhoAttempt
func (*Dump) ProtoMessage ¶
func (*Dump) ProtoMessage()
func (*Dump) XXX_DiscardUnknown ¶
func (m *Dump) XXX_DiscardUnknown()
func (*Dump) XXX_Unmarshal ¶
type Hypervisor ¶
type Hypervisor struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Name string `protobuf:"bytes,100,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,101,opt,name=address,proto3" json:"address,omitempty"` Status Hypervisor_Status `protobuf:"varint,102,opt,name=status,proto3,enum=pathwar.entity.Hypervisor_Status" json:"status,omitempty"` LevelInstances []*LevelInstance `` /* 126-byte string literal not displayed */ }
func (*Hypervisor) Descriptor ¶
func (*Hypervisor) Descriptor() ([]byte, []int)
func (*Hypervisor) GetAddress ¶
func (m *Hypervisor) GetAddress() string
func (*Hypervisor) GetLevelInstances ¶
func (m *Hypervisor) GetLevelInstances() []*LevelInstance
func (*Hypervisor) GetName ¶
func (m *Hypervisor) GetName() string
func (*Hypervisor) GetStatus ¶
func (m *Hypervisor) GetStatus() Hypervisor_Status
func (*Hypervisor) Marshal ¶
func (m *Hypervisor) Marshal() (dAtA []byte, err error)
func (*Hypervisor) MarshalToSizedBuffer ¶
func (m *Hypervisor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Hypervisor) ProtoMessage ¶
func (*Hypervisor) ProtoMessage()
func (*Hypervisor) Reset ¶
func (m *Hypervisor) Reset()
func (*Hypervisor) Size ¶
func (m *Hypervisor) Size() (n int)
func (*Hypervisor) String ¶
func (m *Hypervisor) String() string
func (*Hypervisor) Unmarshal ¶
func (m *Hypervisor) Unmarshal(dAtA []byte) error
func (*Hypervisor) XXX_DiscardUnknown ¶
func (m *Hypervisor) XXX_DiscardUnknown()
func (*Hypervisor) XXX_Marshal ¶
func (m *Hypervisor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Hypervisor) XXX_Merge ¶
func (m *Hypervisor) XXX_Merge(src proto.Message)
func (*Hypervisor) XXX_Size ¶
func (m *Hypervisor) XXX_Size() int
func (*Hypervisor) XXX_Unmarshal ¶
func (m *Hypervisor) XXX_Unmarshal(b []byte) error
type Hypervisor_Status ¶
type Hypervisor_Status int32
const ( Hypervisor_Unknown Hypervisor_Status = 0 Hypervisor_Active Hypervisor_Status = 1 Hypervisor_Inactive Hypervisor_Status = 2 )
func (Hypervisor_Status) EnumDescriptor ¶
func (Hypervisor_Status) EnumDescriptor() ([]byte, []int)
func (Hypervisor_Status) String ¶
func (x Hypervisor_Status) String() string
type Info ¶
type Info struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Uptime int32 `protobuf:"varint,2,opt,name=uptime,proto3" json:"uptime,omitempty"` Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` BuiltAt string `protobuf:"bytes,4,opt,name=built_at,json=builtAt,proto3" json:"built_at,omitempty"` BuiltBy string `protobuf:"bytes,5,opt,name=built_by,json=builtBy,proto3" json:"built_by,omitempty"` }
func (*Info) Descriptor ¶
func (*Info) GetBuiltAt ¶
func (*Info) GetBuiltBy ¶
func (*Info) GetVersion ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) XXX_DiscardUnknown ¶
func (m *Info) XXX_DiscardUnknown()
func (*Info) XXX_Unmarshal ¶
type InventoryItem ¶
type InventoryItem struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Item InventoryItem_Item `protobuf:"varint,100,opt,name=item,proto3,enum=pathwar.entity.InventoryItem_Item" json:"item,omitempty"` Owner *TournamentMember `protobuf:"bytes,200,opt,name=owner,proto3" json:"owner,omitempty" gorm:"foreignkey:OwnerID"` OwnerID string `protobuf:"bytes,201,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty" sql:"not null" gorm:"index"` }
func (*InventoryItem) Descriptor ¶
func (*InventoryItem) Descriptor() ([]byte, []int)
func (*InventoryItem) GetItem ¶
func (m *InventoryItem) GetItem() InventoryItem_Item
func (*InventoryItem) GetOwner ¶
func (m *InventoryItem) GetOwner() *TournamentMember
func (*InventoryItem) GetOwnerID ¶
func (m *InventoryItem) GetOwnerID() string
func (*InventoryItem) Marshal ¶
func (m *InventoryItem) Marshal() (dAtA []byte, err error)
func (*InventoryItem) MarshalToSizedBuffer ¶
func (m *InventoryItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InventoryItem) ProtoMessage ¶
func (*InventoryItem) ProtoMessage()
func (*InventoryItem) Reset ¶
func (m *InventoryItem) Reset()
func (*InventoryItem) Size ¶
func (m *InventoryItem) Size() (n int)
func (*InventoryItem) String ¶
func (m *InventoryItem) String() string
func (*InventoryItem) Unmarshal ¶
func (m *InventoryItem) Unmarshal(dAtA []byte) error
func (*InventoryItem) XXX_DiscardUnknown ¶
func (m *InventoryItem) XXX_DiscardUnknown()
func (*InventoryItem) XXX_Marshal ¶
func (m *InventoryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InventoryItem) XXX_Merge ¶
func (m *InventoryItem) XXX_Merge(src proto.Message)
func (*InventoryItem) XXX_Size ¶
func (m *InventoryItem) XXX_Size() int
func (*InventoryItem) XXX_Unmarshal ¶
func (m *InventoryItem) XXX_Unmarshal(b []byte) error
type InventoryItem_Item ¶
type InventoryItem_Item int32
const (
InventoryItem_Unknown InventoryItem_Item = 0
)
func (InventoryItem_Item) EnumDescriptor ¶
func (InventoryItem_Item) EnumDescriptor() ([]byte, []int)
func (InventoryItem_Item) String ¶
func (x InventoryItem_Item) String() string
type Level ¶
type Level struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Name string `protobuf:"bytes,100,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,101,opt,name=description,proto3" json:"description,omitempty"` Author string `protobuf:"bytes,102,opt,name=author,proto3" json:"author,omitempty"` // AuthorProfile Locale string `protobuf:"bytes,105,opt,name=locale,proto3" json:"locale,omitempty"` IsDraft bool `protobuf:"varint,106,opt,name=is_draft,json=isDraft,proto3" json:"is_draft,omitempty"` PreviewUrl string `protobuf:"bytes,107,opt,name=preview_url,json=previewUrl,proto3" json:"preview_url,omitempty"` // repeated string tags = ; Homepage string `protobuf:"bytes,108,opt,name=homepage,proto3" json:"homepage,omitempty"` Versions []*LevelVersion `protobuf:"bytes,200,rep,name=versions,proto3" json:"versions,omitempty" gorm:"PRELOAD:false"` }
func (*Level) Descriptor ¶
func (*Level) GetDescription ¶
func (*Level) GetHomepage ¶
func (*Level) GetIsDraft ¶
func (*Level) GetPreviewUrl ¶
func (*Level) GetVersions ¶
func (m *Level) GetVersions() []*LevelVersion
func (*Level) ProtoMessage ¶
func (*Level) ProtoMessage()
func (*Level) XXX_DiscardUnknown ¶
func (m *Level) XXX_DiscardUnknown()
func (*Level) XXX_Marshal ¶
func (*Level) XXX_Unmarshal ¶
type LevelFlavor ¶
type LevelFlavor struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` LevelVersion *Level `` /* 132-byte string literal not displayed */ LevelVersionID string `` /* 135-byte string literal not displayed */ Instances []*LevelInstance `protobuf:"bytes,202,rep,name=instances,proto3" json:"instances,omitempty" gorm:"PRELOAD:false"` Subscriptions []*LevelSubscription `protobuf:"bytes,203,rep,name=subscriptions,proto3" json:"subscriptions,omitempty" gorm:"PRELOAD:false"` }
func (*LevelFlavor) Descriptor ¶
func (*LevelFlavor) Descriptor() ([]byte, []int)
func (*LevelFlavor) GetInstances ¶
func (m *LevelFlavor) GetInstances() []*LevelInstance
func (*LevelFlavor) GetLevelVersion ¶
func (m *LevelFlavor) GetLevelVersion() *Level
func (*LevelFlavor) GetLevelVersionID ¶
func (m *LevelFlavor) GetLevelVersionID() string
func (*LevelFlavor) GetSubscriptions ¶
func (m *LevelFlavor) GetSubscriptions() []*LevelSubscription
func (*LevelFlavor) Marshal ¶
func (m *LevelFlavor) Marshal() (dAtA []byte, err error)
func (*LevelFlavor) MarshalToSizedBuffer ¶
func (m *LevelFlavor) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LevelFlavor) ProtoMessage ¶
func (*LevelFlavor) ProtoMessage()
func (*LevelFlavor) Reset ¶
func (m *LevelFlavor) Reset()
func (*LevelFlavor) Size ¶
func (m *LevelFlavor) Size() (n int)
func (*LevelFlavor) String ¶
func (m *LevelFlavor) String() string
func (*LevelFlavor) Unmarshal ¶
func (m *LevelFlavor) Unmarshal(dAtA []byte) error
func (*LevelFlavor) XXX_DiscardUnknown ¶
func (m *LevelFlavor) XXX_DiscardUnknown()
func (*LevelFlavor) XXX_Marshal ¶
func (m *LevelFlavor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LevelFlavor) XXX_Merge ¶
func (m *LevelFlavor) XXX_Merge(src proto.Message)
func (*LevelFlavor) XXX_Size ¶
func (m *LevelFlavor) XXX_Size() int
func (*LevelFlavor) XXX_Unmarshal ¶
func (m *LevelFlavor) XXX_Unmarshal(b []byte) error
type LevelInstance ¶
type LevelInstance struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Status LevelInstance_Status `protobuf:"varint,100,opt,name=status,proto3,enum=pathwar.entity.LevelInstance_Status" json:"status,omitempty"` Hypervisor *Hypervisor `protobuf:"bytes,200,opt,name=hypervisor,proto3" json:"hypervisor,omitempty" gorm:"foreignkey:HypervisorID"` HypervisorID string `` /* 127-byte string literal not displayed */ Flavor *LevelFlavor `protobuf:"bytes,202,opt,name=flavor,proto3" json:"flavor,omitempty" gorm:"foreignkey:FlavorID"` FlavorID string `protobuf:"bytes,203,opt,name=flavor_id,json=flavorId,proto3" json:"flavor_id,omitempty" sql:"not null" gorm:"index"` }
func (*LevelInstance) Descriptor ¶
func (*LevelInstance) Descriptor() ([]byte, []int)
func (*LevelInstance) GetFlavor ¶
func (m *LevelInstance) GetFlavor() *LevelFlavor
func (*LevelInstance) GetFlavorID ¶
func (m *LevelInstance) GetFlavorID() string
func (*LevelInstance) GetHypervisor ¶
func (m *LevelInstance) GetHypervisor() *Hypervisor
func (*LevelInstance) GetHypervisorID ¶
func (m *LevelInstance) GetHypervisorID() string
func (*LevelInstance) GetStatus ¶
func (m *LevelInstance) GetStatus() LevelInstance_Status
func (*LevelInstance) Marshal ¶
func (m *LevelInstance) Marshal() (dAtA []byte, err error)
func (*LevelInstance) MarshalToSizedBuffer ¶
func (m *LevelInstance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LevelInstance) ProtoMessage ¶
func (*LevelInstance) ProtoMessage()
func (*LevelInstance) Reset ¶
func (m *LevelInstance) Reset()
func (*LevelInstance) Size ¶
func (m *LevelInstance) Size() (n int)
func (*LevelInstance) String ¶
func (m *LevelInstance) String() string
func (*LevelInstance) Unmarshal ¶
func (m *LevelInstance) Unmarshal(dAtA []byte) error
func (*LevelInstance) XXX_DiscardUnknown ¶
func (m *LevelInstance) XXX_DiscardUnknown()
func (*LevelInstance) XXX_Marshal ¶
func (m *LevelInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LevelInstance) XXX_Merge ¶
func (m *LevelInstance) XXX_Merge(src proto.Message)
func (*LevelInstance) XXX_Size ¶
func (m *LevelInstance) XXX_Size() int
func (*LevelInstance) XXX_Unmarshal ¶
func (m *LevelInstance) XXX_Unmarshal(b []byte) error
type LevelInstance_Status ¶
type LevelInstance_Status int32
const ( LevelInstance_Unknown LevelInstance_Status = 0 LevelInstance_Active LevelInstance_Status = 1 LevelInstance_Inactive LevelInstance_Status = 2 )
func (LevelInstance_Status) EnumDescriptor ¶
func (LevelInstance_Status) EnumDescriptor() ([]byte, []int)
func (LevelInstance_Status) String ¶
func (x LevelInstance_Status) String() string
type LevelList ¶
type LevelList struct {
Items []*Level `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}
func (*LevelList) Descriptor ¶
func (*LevelList) MarshalToSizedBuffer ¶
func (*LevelList) ProtoMessage ¶
func (*LevelList) ProtoMessage()
func (*LevelList) XXX_DiscardUnknown ¶
func (m *LevelList) XXX_DiscardUnknown()
func (*LevelList) XXX_Marshal ¶
func (*LevelList) XXX_Unmarshal ¶
type LevelSubscription ¶
type LevelSubscription struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` TournamentTeam *TournamentTeam `` /* 140-byte string literal not displayed */ TournamentTeamID string `` /* 141-byte string literal not displayed */ LevelFlavor *LevelFlavor `` /* 128-byte string literal not displayed */ LevelFlavorID string `` /* 132-byte string literal not displayed */ Validations []*LevelValidation `protobuf:"bytes,204,rep,name=validations,proto3" json:"validations,omitempty" gorm:"PRELOAD:false"` }
func (*LevelSubscription) Descriptor ¶
func (*LevelSubscription) Descriptor() ([]byte, []int)
func (*LevelSubscription) GetLevelFlavor ¶
func (m *LevelSubscription) GetLevelFlavor() *LevelFlavor
func (*LevelSubscription) GetLevelFlavorID ¶
func (m *LevelSubscription) GetLevelFlavorID() string
func (*LevelSubscription) GetTournamentTeam ¶
func (m *LevelSubscription) GetTournamentTeam() *TournamentTeam
func (*LevelSubscription) GetTournamentTeamID ¶
func (m *LevelSubscription) GetTournamentTeamID() string
func (*LevelSubscription) GetValidations ¶
func (m *LevelSubscription) GetValidations() []*LevelValidation
func (*LevelSubscription) Marshal ¶
func (m *LevelSubscription) Marshal() (dAtA []byte, err error)
func (*LevelSubscription) MarshalTo ¶
func (m *LevelSubscription) MarshalTo(dAtA []byte) (int, error)
func (*LevelSubscription) MarshalToSizedBuffer ¶
func (m *LevelSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LevelSubscription) ProtoMessage ¶
func (*LevelSubscription) ProtoMessage()
func (*LevelSubscription) Reset ¶
func (m *LevelSubscription) Reset()
func (*LevelSubscription) Size ¶
func (m *LevelSubscription) Size() (n int)
func (*LevelSubscription) String ¶
func (m *LevelSubscription) String() string
func (*LevelSubscription) Unmarshal ¶
func (m *LevelSubscription) Unmarshal(dAtA []byte) error
func (*LevelSubscription) XXX_DiscardUnknown ¶
func (m *LevelSubscription) XXX_DiscardUnknown()
func (*LevelSubscription) XXX_Marshal ¶
func (m *LevelSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LevelSubscription) XXX_Merge ¶
func (m *LevelSubscription) XXX_Merge(src proto.Message)
func (*LevelSubscription) XXX_Size ¶
func (m *LevelSubscription) XXX_Size() int
func (*LevelSubscription) XXX_Unmarshal ¶
func (m *LevelSubscription) XXX_Unmarshal(b []byte) error
type LevelValidation ¶
type LevelValidation struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Status LevelValidation_Status `protobuf:"varint,100,opt,name=status,proto3,enum=pathwar.entity.LevelValidation_Status" json:"status,omitempty"` AuthorComment string `protobuf:"bytes,101,opt,name=author_comment,json=authorComment,proto3" json:"author_comment,omitempty"` CorrectorComment string `protobuf:"bytes,102,opt,name=corrector_comment,json=correctorComment,proto3" json:"corrector_comment,omitempty"` LevelSubscription *LevelSubscription `` /* 152-byte string literal not displayed */ LevelSubscriptionID string `` /* 150-byte string literal not displayed */ TournamentMember *TournamentMember `` /* 148-byte string literal not displayed */ TournamentMemberID string `` /* 147-byte string literal not displayed */ }
func (*LevelValidation) Descriptor ¶
func (*LevelValidation) Descriptor() ([]byte, []int)
func (*LevelValidation) GetAuthorComment ¶
func (m *LevelValidation) GetAuthorComment() string
func (*LevelValidation) GetCorrectorComment ¶
func (m *LevelValidation) GetCorrectorComment() string
func (*LevelValidation) GetLevelSubscription ¶
func (m *LevelValidation) GetLevelSubscription() *LevelSubscription
func (*LevelValidation) GetLevelSubscriptionID ¶
func (m *LevelValidation) GetLevelSubscriptionID() string
func (*LevelValidation) GetStatus ¶
func (m *LevelValidation) GetStatus() LevelValidation_Status
func (*LevelValidation) GetTournamentMember ¶
func (m *LevelValidation) GetTournamentMember() *TournamentMember
func (*LevelValidation) GetTournamentMemberID ¶
func (m *LevelValidation) GetTournamentMemberID() string
func (*LevelValidation) Marshal ¶
func (m *LevelValidation) Marshal() (dAtA []byte, err error)
func (*LevelValidation) MarshalToSizedBuffer ¶
func (m *LevelValidation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LevelValidation) ProtoMessage ¶
func (*LevelValidation) ProtoMessage()
func (*LevelValidation) Reset ¶
func (m *LevelValidation) Reset()
func (*LevelValidation) Size ¶
func (m *LevelValidation) Size() (n int)
func (*LevelValidation) String ¶
func (m *LevelValidation) String() string
func (*LevelValidation) Unmarshal ¶
func (m *LevelValidation) Unmarshal(dAtA []byte) error
func (*LevelValidation) XXX_DiscardUnknown ¶
func (m *LevelValidation) XXX_DiscardUnknown()
func (*LevelValidation) XXX_Marshal ¶
func (m *LevelValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LevelValidation) XXX_Merge ¶
func (m *LevelValidation) XXX_Merge(src proto.Message)
func (*LevelValidation) XXX_Size ¶
func (m *LevelValidation) XXX_Size() int
func (*LevelValidation) XXX_Unmarshal ¶
func (m *LevelValidation) XXX_Unmarshal(b []byte) error
type LevelValidation_Status ¶
type LevelValidation_Status int32
const ( LevelValidation_Unknown LevelValidation_Status = 0 LevelValidation_Sent LevelValidation_Status = 1 LevelValidation_Accepted LevelValidation_Status = 2 LevelValidation_Refused LevelValidation_Status = 3 LevelValidation_AutoAccepted LevelValidation_Status = 4 )
func (LevelValidation_Status) EnumDescriptor ¶
func (LevelValidation_Status) EnumDescriptor() ([]byte, []int)
func (LevelValidation_Status) String ¶
func (x LevelValidation_Status) String() string
type LevelVersion ¶
type LevelVersion struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Version string `protobuf:"bytes,100,opt,name=version,proto3" json:"version,omitempty"` Changelog string `protobuf:"bytes,101,opt,name=changelog,proto3" json:"changelog,omitempty"` IsDraft bool `protobuf:"varint,102,opt,name=is_draft,json=isDraft,proto3" json:"is_draft,omitempty"` IsLatest bool `protobuf:"varint,103,opt,name=is_latest,json=isLatest,proto3" json:"is_latest,omitempty"` SourceURL string `protobuf:"bytes,104,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` Driver LevelVersion_Driver `protobuf:"varint,105,opt,name=driver,proto3,enum=pathwar.entity.LevelVersion_Driver" json:"driver,omitempty"` Level *Level `protobuf:"bytes,200,opt,name=level,proto3" json:"level,omitempty" gorm:"foreignkey:LevelID"` LevelID string `protobuf:"bytes,201,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty" sql:"not null" gorm:"index"` Flavors []*LevelFlavor `protobuf:"bytes,202,rep,name=flavors,proto3" json:"flavors,omitempty" gorm:"PRELOAD:false"` }
func (*LevelVersion) Descriptor ¶
func (*LevelVersion) Descriptor() ([]byte, []int)
func (*LevelVersion) GetChangelog ¶
func (m *LevelVersion) GetChangelog() string
func (*LevelVersion) GetDriver ¶
func (m *LevelVersion) GetDriver() LevelVersion_Driver
func (*LevelVersion) GetFlavors ¶
func (m *LevelVersion) GetFlavors() []*LevelFlavor
func (*LevelVersion) GetIsDraft ¶
func (m *LevelVersion) GetIsDraft() bool
func (*LevelVersion) GetIsLatest ¶
func (m *LevelVersion) GetIsLatest() bool
func (*LevelVersion) GetLevel ¶
func (m *LevelVersion) GetLevel() *Level
func (*LevelVersion) GetLevelID ¶
func (m *LevelVersion) GetLevelID() string
func (*LevelVersion) GetSourceURL ¶
func (m *LevelVersion) GetSourceURL() string
func (*LevelVersion) GetVersion ¶
func (m *LevelVersion) GetVersion() string
func (*LevelVersion) Marshal ¶
func (m *LevelVersion) Marshal() (dAtA []byte, err error)
func (*LevelVersion) MarshalToSizedBuffer ¶
func (m *LevelVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LevelVersion) ProtoMessage ¶
func (*LevelVersion) ProtoMessage()
func (*LevelVersion) Reset ¶
func (m *LevelVersion) Reset()
func (*LevelVersion) Size ¶
func (m *LevelVersion) Size() (n int)
func (*LevelVersion) String ¶
func (m *LevelVersion) String() string
func (*LevelVersion) Unmarshal ¶
func (m *LevelVersion) Unmarshal(dAtA []byte) error
func (*LevelVersion) XXX_DiscardUnknown ¶
func (m *LevelVersion) XXX_DiscardUnknown()
func (*LevelVersion) XXX_Marshal ¶
func (m *LevelVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LevelVersion) XXX_Merge ¶
func (m *LevelVersion) XXX_Merge(src proto.Message)
func (*LevelVersion) XXX_Size ¶
func (m *LevelVersion) XXX_Size() int
func (*LevelVersion) XXX_Unmarshal ¶
func (m *LevelVersion) XXX_Unmarshal(b []byte) error
type LevelVersion_Driver ¶
type LevelVersion_Driver int32
const ( LevelVersion_Unknown LevelVersion_Driver = 0 LevelVersion_Docker LevelVersion_Driver = 1 LevelVersion_DockerCompose LevelVersion_Driver = 2 )
func (LevelVersion_Driver) EnumDescriptor ¶
func (LevelVersion_Driver) EnumDescriptor() ([]byte, []int)
func (LevelVersion_Driver) String ¶
func (x LevelVersion_Driver) String() string
type Metadata ¶
type Metadata struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"` CreatedAt *time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"` UpdatedAt *time.Time `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"` }
func (*Metadata) Descriptor ¶
func (*Metadata) GetCreatedAt ¶
func (*Metadata) GetUpdatedAt ¶
func (*Metadata) MarshalToSizedBuffer ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
type Notification ¶
type Notification struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` IsRead bool `protobuf:"varint,100,opt,name=is_read,json=isRead,proto3" json:"is_read,omitempty"` ClickUrl string `protobuf:"bytes,101,opt,name=click_url,json=clickUrl,proto3" json:"click_url,omitempty"` Msg string `protobuf:"bytes,102,opt,name=msg,proto3" json:"msg,omitempty"` Args string `protobuf:"bytes,103,opt,name=args,proto3" json:"args,omitempty"` User *User `protobuf:"bytes,200,opt,name=user,proto3" json:"user,omitempty" gorm:"foreignkey:UserID"` UserID string `protobuf:"bytes,201,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" sql:"not null" gorm:"index"` }
func (*Notification) Descriptor ¶
func (*Notification) Descriptor() ([]byte, []int)
func (*Notification) GetArgs ¶
func (m *Notification) GetArgs() string
func (*Notification) GetClickUrl ¶
func (m *Notification) GetClickUrl() string
func (*Notification) GetIsRead ¶
func (m *Notification) GetIsRead() bool
func (*Notification) GetMsg ¶
func (m *Notification) GetMsg() string
func (*Notification) GetUser ¶
func (m *Notification) GetUser() *User
func (*Notification) GetUserID ¶
func (m *Notification) GetUserID() string
func (*Notification) Marshal ¶
func (m *Notification) Marshal() (dAtA []byte, err error)
func (*Notification) MarshalToSizedBuffer ¶
func (m *Notification) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) Reset ¶
func (m *Notification) Reset()
func (*Notification) Size ¶
func (m *Notification) Size() (n int)
func (*Notification) String ¶
func (m *Notification) String() string
func (*Notification) Unmarshal ¶
func (m *Notification) Unmarshal(dAtA []byte) error
func (*Notification) XXX_DiscardUnknown ¶
func (m *Notification) XXX_DiscardUnknown()
func (*Notification) XXX_Marshal ¶
func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Notification) XXX_Merge ¶
func (m *Notification) XXX_Merge(src proto.Message)
func (*Notification) XXX_Size ¶
func (m *Notification) XXX_Size() int
func (*Notification) XXX_Unmarshal ¶
func (m *Notification) XXX_Unmarshal(b []byte) error
type Status ¶
type Status struct {
EverythingIsOK bool `protobuf:"varint,1,opt,name=everything_is_ok,json=everythingIsOk,proto3" json:"everything_is_ok,omitempty"`
}
func (*Status) Descriptor ¶
func (*Status) GetEverythingIsOK ¶
func (*Status) MarshalToSizedBuffer ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type Team ¶
type Team struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Name string `protobuf:"bytes,100,opt,name=name,proto3" json:"name,omitempty"` GravatarURL string `protobuf:"bytes,101,opt,name=gravatar_url,json=gravatarUrl,proto3" json:"gravatar_url,omitempty"` Locale string `protobuf:"bytes,102,opt,name=locale,proto3" json:"locale,omitempty"` TournamentTeams []*TournamentTeam `` /* 129-byte string literal not displayed */ ReceivedWhoswhoAttempts []*WhoswhoAttempt `` /* 155-byte string literal not displayed */ Members []*TeamMember `protobuf:"bytes,202,rep,name=members,proto3" json:"members,omitempty" gorm:"PRELOAD:false"` }
func (*Team) Descriptor ¶
func (*Team) GetGravatarURL ¶
func (*Team) GetMembers ¶
func (m *Team) GetMembers() []*TeamMember
func (*Team) GetReceivedWhoswhoAttempts ¶
func (m *Team) GetReceivedWhoswhoAttempts() []*WhoswhoAttempt
func (*Team) GetTournamentTeams ¶
func (m *Team) GetTournamentTeams() []*TournamentTeam
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) XXX_DiscardUnknown ¶
func (m *Team) XXX_DiscardUnknown()
func (*Team) XXX_Unmarshal ¶
type TeamList ¶
type TeamList struct {
Items []*Team `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}
func (*TeamList) Descriptor ¶
func (*TeamList) MarshalToSizedBuffer ¶
func (*TeamList) ProtoMessage ¶
func (*TeamList) ProtoMessage()
func (*TeamList) XXX_DiscardUnknown ¶
func (m *TeamList) XXX_DiscardUnknown()
func (*TeamList) XXX_Marshal ¶
func (*TeamList) XXX_Unmarshal ¶
type TeamMember ¶
type TeamMember struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Role TeamMember_Role `protobuf:"varint,100,opt,name=role,proto3,enum=pathwar.entity.TeamMember_Role" json:"role,omitempty"` User *User `protobuf:"bytes,200,opt,name=user,proto3" json:"user,omitempty" gorm:"foreignkey:UserID"` UserID string `protobuf:"bytes,201,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" sql:"not null" gorm:"index"` Team *Team `protobuf:"bytes,202,opt,name=team,proto3" json:"team,omitempty" gorm:"foreignkey:TeamID"` TeamID string `protobuf:"bytes,203,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty" sql:"not null" gorm:"index"` }
func (*TeamMember) Descriptor ¶
func (*TeamMember) Descriptor() ([]byte, []int)
func (*TeamMember) GetRole ¶
func (m *TeamMember) GetRole() TeamMember_Role
func (*TeamMember) GetTeam ¶
func (m *TeamMember) GetTeam() *Team
func (*TeamMember) GetTeamID ¶
func (m *TeamMember) GetTeamID() string
func (*TeamMember) GetUser ¶
func (m *TeamMember) GetUser() *User
func (*TeamMember) GetUserID ¶
func (m *TeamMember) GetUserID() string
func (*TeamMember) Marshal ¶
func (m *TeamMember) Marshal() (dAtA []byte, err error)
func (*TeamMember) MarshalToSizedBuffer ¶
func (m *TeamMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TeamMember) ProtoMessage ¶
func (*TeamMember) ProtoMessage()
func (*TeamMember) Reset ¶
func (m *TeamMember) Reset()
func (*TeamMember) Size ¶
func (m *TeamMember) Size() (n int)
func (*TeamMember) String ¶
func (m *TeamMember) String() string
func (*TeamMember) Unmarshal ¶
func (m *TeamMember) Unmarshal(dAtA []byte) error
func (*TeamMember) XXX_DiscardUnknown ¶
func (m *TeamMember) XXX_DiscardUnknown()
func (*TeamMember) XXX_Marshal ¶
func (m *TeamMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TeamMember) XXX_Merge ¶
func (m *TeamMember) XXX_Merge(src proto.Message)
func (*TeamMember) XXX_Size ¶
func (m *TeamMember) XXX_Size() int
func (*TeamMember) XXX_Unmarshal ¶
func (m *TeamMember) XXX_Unmarshal(b []byte) error
type TeamMember_Role ¶
type TeamMember_Role int32
const ( TeamMember_Undefined TeamMember_Role = 0 TeamMember_Owner TeamMember_Role = 1 TeamMember_Member TeamMember_Role = 2 )
func (TeamMember_Role) EnumDescriptor ¶
func (TeamMember_Role) EnumDescriptor() ([]byte, []int)
func (TeamMember_Role) String ¶
func (x TeamMember_Role) String() string
type Tournament ¶
type Tournament struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Name string `protobuf:"bytes,100,opt,name=name,proto3" json:"name,omitempty"` Status Tournament_Status `protobuf:"varint,101,opt,name=status,proto3,enum=pathwar.entity.Tournament_Status" json:"status,omitempty"` Visibility Tournament_Visibility `protobuf:"varint,102,opt,name=visibility,proto3,enum=pathwar.entity.Tournament_Visibility" json:"visibility,omitempty"` IsDefault bool `protobuf:"varint,103,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` Teams []*TournamentTeam `protobuf:"bytes,200,rep,name=teams,proto3" json:"teams,omitempty" gorm:"PRELOAD:false"` Coupons []*Coupon `protobuf:"bytes,201,rep,name=coupons,proto3" json:"coupons,omitempty" gorm:"PRELOAD:false"` }
func (*Tournament) Descriptor ¶
func (*Tournament) Descriptor() ([]byte, []int)
func (*Tournament) GetCoupons ¶
func (m *Tournament) GetCoupons() []*Coupon
func (*Tournament) GetIsDefault ¶
func (m *Tournament) GetIsDefault() bool
func (*Tournament) GetName ¶
func (m *Tournament) GetName() string
func (*Tournament) GetStatus ¶
func (m *Tournament) GetStatus() Tournament_Status
func (*Tournament) GetTeams ¶
func (m *Tournament) GetTeams() []*TournamentTeam
func (*Tournament) GetVisibility ¶
func (m *Tournament) GetVisibility() Tournament_Visibility
func (*Tournament) Marshal ¶
func (m *Tournament) Marshal() (dAtA []byte, err error)
func (*Tournament) MarshalToSizedBuffer ¶
func (m *Tournament) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Tournament) ProtoMessage ¶
func (*Tournament) ProtoMessage()
func (*Tournament) Reset ¶
func (m *Tournament) Reset()
func (*Tournament) Size ¶
func (m *Tournament) Size() (n int)
func (*Tournament) String ¶
func (m *Tournament) String() string
func (*Tournament) Unmarshal ¶
func (m *Tournament) Unmarshal(dAtA []byte) error
func (*Tournament) XXX_DiscardUnknown ¶
func (m *Tournament) XXX_DiscardUnknown()
func (*Tournament) XXX_Marshal ¶
func (m *Tournament) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Tournament) XXX_Merge ¶
func (m *Tournament) XXX_Merge(src proto.Message)
func (*Tournament) XXX_Size ¶
func (m *Tournament) XXX_Size() int
func (*Tournament) XXX_Unmarshal ¶
func (m *Tournament) XXX_Unmarshal(b []byte) error
type TournamentList ¶
type TournamentList struct {
Items []*Tournament `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}
func (*TournamentList) Descriptor ¶
func (*TournamentList) Descriptor() ([]byte, []int)
func (*TournamentList) GetItems ¶
func (m *TournamentList) GetItems() []*Tournament
func (*TournamentList) Marshal ¶
func (m *TournamentList) Marshal() (dAtA []byte, err error)
func (*TournamentList) MarshalToSizedBuffer ¶
func (m *TournamentList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TournamentList) ProtoMessage ¶
func (*TournamentList) ProtoMessage()
func (*TournamentList) Reset ¶
func (m *TournamentList) Reset()
func (*TournamentList) Size ¶
func (m *TournamentList) Size() (n int)
func (*TournamentList) String ¶
func (m *TournamentList) String() string
func (*TournamentList) Unmarshal ¶
func (m *TournamentList) Unmarshal(dAtA []byte) error
func (*TournamentList) XXX_DiscardUnknown ¶
func (m *TournamentList) XXX_DiscardUnknown()
func (*TournamentList) XXX_Marshal ¶
func (m *TournamentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TournamentList) XXX_Merge ¶
func (m *TournamentList) XXX_Merge(src proto.Message)
func (*TournamentList) XXX_Size ¶
func (m *TournamentList) XXX_Size() int
func (*TournamentList) XXX_Unmarshal ¶
func (m *TournamentList) XXX_Unmarshal(b []byte) error
type TournamentMember ¶
type TournamentMember struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Role TournamentMember_Role `protobuf:"varint,100,opt,name=role,proto3,enum=pathwar.entity.TournamentMember_Role" json:"role,omitempty"` User *User `protobuf:"bytes,200,opt,name=user,proto3" json:"user,omitempty" gorm:"foreignkey:UserID"` UserID string `protobuf:"bytes,201,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" sql:"not null" gorm:"index"` TournamentTeam *TournamentTeam `` /* 140-byte string literal not displayed */ TournamentTeamID string `` /* 141-byte string literal not displayed */ Coupons []*Coupon `protobuf:"bytes,204,rep,name=coupons,proto3" json:"coupons,omitempty" gorm:"PRELOAD:false"` Achievements []*Achievement `protobuf:"bytes,205,rep,name=achievements,proto3" json:"achievements,omitempty" gorm:"PRELOAD:false"` SentWhoswhoAttempts []*WhoswhoAttempt `` /* 143-byte string literal not displayed */ ReceivedWhoswhoAttempts []*WhoswhoAttempt `` /* 155-byte string literal not displayed */ Items []*InventoryItem `protobuf:"bytes,208,rep,name=items,proto3" json:"items,omitempty" gorm:"PRELOAD:false"` LevelValidations []*LevelValidation `` /* 132-byte string literal not displayed */ }
func (*TournamentMember) Descriptor ¶
func (*TournamentMember) Descriptor() ([]byte, []int)
func (*TournamentMember) GetAchievements ¶
func (m *TournamentMember) GetAchievements() []*Achievement
func (*TournamentMember) GetCoupons ¶
func (m *TournamentMember) GetCoupons() []*Coupon
func (*TournamentMember) GetItems ¶
func (m *TournamentMember) GetItems() []*InventoryItem
func (*TournamentMember) GetLevelValidations ¶
func (m *TournamentMember) GetLevelValidations() []*LevelValidation
func (*TournamentMember) GetReceivedWhoswhoAttempts ¶
func (m *TournamentMember) GetReceivedWhoswhoAttempts() []*WhoswhoAttempt
func (*TournamentMember) GetRole ¶
func (m *TournamentMember) GetRole() TournamentMember_Role
func (*TournamentMember) GetSentWhoswhoAttempts ¶
func (m *TournamentMember) GetSentWhoswhoAttempts() []*WhoswhoAttempt
func (*TournamentMember) GetTournamentTeam ¶
func (m *TournamentMember) GetTournamentTeam() *TournamentTeam
func (*TournamentMember) GetTournamentTeamID ¶
func (m *TournamentMember) GetTournamentTeamID() string
func (*TournamentMember) GetUser ¶
func (m *TournamentMember) GetUser() *User
func (*TournamentMember) GetUserID ¶
func (m *TournamentMember) GetUserID() string
func (*TournamentMember) Marshal ¶
func (m *TournamentMember) Marshal() (dAtA []byte, err error)
func (*TournamentMember) MarshalToSizedBuffer ¶
func (m *TournamentMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TournamentMember) ProtoMessage ¶
func (*TournamentMember) ProtoMessage()
func (*TournamentMember) Reset ¶
func (m *TournamentMember) Reset()
func (*TournamentMember) Size ¶
func (m *TournamentMember) Size() (n int)
func (*TournamentMember) String ¶
func (m *TournamentMember) String() string
func (*TournamentMember) Unmarshal ¶
func (m *TournamentMember) Unmarshal(dAtA []byte) error
func (*TournamentMember) XXX_DiscardUnknown ¶
func (m *TournamentMember) XXX_DiscardUnknown()
func (*TournamentMember) XXX_Marshal ¶
func (m *TournamentMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TournamentMember) XXX_Merge ¶
func (m *TournamentMember) XXX_Merge(src proto.Message)
func (*TournamentMember) XXX_Size ¶
func (m *TournamentMember) XXX_Size() int
func (*TournamentMember) XXX_Unmarshal ¶
func (m *TournamentMember) XXX_Unmarshal(b []byte) error
type TournamentMember_Role ¶
type TournamentMember_Role int32
const ( TournamentMember_Undefined TournamentMember_Role = 0 TournamentMember_Owner TournamentMember_Role = 1 TournamentMember_Member TournamentMember_Role = 2 )
func (TournamentMember_Role) EnumDescriptor ¶
func (TournamentMember_Role) EnumDescriptor() ([]byte, []int)
func (TournamentMember_Role) String ¶
func (x TournamentMember_Role) String() string
type TournamentTeam ¶
type TournamentTeam struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` IsDefault bool `protobuf:"varint,100,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` Tournament *Tournament `protobuf:"bytes,200,opt,name=tournament,proto3" json:"tournament,omitempty" gorm:"foreignkey:TournamentID"` TournamentID string `` /* 127-byte string literal not displayed */ Team *Team `protobuf:"bytes,202,opt,name=team,proto3" json:"team,omitempty" gorm:"foreignkey:TeamID"` TeamID string `protobuf:"bytes,203,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty" sql:"not null" gorm:"index"` LevelSubscriptions []*LevelSubscription `` /* 138-byte string literal not displayed */ Members []*TournamentMember `protobuf:"bytes,206,rep,name=members,proto3" json:"members,omitempty" gorm:"PRELOAD:false"` }
func (*TournamentTeam) Descriptor ¶
func (*TournamentTeam) Descriptor() ([]byte, []int)
func (*TournamentTeam) GetIsDefault ¶
func (m *TournamentTeam) GetIsDefault() bool
func (*TournamentTeam) GetLevelSubscriptions ¶
func (m *TournamentTeam) GetLevelSubscriptions() []*LevelSubscription
func (*TournamentTeam) GetMembers ¶
func (m *TournamentTeam) GetMembers() []*TournamentMember
func (*TournamentTeam) GetTeam ¶
func (m *TournamentTeam) GetTeam() *Team
func (*TournamentTeam) GetTeamID ¶
func (m *TournamentTeam) GetTeamID() string
func (*TournamentTeam) GetTournament ¶
func (m *TournamentTeam) GetTournament() *Tournament
func (*TournamentTeam) GetTournamentID ¶
func (m *TournamentTeam) GetTournamentID() string
func (*TournamentTeam) Marshal ¶
func (m *TournamentTeam) Marshal() (dAtA []byte, err error)
func (*TournamentTeam) MarshalToSizedBuffer ¶
func (m *TournamentTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TournamentTeam) ProtoMessage ¶
func (*TournamentTeam) ProtoMessage()
func (*TournamentTeam) Reset ¶
func (m *TournamentTeam) Reset()
func (*TournamentTeam) Size ¶
func (m *TournamentTeam) Size() (n int)
func (*TournamentTeam) String ¶
func (m *TournamentTeam) String() string
func (*TournamentTeam) Unmarshal ¶
func (m *TournamentTeam) Unmarshal(dAtA []byte) error
func (*TournamentTeam) XXX_DiscardUnknown ¶
func (m *TournamentTeam) XXX_DiscardUnknown()
func (*TournamentTeam) XXX_Marshal ¶
func (m *TournamentTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TournamentTeam) XXX_Merge ¶
func (m *TournamentTeam) XXX_Merge(src proto.Message)
func (*TournamentTeam) XXX_Size ¶
func (m *TournamentTeam) XXX_Size() int
func (*TournamentTeam) XXX_Unmarshal ¶
func (m *TournamentTeam) XXX_Unmarshal(b []byte) error
type Tournament_Status ¶
type Tournament_Status int32
const ( Tournament_UnknownStatus Tournament_Status = 0 Tournament_Started Tournament_Status = 1 Tournament_Stopped Tournament_Status = 2 )
func (Tournament_Status) EnumDescriptor ¶
func (Tournament_Status) EnumDescriptor() ([]byte, []int)
func (Tournament_Status) String ¶
func (x Tournament_Status) String() string
type Tournament_Visibility ¶
type Tournament_Visibility int32
const ( Tournament_UnknownVisibility Tournament_Visibility = 0 Tournament_Private Tournament_Visibility = 1 Tournament_Unlisted Tournament_Visibility = 2 Tournament_Public Tournament_Visibility = 3 )
func (Tournament_Visibility) EnumDescriptor ¶
func (Tournament_Visibility) EnumDescriptor() ([]byte, []int)
func (Tournament_Visibility) String ¶
func (x Tournament_Visibility) String() string
type User ¶
type User struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` Username string `protobuf:"bytes,100,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,101,opt,name=email,proto3" json:"email,omitempty"` GravatarURL string `protobuf:"bytes,102,opt,name=gravatar_url,json=gravatarUrl,proto3" json:"gravatar_url,omitempty"` WebsiteURL string `protobuf:"bytes,103,opt,name=website_url,json=websiteUrl,proto3" json:"website_url,omitempty"` Locale string `protobuf:"bytes,104,opt,name=locale,proto3" json:"locale,omitempty"` TournamentMemberships []*TournamentMember `` /* 147-byte string literal not displayed */ Notifications []*Notification `protobuf:"bytes,201,rep,name=notifications,proto3" json:"notifications,omitempty" gorm:"PRELOAD:false"` Memberships []*TeamMember `protobuf:"bytes,202,rep,name=memberships,proto3" json:"memberships,omitempty" gorm:"PRELOAD:false"` ActiveTournamentMember *TournamentMember `` /* 188-byte string literal not displayed */ ActiveTournamentMemberID string `` /* 167-byte string literal not displayed */ }
User defines a User Account / Profile
func (*User) Descriptor ¶
func (*User) GetActiveTournamentMember ¶
func (m *User) GetActiveTournamentMember() *TournamentMember
func (*User) GetActiveTournamentMemberID ¶
func (*User) GetGravatarURL ¶
func (*User) GetMemberships ¶
func (m *User) GetMemberships() []*TeamMember
func (*User) GetNotifications ¶
func (m *User) GetNotifications() []*Notification
func (*User) GetTournamentMemberships ¶
func (m *User) GetTournamentMemberships() []*TournamentMember
func (*User) GetUsername ¶
func (*User) GetWebsiteURL ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserList ¶
type UserList struct {
Items []*User `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}
func (*UserList) Descriptor ¶
func (*UserList) MarshalToSizedBuffer ¶
func (*UserList) ProtoMessage ¶
func (*UserList) ProtoMessage()
func (*UserList) XXX_DiscardUnknown ¶
func (m *UserList) XXX_DiscardUnknown()
func (*UserList) XXX_Marshal ¶
func (*UserList) XXX_Unmarshal ¶
type WhoswhoAttempt ¶
type WhoswhoAttempt struct { Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,embedded=metadata" json:"metadata"` // // fields // Success bool `protobuf:"varint,100,opt,name=success,proto3" json:"success,omitempty"` // // associations // Author *TournamentMember `protobuf:"bytes,200,opt,name=author,proto3" json:"author,omitempty" sql:"not null" gorm:"foreignkey:AuthorID"` AuthorID string `protobuf:"bytes,201,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty" sql:"not null" gorm:"index"` TargetMember *TournamentMember `` /* 147-byte string literal not displayed */ TargetMemberID string `` /* 135-byte string literal not displayed */ TargetTeam *TournamentTeam `` /* 139-byte string literal not displayed */ TargetTeamID string `` /* 129-byte string literal not displayed */ }
func (*WhoswhoAttempt) Descriptor ¶
func (*WhoswhoAttempt) Descriptor() ([]byte, []int)
func (*WhoswhoAttempt) GetAuthor ¶
func (m *WhoswhoAttempt) GetAuthor() *TournamentMember
func (*WhoswhoAttempt) GetAuthorID ¶
func (m *WhoswhoAttempt) GetAuthorID() string
func (*WhoswhoAttempt) GetSuccess ¶
func (m *WhoswhoAttempt) GetSuccess() bool
func (*WhoswhoAttempt) GetTargetMember ¶
func (m *WhoswhoAttempt) GetTargetMember() *TournamentMember
func (*WhoswhoAttempt) GetTargetMemberID ¶
func (m *WhoswhoAttempt) GetTargetMemberID() string
func (*WhoswhoAttempt) GetTargetTeam ¶
func (m *WhoswhoAttempt) GetTargetTeam() *TournamentTeam
func (*WhoswhoAttempt) GetTargetTeamID ¶
func (m *WhoswhoAttempt) GetTargetTeamID() string
func (*WhoswhoAttempt) Marshal ¶
func (m *WhoswhoAttempt) Marshal() (dAtA []byte, err error)
func (*WhoswhoAttempt) MarshalToSizedBuffer ¶
func (m *WhoswhoAttempt) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WhoswhoAttempt) ProtoMessage ¶
func (*WhoswhoAttempt) ProtoMessage()
func (*WhoswhoAttempt) Reset ¶
func (m *WhoswhoAttempt) Reset()
func (*WhoswhoAttempt) Size ¶
func (m *WhoswhoAttempt) Size() (n int)
func (*WhoswhoAttempt) String ¶
func (m *WhoswhoAttempt) String() string
func (*WhoswhoAttempt) Unmarshal ¶
func (m *WhoswhoAttempt) Unmarshal(dAtA []byte) error
func (*WhoswhoAttempt) XXX_DiscardUnknown ¶
func (m *WhoswhoAttempt) XXX_DiscardUnknown()
func (*WhoswhoAttempt) XXX_Marshal ¶
func (m *WhoswhoAttempt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhoswhoAttempt) XXX_Merge ¶
func (m *WhoswhoAttempt) XXX_Merge(src proto.Message)
func (*WhoswhoAttempt) XXX_Size ¶
func (m *WhoswhoAttempt) XXX_Size() int
func (*WhoswhoAttempt) XXX_Unmarshal ¶
func (m *WhoswhoAttempt) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.