entity

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 All

func All() []interface{}

func AllMap

func AllMap() map[string]interface{}

func ByName

func ByName(name string) interface{}

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

func (m *Achievement) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Coupon) GetHash

func (m *Coupon) GetHash() string

func (*Coupon) GetMaxValidationCount

func (m *Coupon) GetMaxValidationCount() int32

func (*Coupon) GetTournament

func (m *Coupon) GetTournament() *Tournament

func (*Coupon) GetTournamentID

func (m *Coupon) GetTournamentID() string

func (*Coupon) GetValidations

func (m *Coupon) GetValidations() []*CouponValidation

func (*Coupon) GetValue

func (m *Coupon) GetValue() int32

func (*Coupon) Marshal

func (m *Coupon) Marshal() (dAtA []byte, err error)

func (*Coupon) MarshalTo

func (m *Coupon) MarshalTo(dAtA []byte) (int, error)

func (*Coupon) MarshalToSizedBuffer

func (m *Coupon) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Coupon) ProtoMessage

func (*Coupon) ProtoMessage()

func (*Coupon) Reset

func (m *Coupon) Reset()

func (*Coupon) Size

func (m *Coupon) Size() (n int)

func (*Coupon) String

func (m *Coupon) String() string

func (*Coupon) Unmarshal

func (m *Coupon) Unmarshal(dAtA []byte) error

func (*Coupon) XXX_DiscardUnknown

func (m *Coupon) XXX_DiscardUnknown()

func (*Coupon) XXX_Marshal

func (m *Coupon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Coupon) XXX_Merge

func (m *Coupon) XXX_Merge(src proto.Message)

func (*Coupon) XXX_Size

func (m *Coupon) XXX_Size() int

func (*Coupon) XXX_Unmarshal

func (m *Coupon) XXX_Unmarshal(b []byte) error

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

func (m *CouponValidation) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Dump) GetAchievements

func (m *Dump) GetAchievements() []*Achievement

func (*Dump) GetCouponValidations

func (m *Dump) GetCouponValidations() []*CouponValidation

func (*Dump) GetCoupons

func (m *Dump) GetCoupons() []*Coupon

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

func (m *Dump) GetLevels() []*Level

func (*Dump) GetNotifications

func (m *Dump) GetNotifications() []*Notification

func (*Dump) GetTeamMembers

func (m *Dump) GetTeamMembers() []*TeamMember

func (*Dump) GetTeams

func (m *Dump) GetTeams() []*Team

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

func (m *Dump) GetUsers() []*User

func (*Dump) GetWhoswhoAttempts

func (m *Dump) GetWhoswhoAttempts() []*WhoswhoAttempt

func (*Dump) Marshal

func (m *Dump) Marshal() (dAtA []byte, err error)

func (*Dump) MarshalTo

func (m *Dump) MarshalTo(dAtA []byte) (int, error)

func (*Dump) MarshalToSizedBuffer

func (m *Dump) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dump) ProtoMessage

func (*Dump) ProtoMessage()

func (*Dump) Reset

func (m *Dump) Reset()

func (*Dump) Size

func (m *Dump) Size() (n int)

func (*Dump) String

func (m *Dump) String() string

func (*Dump) Unmarshal

func (m *Dump) Unmarshal(dAtA []byte) error

func (*Dump) XXX_DiscardUnknown

func (m *Dump) XXX_DiscardUnknown()

func (*Dump) XXX_Marshal

func (m *Dump) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dump) XXX_Merge

func (m *Dump) XXX_Merge(src proto.Message)

func (*Dump) XXX_Size

func (m *Dump) XXX_Size() int

func (*Dump) XXX_Unmarshal

func (m *Dump) XXX_Unmarshal(b []byte) error

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

func (m *Hypervisor) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Info) GetBuiltAt

func (m *Info) GetBuiltAt() string

func (*Info) GetBuiltBy

func (m *Info) GetBuiltBy() string

func (*Info) GetCommit

func (m *Info) GetCommit() string

func (*Info) GetUptime

func (m *Info) GetUptime() int32

func (*Info) GetVersion

func (m *Info) GetVersion() string

func (*Info) Marshal

func (m *Info) Marshal() (dAtA []byte, err error)

func (*Info) MarshalTo

func (m *Info) MarshalTo(dAtA []byte) (int, error)

func (*Info) MarshalToSizedBuffer

func (m *Info) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) Size

func (m *Info) Size() (n int)

func (*Info) String

func (m *Info) String() string

func (*Info) Unmarshal

func (m *Info) Unmarshal(dAtA []byte) error

