n13t_gitlab_v4

package
v0.7.32 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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

func (*Author) GetEmail

func (m *Author) GetEmail() string

func (*Author) GetName

func (m *Author) GetName() string

func (*Author) ProtoMessage

func (*Author) ProtoMessage()

func (*Author) Reset

func (m *Author) Reset()

func (*Author) String

func (m *Author) String() string

func (*Author) Validate

func (m *Author) Validate() error

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 (m *Author) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Author) XXX_Merge

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

func (*Author) XXX_Size

func (m *Author) XXX_Size() int

func (*Author) XXX_Unmarshal

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

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

func (*Commit) GetAdded

func (m *Commit) GetAdded() []string

func (*Commit) GetAuthor

func (m *Commit) GetAuthor() *Author

func (*Commit) GetId

func (m *Commit) GetId() string

func (*Commit) GetMessage

func (m *Commit) GetMessage() string

func (*Commit) GetModified

func (m *Commit) GetModified() []string

func (*Commit) GetRemoved

func (m *Commit) GetRemoved() []string

func (*Commit) GetTimestamp

func (m *Commit) GetTimestamp() string

func (*Commit) GetUrl

func (m *Commit) GetUrl() string

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) Reset

func (m *Commit) Reset()

func (*Commit) String

func (m *Commit) String() string

func (*Commit) Validate

func (m *Commit) Validate() error

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 (m *Commit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Commit) XXX_Merge

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

func (*Commit) XXX_Size

func (m *Commit) XXX_Size() int

func (*Commit) XXX_Unmarshal

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

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

func (*Project) GetAvatarUrl

func (m *Project) GetAvatarUrl() string

func (*Project) GetDefaultBranch

func (m *Project) GetDefaultBranch() string

func (*Project) GetDescription

func (m *Project) GetDescription() string

func (*Project) GetGitHttpUrl

func (m *Project) GetGitHttpUrl() string

func (*Project) GetGitSshUrl

func (m *Project) GetGitSshUrl() string

func (*Project) GetHomepage

func (m *Project) GetHomepage() string

func (*Project) GetHttpUrl

func (m *Project) GetHttpUrl() string

func (*Project) GetId

func (m *Project) GetId() uint32

func (*Project) GetName

func (m *Project) GetName() string

func (*Project) GetNamespace

func (m *Project) GetNamespace() string

func (*Project) GetPathWithNamespace

func (m *Project) GetPathWithNamespace() string

func (*Project) GetSshUrl

func (m *Project) GetSshUrl() string

func (*Project) GetUrl

func (m *Project) GetUrl() string

func (*Project) GetVisibilityLevel

func (m *Project) GetVisibilityLevel() uint32

func (*Project) GetWebUrl

func (m *Project) GetWebUrl() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) String

func (m *Project) String() string

func (*Project) Validate

func (m *Project) Validate() error

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 (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

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

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

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

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

Error satisfies the builtin error interface

func (RepositoryValidationError) ErrorName

func (e RepositoryValidationError) ErrorName() string

ErrorName returns error name.

func (RepositoryValidationError) Field

Field function returns field value.

func (RepositoryValidationError) Key

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

Cause function returns cause value.

func (WebhookEventValidationError) Error

Error satisfies the builtin error interface

func (WebhookEventValidationError) ErrorName

func (e WebhookEventValidationError) ErrorName() string

ErrorName returns error name.

func (WebhookEventValidationError) Field

Field function returns field value.

func (WebhookEventValidationError) Key

Key function returns key value.

func (WebhookEventValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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