gitserver

package
v0.0.0-...-51115e0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Overview

Package gitserver is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_gitserver_gitserver_proto protoreflect.FileDescriptor
View Source
var GitServer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "GitServer",
	HandlerType: (*GitServerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EnableProject",
			Handler:    _GitServer_EnableProject_Handler,
		},
		{
			MethodName: "DisableProject",
			Handler:    _GitServer_DisableProject_Handler,
		},
		{
			MethodName: "All",
			Handler:    _GitServer_All_Handler,
		},
		{
			MethodName: "ProjectOptions",
			Handler:    _GitServer_ProjectOptions_Handler,
		},
		{
			MethodName: "BranchOptions",
			Handler:    _GitServer_BranchOptions_Handler,
		},
		{
			MethodName: "CommitOptions",
			Handler:    _GitServer_CommitOptions_Handler,
		},
		{
			MethodName: "Commit",
			Handler:    _GitServer_Commit_Handler,
		},
		{
			MethodName: "PipelineInfo",
			Handler:    _GitServer_PipelineInfo_Handler,
		},
		{
			MethodName: "MarsConfigFile",
			Handler:    _GitServer_MarsConfigFile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gitserver/gitserver.proto",
}

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

Functions

func RegisterGitServerHandler

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

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

func RegisterGitServerHandlerClient

func RegisterGitServerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GitServerClient) error

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

func RegisterGitServerHandlerFromEndpoint

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

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

func RegisterGitServerHandlerServer

func RegisterGitServerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GitServerServer) error

RegisterGitServerHandlerServer registers the http handlers for service GitServer to "mux". UnaryRPC :call GitServerServer 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 RegisterGitServerHandlerFromEndpoint instead.

func RegisterGitServerServer

func RegisterGitServerServer(s grpc.ServiceRegistrar, srv GitServerServer)

Types

type GitAllProjectsRequest

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

func (*GitAllProjectsRequest) Descriptor deprecated

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

Deprecated: Use GitAllProjectsRequest.ProtoReflect.Descriptor instead.

func (*GitAllProjectsRequest) ProtoMessage

func (*GitAllProjectsRequest) ProtoMessage()

func (*GitAllProjectsRequest) ProtoReflect

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

func (*GitAllProjectsRequest) Reset

func (x *GitAllProjectsRequest) Reset()

func (*GitAllProjectsRequest) String

func (x *GitAllProjectsRequest) String() string

func (*GitAllProjectsRequest) Validate

func (m *GitAllProjectsRequest) Validate() error

Validate checks the field values on GitAllProjectsRequest 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 (*GitAllProjectsRequest) ValidateAll

func (m *GitAllProjectsRequest) ValidateAll() error

ValidateAll checks the field values on GitAllProjectsRequest 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 GitAllProjectsRequestMultiError, or nil if none found.

type GitAllProjectsRequestMultiError

type GitAllProjectsRequestMultiError []error

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

func (GitAllProjectsRequestMultiError) AllErrors

func (m GitAllProjectsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitAllProjectsRequestMultiError) Error

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

type GitAllProjectsRequestValidationError

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

GitAllProjectsRequestValidationError is the validation error returned by GitAllProjectsRequest.Validate if the designated constraints aren't met.

func (GitAllProjectsRequestValidationError) Cause

Cause function returns cause value.

func (GitAllProjectsRequestValidationError) Error

Error satisfies the builtin error interface

func (GitAllProjectsRequestValidationError) ErrorName

ErrorName returns error name.

func (GitAllProjectsRequestValidationError) Field

Field function returns field value.

func (GitAllProjectsRequestValidationError) Key

Key function returns key value.

func (GitAllProjectsRequestValidationError) Reason

Reason function returns reason value.

type GitAllProjectsResponse

type GitAllProjectsResponse struct {
	Data []*GitProjectItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GitAllProjectsResponse) Descriptor deprecated

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

Deprecated: Use GitAllProjectsResponse.ProtoReflect.Descriptor instead.

func (*GitAllProjectsResponse) GetData

func (x *GitAllProjectsResponse) GetData() []*GitProjectItem

func (*GitAllProjectsResponse) ProtoMessage

func (*GitAllProjectsResponse) ProtoMessage()

func (*GitAllProjectsResponse) ProtoReflect

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

func (*GitAllProjectsResponse) Reset

func (x *GitAllProjectsResponse) Reset()

func (*GitAllProjectsResponse) String

func (x *GitAllProjectsResponse) String() string

func (*GitAllProjectsResponse) Validate

func (m *GitAllProjectsResponse) Validate() error

Validate checks the field values on GitAllProjectsResponse 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 (*GitAllProjectsResponse) ValidateAll

func (m *GitAllProjectsResponse) ValidateAll() error

ValidateAll checks the field values on GitAllProjectsResponse 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 GitAllProjectsResponseMultiError, or nil if none found.

type GitAllProjectsResponseMultiError

type GitAllProjectsResponseMultiError []error

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

func (GitAllProjectsResponseMultiError) AllErrors

func (m GitAllProjectsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitAllProjectsResponseMultiError) Error

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

type GitAllProjectsResponseValidationError

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

GitAllProjectsResponseValidationError is the validation error returned by GitAllProjectsResponse.Validate if the designated constraints aren't met.

func (GitAllProjectsResponseValidationError) Cause

Cause function returns cause value.

func (GitAllProjectsResponseValidationError) Error

Error satisfies the builtin error interface

func (GitAllProjectsResponseValidationError) ErrorName

ErrorName returns error name.

func (GitAllProjectsResponseValidationError) Field

Field function returns field value.

func (GitAllProjectsResponseValidationError) Key

Key function returns key value.

func (GitAllProjectsResponseValidationError) Reason

Reason function returns reason value.

type GitBranchOptionsRequest

type GitBranchOptionsRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	All       bool   `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

func (*GitBranchOptionsRequest) Descriptor deprecated

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

Deprecated: Use GitBranchOptionsRequest.ProtoReflect.Descriptor instead.

func (*GitBranchOptionsRequest) GetAll

func (x *GitBranchOptionsRequest) GetAll() bool

func (*GitBranchOptionsRequest) GetProjectId

func (x *GitBranchOptionsRequest) GetProjectId() string

func (*GitBranchOptionsRequest) ProtoMessage

func (*GitBranchOptionsRequest) ProtoMessage()

func (*GitBranchOptionsRequest) ProtoReflect

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

func (*GitBranchOptionsRequest) Reset

func (x *GitBranchOptionsRequest) Reset()

func (*GitBranchOptionsRequest) String

func (x *GitBranchOptionsRequest) String() string

func (*GitBranchOptionsRequest) Validate

func (m *GitBranchOptionsRequest) Validate() error

Validate checks the field values on GitBranchOptionsRequest 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 (*GitBranchOptionsRequest) ValidateAll

func (m *GitBranchOptionsRequest) ValidateAll() error

ValidateAll checks the field values on GitBranchOptionsRequest 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 GitBranchOptionsRequestMultiError, or nil if none found.

type GitBranchOptionsRequestMultiError

type GitBranchOptionsRequestMultiError []error

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

func (GitBranchOptionsRequestMultiError) AllErrors

func (m GitBranchOptionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitBranchOptionsRequestMultiError) Error

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

type GitBranchOptionsRequestValidationError

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

GitBranchOptionsRequestValidationError is the validation error returned by GitBranchOptionsRequest.Validate if the designated constraints aren't met.

func (GitBranchOptionsRequestValidationError) Cause

Cause function returns cause value.

func (GitBranchOptionsRequestValidationError) Error

Error satisfies the builtin error interface

func (GitBranchOptionsRequestValidationError) ErrorName

ErrorName returns error name.

func (GitBranchOptionsRequestValidationError) Field

Field function returns field value.

func (GitBranchOptionsRequestValidationError) Key

Key function returns key value.

func (GitBranchOptionsRequestValidationError) Reason

Reason function returns reason value.

type GitBranchOptionsResponse

type GitBranchOptionsResponse struct {
	Data []*GitOption `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GitBranchOptionsResponse) Descriptor deprecated

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

Deprecated: Use GitBranchOptionsResponse.ProtoReflect.Descriptor instead.

func (*GitBranchOptionsResponse) GetData

func (x *GitBranchOptionsResponse) GetData() []*GitOption

func (*GitBranchOptionsResponse) ProtoMessage

func (*GitBranchOptionsResponse) ProtoMessage()

func (*GitBranchOptionsResponse) ProtoReflect

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

func (*GitBranchOptionsResponse) Reset

func (x *GitBranchOptionsResponse) Reset()

func (*GitBranchOptionsResponse) String

func (x *GitBranchOptionsResponse) String() string

func (*GitBranchOptionsResponse) Validate

func (m *GitBranchOptionsResponse) Validate() error

Validate checks the field values on GitBranchOptionsResponse 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 (*GitBranchOptionsResponse) ValidateAll

func (m *GitBranchOptionsResponse) ValidateAll() error

ValidateAll checks the field values on GitBranchOptionsResponse 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 GitBranchOptionsResponseMultiError, or nil if none found.

type GitBranchOptionsResponseMultiError

type GitBranchOptionsResponseMultiError []error

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

func (GitBranchOptionsResponseMultiError) AllErrors

func (m GitBranchOptionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitBranchOptionsResponseMultiError) Error

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

type GitBranchOptionsResponseValidationError

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

GitBranchOptionsResponseValidationError is the validation error returned by GitBranchOptionsResponse.Validate if the designated constraints aren't met.

func (GitBranchOptionsResponseValidationError) Cause

Cause function returns cause value.

func (GitBranchOptionsResponseValidationError) Error

Error satisfies the builtin error interface

func (GitBranchOptionsResponseValidationError) ErrorName

ErrorName returns error name.

func (GitBranchOptionsResponseValidationError) Field

Field function returns field value.

func (GitBranchOptionsResponseValidationError) Key

Key function returns key value.

func (GitBranchOptionsResponseValidationError) Reason

Reason function returns reason value.

type GitCommitOptionsRequest

type GitCommitOptionsRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Branch    string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*GitCommitOptionsRequest) Descriptor deprecated

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

Deprecated: Use GitCommitOptionsRequest.ProtoReflect.Descriptor instead.

func (*GitCommitOptionsRequest) GetBranch

func (x *GitCommitOptionsRequest) GetBranch() string

func (*GitCommitOptionsRequest) GetProjectId

func (x *GitCommitOptionsRequest) GetProjectId() string

func (*GitCommitOptionsRequest) ProtoMessage

func (*GitCommitOptionsRequest) ProtoMessage()

func (*GitCommitOptionsRequest) ProtoReflect

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

func (*GitCommitOptionsRequest) Reset

func (x *GitCommitOptionsRequest) Reset()

func (*GitCommitOptionsRequest) String

func (x *GitCommitOptionsRequest) String() string

func (*GitCommitOptionsRequest) Validate

func (m *GitCommitOptionsRequest) Validate() error

Validate checks the field values on GitCommitOptionsRequest 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 (*GitCommitOptionsRequest) ValidateAll

func (m *GitCommitOptionsRequest) ValidateAll() error

ValidateAll checks the field values on GitCommitOptionsRequest 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 GitCommitOptionsRequestMultiError, or nil if none found.

type GitCommitOptionsRequestMultiError

type GitCommitOptionsRequestMultiError []error

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

func (GitCommitOptionsRequestMultiError) AllErrors

func (m GitCommitOptionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitCommitOptionsRequestMultiError) Error

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

type GitCommitOptionsRequestValidationError

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

GitCommitOptionsRequestValidationError is the validation error returned by GitCommitOptionsRequest.Validate if the designated constraints aren't met.

func (GitCommitOptionsRequestValidationError) Cause

Cause function returns cause value.

func (GitCommitOptionsRequestValidationError) Error

Error satisfies the builtin error interface

func (GitCommitOptionsRequestValidationError) ErrorName

ErrorName returns error name.

func (GitCommitOptionsRequestValidationError) Field

Field function returns field value.

func (GitCommitOptionsRequestValidationError) Key

Key function returns key value.

func (GitCommitOptionsRequestValidationError) Reason

Reason function returns reason value.

type GitCommitOptionsResponse

