Documentation ¶
Overview ¶
Package provider is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterProviderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProviderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProviderServiceClient) error
- func RegisterProviderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProviderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProviderServiceServer) error
- func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)
- type Branch
- func (*Branch) Descriptor() ([]byte, []int)deprecated
- func (x *Branch) GetCommit() *Commit
- func (x *Branch) GetName() string
- func (*Branch) ProtoMessage()
- func (x *Branch) ProtoReflect() protoreflect.Message
- func (x *Branch) Reset()
- func (x *Branch) String() string
- func (m *Branch) Validate() error
- func (m *Branch) ValidateAll() error
- type BranchMultiError
- type BranchValidationError
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetCommitterEmail() string
- func (x *Commit) GetCommitterName() string
- func (x *Commit) GetCreatedAt() *timestamppb.Timestamp
- func (x *Commit) GetMessage() string
- func (x *Commit) GetSha1() string
- func (x *Commit) GetShortId() string
- func (x *Commit) GetUpdatedAt() *timestamppb.Timestamp
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- func (m *Commit) Validate() error
- func (m *Commit) ValidateAll() error
- type CommitMultiError
- type CommitValidationError
- type ListBranchesRequest
- func (*ListBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchesRequest) GetProvider() string
- func (x *ListBranchesRequest) GetRepoName() string
- func (*ListBranchesRequest) ProtoMessage()
- func (x *ListBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *ListBranchesRequest) Reset()
- func (x *ListBranchesRequest) String() string
- func (m *ListBranchesRequest) Validate() error
- func (m *ListBranchesRequest) ValidateAll() error
- type ListBranchesRequestMultiError
- type ListBranchesRequestValidationError
- func (e ListBranchesRequestValidationError) Cause() error
- func (e ListBranchesRequestValidationError) Error() string
- func (e ListBranchesRequestValidationError) ErrorName() string
- func (e ListBranchesRequestValidationError) Field() string
- func (e ListBranchesRequestValidationError) Key() bool
- func (e ListBranchesRequestValidationError) Reason() string
- type ListBranchesResponse
- func (*ListBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchesResponse) GetItems() []*Branch
- func (x *ListBranchesResponse) GetTotal() int64
- func (*ListBranchesResponse) ProtoMessage()
- func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *ListBranchesResponse) Reset()
- func (x *ListBranchesResponse) String() string
- func (m *ListBranchesResponse) Validate() error
- func (m *ListBranchesResponse) ValidateAll() error
- type ListBranchesResponseMultiError
- type ListBranchesResponseValidationError
- func (e ListBranchesResponseValidationError) Cause() error
- func (e ListBranchesResponseValidationError) Error() string
- func (e ListBranchesResponseValidationError) ErrorName() string
- func (e ListBranchesResponseValidationError) Field() string
- func (e ListBranchesResponseValidationError) Key() bool
- func (e ListBranchesResponseValidationError) Reason() string
- type ListReposRequest
- func (*ListReposRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReposRequest) GetProvider() string
- func (*ListReposRequest) ProtoMessage()
- func (x *ListReposRequest) ProtoReflect() protoreflect.Message
- func (x *ListReposRequest) Reset()
- func (x *ListReposRequest) String() string
- func (m *ListReposRequest) Validate() error
- func (m *ListReposRequest) ValidateAll() error
- type ListReposRequestMultiError
- type ListReposRequestValidationError
- func (e ListReposRequestValidationError) Cause() error
- func (e ListReposRequestValidationError) Error() string
- func (e ListReposRequestValidationError) ErrorName() string
- func (e ListReposRequestValidationError) Field() string
- func (e ListReposRequestValidationError) Key() bool
- func (e ListReposRequestValidationError) Reason() string
- type ListReposResponse
- func (*ListReposResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReposResponse) GetItems() []*Repo
- func (x *ListReposResponse) GetTotal() int64
- func (*ListReposResponse) ProtoMessage()
- func (x *ListReposResponse) ProtoReflect() protoreflect.Message
- func (x *ListReposResponse) Reset()
- func (x *ListReposResponse) String() string
- func (m *ListReposResponse) Validate() error
- func (m *ListReposResponse) ValidateAll() error
- type ListReposResponseMultiError
- type ListReposResponseValidationError
- func (e ListReposResponseValidationError) Cause() error
- func (e ListReposResponseValidationError) Error() string
- func (e ListReposResponseValidationError) ErrorName() string
- func (e ListReposResponseValidationError) Field() string
- func (e ListReposResponseValidationError) Key() bool
- func (e ListReposResponseValidationError) Reason() string
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetAppid() string
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- func (m *ListRequest) Validate() error
- func (m *ListRequest) ValidateAll() error
- type ListRequestMultiError
- type ListRequestValidationError
- func (e ListRequestValidationError) Cause() error
- func (e ListRequestValidationError) Error() string
- func (e ListRequestValidationError) ErrorName() string
- func (e ListRequestValidationError) Field() string
- func (e ListRequestValidationError) Key() bool
- func (e ListRequestValidationError) Reason() string
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetItems() []*Provider
- func (x *ListResponse) GetTotal() int64
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- func (m *ListResponse) Validate() error
- func (m *ListResponse) ValidateAll() error
- type ListResponseMultiError
- type ListResponseValidationError
- func (e ListResponseValidationError) Cause() error
- func (e ListResponseValidationError) Error() string
- func (e ListResponseValidationError) ErrorName() string
- func (e ListResponseValidationError) Field() string
- func (e ListResponseValidationError) Key() bool
- func (e ListResponseValidationError) Reason() string
- type ListTagsRequest
- func (*ListTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsRequest) GetProvider() string
- func (x *ListTagsRequest) GetRepoName() string
- func (*ListTagsRequest) ProtoMessage()
- func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagsRequest) Reset()
- func (x *ListTagsRequest) String() string
- func (m *ListTagsRequest) Validate() error
- func (m *ListTagsRequest) ValidateAll() error
- type ListTagsRequestMultiError
- type ListTagsRequestValidationError
- func (e ListTagsRequestValidationError) Cause() error
- func (e ListTagsRequestValidationError) Error() string
- func (e ListTagsRequestValidationError) ErrorName() string
- func (e ListTagsRequestValidationError) Field() string
- func (e ListTagsRequestValidationError) Key() bool
- func (e ListTagsRequestValidationError) Reason() string
- type ListTagsResponse
- func (*ListTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsResponse) GetItems() []*Tag
- func (x *ListTagsResponse) GetTotal() int64
- func (*ListTagsResponse) ProtoMessage()
- func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagsResponse) Reset()
- func (x *ListTagsResponse) String() string
- func (m *ListTagsResponse) Validate() error
- func (m *ListTagsResponse) ValidateAll() error
- type ListTagsResponseMultiError
- type ListTagsResponseValidationError
- func (e ListTagsResponseValidationError) Cause() error
- func (e ListTagsResponseValidationError) Error() string
- func (e ListTagsResponseValidationError) ErrorName() string
- func (e ListTagsResponseValidationError) Field() string
- func (e ListTagsResponseValidationError) Key() bool
- func (e ListTagsResponseValidationError) Reason() string
- type Prepare
- func (*Prepare) Descriptor() ([]byte, []int)deprecated
- func (x *Prepare) GetAuthorizeUrl() string
- func (x *Prepare) GetName() string
- func (x *Prepare) GetScopes() []string
- func (x *Prepare) GetTokenUrl() string
- func (*Prepare) ProtoMessage()
- func (x *Prepare) ProtoReflect() protoreflect.Message
- func (x *Prepare) Reset()
- func (x *Prepare) String() string
- func (m *Prepare) Validate() error
- func (m *Prepare) ValidateAll() error
- type PrepareMultiError
- type PrepareValidationError
- type PreparesResponse
- func (*PreparesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreparesResponse) GetItems() []*Prepare
- func (*PreparesResponse) ProtoMessage()
- func (x *PreparesResponse) ProtoReflect() protoreflect.Message
- func (x *PreparesResponse) Reset()
- func (x *PreparesResponse) String() string
- func (m *PreparesResponse) Validate() error
- func (m *PreparesResponse) ValidateAll() error
- type PreparesResponseMultiError
- type PreparesResponseValidationError
- func (e PreparesResponseValidationError) Cause() error
- func (e PreparesResponseValidationError) Error() string
- func (e PreparesResponseValidationError) ErrorName() string
- func (e PreparesResponseValidationError) Field() string
- func (e PreparesResponseValidationError) Key() bool
- func (e PreparesResponseValidationError) Reason() string
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Provider) GetAuthorizeUrl() string
- func (x *Provider) GetClientId() string
- func (x *Provider) GetClientSecret() string
- func (x *Provider) GetCreatedAt() *timestamppb.Timestamp
- func (x *Provider) GetId() string
- func (x *Provider) GetName() string
- func (x *Provider) GetScopes() []string
- func (x *Provider) GetTokenUrl() string
- func (x *Provider) GetUpdatedAt() *timestamppb.Timestamp
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
- func (m *Provider) Validate() error
- func (m *Provider) ValidateAll() error
- type ProviderMultiError
- type ProviderServiceClient
- type ProviderServiceServer
- type ProviderValidationError
- type Repo
- func (*Repo) Descriptor() ([]byte, []int)deprecated
- func (x *Repo) GetCreatedAt() *timestamppb.Timestamp
- func (x *Repo) GetFullName() string
- func (x *Repo) GetGitUrl() string
- func (x *Repo) GetHttpUrl() string
- func (x *Repo) GetIntro() string
- func (x *Repo) GetName() string
- func (x *Repo) GetUpdatedAt() *timestamppb.Timestamp
- func (*Repo) ProtoMessage()
- func (x *Repo) ProtoReflect() protoreflect.Message
- func (x *Repo) Reset()
- func (x *Repo) String() string
- func (m *Repo) Validate() error
- func (m *Repo) ValidateAll() error
- type RepoMultiError
- type RepoValidationError
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetCommit() *Commit
- func (x *Tag) GetName() string
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- func (m *Tag) Validate() error
- func (m *Tag) ValidateAll() error
- type TagMultiError
- type TagValidationError
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetAccessToken() string
- func (x *Token) GetCreatedAt() *timestamppb.Timestamp
- func (x *Token) GetExpiresAt() *timestamppb.Timestamp
- func (x *Token) GetId() string
- func (x *Token) GetProvider() string
- func (x *Token) GetRefreshToken() string
- func (x *Token) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Token) GetUserid() string
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- func (m *Token) Validate() error
- func (m *Token) ValidateAll() error
- type TokenMultiError
- type TokenValidationError
- type UnimplementedProviderServiceServer
- func (UnimplementedProviderServiceServer) Create(context.Context, *Provider) (*Provider, error)
- func (UnimplementedProviderServiceServer) Delete(context.Context, *kiae.IdRequest) (*emptypb.Empty, error)
- func (UnimplementedProviderServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedProviderServiceServer) ListBranches(context.Context, *ListBranchesRequest) (*ListBranchesResponse, error)
- func (UnimplementedProviderServiceServer) ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error)
- func (UnimplementedProviderServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
- func (UnimplementedProviderServiceServer) Prepare(context.Context, *emptypb.Empty) (*PreparesResponse, error)
- func (UnimplementedProviderServiceServer) Update(context.Context, *UpdateRequest) (*Provider, error)
- type UnsafeProviderServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetPayload() *Provider
- func (x *UpdateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- func (m *UpdateRequest) Validate() error
- func (m *UpdateRequest) ValidateAll() error
- type UpdateRequestMultiError
- type UpdateRequestValidationError
- func (e UpdateRequestValidationError) Cause() error
- func (e UpdateRequestValidationError) Error() string
- func (e UpdateRequestValidationError) ErrorName() string
- func (e UpdateRequestValidationError) Field() string
- func (e UpdateRequestValidationError) Key() bool
- func (e UpdateRequestValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_provider_provider_proto protoreflect.FileDescriptor
var File_provider_repos_proto protoreflect.FileDescriptor
var File_provider_tokens_proto protoreflect.FileDescriptor
var ProviderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "provider.ProviderService", HandlerType: (*ProviderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Prepare", Handler: _ProviderService_Prepare_Handler, }, { MethodName: "List", Handler: _ProviderService_List_Handler, }, { MethodName: "Create", Handler: _ProviderService_Create_Handler, }, { MethodName: "Update", Handler: _ProviderService_Update_Handler, }, { MethodName: "Delete", Handler: _ProviderService_Delete_Handler, }, { MethodName: "ListRepos", Handler: _ProviderService_ListRepos_Handler, }, { MethodName: "ListBranches", Handler: _ProviderService_ListBranches_Handler, }, { MethodName: "ListTags", Handler: _ProviderService_ListTags_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "provider/provider.proto", }
ProviderService_ServiceDesc is the grpc.ServiceDesc for ProviderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProviderServiceHandler ¶
func RegisterProviderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProviderServiceHandler registers the http handlers for service ProviderService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProviderServiceHandlerClient ¶
func RegisterProviderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProviderServiceClient) error
RegisterProviderServiceHandlerClient registers the http handlers for service ProviderService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProviderServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProviderServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProviderServiceClient" to call the correct interceptors.
func RegisterProviderServiceHandlerFromEndpoint ¶
func RegisterProviderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProviderServiceHandlerFromEndpoint is same as RegisterProviderServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProviderServiceHandlerServer ¶
func RegisterProviderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProviderServiceServer) error
RegisterProviderServiceHandlerServer registers the http handlers for service ProviderService to "mux". UnaryRPC :call ProviderServiceServer 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 RegisterProviderServiceHandlerFromEndpoint instead.
func RegisterProviderServiceServer ¶
func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)
Types ¶
type Branch ¶
type Branch struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Commit *Commit `protobuf:"bytes,9,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*Branch) Descriptor
deprecated
func (*Branch) ProtoMessage ¶
func (*Branch) ProtoMessage()
func (*Branch) ProtoReflect ¶
func (x *Branch) ProtoReflect() protoreflect.Message
func (*Branch) Validate ¶
Validate checks the field values on Branch 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 (*Branch) ValidateAll ¶
ValidateAll checks the field values on Branch 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 BranchMultiError, or nil if none found.
type BranchMultiError ¶
type BranchMultiError []error
BranchMultiError is an error wrapping multiple validation errors returned by Branch.ValidateAll() if the designated constraints aren't met.
func (BranchMultiError) AllErrors ¶
func (m BranchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BranchMultiError) Error ¶
func (m BranchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BranchValidationError ¶
type BranchValidationError struct {
// contains filtered or unexported fields
}
BranchValidationError is the validation error returned by Branch.Validate if the designated constraints aren't met.
func (BranchValidationError) Cause ¶
func (e BranchValidationError) Cause() error
Cause function returns cause value.
func (BranchValidationError) Error ¶
func (e BranchValidationError) Error() string
Error satisfies the builtin error interface
func (BranchValidationError) ErrorName ¶
func (e BranchValidationError) ErrorName() string
ErrorName returns error name.
func (BranchValidationError) Field ¶
func (e BranchValidationError) Field() string
Field function returns field value.
func (BranchValidationError) Key ¶
func (e BranchValidationError) Key() bool
Key function returns key value.
func (BranchValidationError) Reason ¶
func (e BranchValidationError) Reason() string
Reason function returns reason value.
type Commit ¶
type Commit struct { Sha1 string `protobuf:"bytes,4,opt,name=sha1,proto3" json:"sha1,omitempty" bson:"sha1,omitempty"` // @gotags: bson:"sha1,omitempty" ShortId string `protobuf:"bytes,5,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty" bson:"short_id,omitempty"` // @gotags: bson:"short_id,omitempty" Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty" bson:"message,omitempty"` // @gotags: bson:"message,omitempty" CommitterName string `` // @gotags: bson:"committer_name,omitempty" /* 132-byte string literal not displayed */ CommitterEmail string `` // @gotags: bson:"committer_email,omitempty" /* 136-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at,omitempty"` // @gotags: bson:"created_at,omitempty" UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,103,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at,omitempty"` // @gotags: bson:"updated_at,omitempty" // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) GetCommitterEmail ¶
func (*Commit) GetCommitterName ¶
func (*Commit) GetCreatedAt ¶
func (x *Commit) GetCreatedAt() *timestamppb.Timestamp
func (*Commit) GetMessage ¶
func (*Commit) GetShortId ¶
func (*Commit) GetUpdatedAt ¶
func (x *Commit) GetUpdatedAt() *timestamppb.Timestamp
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
func (*Commit) Validate ¶
Validate checks the field values on Commit with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Commit) ValidateAll ¶
ValidateAll checks the field values on Commit 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 CommitMultiError, or nil if none found.
type CommitMultiError ¶
type CommitMultiError []error
CommitMultiError is an error wrapping multiple validation errors returned by Commit.ValidateAll() if the designated constraints aren't met.
func (CommitMultiError) AllErrors ¶
func (m CommitMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommitMultiError) Error ¶
func (m CommitMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommitValidationError ¶
type CommitValidationError struct {
// contains filtered or unexported fields
}
CommitValidationError is the validation error returned by Commit.Validate if the designated constraints aren't met.
func (CommitValidationError) Cause ¶
func (e CommitValidationError) Cause() error
Cause function returns cause value.
func (CommitValidationError) Error ¶
func (e CommitValidationError) Error() string
Error satisfies the builtin error interface
func (CommitValidationError) ErrorName ¶
func (e CommitValidationError) ErrorName() string
ErrorName returns error name.
func (CommitValidationError) Field ¶
func (e CommitValidationError) Field() string
Field function returns field value.
func (CommitValidationError) Key ¶
func (e CommitValidationError) Key() bool
Key function returns key value.
func (CommitValidationError) Reason ¶
func (e CommitValidationError) Reason() string
Reason function returns reason value.
type ListBranchesRequest ¶
type ListBranchesRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` // contains filtered or unexported fields }
func (*ListBranchesRequest) Descriptor
deprecated
func (*ListBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchesRequest.ProtoReflect.Descriptor instead.
func (*ListBranchesRequest) GetProvider ¶
func (x *ListBranchesRequest) GetProvider() string
func (*ListBranchesRequest) GetRepoName ¶
func (x *ListBranchesRequest) GetRepoName() string
func (*ListBranchesRequest) ProtoMessage ¶
func (*ListBranchesRequest) ProtoMessage()
func (*ListBranchesRequest) ProtoReflect ¶
func (x *ListBranchesRequest) ProtoReflect() protoreflect.Message
func (*ListBranchesRequest) Reset ¶
func (x *ListBranchesRequest) Reset()
func (*ListBranchesRequest) String ¶
func (x *ListBranchesRequest) String() string
func (*ListBranchesRequest) Validate ¶
func (m *ListBranchesRequest) Validate() error
Validate checks the field values on ListBranchesRequest 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 (*ListBranchesRequest) ValidateAll ¶
func (m *ListBranchesRequest) ValidateAll() error
ValidateAll checks the field values on ListBranchesRequest 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 ListBranchesRequestMultiError, or nil if none found.
type ListBranchesRequestMultiError ¶
type ListBranchesRequestMultiError []error
ListBranchesRequestMultiError is an error wrapping multiple validation errors returned by ListBranchesRequest.ValidateAll() if the designated constraints aren't met.
func (ListBranchesRequestMultiError) AllErrors ¶
func (m ListBranchesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBranchesRequestMultiError) Error ¶
func (m ListBranchesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBranchesRequestValidationError ¶
type ListBranchesRequestValidationError struct {
// contains filtered or unexported fields
}
ListBranchesRequestValidationError is the validation error returned by ListBranchesRequest.Validate if the designated constraints aren't met.
func (ListBranchesRequestValidationError) Cause ¶
func (e ListBranchesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListBranchesRequestValidationError) Error ¶
func (e ListBranchesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListBranchesRequestValidationError) ErrorName ¶
func (e ListBranchesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListBranchesRequestValidationError) Field ¶
func (e ListBranchesRequestValidationError) Field() string
Field function returns field value.
func (ListBranchesRequestValidationError) Key ¶
func (e ListBranchesRequestValidationError) Key() bool
Key function returns key value.
func (ListBranchesRequestValidationError) Reason ¶
func (e ListBranchesRequestValidationError) Reason() string
Reason function returns reason value.
type ListBranchesResponse ¶
type ListBranchesResponse struct { Items []*Branch `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListBranchesResponse) Descriptor
deprecated
func (*ListBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchesResponse.ProtoReflect.Descriptor instead.
func (*ListBranchesResponse) GetItems ¶
func (x *ListBranchesResponse) GetItems() []*Branch
func (*ListBranchesResponse) GetTotal ¶
func (x *ListBranchesResponse) GetTotal() int64
func (*ListBranchesResponse) ProtoMessage ¶
func (*ListBranchesResponse) ProtoMessage()
func (*ListBranchesResponse) ProtoReflect ¶
func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message
func (*ListBranchesResponse) Reset ¶
func (x *ListBranchesResponse) Reset()
func (*ListBranchesResponse) String ¶
func (x *ListBranchesResponse) String() string
func (*ListBranchesResponse) Validate ¶
func (m *ListBranchesResponse) Validate() error
Validate checks the field values on ListBranchesResponse 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 (*ListBranchesResponse) ValidateAll ¶
func (m *ListBranchesResponse) ValidateAll() error
ValidateAll checks the field values on ListBranchesResponse 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 ListBranchesResponseMultiError, or nil if none found.
type ListBranchesResponseMultiError ¶
type ListBranchesResponseMultiError []error
ListBranchesResponseMultiError is an error wrapping multiple validation errors returned by ListBranchesResponse.ValidateAll() if the designated constraints aren't met.
func (ListBranchesResponseMultiError) AllErrors ¶
func (m ListBranchesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListBranchesResponseMultiError) Error ¶
func (m ListBranchesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListBranchesResponseValidationError ¶
type ListBranchesResponseValidationError struct {
// contains filtered or unexported fields
}
ListBranchesResponseValidationError is the validation error returned by ListBranchesResponse.Validate if the designated constraints aren't met.
func (ListBranchesResponseValidationError) Cause ¶
func (e ListBranchesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListBranchesResponseValidationError) Error ¶
func (e ListBranchesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListBranchesResponseValidationError) ErrorName ¶
func (e ListBranchesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListBranchesResponseValidationError) Field ¶
func (e ListBranchesResponseValidationError) Field() string
Field function returns field value.
func (ListBranchesResponseValidationError) Key ¶
func (e ListBranchesResponseValidationError) Key() bool
Key function returns key value.
func (ListBranchesResponseValidationError) Reason ¶
func (e ListBranchesResponseValidationError) Reason() string
Reason function returns reason value.
type ListReposRequest ¶
type ListReposRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*ListReposRequest) Descriptor
deprecated
func (*ListReposRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReposRequest.ProtoReflect.Descriptor instead.
func (*ListReposRequest) GetProvider ¶
func (x *ListReposRequest) GetProvider() string
func (*ListReposRequest) ProtoMessage ¶
func (*ListReposRequest) ProtoMessage()
func (*ListReposRequest) ProtoReflect ¶
func (x *ListReposRequest) ProtoReflect() protoreflect.Message
func (*ListReposRequest) Reset ¶
func (x *ListReposRequest) Reset()
func (*ListReposRequest) String ¶
func (x *ListReposRequest) String() string
func (*ListReposRequest) Validate ¶
func (m *ListReposRequest) Validate() error
Validate checks the field values on ListReposRequest 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 (*ListReposRequest) ValidateAll ¶
func (m *ListReposRequest) ValidateAll() error
ValidateAll checks the field values on ListReposRequest 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 ListReposRequestMultiError, or nil if none found.
type ListReposRequestMultiError ¶
type ListReposRequestMultiError []error
ListReposRequestMultiError is an error wrapping multiple validation errors returned by ListReposRequest.ValidateAll() if the designated constraints aren't met.
func (ListReposRequestMultiError) AllErrors ¶
func (m ListReposRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListReposRequestMultiError) Error ¶
func (m ListReposRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListReposRequestValidationError ¶
type ListReposRequestValidationError struct {
// contains filtered or unexported fields
}
ListReposRequestValidationError is the validation error returned by ListReposRequest.Validate if the designated constraints aren't met.
func (ListReposRequestValidationError) Cause ¶
func (e ListReposRequestValidationError) Cause() error
Cause function returns cause value.
func (ListReposRequestValidationError) Error ¶
func (e ListReposRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListReposRequestValidationError) ErrorName ¶
func (e ListReposRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListReposRequestValidationError) Field ¶
func (e ListReposRequestValidationError) Field() string
Field function returns field value.
func (ListReposRequestValidationError) Key ¶
func (e ListReposRequestValidationError) Key() bool
Key function returns key value.
func (ListReposRequestValidationError) Reason ¶
func (e ListReposRequestValidationError) Reason() string
Reason function returns reason value.
type ListReposResponse ¶
type ListReposResponse struct { Items []*Repo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListReposResponse) Descriptor
deprecated
func (*ListReposResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReposResponse.ProtoReflect.Descriptor instead.
func (*ListReposResponse) GetItems ¶
func (x *ListReposResponse) GetItems() []*Repo
func (*ListReposResponse) GetTotal ¶
func (x *ListReposResponse) GetTotal() int64
func (*ListReposResponse) ProtoMessage ¶
func (*ListReposResponse) ProtoMessage()
func (*ListReposResponse) ProtoReflect ¶
func (x *ListReposResponse) ProtoReflect() protoreflect.Message
func (*ListReposResponse) Reset ¶
func (x *ListReposResponse) Reset()
func (*ListReposResponse) String ¶
func (x *ListReposResponse) String() string
func (*ListReposResponse) Validate ¶
func (m *ListReposResponse) Validate() error
Validate checks the field values on ListReposResponse 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 (*ListReposResponse) ValidateAll ¶
func (m *ListReposResponse) ValidateAll() error
ValidateAll checks the field values on ListReposResponse 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 ListReposResponseMultiError, or nil if none found.
type ListReposResponseMultiError ¶
type ListReposResponseMultiError []error
ListReposResponseMultiError is an error wrapping multiple validation errors returned by ListReposResponse.ValidateAll() if the designated constraints aren't met.
func (ListReposResponseMultiError) AllErrors ¶
func (m ListReposResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListReposResponseMultiError) Error ¶
func (m ListReposResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListReposResponseValidationError ¶
type ListReposResponseValidationError struct {
// contains filtered or unexported fields
}
ListReposResponseValidationError is the validation error returned by ListReposResponse.Validate if the designated constraints aren't met.
func (ListReposResponseValidationError) Cause ¶
func (e ListReposResponseValidationError) Cause() error
Cause function returns cause value.
func (ListReposResponseValidationError) Error ¶
func (e ListReposResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListReposResponseValidationError) ErrorName ¶
func (e ListReposResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListReposResponseValidationError) Field ¶
func (e ListReposResponseValidationError) Field() string
Field function returns field value.
func (ListReposResponseValidationError) Key ¶
func (e ListReposResponseValidationError) Key() bool
Key function returns key value.
func (ListReposResponseValidationError) Reason ¶
func (e ListReposResponseValidationError) Reason() string
Reason function returns reason value.
type ListRequest ¶
type ListRequest struct { Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetAppid ¶
func (x *ListRequest) GetAppid() string
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
func (*ListRequest) Validate ¶
func (m *ListRequest) Validate() error
Validate checks the field values on ListRequest 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 (*ListRequest) ValidateAll ¶
func (m *ListRequest) ValidateAll() error
ValidateAll checks the field values on ListRequest 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 ListRequestMultiError, or nil if none found.
type ListRequestMultiError ¶
type ListRequestMultiError []error
ListRequestMultiError is an error wrapping multiple validation errors returned by ListRequest.ValidateAll() if the designated constraints aren't met.
func (ListRequestMultiError) AllErrors ¶
func (m ListRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRequestMultiError) Error ¶
func (m ListRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRequestValidationError ¶
type ListRequestValidationError struct {
// contains filtered or unexported fields
}
ListRequestValidationError is the validation error returned by ListRequest.Validate if the designated constraints aren't met.
func (ListRequestValidationError) Cause ¶
func (e ListRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRequestValidationError) Error ¶
func (e ListRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRequestValidationError) ErrorName ¶
func (e ListRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRequestValidationError) Field ¶
func (e ListRequestValidationError) Field() string
Field function returns field value.
func (ListRequestValidationError) Key ¶
func (e ListRequestValidationError) Key() bool
Key function returns key value.
func (ListRequestValidationError) Reason ¶
func (e ListRequestValidationError) Reason() string
Reason function returns reason value.
type ListResponse ¶
type ListResponse struct { Items []*Provider `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetItems ¶
func (x *ListResponse) GetItems() []*Provider
func (*ListResponse) GetTotal ¶
func (x *ListResponse) GetTotal() int64
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
func (*ListResponse) Validate ¶
func (m *ListResponse) Validate() error
Validate checks the field values on ListResponse 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 (*ListResponse) ValidateAll ¶
func (m *ListResponse) ValidateAll() error
ValidateAll checks the field values on ListResponse 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 ListResponseMultiError, or nil if none found.
type ListResponseMultiError ¶
type ListResponseMultiError []error
ListResponseMultiError is an error wrapping multiple validation errors returned by ListResponse.ValidateAll() if the designated constraints aren't met.
func (ListResponseMultiError) AllErrors ¶
func (m ListResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListResponseMultiError) Error ¶
func (m ListResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListResponseValidationError ¶
type ListResponseValidationError struct {
// contains filtered or unexported fields
}
ListResponseValidationError is the validation error returned by ListResponse.Validate if the designated constraints aren't met.
func (ListResponseValidationError) Cause ¶
func (e ListResponseValidationError) Cause() error
Cause function returns cause value.
func (ListResponseValidationError) Error ¶
func (e ListResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListResponseValidationError) ErrorName ¶
func (e ListResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListResponseValidationError) Field ¶
func (e ListResponseValidationError) Field() string
Field function returns field value.
func (ListResponseValidationError) Key ¶
func (e ListResponseValidationError) Key() bool
Key function returns key value.
func (ListResponseValidationError) Reason ¶
func (e ListResponseValidationError) Reason() string
Reason function returns reason value.
type ListTagsRequest ¶
type ListTagsRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` // contains filtered or unexported fields }
func (*ListTagsRequest) Descriptor
deprecated
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetProvider ¶
func (x *ListTagsRequest) GetProvider() string
func (*ListTagsRequest) GetRepoName ¶
func (x *ListTagsRequest) GetRepoName() string
func (*ListTagsRequest) ProtoMessage ¶
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect ¶
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset ¶
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String ¶
func (x *ListTagsRequest) String() string
func (*ListTagsRequest) Validate ¶
func (m *ListTagsRequest) Validate() error
Validate checks the field values on ListTagsRequest 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 (*ListTagsRequest) ValidateAll ¶
func (m *ListTagsRequest) ValidateAll() error
ValidateAll checks the field values on ListTagsRequest 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 ListTagsRequestMultiError, or nil if none found.
type ListTagsRequestMultiError ¶
type ListTagsRequestMultiError []error
ListTagsRequestMultiError is an error wrapping multiple validation errors returned by ListTagsRequest.ValidateAll() if the designated constraints aren't met.
func (ListTagsRequestMultiError) AllErrors ¶
func (m ListTagsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTagsRequestMultiError) Error ¶
func (m ListTagsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTagsRequestValidationError ¶
type ListTagsRequestValidationError struct {
// contains filtered or unexported fields
}
ListTagsRequestValidationError is the validation error returned by ListTagsRequest.Validate if the designated constraints aren't met.
func (ListTagsRequestValidationError) Cause ¶
func (e ListTagsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTagsRequestValidationError) Error ¶
func (e ListTagsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTagsRequestValidationError) ErrorName ¶
func (e ListTagsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTagsRequestValidationError) Field ¶
func (e ListTagsRequestValidationError) Field() string
Field function returns field value.
func (ListTagsRequestValidationError) Key ¶
func (e ListTagsRequestValidationError) Key() bool
Key function returns key value.
func (ListTagsRequestValidationError) Reason ¶
func (e ListTagsRequestValidationError) Reason() string
Reason function returns reason value.
type ListTagsResponse ¶
type ListTagsResponse struct { Items []*Tag `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListTagsResponse) Descriptor
deprecated
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetItems ¶
func (x *ListTagsResponse) GetItems() []*Tag
func (*ListTagsResponse) GetTotal ¶
func (x *ListTagsResponse) GetTotal() int64
func (*ListTagsResponse) ProtoMessage ¶
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect ¶
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset ¶
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String ¶
func (x *ListTagsResponse) String() string
func (*ListTagsResponse) Validate ¶
func (m *ListTagsResponse) Validate() error
Validate checks the field values on ListTagsResponse 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 (*ListTagsResponse) ValidateAll ¶
func (m *ListTagsResponse) ValidateAll() error
ValidateAll checks the field values on ListTagsResponse 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 ListTagsResponseMultiError, or nil if none found.
type ListTagsResponseMultiError ¶
type ListTagsResponseMultiError []error
ListTagsResponseMultiError is an error wrapping multiple validation errors returned by ListTagsResponse.ValidateAll() if the designated constraints aren't met.
func (ListTagsResponseMultiError) AllErrors ¶
func (m ListTagsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTagsResponseMultiError) Error ¶
func (m ListTagsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTagsResponseValidationError ¶
type ListTagsResponseValidationError struct {
// contains filtered or unexported fields
}
ListTagsResponseValidationError is the validation error returned by ListTagsResponse.Validate if the designated constraints aren't met.
func (ListTagsResponseValidationError) Cause ¶
func (e ListTagsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListTagsResponseValidationError) Error ¶
func (e ListTagsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListTagsResponseValidationError) ErrorName ¶
func (e ListTagsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListTagsResponseValidationError) Field ¶
func (e ListTagsResponseValidationError) Field() string
Field function returns field value.
func (ListTagsResponseValidationError) Key ¶
func (e ListTagsResponseValidationError) Key() bool
Key function returns key value.
func (ListTagsResponseValidationError) Reason ¶
func (e ListTagsResponseValidationError) Reason() string
Reason function returns reason value.
type Prepare ¶
type Prepare struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AuthorizeUrl string `protobuf:"bytes,5,opt,name=authorize_url,json=authorizeUrl,proto3" json:"authorize_url,omitempty"` TokenUrl string `protobuf:"bytes,6,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` Scopes []string `protobuf:"bytes,8,rep,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*Prepare) Descriptor
deprecated
func (*Prepare) GetAuthorizeUrl ¶
func (*Prepare) GetTokenUrl ¶
func (*Prepare) ProtoMessage ¶
func (*Prepare) ProtoMessage()
func (*Prepare) ProtoReflect ¶
func (x *Prepare) ProtoReflect() protoreflect.Message
func (*Prepare) Validate ¶
Validate checks the field values on Prepare 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 (*Prepare) ValidateAll ¶
ValidateAll checks the field values on Prepare 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 PrepareMultiError, or nil if none found.
type PrepareMultiError ¶
type PrepareMultiError []error
PrepareMultiError is an error wrapping multiple validation errors returned by Prepare.ValidateAll() if the designated constraints aren't met.
func (PrepareMultiError) AllErrors ¶
func (m PrepareMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrepareMultiError) Error ¶
func (m PrepareMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrepareValidationError ¶
type PrepareValidationError struct {
// contains filtered or unexported fields
}
PrepareValidationError is the validation error returned by Prepare.Validate if the designated constraints aren't met.
func (PrepareValidationError) Cause ¶
func (e PrepareValidationError) Cause() error
Cause function returns cause value.
func (PrepareValidationError) Error ¶
func (e PrepareValidationError) Error() string
Error satisfies the builtin error interface
func (PrepareValidationError) ErrorName ¶
func (e PrepareValidationError) ErrorName() string
ErrorName returns error name.
func (PrepareValidationError) Field ¶
func (e PrepareValidationError) Field() string
Field function returns field value.
func (PrepareValidationError) Key ¶
func (e PrepareValidationError) Key() bool
Key function returns key value.
func (PrepareValidationError) Reason ¶
func (e PrepareValidationError) Reason() string
Reason function returns reason value.
type PreparesResponse ¶
type PreparesResponse struct { Items []*Prepare `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*PreparesResponse) Descriptor
deprecated
func (*PreparesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreparesResponse.ProtoReflect.Descriptor instead.
func (*PreparesResponse) GetItems ¶
func (x *PreparesResponse) GetItems() []*Prepare
func (*PreparesResponse) ProtoMessage ¶
func (*PreparesResponse) ProtoMessage()
func (*PreparesResponse) ProtoReflect ¶
func (x *PreparesResponse) ProtoReflect() protoreflect.Message
func (*PreparesResponse) Reset ¶
func (x *PreparesResponse) Reset()
func (*PreparesResponse) String ¶
func (x *PreparesResponse) String() string
func (*PreparesResponse) Validate ¶
func (m *PreparesResponse) Validate() error
Validate checks the field values on PreparesResponse 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 (*PreparesResponse) ValidateAll ¶
func (m *PreparesResponse) ValidateAll() error
ValidateAll checks the field values on PreparesResponse 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 PreparesResponseMultiError, or nil if none found.
type PreparesResponseMultiError ¶
type PreparesResponseMultiError []error
PreparesResponseMultiError is an error wrapping multiple validation errors returned by PreparesResponse.ValidateAll() if the designated constraints aren't met.
func (PreparesResponseMultiError) AllErrors ¶
func (m PreparesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreparesResponseMultiError) Error ¶
func (m PreparesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreparesResponseValidationError ¶
type PreparesResponseValidationError struct {
// contains filtered or unexported fields
}
PreparesResponseValidationError is the validation error returned by PreparesResponse.Validate if the designated constraints aren't met.
func (PreparesResponseValidationError) Cause ¶
func (e PreparesResponseValidationError) Cause() error
Cause function returns cause value.
func (PreparesResponseValidationError) Error ¶
func (e PreparesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PreparesResponseValidationError) ErrorName ¶
func (e PreparesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PreparesResponseValidationError) Field ¶
func (e PreparesResponseValidationError) Field() string
Field function returns field value.
func (PreparesResponseValidationError) Key ¶
func (e PreparesResponseValidationError) Key() bool
Key function returns key value.
func (PreparesResponseValidationError) Reason ¶
func (e PreparesResponseValidationError) Reason() string
Reason function returns reason value.
type Provider ¶
type Provider struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" bson:"_id,omitempty"` // @gotags: bson:"_id,omitempty" Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" bson:"client_id,omitempty"` // @gotags: bson:"client_id,omitempty" ClientSecret string `` // @gotags: bson:"client_secret,omitempty" /* 128-byte string literal not displayed */ AuthorizeUrl string `` // @gotags: bson:"authorize_url,omitempty" /* 128-byte string literal not displayed */ TokenUrl string `protobuf:"bytes,6,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty" bson:"token_url,omitempty"` // @gotags: bson:"token_url,omitempty" Scopes []string `protobuf:"bytes,7,rep,name=scopes,proto3" json:"scopes,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,103,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Provider) Descriptor
deprecated
func (*Provider) GetAuthorizeUrl ¶
func (*Provider) GetClientId ¶
func (*Provider) GetClientSecret ¶
func (*Provider) GetCreatedAt ¶
func (x *Provider) GetCreatedAt() *timestamppb.Timestamp
func (*Provider) GetTokenUrl ¶
func (*Provider) GetUpdatedAt ¶
func (x *Provider) GetUpdatedAt() *timestamppb.Timestamp
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) ProtoReflect() protoreflect.Message
func (*Provider) Validate ¶
Validate checks the field values on Provider 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 (*Provider) ValidateAll ¶
ValidateAll checks the field values on Provider 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 ProviderMultiError, or nil if none found.
type ProviderMultiError ¶
type ProviderMultiError []error
ProviderMultiError is an error wrapping multiple validation errors returned by Provider.ValidateAll() if the designated constraints aren't met.
func (ProviderMultiError) AllErrors ¶
func (m ProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProviderMultiError) Error ¶
func (m ProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProviderServiceClient ¶
type ProviderServiceClient interface { Prepare(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PreparesResponse, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Create(ctx context.Context, in *Provider, opts ...grpc.CallOption) (*Provider, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*Provider, error) Delete(ctx context.Context, in *kiae.IdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error) ListBranches(ctx context.Context, in *ListBranchesRequest, opts ...grpc.CallOption) (*ListBranchesResponse, error) ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) }
ProviderServiceClient is the client API for ProviderService 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 NewProviderServiceClient ¶
func NewProviderServiceClient(cc grpc.ClientConnInterface) ProviderServiceClient
type ProviderServiceServer ¶
type ProviderServiceServer interface { Prepare(context.Context, *emptypb.Empty) (*PreparesResponse, error) List(context.Context, *ListRequest) (*ListResponse, error) Create(context.Context, *Provider) (*Provider, error) Update(context.Context, *UpdateRequest) (*Provider, error) Delete(context.Context, *kiae.IdRequest) (*emptypb.Empty, error) ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error) ListBranches(context.Context, *ListBranchesRequest) (*ListBranchesResponse, error) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) }
ProviderServiceServer is the server API for ProviderService service. All implementations should embed UnimplementedProviderServiceServer for forward compatibility
type ProviderValidationError ¶
type ProviderValidationError struct {
// contains filtered or unexported fields
}
ProviderValidationError is the validation error returned by Provider.Validate if the designated constraints aren't met.
func (ProviderValidationError) Cause ¶
func (e ProviderValidationError) Cause() error
Cause function returns cause value.
func (ProviderValidationError) Error ¶
func (e ProviderValidationError) Error() string
Error satisfies the builtin error interface
func (ProviderValidationError) ErrorName ¶
func (e ProviderValidationError) ErrorName() string
ErrorName returns error name.
func (ProviderValidationError) Field ¶
func (e ProviderValidationError) Field() string
Field function returns field value.
func (ProviderValidationError) Key ¶
func (e ProviderValidationError) Key() bool
Key function returns key value.
func (ProviderValidationError) Reason ¶
func (e ProviderValidationError) Reason() string
Reason function returns reason value.
type Repo ¶
type Repo struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` Intro string `protobuf:"bytes,4,opt,name=intro,proto3" json:"intro,omitempty"` GitUrl string `protobuf:"bytes,10,opt,name=git_url,json=gitUrl,proto3" json:"git_url,omitempty" bson:"git_url,omitempty"` // @gotags: bson:"git_url,omitempty" HttpUrl string `protobuf:"bytes,11,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty" bson:"http_url,omitempty"` // @gotags: bson:"http_url,omitempty" CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,103,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Repo) Descriptor
deprecated
func (*Repo) GetCreatedAt ¶
func (x *Repo) GetCreatedAt() *timestamppb.Timestamp
func (*Repo) GetFullName ¶
func (*Repo) GetHttpUrl ¶
func (*Repo) GetUpdatedAt ¶
func (x *Repo) GetUpdatedAt() *timestamppb.Timestamp
func (*Repo) ProtoMessage ¶
func (*Repo) ProtoMessage()
func (*Repo) ProtoReflect ¶
func (x *Repo) ProtoReflect() protoreflect.Message
func (*Repo) Validate ¶
Validate checks the field values on Repo 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 (*Repo) ValidateAll ¶
ValidateAll checks the field values on Repo 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 RepoMultiError, or nil if none found.
type RepoMultiError ¶
type RepoMultiError []error
RepoMultiError is an error wrapping multiple validation errors returned by Repo.ValidateAll() if the designated constraints aren't met.
func (RepoMultiError) AllErrors ¶
func (m RepoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepoMultiError) Error ¶
func (m RepoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepoValidationError ¶
type RepoValidationError struct {
// contains filtered or unexported fields
}
RepoValidationError is the validation error returned by Repo.Validate if the designated constraints aren't met.
func (RepoValidationError) Cause ¶
func (e RepoValidationError) Cause() error
Cause function returns cause value.
func (RepoValidationError) Error ¶
func (e RepoValidationError) Error() string
Error satisfies the builtin error interface
func (RepoValidationError) ErrorName ¶
func (e RepoValidationError) ErrorName() string
ErrorName returns error name.
func (RepoValidationError) Field ¶
func (e RepoValidationError) Field() string
Field function returns field value.
func (RepoValidationError) Key ¶
func (e RepoValidationError) Key() bool
Key function returns key value.
func (RepoValidationError) Reason ¶
func (e RepoValidationError) Reason() string
Reason function returns reason value.
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Commit *Commit `protobuf:"bytes,9,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) Validate ¶
Validate checks the field values on Tag 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 (*Tag) ValidateAll ¶
ValidateAll checks the field values on Tag 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 TagMultiError, or nil if none found.
type TagMultiError ¶
type TagMultiError []error
TagMultiError is an error wrapping multiple validation errors returned by Tag.ValidateAll() if the designated constraints aren't met.
func (TagMultiError) AllErrors ¶
func (m TagMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TagMultiError) Error ¶
func (m TagMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TagValidationError ¶
type TagValidationError struct {
// contains filtered or unexported fields
}
TagValidationError is the validation error returned by Tag.Validate if the designated constraints aren't met.
func (TagValidationError) Cause ¶
func (e TagValidationError) Cause() error
Cause function returns cause value.
func (TagValidationError) Error ¶
func (e TagValidationError) Error() string
Error satisfies the builtin error interface
func (TagValidationError) ErrorName ¶
func (e TagValidationError) ErrorName() string
ErrorName returns error name.
func (TagValidationError) Field ¶
func (e TagValidationError) Field() string
Field function returns field value.
func (TagValidationError) Key ¶
func (e TagValidationError) Key() bool
Key function returns key value.
func (TagValidationError) Reason ¶
func (e TagValidationError) Reason() string
Reason function returns reason value.
type Token ¶
type Token struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" bson:"_id,omitempty"` // @gotags: bson:"_id,omitempty" Userid string `protobuf:"bytes,2,opt,name=userid,proto3" json:"userid,omitempty"` Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` AccessToken string `protobuf:"bytes,5,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty" bson:"access_token,omitempty"` // @gotags: bson:"access_token,omitempty" RefreshToken string `` // @gotags: bson:"refresh_token,omitempty" /* 128-byte string literal not displayed */ ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty" bson:"expires_at,omitempty"` // @gotags: bson:"expires_at,omitempty" CreatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at,omitempty"` // @gotags: bson:"created_at,omitempty" UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,103,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at,omitempty"` // @gotags: bson:"updated_at,omitempty" // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
func (*Token) GetAccessToken ¶
func (*Token) GetCreatedAt ¶
func (x *Token) GetCreatedAt() *timestamppb.Timestamp
func (*Token) GetExpiresAt ¶
func (x *Token) GetExpiresAt() *timestamppb.Timestamp
func (*Token) GetProvider ¶
func (*Token) GetRefreshToken ¶
func (*Token) GetUpdatedAt ¶
func (x *Token) GetUpdatedAt() *timestamppb.Timestamp
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
func (*Token) Validate ¶
Validate checks the field values on Token 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 (*Token) ValidateAll ¶
ValidateAll checks the field values on Token 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 TokenMultiError, or nil if none found.
type TokenMultiError ¶
type TokenMultiError []error
TokenMultiError is an error wrapping multiple validation errors returned by Token.ValidateAll() if the designated constraints aren't met.
func (TokenMultiError) AllErrors ¶
func (m TokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenMultiError) Error ¶
func (m TokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenValidationError ¶
type TokenValidationError struct {
// contains filtered or unexported fields
}
TokenValidationError is the validation error returned by Token.Validate if the designated constraints aren't met.
func (TokenValidationError) Cause ¶
func (e TokenValidationError) Cause() error
Cause function returns cause value.
func (TokenValidationError) Error ¶
func (e TokenValidationError) Error() string
Error satisfies the builtin error interface
func (TokenValidationError) ErrorName ¶
func (e TokenValidationError) ErrorName() string
ErrorName returns error name.
func (TokenValidationError) Field ¶
func (e TokenValidationError) Field() string
Field function returns field value.
func (TokenValidationError) Key ¶
func (e TokenValidationError) Key() bool
Key function returns key value.
func (TokenValidationError) Reason ¶
func (e TokenValidationError) Reason() string
Reason function returns reason value.
type UnimplementedProviderServiceServer ¶
type UnimplementedProviderServiceServer struct { }
UnimplementedProviderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedProviderServiceServer) List ¶
func (UnimplementedProviderServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedProviderServiceServer) ListBranches ¶
func (UnimplementedProviderServiceServer) ListBranches(context.Context, *ListBranchesRequest) (*ListBranchesResponse, error)
func (UnimplementedProviderServiceServer) ListRepos ¶
func (UnimplementedProviderServiceServer) ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error)
func (UnimplementedProviderServiceServer) ListTags ¶
func (UnimplementedProviderServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (UnimplementedProviderServiceServer) Prepare ¶
func (UnimplementedProviderServiceServer) Prepare(context.Context, *emptypb.Empty) (*PreparesResponse, error)
func (UnimplementedProviderServiceServer) Update ¶
func (UnimplementedProviderServiceServer) Update(context.Context, *UpdateRequest) (*Provider, error)
type UnsafeProviderServiceServer ¶
type UnsafeProviderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProviderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { Payload *Provider `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetPayload ¶
func (x *UpdateRequest) GetPayload() *Provider
func (*UpdateRequest) GetUpdateMask ¶
func (x *UpdateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
func (*UpdateRequest) Validate ¶
func (m *UpdateRequest) Validate() error
Validate checks the field values on UpdateRequest 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 (*UpdateRequest) ValidateAll ¶
func (m *UpdateRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRequest 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 UpdateRequestMultiError, or nil if none found.
type UpdateRequestMultiError ¶
type UpdateRequestMultiError []error
UpdateRequestMultiError is an error wrapping multiple validation errors returned by UpdateRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRequestMultiError) AllErrors ¶
func (m UpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRequestMultiError) Error ¶
func (m UpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRequestValidationError ¶
type UpdateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.
func (UpdateRequestValidationError) Cause ¶
func (e UpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRequestValidationError) Error ¶
func (e UpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRequestValidationError) ErrorName ¶
func (e UpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRequestValidationError) Field ¶
func (e UpdateRequestValidationError) Field() string
Field function returns field value.
func (UpdateRequestValidationError) Key ¶
func (e UpdateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRequestValidationError) Reason ¶
func (e UpdateRequestValidationError) Reason() string
Reason function returns reason value.