git

package
v5.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Overview

Package git is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Git_AllRepos_FullMethodName           = "/git.Git/AllRepos"
	Git_ProjectOptions_FullMethodName     = "/git.Git/ProjectOptions"
	Git_BranchOptions_FullMethodName      = "/git.Git/BranchOptions"
	Git_CommitOptions_FullMethodName      = "/git.Git/CommitOptions"
	Git_Commit_FullMethodName             = "/git.Git/Commit"
	Git_PipelineInfo_FullMethodName       = "/git.Git/PipelineInfo"
	Git_GetChartValuesYaml_FullMethodName = "/git.Git/GetChartValuesYaml"
)

Variables

View Source
var File_git_git_proto protoreflect.FileDescriptor
View Source
var Git_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "git.Git",
	HandlerType: (*GitServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AllRepos",
			Handler:    _Git_AllRepos_Handler,
		},
		{
			MethodName: "ProjectOptions",
			Handler:    _Git_ProjectOptions_Handler,
		},
		{
			MethodName: "BranchOptions",
			Handler:    _Git_BranchOptions_Handler,
		},
		{
			MethodName: "CommitOptions",
			Handler:    _Git_CommitOptions_Handler,
		},
		{
			MethodName: "Commit",
			Handler:    _Git_Commit_Handler,
		},
		{
			MethodName: "PipelineInfo",
			Handler:    _Git_PipelineInfo_Handler,
		},
		{
			MethodName: "GetChartValuesYaml",
			Handler:    _Git_GetChartValuesYaml_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "git/git.proto",
}

Git_ServiceDesc is the grpc.ServiceDesc for Git service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGitHandler

func RegisterGitHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterGitHandler registers the http handlers for service Git to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterGitHandlerClient

func RegisterGitHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GitClient) error

RegisterGitHandlerClient registers the http handlers for service Git to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GitClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GitClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GitClient" to call the correct interceptors.

func RegisterGitHandlerFromEndpoint

func RegisterGitHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterGitHandlerFromEndpoint is same as RegisterGitHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterGitHandlerServer

func RegisterGitHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GitServer) error

RegisterGitHandlerServer registers the http handlers for service Git to "mux". UnaryRPC :call GitServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGitHandlerFromEndpoint instead.

func RegisterGitServer

func RegisterGitServer(s grpc.ServiceRegistrar, srv GitServer)

Types

type AllReposRequest

type AllReposRequest struct {
	// contains filtered or unexported fields
}

func (*AllReposRequest) Descriptor deprecated

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

Deprecated: Use AllReposRequest.ProtoReflect.Descriptor instead.

func (*AllReposRequest) ProtoMessage

func (*AllReposRequest) ProtoMessage()

func (*AllReposRequest) ProtoReflect

func (x *AllReposRequest) ProtoReflect() protoreflect.Message

func (*AllReposRequest) Reset

func (x *AllReposRequest) Reset()

func (*AllReposRequest) String

func (x *AllReposRequest) String() string

func (*AllReposRequest) Validate

func (m *AllReposRequest) Validate() error

Validate checks the field values on AllReposRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AllReposRequest) ValidateAll

func (m *AllReposRequest) ValidateAll() error

ValidateAll checks the field values on AllReposRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllReposRequestMultiError, or nil if none found.

type AllReposRequestMultiError

type AllReposRequestMultiError []error

AllReposRequestMultiError is an error wrapping multiple validation errors returned by AllReposRequest.ValidateAll() if the designated constraints aren't met.

func (AllReposRequestMultiError) AllErrors

func (m AllReposRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllReposRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AllReposRequestValidationError

type AllReposRequestValidationError struct {
	// contains filtered or unexported fields
}

AllReposRequestValidationError is the validation error returned by AllReposRequest.Validate if the designated constraints aren't met.

func (AllReposRequestValidationError) Cause

Cause function returns cause value.

func (AllReposRequestValidationError) Error

Error satisfies the builtin error interface

func (AllReposRequestValidationError) ErrorName

func (e AllReposRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AllReposRequestValidationError) Field

Field function returns field value.

func (AllReposRequestValidationError) Key

Key function returns key value.

func (AllReposRequestValidationError) Reason

Reason function returns reason value.

type AllReposResponse

type AllReposResponse struct {
	Items []*AllReposResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*AllReposResponse) Descriptor deprecated

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

Deprecated: Use AllReposResponse.ProtoReflect.Descriptor instead.

func (*AllReposResponse) GetItems

func (x *AllReposResponse) GetItems() []*AllReposResponse_Item

func (*AllReposResponse) ProtoMessage

func (*AllReposResponse) ProtoMessage()

func (*AllReposResponse) ProtoReflect

func (x *AllReposResponse) ProtoReflect() protoreflect.Message

func (*AllReposResponse) Reset

func (x *AllReposResponse) Reset()

func (*AllReposResponse) String

func (x *AllReposResponse) String() string

func (*AllReposResponse) Validate

func (m *AllReposResponse) Validate() error

Validate checks the field values on AllReposResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AllReposResponse) ValidateAll

func (m *AllReposResponse) ValidateAll() error