type GitCommitOptionsResponse struct {
	Data []*GitOption `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GitCommitOptionsResponse) Descriptor deprecated

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

Deprecated: Use GitCommitOptionsResponse.ProtoReflect.Descriptor instead.

func (*GitCommitOptionsResponse) GetData

func (x *GitCommitOptionsResponse) GetData() []*GitOption

func (*GitCommitOptionsResponse) ProtoMessage

func (*GitCommitOptionsResponse) ProtoMessage()

func (*GitCommitOptionsResponse) ProtoReflect

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

func (*GitCommitOptionsResponse) Reset

func (x *GitCommitOptionsResponse) Reset()

func (*GitCommitOptionsResponse) String

func (x *GitCommitOptionsResponse) String() string

func (*GitCommitOptionsResponse) Validate

func (m *GitCommitOptionsResponse) Validate() error

Validate checks the field values on GitCommitOptionsResponse 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 (*GitCommitOptionsResponse) ValidateAll

func (m *GitCommitOptionsResponse) ValidateAll() error

ValidateAll checks the field values on GitCommitOptionsResponse 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 GitCommitOptionsResponseMultiError, or nil if none found.

type GitCommitOptionsResponseMultiError

type GitCommitOptionsResponseMultiError []error

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

func (GitCommitOptionsResponseMultiError) AllErrors

func (m GitCommitOptionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitCommitOptionsResponseMultiError) Error

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

type GitCommitOptionsResponseValidationError

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

GitCommitOptionsResponseValidationError is the validation error returned by GitCommitOptionsResponse.Validate if the designated constraints aren't met.

func (GitCommitOptionsResponseValidationError) Cause

Cause function returns cause value.

func (GitCommitOptionsResponseValidationError) Error

Error satisfies the builtin error interface

func (GitCommitOptionsResponseValidationError) ErrorName

ErrorName returns error name.

func (GitCommitOptionsResponseValidationError) Field

Field function returns field value.

func (GitCommitOptionsResponseValidationError) Key

Key function returns key value.

func (GitCommitOptionsResponseValidationError) Reason

Reason function returns reason value.

type GitCommitRequest

type GitCommitRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"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 (*GitCommitRequest) Descriptor deprecated

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

Deprecated: Use GitCommitRequest.ProtoReflect.Descriptor instead.

func (*GitCommitRequest) GetBranch

func (x *GitCommitRequest) GetBranch() string

func (*GitCommitRequest) GetCommit

func (x *GitCommitRequest) GetCommit() string

func (*GitCommitRequest) GetProjectId

func (x *GitCommitRequest) GetProjectId() string

func (*GitCommitRequest) ProtoMessage

func (*GitCommitRequest) ProtoMessage()

func (*GitCommitRequest) ProtoReflect

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

func (*GitCommitRequest) Reset

func (x *GitCommitRequest) Reset()

func (*GitCommitRequest) String

func (x *GitCommitRequest) String() string

func (*GitCommitRequest) Validate

func (m *GitCommitRequest) Validate() error

Validate checks the field values on GitCommitRequest 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 (*GitCommitRequest) ValidateAll

func (m *GitCommitRequest) ValidateAll() error

ValidateAll checks the field values on GitCommitRequest 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 GitCommitRequestMultiError, or nil if none found.

type GitCommitRequestMultiError

type GitCommitRequestMultiError []error

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

func (GitCommitRequestMultiError) AllErrors

func (m GitCommitRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitCommitRequestMultiError) Error

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

type GitCommitRequestValidationError

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

GitCommitRequestValidationError is the validation error returned by GitCommitRequest.Validate if the designated constraints aren't met.

func (GitCommitRequestValidationError) Cause

Cause function returns cause value.

func (GitCommitRequestValidationError) Error

Error satisfies the builtin error interface

func (GitCommitRequestValidationError) ErrorName

ErrorName returns error name.

func (GitCommitRequestValidationError) Field

Field function returns field value.

func (GitCommitRequestValidationError) Key

Key function returns key value.

func (GitCommitRequestValidationError) Reason

Reason function returns reason value.

type GitCommitResponse

type GitCommitResponse struct {
	Data *GitOption `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GitCommitResponse) Descriptor deprecated

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

Deprecated: Use GitCommitResponse.ProtoReflect.Descriptor instead.

func (*GitCommitResponse) GetData

func (x *GitCommitResponse) GetData() *GitOption

func (*GitCommitResponse) ProtoMessage

func (*GitCommitResponse) ProtoMessage()

func (*GitCommitResponse) ProtoReflect

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

func (*GitCommitResponse) Reset

func (x *GitCommitResponse) Reset()

func (*GitCommitResponse) String

func (x *GitCommitResponse) String() string

func (*GitCommitResponse) Validate

func (m *GitCommitResponse) Validate() error

Validate checks the field values on GitCommitResponse 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 (*GitCommitResponse) ValidateAll

func (m *GitCommitResponse) ValidateAll() error

ValidateAll checks the field values on GitCommitResponse 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 GitCommitResponseMultiError, or nil if none found.

type GitCommitResponseMultiError

type GitCommitResponseMultiError []error

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

func (GitCommitResponseMultiError) AllErrors

func (m GitCommitResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitCommitResponseMultiError) Error

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

type GitCommitResponseValidationError

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

GitCommitResponseValidationError is the validation error returned by GitCommitResponse.Validate if the designated constraints aren't met.

func (GitCommitResponseValidationError) Cause

Cause function returns cause value.

func (GitCommitResponseValidationError) Error

Error satisfies the builtin error interface

func (GitCommitResponseValidationError) ErrorName

ErrorName returns error name.

func (GitCommitResponseValidationError) Field

Field function returns field value.

func (GitCommitResponseValidationError) Key

Key function returns key value.

func (GitCommitResponseValidationError) Reason

Reason function returns reason value.

type GitConfigFileRequest

type GitConfigFileRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Branch    string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*GitConfigFileRequest) Descriptor deprecated

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

Deprecated: Use GitConfigFileRequest.ProtoReflect.Descriptor instead.

func (*GitConfigFileRequest) GetBranch

func (x *GitConfigFileRequest) GetBranch() string

func (*GitConfigFileRequest) GetProjectId

func (x *GitConfigFileRequest) GetProjectId() string

func (*GitConfigFileRequest) ProtoMessage

func (*GitConfigFileRequest) ProtoMessage()

func (*GitConfigFileRequest) ProtoReflect

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

func (*GitConfigFileRequest) Reset