func (*Info) XXX_DiscardUnknown

func (m *Info) XXX_DiscardUnknown()

func (*Info) XXX_Marshal

func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Info) XXX_Merge

func (m *Info) XXX_Merge(src proto.Message)

func (*Info) XXX_Size

func (m *Info) XXX_Size() int

func (*Info) XXX_Unmarshal

func (m *Info) XXX_Unmarshal(b []byte) error

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

func (m *InventoryItem) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Level) GetAuthor

func (m *Level) GetAuthor() string

func (*Level) GetDescription

func (m *Level) GetDescription() string

func (*Level) GetHomepage

func (m *Level) GetHomepage() string

func (*Level) GetIsDraft

func (m *Level) GetIsDraft() bool

func (*Level) GetLocale

func (m *Level) GetLocale() string

func (*Level) GetName

func (m *Level) GetName() string

func (*Level) GetPreviewUrl

func (m *Level) GetPreviewUrl() string

func (*Level) GetVersions

func (m *Level) GetVersions() []*LevelVersion

func (*Level) Marshal

func (m *Level) Marshal() (dAtA []byte, err error)

func (*Level) MarshalTo

func (m *Level) MarshalTo(dAtA []byte) (int, error)

func (*Level) MarshalToSizedBuffer

func (m *Level) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Level) ProtoMessage

func (*Level) ProtoMessage()

func (*Level) Reset

func (m *Level) Reset()

func (*Level) Size

func (m *Level) Size() (n int)

func (*Level) String

func (m *Level) String() string

func (*Level) Unmarshal

func (m *Level) Unmarshal(dAtA []byte) error

func (*Level) XXX_DiscardUnknown

func (m *Level) XXX_DiscardUnknown()

func (*Level) XXX_Marshal

func (m *Level) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Level) XXX_Merge

func (m *Level) XXX_Merge(src proto.Message)

func (*Level) XXX_Size

func (m *Level) XXX_Size() int

func (*Level) XXX_Unmarshal

func (m *Level) XXX_Unmarshal(b []byte) error

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

func (m *LevelFlavor) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *LevelInstance) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*LevelList) GetItems

func (m *LevelList) GetItems() []*Level

func (*LevelList) Marshal

func (m *LevelList) Marshal() (dAtA []byte, err error)

func (*LevelList) MarshalTo

func (m *LevelList) MarshalTo(dAtA []byte) (int, error)

func (*LevelList) MarshalToSizedBuffer

func (m *LevelList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LevelList) ProtoMessage

func (*LevelList) ProtoMessage()

func (*LevelList) Reset

func (m *LevelList) Reset()

func (*LevelList) Size

func (m *LevelList) Size() (n int)

func (*LevelList) String

func (m *LevelList) String() string

func (*LevelList) Unmarshal

func (m *LevelList) Unmarshal(dAtA []byte) error

func (*LevelList) XXX_DiscardUnknown

func (m *LevelList) XXX_DiscardUnknown()

func (*LevelList) XXX_Marshal

func (m *LevelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LevelList) XXX_Merge

func (m *LevelList) XXX_Merge(src proto.Message)

func (*LevelList) XXX_Size

func (m *LevelList) XXX_Size() int

func (*LevelList) XXX_Unmarshal

func (m *LevelList) XXX_Unmarshal(b []byte) error

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

func (m *LevelValidation) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *LevelVersion) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Metadata) GetCreatedAt

func (m *Metadata) GetCreatedAt() *time.Time

func (*Metadata) GetID

func (m *Metadata) GetID() string

func (*Metadata) GetUpdatedAt

func (m *Metadata) GetUpdatedAt() *time.Time

func (*Metadata) Marshal

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

func (m *Metadata) Size() (n int)

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Unmarshal

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

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

func (m *Notification) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Status) GetEverythingIsOK

func (m *Status) GetEverythingIsOK() bool

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) MarshalToSizedBuffer

func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

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

func (*Team) GetGravatarURL

func (m *Team) GetGravatarURL() string

func (*Team) GetLocale

func (m *Team) GetLocale() string

func (*Team) GetMembers

func (m *Team) GetMembers() []*TeamMember

func (*Team) GetName

func (m *Team) GetName() string

func (*Team) GetReceivedWhoswhoAttempts

func (m *Team) GetReceivedWhoswhoAttempts() []*WhoswhoAttempt

func (*Team) GetTournamentTeams

func (m *Team) GetTournamentTeams() []*TournamentTeam

func (*Team) Marshal

func (m *Team) Marshal() (dAtA []byte, err error)

func (*Team) MarshalTo