ValidateAll checks the field values on AllReposResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllReposResponseMultiError, or nil if none found.

type AllReposResponseMultiError

type AllReposResponseMultiError []error

AllReposResponseMultiError is an error wrapping multiple validation errors returned by AllReposResponse.ValidateAll() if the designated constraints aren't met.

func (AllReposResponseMultiError) AllErrors

func (m AllReposResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllReposResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AllReposResponseValidationError

type AllReposResponseValidationError struct {
	// contains filtered or unexported fields
}

AllReposResponseValidationError is the validation error returned by AllReposResponse.Validate if the designated constraints aren't met.

func (AllReposResponseValidationError) Cause

Cause function returns cause value.

func (AllReposResponseValidationError) Error

Error satisfies the builtin error interface

func (AllReposResponseValidationError) ErrorName

ErrorName returns error name.

func (AllReposResponseValidationError) Field

Field function returns field value.

func (AllReposResponseValidationError) Key

Key function returns key value.

func (AllReposResponseValidationError) Reason

Reason function returns reason value.

type AllReposResponse_Item

type AllReposResponse_Item struct {
	Id          int32  `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"`
	// contains filtered or unexported fields
}

func (*AllReposResponse_Item) Descriptor deprecated

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

Deprecated: Use AllReposResponse_Item.ProtoReflect.Descriptor instead.

func (*AllReposResponse_Item) GetDescription

func (x *AllReposResponse_Item) GetDescription() string

func (*AllReposResponse_Item) GetId

func (x *AllReposResponse_Item) GetId() int32

func (*AllReposResponse_Item) GetName

func (x *AllReposResponse_Item) GetName() string

func (*AllReposResponse_Item) ProtoMessage

func (*AllReposResponse_Item) ProtoMessage()

func (*AllReposResponse_Item) ProtoReflect

func (x *AllReposResponse_Item) ProtoReflect() protoreflect.Message

func (*AllReposResponse_Item) Reset

func (x *AllReposResponse_Item) Reset()

func (*AllReposResponse_Item) String

func (x *AllReposResponse_Item) String() string

func (*AllReposResponse_Item) Validate

func (m *AllReposResponse_Item) Validate() error

Validate checks the field values on AllReposResponse_Item with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AllReposResponse_Item) ValidateAll

func (m *AllReposResponse_Item) ValidateAll() error

ValidateAll checks the field values on AllReposResponse_Item with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllReposResponse_ItemMultiError, or nil if none found.

type AllReposResponse_ItemMultiError

type AllReposResponse_ItemMultiError []error

AllReposResponse_ItemMultiError is an error wrapping multiple validation errors returned by AllReposResponse_Item.ValidateAll() if the designated constraints aren't met.

func (AllReposResponse_ItemMultiError) AllErrors