func (x *GitConfigFileRequest) Reset()

func (*GitConfigFileRequest) String

func (x *GitConfigFileRequest) String() string

func (*GitConfigFileRequest) Validate

func (m *GitConfigFileRequest) Validate() error

Validate checks the field values on GitConfigFileRequest 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 (*GitConfigFileRequest) ValidateAll

func (m *GitConfigFileRequest) ValidateAll() error

ValidateAll checks the field values on GitConfigFileRequest 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 GitConfigFileRequestMultiError, or nil if none found.

type GitConfigFileRequestMultiError

type GitConfigFileRequestMultiError []error

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

func (GitConfigFileRequestMultiError) AllErrors

func (m GitConfigFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitConfigFileRequestMultiError) Error

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

type GitConfigFileRequestValidationError

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

GitConfigFileRequestValidationError is the validation error returned by GitConfigFileRequest.Validate if the designated constraints aren't met.

func (GitConfigFileRequestValidationError) Cause

Cause function returns cause value.

func (GitConfigFileRequestValidationError) Error

Error satisfies the builtin error interface

func (GitConfigFileRequestValidationError) ErrorName

ErrorName returns error name.

func (GitConfigFileRequestValidationError) Field

Field function returns field value.

func (GitConfigFileRequestValidationError) Key

Key function returns key value.

func (GitConfigFileRequestValidationError) Reason

Reason function returns reason value.

type GitConfigFileResponse