func (m *Team) MarshalTo(dAtA []byte) (int, error)

func (*Team) MarshalToSizedBuffer

func (m *Team) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) Reset

func (m *Team) Reset()

func (*Team) Size

func (m *Team) Size() (n int)

func (*Team) String

func (m *Team) String() string

func (*Team) Unmarshal

func (m *Team) Unmarshal(dAtA []byte) error

func (*Team) XXX_DiscardUnknown

func (m *Team) XXX_DiscardUnknown()

func (*Team) XXX_Marshal

func (m *Team) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Team) XXX_Merge

func (m *Team) XXX_Merge(src proto.Message)

func (*Team) XXX_Size

func (m *Team) XXX_Size() int

func (*Team) XXX_Unmarshal

func (m *Team) XXX_Unmarshal(b []byte) error

type TeamList

type TeamList struct {
	Items []*Team `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}

func (*TeamList) Descriptor

func (*TeamList) Descriptor() ([]byte, []int)

func (*TeamList) GetItems

func (m *TeamList) GetItems() []*Team

func (*TeamList) Marshal

func (m *TeamList) Marshal() (dAtA []byte, err error)

func (*TeamList) MarshalTo

func (m *TeamList) MarshalTo(dAtA []byte) (int, error)

func (*TeamList) MarshalToSizedBuffer

func (m *TeamList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TeamList) ProtoMessage

func (*TeamList) ProtoMessage()

func (*TeamList) Reset

func (m *TeamList) Reset()

func (*TeamList) Size

func (m *TeamList) Size() (n int)

func (*TeamList) String

func (m *TeamList) String() string

func (*TeamList) Unmarshal

func (m *TeamList) Unmarshal(dAtA []byte) error

func (*TeamList) XXX_DiscardUnknown

func (m *TeamList) XXX_DiscardUnknown()

func (*TeamList) XXX_Marshal

func (m *TeamList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeamList) XXX_Merge

func (m *TeamList) XXX_Merge(src proto.Message)

func (*TeamList) XXX_Size

func (m *TeamList) XXX_Size() int

func (*TeamList) XXX_Unmarshal

func (m *TeamList) XXX_Unmarshal(b []byte) error

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

func (m *TeamMember) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *Tournament) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *TournamentList) MarshalTo(dAtA []byte) (int, 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 (*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) MarshalTo

func (m *TournamentMember) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *TournamentTeam) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*User) GetActiveTournamentMember

func (m *User) GetActiveTournamentMember() *TournamentMember

func (*User) GetActiveTournamentMemberID

func (m *User) GetActiveTournamentMemberID() string

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetGravatarURL

func (m *User) GetGravatarURL() string

func (*User) GetLocale

func (m *User) GetLocale() string

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 (m *User) GetUsername() string

func (*User) GetWebsiteURL

func (m *User) GetWebsiteURL() string

func (*User) Marshal

func (m *User) Marshal() (dAtA []byte, err error)

func (*User) MarshalTo

func (m *User) MarshalTo(dAtA []byte) (int, error)

func (*User) MarshalToSizedBuffer

func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) Size

func (m *User) Size() (n int)

func (*User) String

func (m *User) String() string

func (*User) Unmarshal

func (m *User) Unmarshal(dAtA []byte) error

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

type UserList

type UserList struct {
	Items []*User `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}

func (*UserList) Descriptor

func (*UserList) Descriptor() ([]byte, []int)

func (*UserList) GetItems

func (m *UserList) GetItems() []*User

func (*UserList) Marshal

func (m *UserList) Marshal() (dAtA []byte, err error)

func (*UserList) MarshalTo

func (m *UserList) MarshalTo(dAtA []byte) (int, error)

func (*UserList) MarshalToSizedBuffer

func (m *UserList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserList) ProtoMessage

func (*UserList) ProtoMessage()

func (*UserList) Reset

func (m *UserList) Reset()

func (*UserList) Size

func (m *UserList) Size() (n int)

func (*UserList) String

func (m *UserList) String() string

func (*UserList) Unmarshal

func (m *UserList) Unmarshal(dAtA []byte) error

func (*UserList) XXX_DiscardUnknown

func (m *UserList) XXX_DiscardUnknown()

func (*UserList) XXX_Marshal

func (m *UserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserList) XXX_Merge

func (m *UserList) XXX_Merge(src proto.Message)

func (*UserList) XXX_Size

func (m *UserList) XXX_Size() int

func (*UserList) XXX_Unmarshal

func (m *UserList) XXX_Unmarshal(b []byte) error

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

func (m *WhoswhoAttempt) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

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