func (m AllReposResponse_ItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllReposResponse_ItemMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AllReposResponse_ItemValidationError

type AllReposResponse_ItemValidationError struct {
	// contains filtered or unexported fields
}

AllReposResponse_ItemValidationError is the validation error returned by AllReposResponse_Item.Validate if the designated constraints aren't met.

func (AllReposResponse_ItemValidationError) Cause

Cause function returns cause value.

func (AllReposResponse_ItemValidationError) Error

Error satisfies the builtin error interface

func (AllReposResponse_ItemValidationError) ErrorName

ErrorName returns error name.

func (AllReposResponse_ItemValidationError) Field

Field function returns field value.

func (AllReposResponse_ItemValidationError) Key

Key function returns key value.

func (AllReposResponse_ItemValidationError) Reason

Reason function returns reason value.

type BranchOptionsRequest

type BranchOptionsRequest struct {
	GitProjectId int32 `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"`
	// 如果传入 repo_id, 就会根据 mars 配置过滤分支
	RepoId int32 `protobuf:"varint,2,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BranchOptionsRequest) Descriptor deprecated

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

Deprecated: Use BranchOptionsRequest.ProtoReflect.Descriptor instead.

func (*BranchOptionsRequest) GetGitProjectId

func (x *BranchOptionsRequest) GetGitProjectId() int32

func (*BranchOptionsRequest) GetRepoId

func (x *BranchOptionsRequest) GetRepoId() int32

func (*BranchOptionsRequest) ProtoMessage

func (*BranchOptionsRequest) ProtoMessage()

func (*BranchOptionsRequest) ProtoReflect

func (x *BranchOptionsRequest) ProtoReflect() protoreflect.Message

func (*BranchOptionsRequest) Reset

func (x *BranchOptionsRequest) Reset()

func (*BranchOptionsRequest) String

func (x *BranchOptionsRequest) String() string

func (*BranchOptionsRequest) Validate

func (m *BranchOptionsRequest) Validate() error

Validate checks the field values on BranchOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BranchOptionsRequest) ValidateAll

func (m *BranchOptionsRequest) ValidateAll() error

ValidateAll checks the field values on BranchOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BranchOptionsRequestMultiError, or nil if none found.

type BranchOptionsRequestMultiError

type BranchOptionsRequestMultiError []error

BranchOptionsRequestMultiError is an error wrapping multiple validation errors returned by BranchOptionsRequest.ValidateAll() if the designated constraints aren't met.

func (BranchOptionsRequestMultiError) AllErrors

func (m BranchOptionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BranchOptionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BranchOptionsRequestValidationError

type BranchOptionsRequestValidationError struct {
	// contains filtered or unexported fields
}

BranchOptionsRequestValidationError is the validation error returned by BranchOptionsRequest.Validate if the designated constraints aren't met.

func (BranchOptionsRequestValidationError) Cause

Cause function returns cause value.

func (BranchOptionsRequestValidationError) Error

Error satisfies the builtin error interface

func (BranchOptionsRequestValidationError) ErrorName

ErrorName returns error name.

func (BranchOptionsRequestValidationError) Field

Field function returns field value.

func (BranchOptionsRequestValidationError) Key

Key function returns key value.

func (BranchOptionsRequestValidationError) Reason

Reason function returns reason value.

type BranchOptionsResponse

type BranchOptionsResponse struct {
	Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*BranchOptionsResponse) Descriptor deprecated

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

Deprecated: Use BranchOptionsResponse.ProtoReflect.Descriptor instead.

func (*BranchOptionsResponse) GetItems

func (x *BranchOptionsResponse) GetItems() []*Option

func (*BranchOptionsResponse) ProtoMessage

func (*BranchOptionsResponse) ProtoMessage()

func (*BranchOptionsResponse) ProtoReflect

func (x *BranchOptionsResponse) ProtoReflect() protoreflect.Message

func (*BranchOptionsResponse) Reset

func (x *BranchOptionsResponse) Reset()

func (*BranchOptionsResponse) String

func (x *BranchOptionsResponse) String() string

func (*BranchOptionsResponse) Validate

func (m *BranchOptionsResponse) Validate() error

Validate checks the field values on BranchOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BranchOptionsResponse) ValidateAll

func (m *BranchOptionsResponse) ValidateAll() error

ValidateAll checks the field values on BranchOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BranchOptionsResponseMultiError, or nil if none found.

type BranchOptionsResponseMultiError

type BranchOptionsResponseMultiError []error

BranchOptionsResponseMultiError is an error wrapping multiple validation errors returned by BranchOptionsResponse.ValidateAll() if the designated constraints aren't met.

func (BranchOptionsResponseMultiError) AllErrors

func (m BranchOptionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BranchOptionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type BranchOptionsResponseValidationError

type BranchOptionsResponseValidationError struct {
	// contains filtered or unexported fields
}

BranchOptionsResponseValidationError is the validation error returned by BranchOptionsResponse.Validate if the designated constraints aren't met.

func (BranchOptionsResponseValidationError) Cause

Cause function returns cause value.

func (BranchOptionsResponseValidationError) Error

Error satisfies the builtin error interface

func (BranchOptionsResponseValidationError) ErrorName

ErrorName returns error name.

func (BranchOptionsResponseValidationError) Field

Field function returns field value.

func (BranchOptionsResponseValidationError) Key

Key function returns key value.

func (BranchOptionsResponseValidationError) Reason

Reason function returns reason value.

type CommitOptionsRequest

type CommitOptionsRequest struct {
	GitProjectId int32  `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"`
	Branch       string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitOptionsRequest) Descriptor deprecated

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

Deprecated: Use CommitOptionsRequest.ProtoReflect.Descriptor instead.

func (*CommitOptionsRequest) GetBranch

func (x *CommitOptionsRequest) GetBranch() string

func (*CommitOptionsRequest) GetGitProjectId

func (x *CommitOptionsRequest) GetGitProjectId() int32

func (*CommitOptionsRequest) ProtoMessage

func (*CommitOptionsRequest) ProtoMessage()

func (*CommitOptionsRequest) ProtoReflect

func (x *CommitOptionsRequest) ProtoReflect() protoreflect.Message

func (*CommitOptionsRequest) Reset

func (x *CommitOptionsRequest) Reset()

func (*CommitOptionsRequest) String

func (x *CommitOptionsRequest) String() string

func (*CommitOptionsRequest) Validate

func (m *CommitOptionsRequest) Validate() error

Validate checks the field values on CommitOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommitOptionsRequest) ValidateAll

func (m *CommitOptionsRequest) ValidateAll() error

ValidateAll checks the field values on CommitOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitOptionsRequestMultiError, or nil if none found.

type CommitOptionsRequestMultiError

type CommitOptionsRequestMultiError []error

CommitOptionsRequestMultiError is an error wrapping multiple validation errors returned by CommitOptionsRequest.ValidateAll() if the designated constraints aren't met.

func (CommitOptionsRequestMultiError) AllErrors