type GitConfigFileResponse struct {
	Data     string          `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Type     string          `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Elements []*mars.Element `protobuf:"bytes,3,rep,name=elements,proto3" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

func (*GitConfigFileResponse) Descriptor deprecated

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

Deprecated: Use GitConfigFileResponse.ProtoReflect.Descriptor instead.

func (*GitConfigFileResponse) GetData

func (x *GitConfigFileResponse) GetData() string

func (*GitConfigFileResponse) GetElements

func (x *GitConfigFileResponse) GetElements() []*mars.Element

func (*GitConfigFileResponse) GetType

func (x *GitConfigFileResponse) GetType() string

func (*GitConfigFileResponse) ProtoMessage

func (*GitConfigFileResponse) ProtoMessage()

func (*GitConfigFileResponse) ProtoReflect

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

func (*GitConfigFileResponse) Reset

func (x *GitConfigFileResponse) Reset()

func (*GitConfigFileResponse) String

func (x *GitConfigFileResponse) String() string

func (*GitConfigFileResponse) Validate

func (m *GitConfigFileResponse) Validate() error

Validate checks the field values on GitConfigFileResponse 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 (*GitConfigFileResponse) ValidateAll

func (m *GitConfigFileResponse) ValidateAll() error

ValidateAll checks the field values on GitConfigFileResponse 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 GitConfigFileResponseMultiError, or nil if none found.

type GitConfigFileResponseMultiError

type GitConfigFileResponseMultiError []error

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

func (GitConfigFileResponseMultiError) AllErrors

func (m GitConfigFileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitConfigFileResponseMultiError) Error

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

type GitConfigFileResponseValidationError

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

GitConfigFileResponseValidationError is the validation error returned by GitConfigFileResponse.Validate if the designated constraints aren't met.

func (GitConfigFileResponseValidationError) Cause

Cause function returns cause value.

func (GitConfigFileResponseValidationError) Error

Error satisfies the builtin error interface

func (GitConfigFileResponseValidationError) ErrorName

ErrorName returns error name.

func (GitConfigFileResponseValidationError) Field

Field function returns field value.

func (GitConfigFileResponseValidationError) Key

Key function returns key value.

func (GitConfigFileResponseValidationError) Reason

Reason function returns reason value.

type GitDestroyRequest

type GitDestroyRequest struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	ProjectId   string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GitDestroyRequest) Descriptor deprecated

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

Deprecated: Use GitDestroyRequest.ProtoReflect.Descriptor instead.

func (*GitDestroyRequest) GetNamespaceId

func (x *GitDestroyRequest) GetNamespaceId() string

func (*GitDestroyRequest) GetProjectId

func (x *GitDestroyRequest) GetProjectId() string

func (*GitDestroyRequest) ProtoMessage

func (*GitDestroyRequest) ProtoMessage()

func (*GitDestroyRequest) ProtoReflect

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

func (*GitDestroyRequest) Reset

func (x *GitDestroyRequest) Reset()

func (*GitDestroyRequest) String

func (x *GitDestroyRequest) String() string

func (*GitDestroyRequest) Validate

func (m *GitDestroyRequest) Validate() error

Validate checks the field values on GitDestroyRequest 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 (*GitDestroyRequest) ValidateAll

func (m *GitDestroyRequest) ValidateAll() error

ValidateAll checks the field values on GitDestroyRequest 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 GitDestroyRequestMultiError, or nil if none found.

type GitDestroyRequestMultiError

type GitDestroyRequestMultiError []error

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

func (GitDestroyRequestMultiError) AllErrors

func (m GitDestroyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitDestroyRequestMultiError) Error

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

type GitDestroyRequestValidationError

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

GitDestroyRequestValidationError is the validation error returned by GitDestroyRequest.Validate if the designated constraints aren't met.

func (GitDestroyRequestValidationError) Cause

Cause function returns cause value.

func (GitDestroyRequestValidationError) Error

Error satisfies the builtin error interface

func (GitDestroyRequestValidationError) ErrorName

ErrorName returns error name.

func (GitDestroyRequestValidationError) Field

Field function returns field value.

func (GitDestroyRequestValidationError) Key

Key function returns key value.

func (GitDestroyRequestValidationError) Reason

Reason function returns reason value.

type GitDisableProjectRequest

type GitDisableProjectRequest struct {
	GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GitDisableProjectRequest) Descriptor deprecated

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

Deprecated: Use GitDisableProjectRequest.ProtoReflect.Descriptor instead.

func (*GitDisableProjectRequest) GetGitProjectId

func (x *GitDisableProjectRequest) GetGitProjectId() string

func (*GitDisableProjectRequest) ProtoMessage

func (*GitDisableProjectRequest) ProtoMessage()

func (*GitDisableProjectRequest) ProtoReflect

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

func (*GitDisableProjectRequest) Reset

func (x *GitDisableProjectRequest) Reset()

func (*GitDisableProjectRequest) String

func (x *GitDisableProjectRequest) String() string

func (*GitDisableProjectRequest) Validate

func (m *GitDisableProjectRequest) Validate() error

Validate checks the field values on GitDisableProjectRequest 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 (*GitDisableProjectRequest) ValidateAll

func (m *GitDisableProjectRequest) ValidateAll() error

ValidateAll checks the field values on GitDisableProjectRequest 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 GitDisableProjectRequestMultiError, or nil if none found.

type GitDisableProjectRequestMultiError

type GitDisableProjectRequestMultiError []error

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

func (GitDisableProjectRequestMultiError) AllErrors

func (m GitDisableProjectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitDisableProjectRequestMultiError) Error

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

type GitDisableProjectRequestValidationError

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

GitDisableProjectRequestValidationError is the validation error returned by GitDisableProjectRequest.Validate if the designated constraints aren't met.

func (GitDisableProjectRequestValidationError) Cause

Cause function returns cause value.

func (GitDisableProjectRequestValidationError) Error

Error satisfies the builtin error interface

func (GitDisableProjectRequestValidationError) ErrorName

ErrorName returns error name.

func (GitDisableProjectRequestValidationError) Field

Field function returns field value.

func (GitDisableProjectRequestValidationError) Key

Key function returns key value.

func (GitDisableProjectRequestValidationError) Reason

Reason function returns reason value.

type GitDisableProjectResponse

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

func (*GitDisableProjectResponse) Descriptor deprecated

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

Deprecated: Use GitDisableProjectResponse.ProtoReflect.Descriptor instead.

func (*GitDisableProjectResponse) ProtoMessage

func (*GitDisableProjectResponse) ProtoMessage()

func (*GitDisableProjectResponse) ProtoReflect

func (*GitDisableProjectResponse) Reset

func (x *GitDisableProjectResponse) Reset()

func (*GitDisableProjectResponse) String

func (x *GitDisableProjectResponse) String() string

func (*GitDisableProjectResponse) Validate

func (m *GitDisableProjectResponse) Validate() error

Validate checks the field values on GitDisableProjectResponse 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 (*GitDisableProjectResponse) ValidateAll

func (m *GitDisableProjectResponse) ValidateAll() error

ValidateAll checks the field values on GitDisableProjectResponse 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 GitDisableProjectResponseMultiError, or nil if none found.

type GitDisableProjectResponseMultiError

type GitDisableProjectResponseMultiError []error

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

func (GitDisableProjectResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GitDisableProjectResponseMultiError) Error

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

type GitDisableProjectResponseValidationError

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

GitDisableProjectResponseValidationError is the validation error returned by GitDisableProjectResponse.Validate if the designated constraints aren't met.

func (GitDisableProjectResponseValidationError) Cause

Cause function returns cause value.

func (GitDisableProjectResponseValidationError) Error

Error satisfies the builtin error interface

func (GitDisableProjectResponseValidationError) ErrorName

ErrorName returns error name.

func (GitDisableProjectResponseValidationError) Field

Field function returns field value.

func (GitDisableProjectResponseValidationError) Key

Key function returns key value.

func (GitDisableProjectResponseValidationError) Reason

Reason function returns reason value.

type GitEnableProjectRequest

type GitEnableProjectRequest struct {
	GitProjectId string `protobuf:"bytes,1,opt,name=git_project_id,json=gitProjectId,proto3" json:"git_project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GitEnableProjectRequest) Descriptor deprecated

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

Deprecated: Use GitEnableProjectRequest.ProtoReflect.Descriptor instead.

func (*GitEnableProjectRequest) GetGitProjectId

func (x *GitEnableProjectRequest) GetGitProjectId() string

func (*GitEnableProjectRequest) ProtoMessage

func (*GitEnableProjectRequest) ProtoMessage()

func (*GitEnableProjectRequest) ProtoReflect

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

func (*GitEnableProjectRequest) Reset

func (x *GitEnableProjectRequest) Reset()

func (*GitEnableProjectRequest) String

func (x *GitEnableProjectRequest) String() string

func (*GitEnableProjectRequest) Validate

func (m *GitEnableProjectRequest) Validate() error

Validate checks the field values on GitEnableProjectRequest 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 (*GitEnableProjectRequest) ValidateAll

func (m *GitEnableProjectRequest) ValidateAll() error

ValidateAll checks the field values on GitEnableProjectRequest 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 GitEnableProjectRequestMultiError, or nil if none found.

type GitEnableProjectRequestMultiError

type GitEnableProjectRequestMultiError []error

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

func (GitEnableProjectRequestMultiError) AllErrors

func (m GitEnableProjectRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitEnableProjectRequestMultiError) Error

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

type GitEnableProjectRequestValidationError

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

GitEnableProjectRequestValidationError is the validation error returned by GitEnableProjectRequest.Validate if the designated constraints aren't met.

func (GitEnableProjectRequestValidationError) Cause

Cause function returns cause value.

func (GitEnableProjectRequestValidationError) Error

Error satisfies the builtin error interface

func (GitEnableProjectRequestValidationError) ErrorName

ErrorName returns error name.

func (GitEnableProjectRequestValidationError) Field

Field function returns field value.

func (GitEnableProjectRequestValidationError) Key

Key function returns key value.

func (GitEnableProjectRequestValidationError) Reason

Reason function returns reason value.

type GitEnableProjectResponse

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

func (*GitEnableProjectResponse) Descriptor deprecated

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

Deprecated: Use GitEnableProjectResponse.ProtoReflect.Descriptor instead.

func (*GitEnableProjectResponse) ProtoMessage

func (*GitEnableProjectResponse) ProtoMessage()

func (*GitEnableProjectResponse) ProtoReflect

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

func (*GitEnableProjectResponse) Reset

func (x *GitEnableProjectResponse) Reset()

func (*GitEnableProjectResponse) String

func (x *GitEnableProjectResponse) String() string

func (*GitEnableProjectResponse) Validate

func (m *GitEnableProjectResponse) Validate() error

Validate checks the field values on GitEnableProjectResponse 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 (*GitEnableProjectResponse) ValidateAll

func (m *GitEnableProjectResponse) ValidateAll() error

ValidateAll checks the field values on GitEnableProjectResponse 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 GitEnableProjectResponseMultiError, or nil if none found.

type GitEnableProjectResponseMultiError

type GitEnableProjectResponseMultiError []error

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

func (GitEnableProjectResponseMultiError) AllErrors

func (m GitEnableProjectResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitEnableProjectResponseMultiError) Error

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

type GitEnableProjectResponseValidationError

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

GitEnableProjectResponseValidationError is the validation error returned by GitEnableProjectResponse.Validate if the designated constraints aren't met.

func (GitEnableProjectResponseValidationError) Cause

Cause function returns cause value.

func (GitEnableProjectResponseValidationError) Error

Error satisfies the builtin error interface

func (GitEnableProjectResponseValidationError) ErrorName

ErrorName returns error name.

func (GitEnableProjectResponseValidationError) Field

Field function returns field value.

func (GitEnableProjectResponseValidationError) Key

Key function returns key value.

func (GitEnableProjectResponseValidationError) Reason

Reason function returns reason value.

type GitOption

type GitOption 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 兼容 antd
	IsLeaf    bool   `protobuf:"varint,4,opt,name=isLeaf,proto3" json:"isLeaf,omitempty"`
	ProjectId string `protobuf:"bytes,5,opt,name=projectId,proto3" json:"projectId,omitempty"`
	Branch    string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*GitOption) Descriptor deprecated

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

