Documentation ¶
Index ¶
- type Author
- func (*Author) Descriptor() ([]byte, []int)
- func (m *Author) GetEmail() string
- func (m *Author) GetName() string
- func (*Author) ProtoMessage()
- func (m *Author) Reset()
- func (m *Author) String() string
- func (m *Author) Validate() error
- func (m *Author) XXX_DiscardUnknown()
- func (m *Author) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Author) XXX_Merge(src proto.Message)
- func (m *Author) XXX_Size() int
- func (m *Author) XXX_Unmarshal(b []byte) error
- type AuthorValidationError
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)
- func (m *Commit) GetAdded() []string
- func (m *Commit) GetAuthor() *Author
- func (m *Commit) GetId() string
- func (m *Commit) GetMessage() string
- func (m *Commit) GetModified() []string
- func (m *Commit) GetRemoved() []string
- func (m *Commit) GetTimestamp() string
- func (m *Commit) GetUrl() string
- func (*Commit) ProtoMessage()
- func (m *Commit) Reset()
- func (m *Commit) String() string
- func (m *Commit) Validate() error
- func (m *Commit) XXX_DiscardUnknown()
- func (m *Commit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Commit) XXX_Merge(src proto.Message)
- func (m *Commit) XXX_Size() int
- func (m *Commit) XXX_Unmarshal(b []byte) error
- type CommitValidationError
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetAvatarUrl() string
- func (m *Project) GetDefaultBranch() string
- func (m *Project) GetDescription() string
- func (m *Project) GetGitHttpUrl() string
- func (m *Project) GetGitSshUrl() string
- func (m *Project) GetHomepage() string
- func (m *Project) GetHttpUrl() string
- func (m *Project) GetId() uint32
- func (m *Project) GetName() string
- func (m *Project) GetNamespace() string
- func (m *Project) GetPathWithNamespace() string
- func (m *Project) GetSshUrl() string
- func (m *Project) GetUrl() string
- func (m *Project) GetVisibilityLevel() uint32
- func (m *Project) GetWebUrl() string
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) String() string
- func (m *Project) Validate() error
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectValidationError
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)
- func (m *Repository) GetDescription() string
- func (m *Repository) GetGitHttpUrl() string
- func (m *Repository) GetGitSshUrl() string
- func (m *Repository) GetHomepage() string
- func (m *Repository) GetName() string
- func (m *Repository) GetUrl() string
- func (m *Repository) GetVisibilityLevel() uint32
- func (*Repository) ProtoMessage()
- func (m *Repository) Reset()
- func (m *Repository) String() string
- func (m *Repository) Validate() error
- func (m *Repository) XXX_DiscardUnknown()
- func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Repository) XXX_Merge(src proto.Message)
- func (m *Repository) XXX_Size() int
- func (m *Repository) XXX_Unmarshal(b []byte) error
- type RepositoryValidationError
- type WebhookEvent
- func (*WebhookEvent) Descriptor() ([]byte, []int)
- func (m *WebhookEvent) GetAuthor() *Author
- func (m *WebhookEvent) GetObjectKind() string
- func (*WebhookEvent) ProtoMessage()
- func (m *WebhookEvent) Reset()
- func (m *WebhookEvent) String() string
- func (m *WebhookEvent) Validate() error
- func (m *WebhookEvent) XXX_DiscardUnknown()
- func (m *WebhookEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WebhookEvent) XXX_Merge(src proto.Message)
- func (m *WebhookEvent) XXX_Size() int
- func (m *WebhookEvent) XXX_Unmarshal(b []byte) error
- type WebhookEventValidationError
- func (e WebhookEventValidationError) Cause() error
- func (e WebhookEventValidationError) Error() string
- func (e WebhookEventValidationError) ErrorName() string
- func (e WebhookEventValidationError) Field() string
- func (e WebhookEventValidationError) Key() bool
- func (e WebhookEventValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Author) Descriptor ¶
func (*Author) ProtoMessage ¶
func (*Author) ProtoMessage()
func (*Author) Validate ¶
Validate checks the field values on Author with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Author) XXX_DiscardUnknown ¶
func (m *Author) XXX_DiscardUnknown()
func (*Author) XXX_Marshal ¶
func (*Author) XXX_Unmarshal ¶
type AuthorValidationError ¶
type AuthorValidationError struct {
// contains filtered or unexported fields
}
AuthorValidationError is the validation error returned by Author.Validate if the designated constraints aren't met.
func (AuthorValidationError) Cause ¶
func (e AuthorValidationError) Cause() error
Cause function returns cause value.
func (AuthorValidationError) Error ¶
func (e AuthorValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorValidationError) ErrorName ¶
func (e AuthorValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorValidationError) Field ¶
func (e AuthorValidationError) Field() string
Field function returns field value.
func (AuthorValidationError) Key ¶
func (e AuthorValidationError) Key() bool
Key function returns key value.
func (AuthorValidationError) Reason ¶
func (e AuthorValidationError) Reason() string
Reason function returns reason value.
type Commit ¶
type Commit struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Timestamp string `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` Author *Author `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"` Added []string `protobuf:"bytes,6,rep,name=added,proto3" json:"added,omitempty"` Modified []string `protobuf:"bytes,7,rep,name=modified,proto3" json:"modified,omitempty"` Removed []string `protobuf:"bytes,8,rep,name=removed,proto3" json:"removed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Commit) Descriptor ¶
func (*Commit) GetMessage ¶
func (*Commit) GetModified ¶
func (*Commit) GetRemoved ¶
func (*Commit) GetTimestamp ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) Validate ¶
Validate checks the field values on Commit with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Commit) XXX_DiscardUnknown ¶
func (m *Commit) XXX_DiscardUnknown()
func (*Commit) XXX_Marshal ¶
func (*Commit) XXX_Unmarshal ¶
type CommitValidationError ¶
type CommitValidationError struct {
// contains filtered or unexported fields
}
CommitValidationError is the validation error returned by Commit.Validate if the designated constraints aren't met.
func (CommitValidationError) Cause ¶
func (e CommitValidationError) Cause() error
Cause function returns cause value.
func (CommitValidationError) Error ¶
func (e CommitValidationError) Error() string
Error satisfies the builtin error interface
func (CommitValidationError) ErrorName ¶
func (e CommitValidationError) ErrorName() string
ErrorName returns error name.
func (CommitValidationError) Field ¶
func (e CommitValidationError) Field() string
Field function returns field value.
func (CommitValidationError) Key ¶
func (e CommitValidationError) Key() bool
Key function returns key value.
func (CommitValidationError) Reason ¶
func (e CommitValidationError) Reason() string
Reason function returns reason value.
type Project ¶
type Project struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` WebUrl string `protobuf:"bytes,4,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"` AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` GitSshUrl string `protobuf:"bytes,6,opt,name=git_ssh_url,json=gitSshUrl,proto3" json:"git_ssh_url,omitempty"` GitHttpUrl string `protobuf:"bytes,7,opt,name=git_http_url,json=gitHttpUrl,proto3" json:"git_http_url,omitempty"` Namespace string `protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"` VisibilityLevel uint32 `protobuf:"varint,9,opt,name=visibility_level,json=visibilityLevel,proto3" json:"visibility_level,omitempty"` PathWithNamespace string `protobuf:"bytes,10,opt,name=path_with_namespace,json=pathWithNamespace,proto3" json:"path_with_namespace,omitempty"` DefaultBranch string `protobuf:"bytes,11,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` Homepage string `protobuf:"bytes,12,opt,name=homepage,proto3" json:"homepage,omitempty"` Url string `protobuf:"bytes,13,opt,name=url,proto3" json:"url,omitempty"` SshUrl string `protobuf:"bytes,14,opt,name=ssh_url,json=sshUrl,proto3" json:"ssh_url,omitempty"` HttpUrl string `protobuf:"bytes,15,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Project) Descriptor ¶
func (*Project) GetAvatarUrl ¶
func (*Project) GetDefaultBranch ¶
func (*Project) GetDescription ¶
func (*Project) GetGitHttpUrl ¶
func (*Project) GetGitSshUrl ¶
func (*Project) GetHomepage ¶
func (*Project) GetHttpUrl ¶
func (*Project) GetNamespace ¶
func (*Project) GetPathWithNamespace ¶
func (*Project) GetVisibilityLevel ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) Validate ¶
Validate checks the field values on Project with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
type ProjectValidationError ¶
type ProjectValidationError struct {
// contains filtered or unexported fields
}
ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.
func (ProjectValidationError) Cause ¶
func (e ProjectValidationError) Cause() error
Cause function returns cause value.
func (ProjectValidationError) Error ¶
func (e ProjectValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectValidationError) ErrorName ¶
func (e ProjectValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectValidationError) Field ¶
func (e ProjectValidationError) Field() string
Field function returns field value.
func (ProjectValidationError) Key ¶
func (e ProjectValidationError) Key() bool
Key function returns key value.
func (ProjectValidationError) Reason ¶
func (e ProjectValidationError) Reason() string
Reason function returns reason value.
type Repository ¶
type Repository struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Homepage string `protobuf:"bytes,4,opt,name=homepage,proto3" json:"homepage,omitempty"` GitHttpUrl string `protobuf:"bytes,5,opt,name=git_http_url,json=gitHttpUrl,proto3" json:"git_http_url,omitempty"` GitSshUrl string `protobuf:"bytes,6,opt,name=git_ssh_url,json=gitSshUrl,proto3" json:"git_ssh_url,omitempty"` VisibilityLevel uint32 `protobuf:"varint,7,opt,name=visibility_level,json=visibilityLevel,proto3" json:"visibility_level,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Repository) Descriptor ¶
func (*Repository) Descriptor() ([]byte, []int)
func (*Repository) GetDescription ¶
func (m *Repository) GetDescription() string
func (*Repository) GetGitHttpUrl ¶
func (m *Repository) GetGitHttpUrl() string
func (*Repository) GetGitSshUrl ¶
func (m *Repository) GetGitSshUrl() string
func (*Repository) GetHomepage ¶
func (m *Repository) GetHomepage() string
func (*Repository) GetName ¶
func (m *Repository) GetName() string
func (*Repository) GetUrl ¶
func (m *Repository) GetUrl() string
func (*Repository) GetVisibilityLevel ¶
func (m *Repository) GetVisibilityLevel() uint32
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) Reset ¶
func (m *Repository) Reset()
func (*Repository) String ¶
func (m *Repository) String() string
func (*Repository) Validate ¶
func (m *Repository) Validate() error
Validate checks the field values on Repository with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Repository) XXX_DiscardUnknown ¶
func (m *Repository) XXX_DiscardUnknown()
func (*Repository) XXX_Marshal ¶
func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Repository) XXX_Merge ¶
func (m *Repository) XXX_Merge(src proto.Message)
func (*Repository) XXX_Size ¶
func (m *Repository) XXX_Size() int
func (*Repository) XXX_Unmarshal ¶
func (m *Repository) XXX_Unmarshal(b []byte) error
type RepositoryValidationError ¶
type RepositoryValidationError struct {
// contains filtered or unexported fields
}
RepositoryValidationError is the validation error returned by Repository.Validate if the designated constraints aren't met.
func (RepositoryValidationError) Cause ¶
func (e RepositoryValidationError) Cause() error
Cause function returns cause value.
func (RepositoryValidationError) Error ¶
func (e RepositoryValidationError) Error() string
Error satisfies the builtin error interface
func (RepositoryValidationError) ErrorName ¶
func (e RepositoryValidationError) ErrorName() string
ErrorName returns error name.
func (RepositoryValidationError) Field ¶
func (e RepositoryValidationError) Field() string
Field function returns field value.
func (RepositoryValidationError) Key ¶
func (e RepositoryValidationError) Key() bool
Key function returns key value.
func (RepositoryValidationError) Reason ¶
func (e RepositoryValidationError) Reason() string
Reason function returns reason value.
type WebhookEvent ¶
type WebhookEvent struct { ObjectKind string `protobuf:"bytes,1,opt,name=object_kind,json=objectKind,proto3" json:"object_kind,omitempty"` Author *Author `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
See https://docs.gitlab.com/ee/api/events.html
func (*WebhookEvent) Descriptor ¶
func (*WebhookEvent) Descriptor() ([]byte, []int)
func (*WebhookEvent) GetAuthor ¶
func (m *WebhookEvent) GetAuthor() *Author
func (*WebhookEvent) GetObjectKind ¶
func (m *WebhookEvent) GetObjectKind() string
func (*WebhookEvent) ProtoMessage ¶
func (*WebhookEvent) ProtoMessage()
func (*WebhookEvent) Reset ¶
func (m *WebhookEvent) Reset()
func (*WebhookEvent) String ¶
func (m *WebhookEvent) String() string
func (*WebhookEvent) Validate ¶
func (m *WebhookEvent) Validate() error
Validate checks the field values on WebhookEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*WebhookEvent) XXX_DiscardUnknown ¶
func (m *WebhookEvent) XXX_DiscardUnknown()
func (*WebhookEvent) XXX_Marshal ¶
func (m *WebhookEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WebhookEvent) XXX_Merge ¶
func (m *WebhookEvent) XXX_Merge(src proto.Message)
func (*WebhookEvent) XXX_Size ¶
func (m *WebhookEvent) XXX_Size() int
func (*WebhookEvent) XXX_Unmarshal ¶
func (m *WebhookEvent) XXX_Unmarshal(b []byte) error
type WebhookEventValidationError ¶
type WebhookEventValidationError struct {
// contains filtered or unexported fields
}
WebhookEventValidationError is the validation error returned by WebhookEvent.Validate if the designated constraints aren't met.
func (WebhookEventValidationError) Cause ¶
func (e WebhookEventValidationError) Cause() error
Cause function returns cause value.
func (WebhookEventValidationError) Error ¶
func (e WebhookEventValidationError) Error() string
Error satisfies the builtin error interface
func (WebhookEventValidationError) ErrorName ¶
func (e WebhookEventValidationError) ErrorName() string
ErrorName returns error name.
func (WebhookEventValidationError) Field ¶
func (e WebhookEventValidationError) Field() string
Field function returns field value.
func (WebhookEventValidationError) Key ¶
func (e WebhookEventValidationError) Key() bool
Key function returns key value.
func (WebhookEventValidationError) Reason ¶
func (e WebhookEventValidationError) Reason() string
Reason function returns reason value.