func (m CommitOptionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommitOptionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommitOptionsRequestValidationError

type CommitOptionsRequestValidationError struct {
	// contains filtered or unexported fields
}

CommitOptionsRequestValidationError is the validation error returned by CommitOptionsRequest.Validate if the designated constraints aren't met.

func (CommitOptionsRequestValidationError) Cause

Cause function returns cause value.

func (CommitOptionsRequestValidationError) Error

Error satisfies the builtin error interface

func (CommitOptionsRequestValidationError) ErrorName

ErrorName returns error name.

func (CommitOptionsRequestValidationError) Field

Field function returns field value.

func (CommitOptionsRequestValidationError) Key

Key function returns key value.

func (CommitOptionsRequestValidationError) Reason

Reason function returns reason value.

type CommitOptionsResponse

type CommitOptionsResponse struct {
	Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitOptionsResponse) Descriptor deprecated

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

Deprecated: Use CommitOptionsResponse.ProtoReflect.Descriptor instead.

func (*CommitOptionsResponse) GetItems

func (x *CommitOptionsResponse) GetItems() []*Option

func (*CommitOptionsResponse) ProtoMessage

func (*CommitOptionsResponse) ProtoMessage()

func (*CommitOptionsResponse) ProtoReflect

func (x *CommitOptionsResponse) ProtoReflect() protoreflect.Message

func (*CommitOptionsResponse) Reset

func (x *CommitOptionsResponse) Reset()

func (*CommitOptionsResponse) String

func (x *CommitOptionsResponse) String() string

func (*CommitOptionsResponse) Validate

func (m *CommitOptionsResponse) Validate() error

Validate checks the field values on CommitOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommitOptionsResponse) ValidateAll

func (m *CommitOptionsResponse) ValidateAll() error

ValidateAll checks the field values on CommitOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitOptionsResponseMultiError, or nil if none found.

type CommitOptionsResponseMultiError

type CommitOptionsResponseMultiError []error

CommitOptionsResponseMultiError is an error wrapping multiple validation errors returned by CommitOptionsResponse.ValidateAll() if the designated constraints aren't met.

func (CommitOptionsResponseMultiError) AllErrors

func (m CommitOptionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommitOptionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommitOptionsResponseValidationError

type CommitOptionsResponseValidationError struct {
	// contains filtered or unexported fields
}

CommitOptionsResponseValidationError is the validation error returned by CommitOptionsResponse.Validate if the designated constraints aren't met.

func (CommitOptionsResponseValidationError) Cause

Cause function returns cause value.

func (CommitOptionsResponseValidationError) Error

Error satisfies the builtin error interface

func (CommitOptionsResponseValidationError) ErrorName

ErrorName returns error name.

func (CommitOptionsResponseValidationError) Field

Field function returns field value.

func (CommitOptionsResponseValidationError) Key

Key function returns key value.

func (CommitOptionsResponseValidationError) Reason

Reason function returns reason value.

type CommitRequest

type CommitRequest struct {
	GitProjectId int32  `protobuf:"varint,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"`
	Branch       string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	Commit       string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitRequest) Descriptor deprecated

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

Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.

func (*CommitRequest) GetBranch

func (x *CommitRequest) GetBranch() string

func (*CommitRequest) GetCommit

func (x *CommitRequest) GetCommit() string

func (*CommitRequest) GetGitProjectId

func (x *CommitRequest) GetGitProjectId() int32

func (*CommitRequest) ProtoMessage

func (*CommitRequest) ProtoMessage()

func (*CommitRequest) ProtoReflect

func (x *CommitRequest) ProtoReflect() protoreflect.Message

func (*CommitRequest) Reset

func (x *CommitRequest) Reset()

func (*CommitRequest) String

func (x *CommitRequest) String() string

func (*CommitRequest) Validate

func (m *CommitRequest) Validate() error

Validate checks the field values on CommitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommitRequest) ValidateAll

func (m *CommitRequest) ValidateAll() error

ValidateAll checks the field values on CommitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitRequestMultiError, or nil if none found.

type CommitRequestMultiError

type CommitRequestMultiError []error

CommitRequestMultiError is an error wrapping multiple validation errors returned by CommitRequest.ValidateAll() if the designated constraints aren't met.

func (CommitRequestMultiError) AllErrors

func (m CommitRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommitRequestMultiError) Error

