Documentation ¶
Index ¶
- type CollaboratorDetails
- type Error
- type Health
- type Repositories
- type Repository
- type RepositoryDetails
- type RepositoryDetailsCollaboratorsItems0
- func (m *RepositoryDetailsCollaboratorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RepositoryDetailsCollaboratorsItems0) MarshalBinary() ([]byte, error)
- func (m *RepositoryDetailsCollaboratorsItems0) UnmarshalBinary(b []byte) error
- func (m *RepositoryDetailsCollaboratorsItems0) Validate(formats strfmt.Registry) error
- type RepositoryDetailsTeamsItems0
- func (m *RepositoryDetailsTeamsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RepositoryDetailsTeamsItems0) MarshalBinary() ([]byte, error)
- func (m *RepositoryDetailsTeamsItems0) UnmarshalBinary(b []byte) error
- func (m *RepositoryDetailsTeamsItems0) Validate(formats strfmt.Registry) error
- type Statistics
- type Status
- type Team
- type TeamDetails
- type TeamDetailsMembersItems0
- func (m *TeamDetailsMembersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TeamDetailsMembersItems0) MarshalBinary() ([]byte, error)
- func (m *TeamDetailsMembersItems0) UnmarshalBinary(b []byte) error
- func (m *TeamDetailsMembersItems0) Validate(formats strfmt.Registry) error
- type TeamDetailsOwnersItems0
- func (m *TeamDetailsOwnersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TeamDetailsOwnersItems0) MarshalBinary() ([]byte, error)
- func (m *TeamDetailsOwnersItems0) UnmarshalBinary(b []byte) error
- func (m *TeamDetailsOwnersItems0) Validate(formats strfmt.Registry) error
- type Teams
- type Unmanaged
- type User
- type UserDetails
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollaboratorDetails ¶ added in v0.2.2
type CollaboratorDetails struct { // githubid Githubid string `json:"githubid,omitempty"` // repositories Repositories []*Repository `json:"repositories"` }
CollaboratorDetails collaborator details
swagger:model collaboratorDetails
func (*CollaboratorDetails) ContextValidate ¶ added in v0.2.2
ContextValidate validate this collaborator details based on the context it is used
func (*CollaboratorDetails) MarshalBinary ¶ added in v0.2.2
func (m *CollaboratorDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CollaboratorDetails) UnmarshalBinary ¶ added in v0.2.2
func (m *CollaboratorDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // message // Required: true // Min Length: 1 Message *string `json:"message"` }
Error error
swagger:model error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Health ¶
type Health struct { // status Status string `json:"status,omitempty"` }
Health health
swagger:model health
func (*Health) ContextValidate ¶
ContextValidate validates this health based on context it is used
func (*Health) MarshalBinary ¶
MarshalBinary interface implementation
func (*Health) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Repositories ¶ added in v0.2.0
type Repositories []*Repository
Repositories repositories
swagger:model repositories
func (Repositories) ContextValidate ¶ added in v0.2.0
ContextValidate validate this repositories based on the context it is used
type Repository ¶ added in v0.2.0
type Repository struct { // allow update branch AllowUpdateBranch bool `json:"allowUpdateBranch"` // archived Archived bool `json:"archived"` // auto merge allowed AutoMergeAllowed bool `json:"autoMergeAllowed"` // delete branch on merge DeleteBranchOnMerge bool `json:"deleteBranchOnMerge"` // name Name string `json:"name,omitempty"` // public Public bool `json:"public"` }
Repository repository
swagger:model repository
func (*Repository) ContextValidate ¶ added in v0.2.0
ContextValidate validates this repository based on context it is used
func (*Repository) MarshalBinary ¶ added in v0.2.0
func (m *Repository) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Repository) UnmarshalBinary ¶ added in v0.2.0
func (m *Repository) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepositoryDetails ¶ added in v0.2.0
type RepositoryDetails struct { // allow update branch AllowUpdateBranch bool `json:"allowUpdateBranch"` // archived Archived bool `json:"archived"` // auto merge allowed AutoMergeAllowed bool `json:"autoMergeAllowed"` // collaborators Collaborators []*RepositoryDetailsCollaboratorsItems0 `json:"collaborators"` // delete branch on merge DeleteBranchOnMerge bool `json:"deleteBranchOnMerge"` // name Name string `json:"name,omitempty"` // public Public bool `json:"public"` // teams Teams []*RepositoryDetailsTeamsItems0 `json:"teams"` }
RepositoryDetails repository details
swagger:model repositoryDetails
func (*RepositoryDetails) ContextValidate ¶ added in v0.2.0
ContextValidate validate this repository details based on the context it is used
func (*RepositoryDetails) MarshalBinary ¶ added in v0.2.0
func (m *RepositoryDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepositoryDetails) UnmarshalBinary ¶ added in v0.2.0
func (m *RepositoryDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepositoryDetailsCollaboratorsItems0 ¶ added in v0.2.2
type RepositoryDetailsCollaboratorsItems0 struct { // access // Min Length: 1 Access string `json:"access,omitempty"` // name // Min Length: 1 Name string `json:"name,omitempty"` }
RepositoryDetailsCollaboratorsItems0 repository details collaborators items0
swagger:model RepositoryDetailsCollaboratorsItems0
func (*RepositoryDetailsCollaboratorsItems0) ContextValidate ¶ added in v0.2.2
func (m *RepositoryDetailsCollaboratorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this repository details collaborators items0 based on context it is used
func (*RepositoryDetailsCollaboratorsItems0) MarshalBinary ¶ added in v0.2.2
func (m *RepositoryDetailsCollaboratorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepositoryDetailsCollaboratorsItems0) UnmarshalBinary ¶ added in v0.2.2
func (m *RepositoryDetailsCollaboratorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepositoryDetailsTeamsItems0 ¶ added in v0.2.2
type RepositoryDetailsTeamsItems0 struct { // access // Min Length: 1 Access string `json:"access,omitempty"` // name // Min Length: 1 Name string `json:"name,omitempty"` }
RepositoryDetailsTeamsItems0 repository details teams items0
swagger:model RepositoryDetailsTeamsItems0
func (*RepositoryDetailsTeamsItems0) ContextValidate ¶ added in v0.2.2
func (m *RepositoryDetailsTeamsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this repository details teams items0 based on context it is used
func (*RepositoryDetailsTeamsItems0) MarshalBinary ¶ added in v0.2.2
func (m *RepositoryDetailsTeamsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RepositoryDetailsTeamsItems0) UnmarshalBinary ¶ added in v0.2.2
func (m *RepositoryDetailsTeamsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Statistics ¶ added in v0.7.0
type Statistics struct { // last github Api calls LastGithubAPICalls int64 `json:"lastGithubApiCalls"` // last github throttled LastGithubThrottled int64 `json:"lastGithubThrottled"` // last time to apply LastTimeToApply string `json:"lastTimeToApply"` // max github Api calls MaxGithubAPICalls int64 `json:"maxGithubApiCalls"` // max github throttled MaxGithubThrottled int64 `json:"maxGithubThrottled"` // max time to apply MaxTimeToApply string `json:"maxTimeToApply"` }
Statistics statistics
swagger:model statistics
func (*Statistics) ContextValidate ¶ added in v0.7.0
ContextValidate validates this statistics based on context it is used
func (*Statistics) MarshalBinary ¶ added in v0.7.0
func (m *Statistics) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Statistics) UnmarshalBinary ¶ added in v0.7.0
func (m *Statistics) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Status ¶ added in v0.2.0
type Status struct { // detailed errors DetailedErrors []string `json:"detailedErrors"` // detailed warnings DetailedWarnings []string `json:"detailedWarnings"` // last sync error LastSyncError string `json:"lastSyncError,omitempty"` // last sync time // Min Length: 1 LastSyncTime string `json:"lastSyncTime,omitempty"` // nb repos NbRepos int64 `json:"nbRepos"` // nb teams NbTeams int64 `json:"nbTeams"` // nb users NbUsers int64 `json:"nbUsers"` // nb users external NbUsersExternal int64 `json:"nbUsersExternal"` // version Version string `json:"version,omitempty"` }
Status status
swagger:model status
func (*Status) ContextValidate ¶ added in v0.2.0
ContextValidate validates this status based on context it is used
func (*Status) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (*Status) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
type Team ¶ added in v0.2.0
type Team struct { // members Members []string `json:"members"` // name Name string `json:"name,omitempty"` // owners Owners []string `json:"owners"` // path Path string `json:"path,omitempty"` }
Team team
swagger:model team
func (*Team) ContextValidate ¶ added in v0.2.0
ContextValidate validates this team based on context it is used
func (*Team) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (*Team) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
type TeamDetails ¶ added in v0.2.0
type TeamDetails struct { // members Members []*TeamDetailsMembersItems0 `json:"members"` // name Name string `json:"name,omitempty"` // owners Owners []*TeamDetailsOwnersItems0 `json:"owners"` // path Path string `json:"path,omitempty"` // repositories Repositories []*Repository `json:"repositories"` }
TeamDetails team details
swagger:model teamDetails
func (*TeamDetails) ContextValidate ¶ added in v0.2.0
ContextValidate validate this team details based on the context it is used
func (*TeamDetails) MarshalBinary ¶ added in v0.2.0
func (m *TeamDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamDetails) UnmarshalBinary ¶ added in v0.2.0
func (m *TeamDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamDetailsMembersItems0 ¶ added in v0.2.0
type TeamDetailsMembersItems0 struct { // external External bool `json:"external"` // githubid Githubid string `json:"githubid,omitempty"` // name // Min Length: 1 Name string `json:"name,omitempty"` }
TeamDetailsMembersItems0 team details members items0
swagger:model TeamDetailsMembersItems0
func (*TeamDetailsMembersItems0) ContextValidate ¶ added in v0.2.0
func (m *TeamDetailsMembersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this team details members items0 based on context it is used
func (*TeamDetailsMembersItems0) MarshalBinary ¶ added in v0.2.0
func (m *TeamDetailsMembersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamDetailsMembersItems0) UnmarshalBinary ¶ added in v0.2.0
func (m *TeamDetailsMembersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamDetailsOwnersItems0 ¶ added in v0.2.0
type TeamDetailsOwnersItems0 struct { // external External bool `json:"external"` // githubid Githubid string `json:"githubid,omitempty"` // name // Min Length: 1 Name string `json:"name,omitempty"` }
TeamDetailsOwnersItems0 team details owners items0
swagger:model TeamDetailsOwnersItems0
func (*TeamDetailsOwnersItems0) ContextValidate ¶ added in v0.2.0
func (m *TeamDetailsOwnersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this team details owners items0 based on context it is used
func (*TeamDetailsOwnersItems0) MarshalBinary ¶ added in v0.2.0
func (m *TeamDetailsOwnersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamDetailsOwnersItems0) UnmarshalBinary ¶ added in v0.2.0
func (m *TeamDetailsOwnersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Teams ¶ added in v0.2.0
type Teams []*Team
Teams teams
swagger:model teams
func (Teams) ContextValidate ¶ added in v0.2.0
ContextValidate validate this teams based on the context it is used
type Unmanaged ¶ added in v0.7.1
type Unmanaged struct { // externally managed teams ExternallyManagedTeams []string `json:"externally_managed_teams"` // repos Repos []string `json:"repos"` // rulesets Rulesets []string `json:"rulesets"` // teams Teams []string `json:"teams"` // users Users []string `json:"users"` }
Unmanaged unmanaged
swagger:model unmanaged
func (*Unmanaged) ContextValidate ¶ added in v0.7.1
ContextValidate validates this unmanaged based on context it is used
func (*Unmanaged) MarshalBinary ¶ added in v0.7.1
MarshalBinary interface implementation
func (*Unmanaged) UnmarshalBinary ¶ added in v0.7.1
UnmarshalBinary interface implementation
type User ¶ added in v0.2.0
type User struct { // githubid Githubid string `json:"githubid,omitempty"` // name Name string `json:"name,omitempty"` }
User user
swagger:model user
func (*User) ContextValidate ¶ added in v0.2.0
ContextValidate validates this user based on context it is used
func (*User) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
type UserDetails ¶ added in v0.2.0
type UserDetails struct { // githubid Githubid string `json:"githubid,omitempty"` // repositories Repositories []*Repository `json:"repositories"` // teams Teams []*Team `json:"teams"` }
UserDetails user details
swagger:model userDetails
func (*UserDetails) ContextValidate ¶ added in v0.2.0
ContextValidate validate this user details based on the context it is used
func (*UserDetails) MarshalBinary ¶ added in v0.2.0
func (m *UserDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserDetails) UnmarshalBinary ¶ added in v0.2.0
func (m *UserDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Users ¶ added in v0.2.0
type Users []*User
Users users
swagger:model users
func (Users) ContextValidate ¶ added in v0.2.0
ContextValidate validate this users based on the context it is used