Deprecated: Use GitOption.ProtoReflect.Descriptor instead.

func (*GitOption) GetBranch

func (x *GitOption) GetBranch() string

func (*GitOption) GetIsLeaf

func (x *GitOption) GetIsLeaf() bool

func (*GitOption) GetLabel

func (x *GitOption) GetLabel() string

func (*GitOption) GetProjectId

func (x *GitOption) GetProjectId() string

func (*GitOption) GetType

func (x *GitOption) GetType() string

func (*GitOption) GetValue

func (x *GitOption) GetValue() string

func (*GitOption) ProtoMessage

func (*GitOption) ProtoMessage()

func (*GitOption) ProtoReflect

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

func (*GitOption) Reset

func (x *GitOption) Reset()

func (*GitOption) String

func (x *GitOption) String() string

func (*GitOption) Validate

func (m *GitOption) Validate() error

Validate checks the field values on GitOption 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 (*GitOption) ValidateAll

func (m *GitOption) ValidateAll() error

ValidateAll checks the field values on GitOption 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 GitOptionMultiError, or nil if none found.

type GitOptionMultiError

type GitOptionMultiError []error

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

func (GitOptionMultiError) AllErrors

func (m GitOptionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitOptionMultiError) Error

func (m GitOptionMultiError) Error() string

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

type GitOptionValidationError

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

GitOptionValidationError is the validation error returned by GitOption.Validate if the designated constraints aren't met.

func (GitOptionValidationError) Cause

func (e GitOptionValidationError) Cause() error

Cause function returns cause value.

func (GitOptionValidationError) Error

func (e GitOptionValidationError) Error() string

Error satisfies the builtin error interface

func (GitOptionValidationError) ErrorName

func (e GitOptionValidationError) ErrorName() string

ErrorName returns error name.

func (GitOptionValidationError) Field

func (e GitOptionValidationError) Field() string

Field function returns field value.

func (GitOptionValidationError) Key

Key function returns key value.

func (GitOptionValidationError) Reason

func (e GitOptionValidationError) Reason() string

Reason function returns reason value.

type GitPipelineInfoRequest