func (m CommitRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CommitRequestValidationError

type CommitRequestValidationError struct {
	// contains filtered or unexported fields
}

CommitRequestValidationError is the validation error returned by CommitRequest.Validate if the designated constraints aren't met.

func (CommitRequestValidationError) Cause

Cause function returns cause value.

func (CommitRequestValidationError) Error

Error satisfies the builtin error interface

func (CommitRequestValidationError) ErrorName

func (e CommitRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CommitRequestValidationError) Field

Field function returns field value.

func (CommitRequestValidationError) Key

Key function returns key value.

func (CommitRequestValidationError) Reason

Reason function returns reason value.

type CommitResponse

type CommitResponse struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ShortId        string `protobuf:"bytes,2,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
	GitProjectId   int32  `protobuf:"varint,3,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"`
	Label          string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	Title          string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Branch         string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"`
	AuthorName     string `protobuf:"bytes,7,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"`
	AuthorEmail    string `protobuf:"bytes,8,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"`
	CommitterName  string `protobuf:"bytes,9,opt,name=committer_name,json=committerName,proto3" json:"committer_name,omitempty"`
	CommitterEmail string `protobuf:"bytes,10,opt,name=committer_email,json=committerEmail,proto3" json:"committer_email,omitempty"`
	WebUrl         string `protobuf:"bytes,11,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"`
	Message        string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"`
	CommittedDate  string `protobuf:"bytes,13,opt,name=committed_date,json=committedDate,proto3" json:"committed_date,omitempty"`
	CreatedAt      string `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitResponse) Descriptor deprecated

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

Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.

func (*CommitResponse) GetAuthorEmail

func (x *CommitResponse) GetAuthorEmail() string

func (*CommitResponse) GetAuthorName

func (x *CommitResponse) GetAuthorName() string

func (*CommitResponse) GetBranch

func (x *CommitResponse) GetBranch() string

func (*CommitResponse) GetCommittedDate

func (x *CommitResponse) GetCommittedDate() string

func (*CommitResponse) GetCommitterEmail

func (x *CommitResponse) GetCommitterEmail() string

func (*CommitResponse) GetCommitterName

func (x *CommitResponse) GetCommitterName() string

func (*CommitResponse) GetCreatedAt

func (x *CommitResponse) GetCreatedAt() string

func (*CommitResponse) GetGitProjectId

func (x *CommitResponse) GetGitProjectId() int32

func (*CommitResponse) GetId

func (x *CommitResponse) GetId() string

func (*CommitResponse) GetLabel

func (x *CommitResponse) GetLabel() string

func (*CommitResponse) GetMessage

func (x *CommitResponse) GetMessage() string

func (*CommitResponse) GetShortId

func (x *CommitResponse) GetShortId() string

func (*CommitResponse) GetTitle

func (x *CommitResponse) GetTitle() string

func (*CommitResponse) GetWebUrl

func (x *CommitResponse) GetWebUrl() string

func (*CommitResponse) ProtoMessage

func (*CommitResponse) ProtoMessage()

func (*CommitResponse) ProtoReflect

func (x *CommitResponse) ProtoReflect() protoreflect.Message

func (*CommitResponse) Reset

func (x *CommitResponse) Reset()

func (*CommitResponse) String

func (x *CommitResponse) String() string

func (*CommitResponse) Validate

func (m *CommitResponse) Validate() error

Validate checks the field values on CommitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommitResponse) ValidateAll

func (m *CommitResponse) ValidateAll() error

ValidateAll checks the field values on CommitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitResponseMultiError, or nil if none found.

type CommitResponseMultiError

type CommitResponseMultiError []error

CommitResponseMultiError is an error wrapping multiple validation errors returned by CommitResponse.ValidateAll() if the designated constraints aren't met.

func (CommitResponseMultiError) AllErrors

func (m CommitResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommitResponseMultiError) Error

func (m CommitResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CommitResponseValidationError

type CommitResponseValidationError struct {
	// contains filtered or unexported fields
}

CommitResponseValidationError is the validation error returned by CommitResponse.Validate if the designated constraints aren't met.

func (CommitResponseValidationError) Cause

Cause function returns cause value.

func (CommitResponseValidationError) Error

Error satisfies the builtin error interface

func (CommitResponseValidationError) ErrorName

func (e CommitResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CommitResponseValidationError) Field

Field function returns field value.

func (CommitResponseValidationError) Key

Key function returns key value.

func (CommitResponseValidationError) Reason

Reason function returns reason value.

type GetChartValuesYamlRequest

type GetChartValuesYamlRequest struct {

	// "pid|branch|path" or "path"
	Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChartValuesYamlRequest) Descriptor deprecated

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

Deprecated: Use GetChartValuesYamlRequest.ProtoReflect.Descriptor instead.

func (*GetChartValuesYamlRequest) GetInput

func (x *GetChartValuesYamlRequest) GetInput() string

func (*GetChartValuesYamlRequest) ProtoMessage

func (*GetChartValuesYamlRequest) ProtoMessage()

func (*GetChartValuesYamlRequest) ProtoReflect

func (*GetChartValuesYamlRequest) Reset

func (x *GetChartValuesYamlRequest) Reset()

func (*GetChartValuesYamlRequest) String

func (x *GetChartValuesYamlRequest) String() string

func (*GetChartValuesYamlRequest) Validate

func (m *GetChartValuesYamlRequest) Validate() error

Validate checks the field values on GetChartValuesYamlRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetChartValuesYamlRequest) ValidateAll

func (m *GetChartValuesYamlRequest) ValidateAll() error

ValidateAll checks the field values on GetChartValuesYamlRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetChartValuesYamlRequestMultiError, or nil if none found.

type GetChartValuesYamlRequestMultiError

type GetChartValuesYamlRequestMultiError []error

GetChartValuesYamlRequestMultiError is an error wrapping multiple validation errors returned by GetChartValuesYamlRequest.ValidateAll() if the designated constraints aren't met.

func (GetChartValuesYamlRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetChartValuesYamlRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetChartValuesYamlRequestValidationError

type GetChartValuesYamlRequestValidationError struct {
	// contains filtered or unexported fields
}

GetChartValuesYamlRequestValidationError is the validation error returned by GetChartValuesYamlRequest.Validate if the designated constraints aren't met.

func (GetChartValuesYamlRequestValidationError) Cause

Cause function returns cause value.

func (GetChartValuesYamlRequestValidationError) Error

Error satisfies the builtin error interface

func (GetChartValuesYamlRequestValidationError) ErrorName

ErrorName returns error name.

func (GetChartValuesYamlRequestValidationError) Field

Field function returns field value.

func (GetChartValuesYamlRequestValidationError) Key

Key function returns key value.

func (GetChartValuesYamlRequestValidationError) Reason

Reason function returns reason value.

type GetChartValuesYamlResponse

type GetChartValuesYamlResponse struct {
	Values string `protobuf:"bytes,1,opt,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChartValuesYamlResponse) Descriptor deprecated

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

Deprecated: Use GetChartValuesYamlResponse.ProtoReflect.Descriptor instead.

func (*GetChartValuesYamlResponse) GetValues

func (x *GetChartValuesYamlResponse) GetValues() string

func (*GetChartValuesYamlResponse) ProtoMessage

func (*GetChartValuesYamlResponse) ProtoMessage()

func (*GetChartValuesYamlResponse) ProtoReflect

func (*GetChartValuesYamlResponse) Reset

func (x *GetChartValuesYamlResponse) Reset()

func (*GetChartValuesYamlResponse) String

func (x *GetChartValuesYamlResponse) String() string

func (*GetChartValuesYamlResponse) Validate

func (m *GetChartValuesYamlResponse) Validate() error

Validate checks the field values on GetChartValuesYamlResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetChartValuesYamlResponse) ValidateAll

