Documentation
¶
Index ¶
- Variables
- type Branch
- type Defaults
- func (*Defaults) Descriptor() ([]byte, []int)deprecated
- func (x *Defaults) GetAllowAutoMerge() bool
- func (x *Defaults) GetAutoDeleteHeadBranches() bool
- func (x *Defaults) GetDefaultBranch() string
- func (x *Defaults) GetPermissions() map[string]*TeamPermissions
- func (x *Defaults) GetPrivate() bool
- func (x *Defaults) GetProtectedBranches() []*Branch
- func (*Defaults) ProtoMessage()
- func (x *Defaults) ProtoReflect() protoreflect.Message
- func (x *Defaults) Reset()
- func (x *Defaults) String() string
- type OrgPermissions
- func (*OrgPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *OrgPermissions) GetBasePermissions() string
- func (x *OrgPermissions) GetCreatePrivateRepos() bool
- func (x *OrgPermissions) GetCreatePublicRepos() bool
- func (*OrgPermissions) ProtoMessage()
- func (x *OrgPermissions) ProtoReflect() protoreflect.Message
- func (x *OrgPermissions) Reset()
- func (x *OrgPermissions) String() string
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetDefaults() *Defaults
- func (x *Organization) GetLabels() []string
- func (x *Organization) GetName() string
- func (x *Organization) GetPeople() []*People
- func (x *Organization) GetPermissions() *OrgPermissions
- func (x *Organization) GetRepositories() []*Repository
- func (x *Organization) GetTeams() []string
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type People
- func (*People) Descriptor() ([]byte, []int)deprecated
- func (x *People) GetName() string
- func (x *People) GetTeams() []string
- func (x *People) GetUsername() string
- func (*People) ProtoMessage()
- func (x *People) ProtoReflect() protoreflect.Message
- func (x *People) Reset()
- func (x *People) String() string
- type Protection
- func (*Protection) Descriptor() ([]byte, []int)deprecated
- func (x *Protection) GetChecksMustPass() bool
- func (x *Protection) GetRequirePr() bool
- func (x *Protection) GetRequiredChecks() []string
- func (x *Protection) GetSignedCommits() bool
- func (*Protection) ProtoMessage()
- func (x *Protection) ProtoReflect() protoreflect.Message
- func (x *Protection) Reset()
- func (x *Protection) String() string
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetAllowAutoMerge() bool
- func (x *Repository) GetArchived() bool
- func (x *Repository) GetAutoDeleteHeadBranches() bool
- func (x *Repository) GetDefaultBranch() string
- func (x *Repository) GetDescription() string
- func (x *Repository) GetLabels() []string
- func (x *Repository) GetName() string
- func (x *Repository) GetPermissions() map[string]*TeamPermissions
- func (x *Repository) GetPrivate() bool
- func (x *Repository) GetProtectedBranches() []*Branch
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type TeamPermissions
Constants ¶
This section is empty.
Variables ¶
View Source
var File_concord_github_v1_github_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Branch ¶
type Branch struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Protection *Protection `protobuf:"bytes,2,opt,name=protection,proto3" json:"protection,omitempty"`
// contains filtered or unexported fields
}
func (*Branch) Descriptor
deprecated
func (*Branch) GetProtection ¶
func (x *Branch) GetProtection() *Protection
func (*Branch) ProtoMessage ¶
func (*Branch) ProtoMessage()
func (*Branch) ProtoReflect ¶
func (x *Branch) ProtoReflect() protoreflect.Message
type Defaults ¶
type Defaults struct {
Private *bool `protobuf:"varint,1,opt,name=private,proto3,oneof" json:"private,omitempty"`
DefaultBranch *string `protobuf:"bytes,2,opt,name=default_branch,json=defaultBranch,proto3,oneof" json:"default_branch,omitempty"`
AllowAutoMerge *bool `protobuf:"varint,3,opt,name=allow_auto_merge,json=allowAutoMerge,proto3,oneof" json:"allow_auto_merge,omitempty"`
AutoDeleteHeadBranches *bool `` /* 138-byte string literal not displayed */
ProtectedBranches []*Branch `protobuf:"bytes,5,rep,name=protected_branches,json=protectedBranches,proto3" json:"protected_branches,omitempty"`
Permissions map[string]*TeamPermissions `` /* 163-byte string literal not displayed */
// contains filtered or unexported fields
}
Defaults are overriden by the same settings specified in the repository
func (*Defaults) Descriptor
deprecated
func (*Defaults) GetAllowAutoMerge ¶
func (*Defaults) GetAutoDeleteHeadBranches ¶
func (*Defaults) GetDefaultBranch ¶
func (*Defaults) GetPermissions ¶
func (x *Defaults) GetPermissions() map[string]*TeamPermissions
func (*Defaults) GetPrivate ¶
func (*Defaults) GetProtectedBranches ¶
func (*Defaults) ProtoMessage ¶
func (*Defaults) ProtoMessage()
func (*Defaults) ProtoReflect ¶
func (x *Defaults) ProtoReflect() protoreflect.Message
type OrgPermissions ¶
type OrgPermissions struct {
BasePermissions *string `protobuf:"bytes,1,opt,name=base_permissions,json=basePermissions,proto3,oneof" json:"base_permissions,omitempty"`
CreatePrivateRepos *bool `protobuf:"varint,2,opt,name=create_private_repos,json=createPrivateRepos,proto3,oneof" json:"create_private_repos,omitempty"`
CreatePublicRepos *bool `protobuf:"varint,3,opt,name=create_public_repos,json=createPublicRepos,proto3,oneof" json:"create_public_repos,omitempty"`
// contains filtered or unexported fields
}
func (*OrgPermissions) Descriptor
deprecated
func (*OrgPermissions) Descriptor() ([]byte, []int)
Deprecated: Use OrgPermissions.ProtoReflect.Descriptor instead.
func (*OrgPermissions) GetBasePermissions ¶
func (x *OrgPermissions) GetBasePermissions() string
func (*OrgPermissions) GetCreatePrivateRepos ¶
func (x *OrgPermissions) GetCreatePrivateRepos() bool
func (*OrgPermissions) GetCreatePublicRepos ¶
func (x *OrgPermissions) GetCreatePublicRepos() bool
func (*OrgPermissions) ProtoMessage ¶
func (*OrgPermissions) ProtoMessage()
func (*OrgPermissions) ProtoReflect ¶
func (x *OrgPermissions) ProtoReflect() protoreflect.Message
func (*OrgPermissions) Reset ¶
func (x *OrgPermissions) Reset()
func (*OrgPermissions) String ¶
func (x *OrgPermissions) String() string
type Organization ¶
type Organization struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Defaults *Defaults `protobuf:"bytes,2,opt,name=defaults,proto3" json:"defaults,omitempty"`
Permissions *OrgPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"`
Teams []string `protobuf:"bytes,10,rep,name=teams,proto3" json:"teams,omitempty"`
People []*People `protobuf:"bytes,11,rep,name=people,proto3" json:"people,omitempty"`
Repositories []*Repository `protobuf:"bytes,12,rep,name=repositories,proto3" json:"repositories,omitempty"`
Labels []string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty"`
// contains filtered or unexported fields
}
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetDefaults ¶
func (x *Organization) GetDefaults() *Defaults
func (*Organization) GetLabels ¶
func (x *Organization) GetLabels() []string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetPeople ¶
func (x *Organization) GetPeople() []*People
func (*Organization) GetPermissions ¶
func (x *Organization) GetPermissions() *OrgPermissions
func (*Organization) GetRepositories ¶
func (x *Organization) GetRepositories() []*Repository
func (*Organization) GetTeams ¶
func (x *Organization) GetTeams() []string
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type People ¶
type People struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Teams []string `protobuf:"bytes,10,rep,name=teams,proto3" json:"teams,omitempty"`
// contains filtered or unexported fields
}
func (*People) Descriptor
deprecated
func (*People) GetUsername ¶
func (*People) ProtoMessage ¶
func (*People) ProtoMessage()
func (*People) ProtoReflect ¶
func (x *People) ProtoReflect() protoreflect.Message
type Protection ¶
type Protection struct {
RequirePr *bool `protobuf:"varint,1,opt,name=require_pr,json=requirePr,proto3,oneof" json:"require_pr,omitempty"`
ChecksMustPass *bool `protobuf:"varint,2,opt,name=checks_must_pass,json=checksMustPass,proto3,oneof" json:"checks_must_pass,omitempty"`
SignedCommits *bool `protobuf:"varint,3,opt,name=signed_commits,json=signedCommits,proto3,oneof" json:"signed_commits,omitempty"`
RequiredChecks []string `protobuf:"bytes,10,rep,name=required_checks,json=requiredChecks,proto3" json:"required_checks,omitempty"`
// contains filtered or unexported fields
}
func (*Protection) Descriptor
deprecated
func (*Protection) Descriptor() ([]byte, []int)
Deprecated: Use Protection.ProtoReflect.Descriptor instead.
func (*Protection) GetChecksMustPass ¶
func (x *Protection) GetChecksMustPass() bool
func (*Protection) GetRequirePr ¶
func (x *Protection) GetRequirePr() bool
func (*Protection) GetRequiredChecks ¶
func (x *Protection) GetRequiredChecks() []string
func (*Protection) GetSignedCommits ¶
func (x *Protection) GetSignedCommits() bool
func (*Protection) ProtoMessage ¶
func (*Protection) ProtoMessage()
func (*Protection) ProtoReflect ¶
func (x *Protection) ProtoReflect() protoreflect.Message
func (*Protection) Reset ¶
func (x *Protection) Reset()
func (*Protection) String ¶
func (x *Protection) String() string
type Repository ¶
type Repository struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
Archived *bool `protobuf:"varint,3,opt,name=archived,proto3,oneof" json:"archived,omitempty"`
Labels []string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
// Overrides defaults
Private *bool `protobuf:"varint,10,opt,name=private,proto3,oneof" json:"private,omitempty"`
DefaultBranch *string `protobuf:"bytes,11,opt,name=default_branch,json=defaultBranch,proto3,oneof" json:"default_branch,omitempty"`
AllowAutoMerge *bool `protobuf:"varint,12,opt,name=allow_auto_merge,json=allowAutoMerge,proto3,oneof" json:"allow_auto_merge,omitempty"`
AutoDeleteHeadBranches *bool `` /* 139-byte string literal not displayed */
ProtectedBranches []*Branch `protobuf:"bytes,14,rep,name=protected_branches,json=protectedBranches,proto3" json:"protected_branches,omitempty"`
Permissions map[string]*TeamPermissions `` /* 164-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetAllowAutoMerge ¶
func (x *Repository) GetAllowAutoMerge() bool
func (*Repository) GetArchived ¶
func (x *Repository) GetArchived() bool
func (*Repository) GetAutoDeleteHeadBranches ¶
func (x *Repository) GetAutoDeleteHeadBranches() bool
func (*Repository) GetDefaultBranch ¶
func (x *Repository) GetDefaultBranch() string
func (*Repository) GetDescription ¶
func (x *Repository) GetDescription() string
func (*Repository) GetLabels ¶
func (x *Repository) GetLabels() []string
func (*Repository) GetName ¶
func (x *Repository) GetName() string
func (*Repository) GetPermissions ¶
func (x *Repository) GetPermissions() map[string]*TeamPermissions
func (*Repository) GetPrivate ¶
func (x *Repository) GetPrivate() bool
func (*Repository) GetProtectedBranches ¶
func (x *Repository) GetProtectedBranches() []*Branch
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶
func (x *Repository) Reset()
func (*Repository) String ¶
func (x *Repository) String() string
type TeamPermissions ¶
type TeamPermissions struct {
Teams []string `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"`
// contains filtered or unexported fields
}
func (*TeamPermissions) Descriptor
deprecated
func (*TeamPermissions) Descriptor() ([]byte, []int)
Deprecated: Use TeamPermissions.ProtoReflect.Descriptor instead.
func (*TeamPermissions) GetTeams ¶
func (x *TeamPermissions) GetTeams() []string
func (*TeamPermissions) ProtoMessage ¶
func (*TeamPermissions) ProtoMessage()
func (*TeamPermissions) ProtoReflect ¶
func (x *TeamPermissions) ProtoReflect() protoreflect.Message
func (*TeamPermissions) Reset ¶
func (x *TeamPermissions) Reset()
func (*TeamPermissions) String ¶
func (x *TeamPermissions) String() string
Click to show internal directories.
Click to hide internal directories.