provider

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package provider is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_provider_provider_proto protoreflect.FileDescriptor
View Source
var File_provider_repos_proto protoreflect.FileDescriptor
View Source
var File_provider_tokens_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Branch.ProtoReflect.Descriptor instead.

func (*Branch) GetCommit

func (x *Branch) GetCommit() *Commit

func (*Branch) GetName

func (x *Branch) GetName() string

func (*Branch) ProtoMessage

func (*Branch) ProtoMessage()

func (*Branch) ProtoReflect

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

func (*Branch) Reset

func (x *Branch) Reset()

func (*Branch) String

func (x *Branch) String() string

func (*Branch) Validate

func (m *Branch) Validate() error

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

func (m *Branch) ValidateAll() error

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

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetCommitterEmail

func (x *Commit) GetCommitterEmail() string

func (*Commit) GetCommitterName

func (x *Commit) GetCommitterName() string

func (*Commit) GetCreatedAt

func (x *Commit) GetCreatedAt() *timestamppb.Timestamp

func (*Commit) GetMessage

func (x *Commit) GetMessage() string

func (*Commit) GetSha1

func (x *Commit) GetSha1() string

func (*Commit) GetShortId

func (x *Commit) GetShortId() string

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) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

func (*Commit) Validate

func (m *Commit) Validate() error

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

func (*Commit) ValidateAll

func (m *Commit) ValidateAll() error

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

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

Cause function returns cause value.

func (ListBranchesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListBranchesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListBranchesRequestValidationError) Field

Field function returns field value.

func (ListBranchesRequestValidationError) Key

Key function returns key value.

func (ListBranchesRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListBranchesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListBranchesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListBranchesResponseValidationError) Field

Field function returns field value.

func (ListBranchesResponseValidationError) Key

Key function returns key value.

func (ListBranchesResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListReposRequestValidationError) Error

Error satisfies the builtin error interface

func (ListReposRequestValidationError) ErrorName

ErrorName returns error name.

func (ListReposRequestValidationError) Field

Field function returns field value.

func (ListReposRequestValidationError) Key

Key function returns key value.

func (ListReposRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListReposResponseValidationError) Error

Error satisfies the builtin error interface

func (ListReposResponseValidationError) ErrorName

ErrorName returns error name.

func (ListReposResponseValidationError) Field

Field function returns field value.

func (ListReposResponseValidationError) Key

Key function returns key value.

func (ListReposResponseValidationError) Reason

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

Cause function returns cause value.

func (ListRequestValidationError) Error

Error satisfies the builtin error interface

func (ListRequestValidationError) ErrorName

func (e ListRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListRequestValidationError) Field

Field function returns field value.

func (ListRequestValidationError) Key

Key function returns key value.

func (ListRequestValidationError) Reason

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

Cause function returns cause value.

func (ListResponseValidationError) Error

Error satisfies the builtin error interface

func (ListResponseValidationError) ErrorName

func (e ListResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ListResponseValidationError) Field

Field function returns field value.

func (ListResponseValidationError) Key

Key function returns key value.

func (ListResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListTagsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListTagsRequestValidationError) ErrorName

func (e ListTagsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListTagsRequestValidationError) Field

Field function returns field value.

func (ListTagsRequestValidationError) Key

Key function returns key value.

func (ListTagsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListTagsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListTagsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListTagsResponseValidationError) Field

Field function returns field value.

func (ListTagsResponseValidationError) Key

Key function returns key value.

func (ListTagsResponseValidationError) Reason

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

Deprecated: Use Prepare.ProtoReflect.Descriptor instead.

func (*Prepare) GetAuthorizeUrl

func (x *Prepare) GetAuthorizeUrl() string

func (*Prepare) GetName

func (x *Prepare) GetName() string

func (*Prepare) GetScopes

func (x *Prepare) GetScopes() []string

func (*Prepare) GetTokenUrl

func (x *Prepare) GetTokenUrl() string