func (m *GetChartValuesYamlResponse) ValidateAll() error

ValidateAll checks the field values on GetChartValuesYamlResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetChartValuesYamlResponseMultiError, or nil if none found.

type GetChartValuesYamlResponseMultiError

type GetChartValuesYamlResponseMultiError []error

GetChartValuesYamlResponseMultiError is an error wrapping multiple validation errors returned by GetChartValuesYamlResponse.ValidateAll() if the designated constraints aren't met.

func (GetChartValuesYamlResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetChartValuesYamlResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetChartValuesYamlResponseValidationError

type GetChartValuesYamlResponseValidationError struct {
	// contains filtered or unexported fields
}

GetChartValuesYamlResponseValidationError is the validation error returned by GetChartValuesYamlResponse.Validate if the designated constraints aren't met.

func (GetChartValuesYamlResponseValidationError) Cause

Cause function returns cause value.

func (GetChartValuesYamlResponseValidationError) Error

Error satisfies the builtin error interface

func (GetChartValuesYamlResponseValidationError) ErrorName

ErrorName returns error name.

func (GetChartValuesYamlResponseValidationError) Field

Field function returns field value.

func (GetChartValuesYamlResponseValidationError) Key

Key function returns key value.

func (GetChartValuesYamlResponseValidationError) Reason

Reason function returns reason value.

type GitClient

GitClient is the client API for Git service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGitClient

func NewGitClient(cc grpc.ClientConnInterface) GitClient

type GitServer

GitServer is the server API for Git service. All implementations must embed UnimplementedGitServer for forward compatibility

type Option

type Option struct {
	Value        string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Label        string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Type         string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	IsLeaf       bool   `protobuf:"varint,4,opt,name=is_leaf,json=isLeaf,proto3" json:"is_leaf,omitempty"`
	GitProjectId int32  `protobuf:"varint,5,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"`
	Branch       string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"`
	NeedGitRepo  bool   `protobuf:"varint,7,opt,name=need_git_repo,json=needGitRepo,proto3" json:"need_git_repo,omitempty"`
	Description  string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Option) Descriptor deprecated

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

Deprecated: Use Option.ProtoReflect.Descriptor instead.

func (*Option) GetBranch

func (x *Option) GetBranch() string

func (*Option) GetDescription

func (x *Option) GetDescription() string

func (*Option) GetGitProjectId

func (x *Option) GetGitProjectId() int32

func (*Option) GetIsLeaf

func (x *Option) GetIsLeaf() bool

func (*Option) GetLabel

func (x *Option) GetLabel() string

func (*Option) GetNeedGitRepo

func (x *Option) GetNeedGitRepo() bool

func (*Option) GetType

func (x *Option) GetType() string

func (*Option) GetValue

func (x *Option) GetValue() string

func (*Option) ProtoMessage

func (*Option) ProtoMessage()

func (*Option) ProtoReflect

func (x *Option) ProtoReflect() protoreflect.Message

func (*Option) Reset

func (x *Option) Reset()

func (*Option) String

func (x *Option) String() string

func (*Option) Validate

func (m *Option) Validate() error

Validate checks the field values on Option with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Option) ValidateAll

func (m *Option) ValidateAll() error

ValidateAll checks the field values on Option with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OptionMultiError, or nil if none found.

type OptionMultiError

type OptionMultiError []error

OptionMultiError is an error wrapping multiple validation errors returned by Option.ValidateAll() if the designated constraints aren't met.

func (OptionMultiError) AllErrors

func (m OptionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OptionMultiError) Error