type GitPipelineInfoRequest struct {
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"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 (*GitPipelineInfoRequest) Descriptor deprecated

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

Deprecated: Use GitPipelineInfoRequest.ProtoReflect.Descriptor instead.

func (*GitPipelineInfoRequest) GetBranch

func (x *GitPipelineInfoRequest) GetBranch() string

func (*GitPipelineInfoRequest) GetCommit

func (x *GitPipelineInfoRequest) GetCommit() string

func (*GitPipelineInfoRequest) GetProjectId

func (x *GitPipelineInfoRequest) GetProjectId() string

func (*GitPipelineInfoRequest) ProtoMessage

func (*GitPipelineInfoRequest) ProtoMessage()

func (*GitPipelineInfoRequest) ProtoReflect

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

func (*GitPipelineInfoRequest) Reset

func (x *GitPipelineInfoRequest) Reset()

func (*GitPipelineInfoRequest) String

func (x *GitPipelineInfoRequest) String() string

func (*GitPipelineInfoRequest) Validate

func (m *GitPipelineInfoRequest) Validate() error

Validate checks the field values on GitPipelineInfoRequest 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 (*GitPipelineInfoRequest) ValidateAll

func (m *GitPipelineInfoRequest) ValidateAll() error

ValidateAll checks the field values on GitPipelineInfoRequest 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 GitPipelineInfoRequestMultiError, or nil if none found.

type GitPipelineInfoRequestMultiError

type GitPipelineInfoRequestMultiError []error

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

func (GitPipelineInfoRequestMultiError) AllErrors

func (m GitPipelineInfoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitPipelineInfoRequestMultiError) Error

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

type GitPipelineInfoRequestValidationError

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

GitPipelineInfoRequestValidationError is the validation error returned by GitPipelineInfoRequest.Validate if the designated constraints aren't met.

func (GitPipelineInfoRequestValidationError) Cause

Cause function returns cause value.

func (GitPipelineInfoRequestValidationError) Error

Error satisfies the builtin error interface

func (GitPipelineInfoRequestValidationError) ErrorName

ErrorName returns error name.

func (GitPipelineInfoRequestValidationError) Field

Field function returns field value.

func (GitPipelineInfoRequestValidationError) Key

Key function returns key value.

func (GitPipelineInfoRequestValidationError) Reason

Reason function returns reason value.

type GitPipelineInfoResponse

type GitPipelineInfoResponse 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 (*GitPipelineInfoResponse) Descriptor deprecated

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

Deprecated: Use GitPipelineInfoResponse.ProtoReflect.Descriptor instead.

func (*GitPipelineInfoResponse) GetStatus

func (x *GitPipelineInfoResponse) GetStatus() string

func (*GitPipelineInfoResponse) GetWebUrl

func (x *GitPipelineInfoResponse) GetWebUrl() string

func (*GitPipelineInfoResponse) ProtoMessage

func (*GitPipelineInfoResponse) ProtoMessage()

func (*GitPipelineInfoResponse) ProtoReflect

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

func (*GitPipelineInfoResponse) Reset

func (x *GitPipelineInfoResponse) Reset()

func (*GitPipelineInfoResponse) String

func (x *GitPipelineInfoResponse) String() string

func (*GitPipelineInfoResponse) Validate

func (m *GitPipelineInfoResponse) Validate() error

Validate checks the field values on GitPipelineInfoResponse 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 (*GitPipelineInfoResponse) ValidateAll

func (m *GitPipelineInfoResponse) ValidateAll() error

ValidateAll checks the field values on GitPipelineInfoResponse 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 GitPipelineInfoResponseMultiError, or nil if none found.

type GitPipelineInfoResponseMultiError

type GitPipelineInfoResponseMultiError []error

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

func (GitPipelineInfoResponseMultiError) AllErrors

func (m GitPipelineInfoResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitPipelineInfoResponseMultiError) Error

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

type GitPipelineInfoResponseValidationError

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

GitPipelineInfoResponseValidationError is the validation error returned by GitPipelineInfoResponse.Validate if the designated constraints aren't met.

func (GitPipelineInfoResponseValidationError) Cause

Cause function returns cause value.

func (GitPipelineInfoResponseValidationError) Error

Error satisfies the builtin error interface

func (GitPipelineInfoResponseValidationError) ErrorName

ErrorName returns error name.

func (GitPipelineInfoResponseValidationError) Field

Field function returns field value.

func (GitPipelineInfoResponseValidationError) Key

Key function returns key value.

func (GitPipelineInfoResponseValidationError) Reason

Reason function returns reason value.

type GitProjectItem

type GitProjectItem struct {
	Id            int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Path          string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,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"`
	Description   string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	Enabled       bool   `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	GlobalEnabled bool   `protobuf:"varint,8,opt,name=global_enabled,json=globalEnabled,proto3" json:"global_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*GitProjectItem) Descriptor deprecated

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

Deprecated: Use GitProjectItem.ProtoReflect.Descriptor instead.

func (*GitProjectItem) GetAvatarUrl

func (x *GitProjectItem) GetAvatarUrl() string

func (*GitProjectItem) GetDescription

func (x *GitProjectItem) GetDescription() string

func (*GitProjectItem) GetEnabled

func (x *GitProjectItem) GetEnabled() bool

func (*GitProjectItem) GetGlobalEnabled

func (x *GitProjectItem) GetGlobalEnabled() bool

func (*GitProjectItem) GetId

func (x *GitProjectItem) GetId() int64

func (*GitProjectItem) GetName

func (x *GitProjectItem) GetName() string

func (*GitProjectItem) GetPath

func (x *GitProjectItem) GetPath() string

func (*GitProjectItem) GetWebUrl

func (x *GitProjectItem) GetWebUrl() string

func (*GitProjectItem) ProtoMessage

func (*GitProjectItem) ProtoMessage()

func (*GitProjectItem) ProtoReflect

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

func (*GitProjectItem) Reset

func (x *GitProjectItem) Reset()

func (*GitProjectItem) String

func (x *GitProjectItem) String() string

func (*GitProjectItem) Validate

func (m *GitProjectItem) Validate() error

Validate checks the field values on GitProjectItem 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 (*GitProjectItem) ValidateAll

func (m *GitProjectItem) ValidateAll() error

ValidateAll checks the field values on GitProjectItem 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 GitProjectItemMultiError, or nil if none found.

type GitProjectItemMultiError

type GitProjectItemMultiError []error

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

func (GitProjectItemMultiError) AllErrors

func (m GitProjectItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitProjectItemMultiError) Error

func (m GitProjectItemMultiError) Error() string

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

type GitProjectItemValidationError

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

GitProjectItemValidationError is the validation error returned by GitProjectItem.Validate if the designated constraints aren't met.

func (GitProjectItemValidationError) Cause

Cause function returns cause value.

func (GitProjectItemValidationError) Error

Error satisfies the builtin error interface

func (GitProjectItemValidationError) ErrorName

func (e GitProjectItemValidationError) ErrorName() string

ErrorName returns error name.

func (GitProjectItemValidationError) Field

Field function returns field value.

func (GitProjectItemValidationError) Key

Key function returns key value.

func (GitProjectItemValidationError) Reason

Reason function returns reason value.

type GitProjectOptionsRequest

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

func (*GitProjectOptionsRequest) Descriptor deprecated

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

Deprecated: Use GitProjectOptionsRequest.ProtoReflect.Descriptor instead.

func (*GitProjectOptionsRequest) ProtoMessage

func (*GitProjectOptionsRequest) ProtoMessage()

func (*GitProjectOptionsRequest) ProtoReflect

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

func (*GitProjectOptionsRequest) Reset

func (x *GitProjectOptionsRequest) Reset()

func (*GitProjectOptionsRequest) String

func (x *GitProjectOptionsRequest) String() string

func (*GitProjectOptionsRequest) Validate

func (m *GitProjectOptionsRequest) Validate() error

Validate checks the field values on GitProjectOptionsRequest 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 (*GitProjectOptionsRequest) ValidateAll

func (m *GitProjectOptionsRequest) ValidateAll() error

ValidateAll checks the field values on GitProjectOptionsRequest 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 GitProjectOptionsRequestMultiError, or nil if none found.

type GitProjectOptionsRequestMultiError

type GitProjectOptionsRequestMultiError []error

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

func (GitProjectOptionsRequestMultiError) AllErrors

func (m GitProjectOptionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitProjectOptionsRequestMultiError) Error

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

type GitProjectOptionsRequestValidationError

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

GitProjectOptionsRequestValidationError is the validation error returned by GitProjectOptionsRequest.Validate if the designated constraints aren't met.

func (GitProjectOptionsRequestValidationError) Cause

Cause function returns cause value.

func (GitProjectOptionsRequestValidationError) Error

Error satisfies the builtin error interface

func (GitProjectOptionsRequestValidationError) ErrorName

ErrorName returns error name.

func (GitProjectOptionsRequestValidationError) Field

Field function returns field value.

func (GitProjectOptionsRequestValidationError) Key

Key function returns key value.

func (GitProjectOptionsRequestValidationError) Reason

Reason function returns reason value.

type GitProjectOptionsResponse

type GitProjectOptionsResponse struct {
	Data []*GitOption `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GitProjectOptionsResponse) Descriptor deprecated

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

Deprecated: Use GitProjectOptionsResponse.ProtoReflect.Descriptor instead.

func (*GitProjectOptionsResponse) GetData

func (x *GitProjectOptionsResponse) GetData() []*GitOption

func (*GitProjectOptionsResponse) ProtoMessage

func (*GitProjectOptionsResponse) ProtoMessage()

func (*GitProjectOptionsResponse) ProtoReflect

func (*GitProjectOptionsResponse) Reset

func (x *GitProjectOptionsResponse) Reset()

func (*GitProjectOptionsResponse) String

func (x *GitProjectOptionsResponse) String() string

func (*GitProjectOptionsResponse) Validate

func (m *GitProjectOptionsResponse) Validate() error

Validate checks the field values on GitProjectOptionsResponse 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 (*GitProjectOptionsResponse) ValidateAll

func (m *GitProjectOptionsResponse) ValidateAll() error

ValidateAll checks the field values on GitProjectOptionsResponse 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 GitProjectOptionsResponseMultiError, or nil if none found.

type GitProjectOptionsResponseMultiError

type GitProjectOptionsResponseMultiError []error

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

func (GitProjectOptionsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GitProjectOptionsResponseMultiError) Error

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

type GitProjectOptionsResponseValidationError

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

GitProjectOptionsResponseValidationError is the validation error returned by GitProjectOptionsResponse.Validate if the designated constraints aren't met.

func (GitProjectOptionsResponseValidationError) Cause

Cause function returns cause value.

func (GitProjectOptionsResponseValidationError) Error

Error satisfies the builtin error interface

func (GitProjectOptionsResponseValidationError) ErrorName

ErrorName returns error name.

func (GitProjectOptionsResponseValidationError) Field

Field function returns field value.

func (GitProjectOptionsResponseValidationError) Key

Key function returns key value.

func (GitProjectOptionsResponseValidationError) Reason

Reason function returns reason value.

type GitServerClient

type GitServerClient interface {
	// EnableProject 开启项目,开启后可以在项目列表看到
	EnableProject(ctx context.Context, in *GitEnableProjectRequest, opts ...grpc.CallOption) (*GitEnableProjectResponse, error)
	// DisableProject 关闭项目
	DisableProject(ctx context.Context, in *GitDisableProjectRequest, opts ...grpc.CallOption) (*GitDisableProjectResponse, error)
	// All 获取所有的 git 项目
	All(ctx context.Context, in *GitAllProjectsRequest, opts ...grpc.CallOption) (*GitAllProjectsResponse, error)
	// ProjectOptions 获取项目信息, 用在级联列表
	ProjectOptions(ctx context.Context, in *GitProjectOptionsRequest, opts ...grpc.CallOption) (*GitProjectOptionsResponse, error)
	// BranchOptions 获取分支信息, 用在级联列表
	BranchOptions(ctx context.Context, in *GitBranchOptionsRequest, opts ...grpc.CallOption) (*GitBranchOptionsResponse, error)
	// CommitOptions 获取commit信息, 用在级联列表
	CommitOptions(ctx context.Context, in *GitCommitOptionsRequest, opts ...grpc.CallOption) (*GitCommitOptionsResponse, error)
	// Commit 获取 commit 详情
	Commit(ctx context.Context, in *GitCommitRequest, opts ...grpc.CallOption) (*GitCommitResponse, error)
	// PipelineInfo 获取 pipeline 详情
	PipelineInfo(ctx context.Context, in *GitPipelineInfoRequest, opts ...grpc.CallOption) (*GitPipelineInfoResponse, error)
	// MarsConfigFile 获取项目 mars 配置详情
	MarsConfigFile(ctx context.Context, in *GitConfigFileRequest, opts ...grpc.CallOption) (*GitConfigFileResponse, error)
}

GitServerClient is the client API for GitServer 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 NewGitServerClient

func NewGitServerClient(cc grpc.ClientConnInterface) GitServerClient

type GitServerServer

type GitServerServer interface {
	// EnableProject 开启项目,开启后可以在项目列表看到
	EnableProject(context.Context, *GitEnableProjectRequest) (*GitEnableProjectResponse, error)
	// DisableProject 关闭项目
	DisableProject(context.Context, *GitDisableProjectRequest) (*GitDisableProjectResponse, error)
	// All 获取所有的 git 项目
	All(context.Context, *GitAllProjectsRequest) (*GitAllProjectsResponse, error)
	// ProjectOptions 获取项目信息, 用在级联列表
	ProjectOptions(context.Context, *GitProjectOptionsRequest) (*GitProjectOptionsResponse, error)
	// BranchOptions 获取分支信息, 用在级联列表
	BranchOptions(context.Context, *GitBranchOptionsRequest) (*GitBranchOptionsResponse, error)
	// CommitOptions 获取commit信息, 用在级联列表
	CommitOptions(context.Context, *GitCommitOptionsRequest) (*GitCommitOptionsResponse, error)
	// Commit 获取 commit 详情
	Commit(context.Context, *GitCommitRequest) (*GitCommitResponse, error)
	// PipelineInfo 获取 pipeline 详情
	PipelineInfo(context.Context, *GitPipelineInfoRequest) (*GitPipelineInfoResponse, error)
	// MarsConfigFile 获取项目 mars 配置详情
	MarsConfigFile(context.Context, *GitConfigFileRequest) (*GitConfigFileResponse, error)
	// contains filtered or unexported methods
}

GitServerServer is the server API for GitServer service. All implementations must embed UnimplementedGitServerServer for forward compatibility

type UnimplementedGitServerServer

type UnimplementedGitServerServer struct {
}

UnimplementedGitServerServer must be embedded to have forward compatible implementations.

func (UnimplementedGitServerServer) BranchOptions

func (UnimplementedGitServerServer) Commit

func (UnimplementedGitServerServer) CommitOptions

func (UnimplementedGitServerServer) EnableProject

func (UnimplementedGitServerServer) MarsConfigFile

func (UnimplementedGitServerServer) PipelineInfo

type UnsafeGitServerServer

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

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

Jump to

Keyboard shortcuts

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