func (*Prepare) ProtoMessage

func (*Prepare) ProtoMessage()

func (*Prepare) ProtoReflect

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

func (*Prepare) Reset

func (x *Prepare) Reset()

func (*Prepare) String

func (x *Prepare) String() string

func (*Prepare) Validate

func (m *Prepare) Validate() error

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

func (m *Prepare) ValidateAll() error

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

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

Cause function returns cause value.

func (PreparesResponseValidationError) Error

Error satisfies the builtin error interface

func (PreparesResponseValidationError) ErrorName

ErrorName returns error name.

func (PreparesResponseValidationError) Field

Field function returns field value.

func (PreparesResponseValidationError) Key

Key function returns key value.

func (PreparesResponseValidationError) Reason

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

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetAuthorizeUrl

func (x *Provider) GetAuthorizeUrl() string

func (*Provider) GetClientId

func (x *Provider) GetClientId() string

func (*Provider) GetClientSecret

func (x *Provider) GetClientSecret() string

func (*Provider) GetCreatedAt

func (x *Provider) GetCreatedAt() *timestamppb.Timestamp

func (*Provider) GetId

func (x *Provider) GetId() string

func (*Provider) GetName

func (x *Provider) GetName() string

func (*Provider) GetScopes

func (x *Provider) GetScopes() []string

func (*Provider) GetTokenUrl

func (x *Provider) GetTokenUrl() string

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) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) String() string

func (*Provider) Validate

func (m *Provider) Validate() error

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

func (m *Provider) ValidateAll() error

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.

type ProviderServiceServer

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

Deprecated: Use Repo.ProtoReflect.Descriptor instead.

func (*Repo) GetCreatedAt

func (x *Repo) GetCreatedAt() *timestamppb.Timestamp

func (*Repo) GetFullName

func (x *Repo) GetFullName() string

func (*Repo) GetGitUrl

func (x *Repo) GetGitUrl() string

func (*Repo) GetHttpUrl

func (x *Repo) GetHttpUrl() string

func (*Repo) GetIntro

func (x *Repo) GetIntro() string

func (*Repo) GetName

func (x *Repo) GetName() string

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) Reset

func (x *Repo) Reset()

func (*Repo) String

func (x *Repo) String() string

func (*Repo) Validate

func (m *Repo) Validate() error

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

func (m *Repo) ValidateAll() error

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetCommit

func (x *Tag) GetCommit() *Commit

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

func (*Tag) Validate

func (m *Tag) Validate() error

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

func (m *Tag) ValidateAll() error

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetAccessToken

func (x *Token) GetAccessToken() string

func (*Token) GetCreatedAt

func (x *Token) GetCreatedAt() *timestamppb.Timestamp

func (*Token) GetExpiresAt

func (x *Token) GetExpiresAt() *timestamppb.Timestamp

func (*Token) GetId

func (x *Token) GetId() string

func (*Token) GetProvider

func (x *Token) GetProvider() string

func (*Token) GetRefreshToken

func (x *Token) GetRefreshToken() string

func (*Token) GetUpdatedAt

func (x *Token) GetUpdatedAt() *timestamppb.Timestamp

func (*Token) GetUserid

func (x *Token) GetUserid() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

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

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

func (*Token) Validate

func (m *Token) Validate() error

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

func (m *Token) ValidateAll() error

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) Create

func (UnimplementedProviderServiceServer) Delete

func (UnimplementedProviderServiceServer) List

func (UnimplementedProviderServiceServer) ListBranches

func (UnimplementedProviderServiceServer) ListRepos

func (UnimplementedProviderServiceServer) ListTags

func (UnimplementedProviderServiceServer) Prepare

func (UnimplementedProviderServiceServer) Update

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

Cause function returns cause value.

func (UpdateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRequestValidationError) ErrorName

func (e UpdateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRequestValidationError) Field

Field function returns field value.

func (UpdateRequestValidationError) Key

Key function returns key value.

func (UpdateRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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