func (m OptionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type OptionValidationError

type OptionValidationError struct {
	// contains filtered or unexported fields
}

OptionValidationError is the validation error returned by Option.Validate if the designated constraints aren't met.

func (OptionValidationError) Cause

func (e OptionValidationError) Cause() error

Cause function returns cause value.

func (OptionValidationError) Error

func (e OptionValidationError) Error() string

Error satisfies the builtin error interface

func (OptionValidationError) ErrorName

func (e OptionValidationError) ErrorName() string

ErrorName returns error name.

func (OptionValidationError) Field

func (e OptionValidationError) Field() string

Field function returns field value.

func (OptionValidationError) Key

func (e OptionValidationError) Key() bool

Key function returns key value.

func (OptionValidationError) Reason

func (e OptionValidationError) Reason() string

Reason function returns reason value.

type PipelineInfoRequest

type PipelineInfoRequest struct {
	GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"`
	Branch       string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	Commit       string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineInfoRequest) Descriptor deprecated

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

Deprecated: Use PipelineInfoRequest.ProtoReflect.Descriptor instead.

func (*PipelineInfoRequest) GetBranch

func (x *PipelineInfoRequest) GetBranch() string

func (*PipelineInfoRequest) GetCommit

func (x *PipelineInfoRequest) GetCommit() string

func (*PipelineInfoRequest) GetGitProjectId

func (x *PipelineInfoRequest) GetGitProjectId() string

func (*PipelineInfoRequest) ProtoMessage

func (*PipelineInfoRequest) ProtoMessage()

func (*PipelineInfoRequest) ProtoReflect

func (x *PipelineInfoRequest) ProtoReflect() protoreflect.Message

func (*PipelineInfoRequest) Reset

func (x *PipelineInfoRequest) Reset()

func (*PipelineInfoRequest) String

func (x *PipelineInfoRequest) String() string

func (*PipelineInfoRequest) Validate

func (m *PipelineInfoRequest) Validate() error

Validate checks the field values on PipelineInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PipelineInfoRequest) ValidateAll

func (m *PipelineInfoRequest) ValidateAll() error

ValidateAll checks the field values on PipelineInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipelineInfoRequestMultiError, or nil if none found.

type PipelineInfoRequestMultiError

type PipelineInfoRequestMultiError []error

PipelineInfoRequestMultiError is an error wrapping multiple validation errors returned by PipelineInfoRequest.ValidateAll() if the designated constraints aren't met.

func (PipelineInfoRequestMultiError) AllErrors

func (m PipelineInfoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipelineInfoRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PipelineInfoRequestValidationError

type PipelineInfoRequestValidationError struct {
	// contains filtered or unexported fields
}

PipelineInfoRequestValidationError is the validation error returned by PipelineInfoRequest.Validate if the designated constraints aren't met.

func (PipelineInfoRequestValidationError) Cause

Cause function returns cause value.

func (PipelineInfoRequestValidationError) Error

Error satisfies the builtin error interface

func (PipelineInfoRequestValidationError) ErrorName

ErrorName returns error name.

func (PipelineInfoRequestValidationError) Field

Field function returns field value.

func (PipelineInfoRequestValidationError) Key

Key function returns key value.

func (PipelineInfoRequestValidationError) Reason

Reason function returns reason value.

type PipelineInfoResponse

type PipelineInfoResponse struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	WebUrl string `protobuf:"bytes,2,opt,name=web_url,json=webUrl,proto3" json:"web_url,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineInfoResponse) Descriptor deprecated

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

Deprecated: Use PipelineInfoResponse.ProtoReflect.Descriptor instead.

func (*PipelineInfoResponse) GetStatus

func (x *PipelineInfoResponse) GetStatus() string

func (*PipelineInfoResponse) GetWebUrl

func (x *PipelineInfoResponse) GetWebUrl() string

func (*PipelineInfoResponse) ProtoMessage

func (*PipelineInfoResponse) ProtoMessage()

func (*PipelineInfoResponse) ProtoReflect

func (x *PipelineInfoResponse) ProtoReflect() protoreflect.Message

func (*PipelineInfoResponse) Reset

func (x *PipelineInfoResponse) Reset()

func (*PipelineInfoResponse) String

func (x *PipelineInfoResponse) String() string

func (*PipelineInfoResponse) Validate

func (m *PipelineInfoResponse) Validate() error

Validate checks the field values on PipelineInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PipelineInfoResponse) ValidateAll

func (m *PipelineInfoResponse) ValidateAll() error

ValidateAll checks the field values on PipelineInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PipelineInfoResponseMultiError, or nil if none found.

type PipelineInfoResponseMultiError

type PipelineInfoResponseMultiError []error

PipelineInfoResponseMultiError is an error wrapping multiple validation errors returned by PipelineInfoResponse.ValidateAll() if the designated constraints aren't met.

func (PipelineInfoResponseMultiError) AllErrors

func (m PipelineInfoResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PipelineInfoResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PipelineInfoResponseValidationError

type PipelineInfoResponseValidationError struct {
	// contains filtered or unexported fields
}

PipelineInfoResponseValidationError is the validation error returned by PipelineInfoResponse.Validate if the designated constraints aren't met.

func (PipelineInfoResponseValidationError) Cause

Cause function returns cause value.

func (PipelineInfoResponseValidationError) Error

Error satisfies the builtin error interface

func (PipelineInfoResponseValidationError) ErrorName

ErrorName returns error name.

func (PipelineInfoResponseValidationError) Field

Field function returns field value.

func (PipelineInfoResponseValidationError) Key

Key function returns key value.

func (PipelineInfoResponseValidationError) Reason

Reason function returns reason value.

type ProjectOptionsRequest

type ProjectOptionsRequest struct {
	// contains filtered or unexported fields
}

func (*ProjectOptionsRequest) Descriptor deprecated

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

Deprecated: Use ProjectOptionsRequest.ProtoReflect.Descriptor instead.

func (*ProjectOptionsRequest) ProtoMessage

func (*ProjectOptionsRequest) ProtoMessage()

func (*ProjectOptionsRequest) ProtoReflect

func (x *ProjectOptionsRequest) ProtoReflect() protoreflect.Message

func (*ProjectOptionsRequest) Reset

func (x *ProjectOptionsRequest) Reset()

func (*ProjectOptionsRequest) String

func (x *ProjectOptionsRequest) String() string

func (*ProjectOptionsRequest) Validate

func (m *ProjectOptionsRequest) Validate() error

Validate checks the field values on ProjectOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProjectOptionsRequest) ValidateAll

func (m *ProjectOptionsRequest) ValidateAll() error

ValidateAll checks the field values on ProjectOptionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectOptionsRequestMultiError, or nil if none found.

type ProjectOptionsRequestMultiError

type ProjectOptionsRequestMultiError []error

ProjectOptionsRequestMultiError is an error wrapping multiple validation errors returned by ProjectOptionsRequest.ValidateAll() if the designated constraints aren't met.

func (ProjectOptionsRequestMultiError) AllErrors

func (m ProjectOptionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectOptionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ProjectOptionsRequestValidationError

type ProjectOptionsRequestValidationError struct {
	// contains filtered or unexported fields
}

ProjectOptionsRequestValidationError is the validation error returned by ProjectOptionsRequest.Validate if the designated constraints aren't met.

func (ProjectOptionsRequestValidationError) Cause

Cause function returns cause value.

func (ProjectOptionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ProjectOptionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ProjectOptionsRequestValidationError) Field

Field function returns field value.

func (ProjectOptionsRequestValidationError) Key

Key function returns key value.

func (ProjectOptionsRequestValidationError) Reason

Reason function returns reason value.

type ProjectOptionsResponse

type ProjectOptionsResponse struct {
	Items []*Option `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectOptionsResponse) Descriptor deprecated

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

Deprecated: Use ProjectOptionsResponse.ProtoReflect.Descriptor instead.

func (*ProjectOptionsResponse) GetItems

func (x *ProjectOptionsResponse) GetItems() []*Option

func (*ProjectOptionsResponse) ProtoMessage

func (*ProjectOptionsResponse) ProtoMessage()

func (*ProjectOptionsResponse) ProtoReflect

func (x *ProjectOptionsResponse) ProtoReflect() protoreflect.Message

func (*ProjectOptionsResponse) Reset

func (x *ProjectOptionsResponse) Reset()

func (*ProjectOptionsResponse) String

func (x *ProjectOptionsResponse) String() string

func (*ProjectOptionsResponse) Validate

func (m *ProjectOptionsResponse) Validate() error

Validate checks the field values on ProjectOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProjectOptionsResponse) ValidateAll

func (m *ProjectOptionsResponse) ValidateAll() error

ValidateAll checks the field values on ProjectOptionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProjectOptionsResponseMultiError, or nil if none found.

type ProjectOptionsResponseMultiError

type ProjectOptionsResponseMultiError []error

ProjectOptionsResponseMultiError is an error wrapping multiple validation errors returned by ProjectOptionsResponse.ValidateAll() if the designated constraints aren't met.

func (ProjectOptionsResponseMultiError) AllErrors

func (m ProjectOptionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProjectOptionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ProjectOptionsResponseValidationError

type ProjectOptionsResponseValidationError struct {
	// contains filtered or unexported fields
}

ProjectOptionsResponseValidationError is the validation error returned by ProjectOptionsResponse.Validate if the designated constraints aren't met.

func (ProjectOptionsResponseValidationError) Cause

Cause function returns cause value.

func (ProjectOptionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ProjectOptionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ProjectOptionsResponseValidationError) Field

Field function returns field value.

func (ProjectOptionsResponseValidationError) Key

Key function returns key value.

func (ProjectOptionsResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedGitServer

type UnimplementedGitServer struct {
}

UnimplementedGitServer must be embedded to have forward compatible implementations.

func (UnimplementedGitServer) AllRepos

func (UnimplementedGitServer) BranchOptions

func (UnimplementedGitServer) Commit

func (UnimplementedGitServer) CommitOptions

func (UnimplementedGitServer) PipelineInfo

func (UnimplementedGitServer) ProjectOptions

type UnsafeGitServer

type UnsafeGitServer interface {
	// contains filtered or unexported methods
}

UnsafeGitServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitServer will result in compilation errors.

Jump to

Keyboard shortcuts

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