Documentation ¶
Overview ¶
Package eigenbotv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package eigenbotv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCallbackServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCallbackServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CallbackServiceClient) error
- func RegisterCallbackServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCallbackServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CallbackServiceServer) error
- func RegisterCallbackServiceServer(s grpc.ServiceRegistrar, srv CallbackServiceServer)
- func RegisterFactsServiceServer(s grpc.ServiceRegistrar, srv FactsServiceServer)
- func RegisterReconcilerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterReconcilerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReconcilerServiceClient) error
- func RegisterReconcilerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterReconcilerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ReconcilerServiceServer) error
- func RegisterReconcilerServiceServer(s grpc.ServiceRegistrar, srv ReconcilerServiceServer)
- type CallbackServiceClient
- type CallbackServiceServer
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetDeletion() *FileDeletion
- func (x *Entity) GetFile() *FileEntity
- func (m *Entity) GetValue() isEntity_Value
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- func (m *Entity) Validate() error
- func (m *Entity) ValidateAll() error
- type EntityMultiError
- type EntityValidationError
- type Entity_Deletion
- type Entity_File
- type FactsServiceClient
- type FactsServiceServer
- type FileDeletion
- func (*FileDeletion) Descriptor() ([]byte, []int)deprecated
- func (x *FileDeletion) GetOwner() string
- func (x *FileDeletion) GetPath() string
- func (x *FileDeletion) GetRef() string
- func (x *FileDeletion) GetRepository() string
- func (*FileDeletion) ProtoMessage()
- func (x *FileDeletion) ProtoReflect() protoreflect.Message
- func (x *FileDeletion) Reset()
- func (x *FileDeletion) String() string
- func (m *FileDeletion) Validate() error
- func (m *FileDeletion) ValidateAll() error
- type FileDeletionMultiError
- type FileDeletionValidationError
- func (e FileDeletionValidationError) Cause() error
- func (e FileDeletionValidationError) Error() string
- func (e FileDeletionValidationError) ErrorName() string
- func (e FileDeletionValidationError) Field() string
- func (e FileDeletionValidationError) Key() bool
- func (e FileDeletionValidationError) Reason() string
- type FileEntity
- func (*FileEntity) Descriptor() ([]byte, []int)deprecated
- func (x *FileEntity) GetContents() []byte
- func (x *FileEntity) GetMode() uint32
- func (x *FileEntity) GetOwner() string
- func (x *FileEntity) GetPath() string
- func (x *FileEntity) GetRef() string
- func (x *FileEntity) GetRepository() string
- func (*FileEntity) ProtoMessage()
- func (x *FileEntity) ProtoReflect() protoreflect.Message
- func (x *FileEntity) Reset()
- func (x *FileEntity) String() string
- func (m *FileEntity) Validate() error
- func (m *FileEntity) ValidateAll() error
- type FileEntityMultiError
- type FileEntityValidationError
- type GetFileRequest
- func (*GetFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileRequest) GetPath() string
- func (x *GetFileRequest) GetToken() string
- func (*GetFileRequest) ProtoMessage()
- func (x *GetFileRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileRequest) Reset()
- func (x *GetFileRequest) String() string
- func (m *GetFileRequest) Validate() error
- func (m *GetFileRequest) ValidateAll() error
- type GetFileRequestMultiError
- type GetFileRequestValidationError
- func (e GetFileRequestValidationError) Cause() error
- func (e GetFileRequestValidationError) Error() string
- func (e GetFileRequestValidationError) ErrorName() string
- func (e GetFileRequestValidationError) Field() string
- func (e GetFileRequestValidationError) Key() bool
- func (e GetFileRequestValidationError) Reason() string
- type GetFileResponse
- func (*GetFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileResponse) GetContents() []byte
- func (x *GetFileResponse) GetMode() uint32
- func (x *GetFileResponse) GetPath() string
- func (x *GetFileResponse) GetSize() uint64
- func (*GetFileResponse) ProtoMessage()
- func (x *GetFileResponse) ProtoReflect() protoreflect.Message
- func (x *GetFileResponse) Reset()
- func (x *GetFileResponse) String() string
- func (m *GetFileResponse) Validate() error
- func (m *GetFileResponse) ValidateAll() error
- type GetFileResponseMultiError
- type GetFileResponseValidationError
- func (e GetFileResponseValidationError) Cause() error
- func (e GetFileResponseValidationError) Error() string
- func (e GetFileResponseValidationError) ErrorName() string
- func (e GetFileResponseValidationError) Field() string
- func (e GetFileResponseValidationError) Key() bool
- func (e GetFileResponseValidationError) Reason() string
- type GlobFilesRequest
- func (*GlobFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GlobFilesRequest) GetGlob() string
- func (x *GlobFilesRequest) GetToken() string
- func (*GlobFilesRequest) ProtoMessage()
- func (x *GlobFilesRequest) ProtoReflect() protoreflect.Message
- func (x *GlobFilesRequest) Reset()
- func (x *GlobFilesRequest) String() string
- func (m *GlobFilesRequest) Validate() error
- func (m *GlobFilesRequest) ValidateAll() error
- type GlobFilesRequestMultiError
- type GlobFilesRequestValidationError
- func (e GlobFilesRequestValidationError) Cause() error
- func (e GlobFilesRequestValidationError) Error() string
- func (e GlobFilesRequestValidationError) ErrorName() string
- func (e GlobFilesRequestValidationError) Field() string
- func (e GlobFilesRequestValidationError) Key() bool
- func (e GlobFilesRequestValidationError) Reason() string
- type GlobFilesResponse
- func (*GlobFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GlobFilesResponse) GetMatches() map[string]*GlobFilesResponse_FileInfo
- func (*GlobFilesResponse) ProtoMessage()
- func (x *GlobFilesResponse) ProtoReflect() protoreflect.Message
- func (x *GlobFilesResponse) Reset()
- func (x *GlobFilesResponse) String() string
- func (m *GlobFilesResponse) Validate() error
- func (m *GlobFilesResponse) ValidateAll() error
- type GlobFilesResponseMultiError
- type GlobFilesResponseValidationError
- func (e GlobFilesResponseValidationError) Cause() error
- func (e GlobFilesResponseValidationError) Error() string
- func (e GlobFilesResponseValidationError) ErrorName() string
- func (e GlobFilesResponseValidationError) Field() string
- func (e GlobFilesResponseValidationError) Key() bool
- func (e GlobFilesResponseValidationError) Reason() string
- type GlobFilesResponse_FileInfo
- func (*GlobFilesResponse_FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GlobFilesResponse_FileInfo) GetPath() string
- func (*GlobFilesResponse_FileInfo) ProtoMessage()
- func (x *GlobFilesResponse_FileInfo) ProtoReflect() protoreflect.Message
- func (x *GlobFilesResponse_FileInfo) Reset()
- func (x *GlobFilesResponse_FileInfo) String() string
- func (m *GlobFilesResponse_FileInfo) Validate() error
- func (m *GlobFilesResponse_FileInfo) ValidateAll() error
- type GlobFilesResponse_FileInfoMultiError
- type GlobFilesResponse_FileInfoValidationError
- func (e GlobFilesResponse_FileInfoValidationError) Cause() error
- func (e GlobFilesResponse_FileInfoValidationError) Error() string
- func (e GlobFilesResponse_FileInfoValidationError) ErrorName() string
- func (e GlobFilesResponse_FileInfoValidationError) Field() string
- func (e GlobFilesResponse_FileInfoValidationError) Key() bool
- func (e GlobFilesResponse_FileInfoValidationError) Reason() string
- type Rationale
- func (*Rationale) Descriptor() ([]byte, []int)deprecated
- func (x *Rationale) GetDescription() string
- func (x *Rationale) GetDisplayName() string
- func (x *Rationale) GetKey() string
- func (x *Rationale) GetReferences() map[string]string
- func (*Rationale) ProtoMessage()
- func (x *Rationale) ProtoReflect() protoreflect.Message
- func (x *Rationale) Reset()
- func (x *Rationale) String() string
- func (m *Rationale) Validate() error
- func (m *Rationale) ValidateAll() error
- type RationaleMultiError
- type RationaleValidationError
- type ReconcileCommitRequest
- func (*ReconcileCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReconcileCommitRequest) GetOwner() string
- func (x *ReconcileCommitRequest) GetRef() string
- func (x *ReconcileCommitRequest) GetRepository() string
- func (x *ReconcileCommitRequest) GetSha() string
- func (x *ReconcileCommitRequest) GetToken() string
- func (*ReconcileCommitRequest) ProtoMessage()
- func (x *ReconcileCommitRequest) ProtoReflect() protoreflect.Message
- func (x *ReconcileCommitRequest) Reset()
- func (x *ReconcileCommitRequest) String() string
- func (m *ReconcileCommitRequest) Validate() error
- func (m *ReconcileCommitRequest) ValidateAll() error
- type ReconcileCommitRequestMultiError
- type ReconcileCommitRequestValidationError
- func (e ReconcileCommitRequestValidationError) Cause() error
- func (e ReconcileCommitRequestValidationError) Error() string
- func (e ReconcileCommitRequestValidationError) ErrorName() string
- func (e ReconcileCommitRequestValidationError) Field() string
- func (e ReconcileCommitRequestValidationError) Key() bool
- func (e ReconcileCommitRequestValidationError) Reason() string
- type ReconcileCommitResponse
- func (*ReconcileCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReconcileCommitResponse) ProtoMessage()
- func (x *ReconcileCommitResponse) ProtoReflect() protoreflect.Message
- func (x *ReconcileCommitResponse) Reset()
- func (x *ReconcileCommitResponse) String() string
- func (m *ReconcileCommitResponse) Validate() error
- func (m *ReconcileCommitResponse) ValidateAll() error
- type ReconcileCommitResponseMultiError
- type ReconcileCommitResponseValidationError
- func (e ReconcileCommitResponseValidationError) Cause() error
- func (e ReconcileCommitResponseValidationError) Error() string
- func (e ReconcileCommitResponseValidationError) ErrorName() string
- func (e ReconcileCommitResponseValidationError) Field() string
- func (e ReconcileCommitResponseValidationError) Key() bool
- func (e ReconcileCommitResponseValidationError) Reason() string
- type ReconcileOrganizationRequest
- func (*ReconcileOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReconcileOrganizationRequest) GetOrganization() string
- func (x *ReconcileOrganizationRequest) GetToken() string
- func (*ReconcileOrganizationRequest) ProtoMessage()
- func (x *ReconcileOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *ReconcileOrganizationRequest) Reset()
- func (x *ReconcileOrganizationRequest) String() string
- func (m *ReconcileOrganizationRequest) Validate() error
- func (m *ReconcileOrganizationRequest) ValidateAll() error
- type ReconcileOrganizationRequestMultiError
- type ReconcileOrganizationRequestValidationError
- func (e ReconcileOrganizationRequestValidationError) Cause() error
- func (e ReconcileOrganizationRequestValidationError) Error() string
- func (e ReconcileOrganizationRequestValidationError) ErrorName() string
- func (e ReconcileOrganizationRequestValidationError) Field() string
- func (e ReconcileOrganizationRequestValidationError) Key() bool
- func (e ReconcileOrganizationRequestValidationError) Reason() string
- type ReconcileOrganizationResponse
- func (*ReconcileOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReconcileOrganizationResponse) ProtoMessage()
- func (x *ReconcileOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *ReconcileOrganizationResponse) Reset()
- func (x *ReconcileOrganizationResponse) String() string
- func (m *ReconcileOrganizationResponse) Validate() error
- func (m *ReconcileOrganizationResponse) ValidateAll() error
- type ReconcileOrganizationResponseMultiError
- type ReconcileOrganizationResponseValidationError
- func (e ReconcileOrganizationResponseValidationError) Cause() error
- func (e ReconcileOrganizationResponseValidationError) Error() string
- func (e ReconcileOrganizationResponseValidationError) ErrorName() string
- func (e ReconcileOrganizationResponseValidationError) Field() string
- func (e ReconcileOrganizationResponseValidationError) Key() bool
- func (e ReconcileOrganizationResponseValidationError) Reason() string
- type ReconcileRepositoryRequest
- func (*ReconcileRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReconcileRepositoryRequest) GetOwner() string
- func (x *ReconcileRepositoryRequest) GetRepository() string
- func (x *ReconcileRepositoryRequest) GetToken() string
- func (*ReconcileRepositoryRequest) ProtoMessage()
- func (x *ReconcileRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *ReconcileRepositoryRequest) Reset()
- func (x *ReconcileRepositoryRequest) String() string
- func (m *ReconcileRepositoryRequest) Validate() error
- func (m *ReconcileRepositoryRequest) ValidateAll() error
- type ReconcileRepositoryRequestMultiError
- type ReconcileRepositoryRequestValidationError
- func (e ReconcileRepositoryRequestValidationError) Cause() error
- func (e ReconcileRepositoryRequestValidationError) Error() string
- func (e ReconcileRepositoryRequestValidationError) ErrorName() string
- func (e ReconcileRepositoryRequestValidationError) Field() string
- func (e ReconcileRepositoryRequestValidationError) Key() bool
- func (e ReconcileRepositoryRequestValidationError) Reason() string
- type ReconcileRepositoryResponse
- func (*ReconcileRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReconcileRepositoryResponse) ProtoMessage()
- func (x *ReconcileRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *ReconcileRepositoryResponse) Reset()
- func (x *ReconcileRepositoryResponse) String() string
- func (m *ReconcileRepositoryResponse) Validate() error
- func (m *ReconcileRepositoryResponse) ValidateAll() error
- type ReconcileRepositoryResponseMultiError
- type ReconcileRepositoryResponseValidationError
- func (e ReconcileRepositoryResponseValidationError) Cause() error
- func (e ReconcileRepositoryResponseValidationError) Error() string
- func (e ReconcileRepositoryResponseValidationError) ErrorName() string
- func (e ReconcileRepositoryResponseValidationError) Field() string
- func (e ReconcileRepositoryResponseValidationError) Key() bool
- func (e ReconcileRepositoryResponseValidationError) Reason() string
- type ReconcileRequest
- func (*ReconcileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReconcileRequest) GetEntities() []*Entity
- func (x *ReconcileRequest) GetRationale() *Rationale
- func (x *ReconcileRequest) GetToken() string
- func (*ReconcileRequest) ProtoMessage()
- func (x *ReconcileRequest) ProtoReflect() protoreflect.Message
- func (x *ReconcileRequest) Reset()
- func (x *ReconcileRequest) String() string
- func (m *ReconcileRequest) Validate() error
- func (m *ReconcileRequest) ValidateAll() error
- type ReconcileRequestMultiError
- type ReconcileRequestValidationError
- func (e ReconcileRequestValidationError) Cause() error
- func (e ReconcileRequestValidationError) Error() string
- func (e ReconcileRequestValidationError) ErrorName() string
- func (e ReconcileRequestValidationError) Field() string
- func (e ReconcileRequestValidationError) Key() bool
- func (e ReconcileRequestValidationError) Reason() string
- type ReconcileResponse
- func (*ReconcileResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReconcileResponse) ProtoMessage()
- func (x *ReconcileResponse) ProtoReflect() protoreflect.Message
- func (x *ReconcileResponse) Reset()
- func (x *ReconcileResponse) String() string
- func (m *ReconcileResponse) Validate() error
- func (m *ReconcileResponse) ValidateAll() error
- type ReconcileResponseMultiError
- type ReconcileResponseValidationError
- func (e ReconcileResponseValidationError) Cause() error
- func (e ReconcileResponseValidationError) Error() string
- func (e ReconcileResponseValidationError) ErrorName() string
- func (e ReconcileResponseValidationError) Field() string
- func (e ReconcileResponseValidationError) Key() bool
- func (e ReconcileResponseValidationError) Reason() string
- type ReconcilerServiceClient
- type ReconcilerServiceServer
- type UnimplementedCallbackServiceServer
- func (UnimplementedCallbackServiceServer) ReconcileCommit(context.Context, *ReconcileCommitRequest) (*ReconcileCommitResponse, error)
- func (UnimplementedCallbackServiceServer) ReconcileOrganization(context.Context, *ReconcileOrganizationRequest) (*ReconcileOrganizationResponse, error)
- func (UnimplementedCallbackServiceServer) ReconcileRepository(context.Context, *ReconcileRepositoryRequest) (*ReconcileRepositoryResponse, error)
- type UnimplementedFactsServiceServer
- type UnimplementedReconcilerServiceServer
- type UnsafeCallbackServiceServer
- type UnsafeFactsServiceServer
- type UnsafeReconcilerServiceServer
Constants ¶
This section is empty.
Variables ¶
var CallbackService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eigenbot.public.v1.CallbackService", HandlerType: (*CallbackServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ReconcileOrganization", Handler: _CallbackService_ReconcileOrganization_Handler, }, { MethodName: "ReconcileRepository", Handler: _CallbackService_ReconcileRepository_Handler, }, { MethodName: "ReconcileCommit", Handler: _CallbackService_ReconcileCommit_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eigenbot/public/v1/callback.proto", }
CallbackService_ServiceDesc is the grpc.ServiceDesc for CallbackService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var FactsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eigenbot.public.v1.FactsService", HandlerType: (*FactsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GlobFiles", Handler: _FactsService_GlobFiles_Handler, }, { MethodName: "GetFile", Handler: _FactsService_GetFile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eigenbot/public/v1/facts.proto", }
FactsService_ServiceDesc is the grpc.ServiceDesc for FactsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_eigenbot_public_v1_callback_proto protoreflect.FileDescriptor
var File_eigenbot_public_v1_facts_proto protoreflect.FileDescriptor
var File_eigenbot_public_v1_reconciler_proto protoreflect.FileDescriptor
var ReconcilerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eigenbot.public.v1.ReconcilerService", HandlerType: (*ReconcilerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Reconcile", Handler: _ReconcilerService_Reconcile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eigenbot/public/v1/reconciler.proto", }
ReconcilerService_ServiceDesc is the grpc.ServiceDesc for ReconcilerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCallbackServiceHandler ¶
func RegisterCallbackServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCallbackServiceHandler registers the http handlers for service CallbackService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCallbackServiceHandlerClient ¶
func RegisterCallbackServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CallbackServiceClient) error
RegisterCallbackServiceHandlerClient registers the http handlers for service CallbackService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CallbackServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CallbackServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CallbackServiceClient" to call the correct interceptors.
func RegisterCallbackServiceHandlerFromEndpoint ¶
func RegisterCallbackServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCallbackServiceHandlerFromEndpoint is same as RegisterCallbackServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCallbackServiceHandlerServer ¶
func RegisterCallbackServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CallbackServiceServer) error
RegisterCallbackServiceHandlerServer registers the http handlers for service CallbackService to "mux". UnaryRPC :call CallbackServiceServer 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 RegisterCallbackServiceHandlerFromEndpoint instead.
func RegisterCallbackServiceServer ¶
func RegisterCallbackServiceServer(s grpc.ServiceRegistrar, srv CallbackServiceServer)
func RegisterFactsServiceServer ¶
func RegisterFactsServiceServer(s grpc.ServiceRegistrar, srv FactsServiceServer)
func RegisterReconcilerServiceHandler ¶
func RegisterReconcilerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterReconcilerServiceHandler registers the http handlers for service ReconcilerService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterReconcilerServiceHandlerClient ¶
func RegisterReconcilerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReconcilerServiceClient) error
RegisterReconcilerServiceHandlerClient registers the http handlers for service ReconcilerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ReconcilerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ReconcilerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ReconcilerServiceClient" to call the correct interceptors.
func RegisterReconcilerServiceHandlerFromEndpoint ¶
func RegisterReconcilerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterReconcilerServiceHandlerFromEndpoint is same as RegisterReconcilerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterReconcilerServiceHandlerServer ¶
func RegisterReconcilerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ReconcilerServiceServer) error
RegisterReconcilerServiceHandlerServer registers the http handlers for service ReconcilerService to "mux". UnaryRPC :call ReconcilerServiceServer 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 RegisterReconcilerServiceHandlerFromEndpoint instead.
func RegisterReconcilerServiceServer ¶
func RegisterReconcilerServiceServer(s grpc.ServiceRegistrar, srv ReconcilerServiceServer)
Types ¶
type CallbackServiceClient ¶
type CallbackServiceClient interface { ReconcileOrganization(ctx context.Context, in *ReconcileOrganizationRequest, opts ...grpc.CallOption) (*ReconcileOrganizationResponse, error) ReconcileRepository(ctx context.Context, in *ReconcileRepositoryRequest, opts ...grpc.CallOption) (*ReconcileRepositoryResponse, error) ReconcileCommit(ctx context.Context, in *ReconcileCommitRequest, opts ...grpc.CallOption) (*ReconcileCommitResponse, error) }
CallbackServiceClient is the client API for CallbackService 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 NewCallbackServiceClient ¶
func NewCallbackServiceClient(cc grpc.ClientConnInterface) CallbackServiceClient
type CallbackServiceServer ¶
type CallbackServiceServer interface { ReconcileOrganization(context.Context, *ReconcileOrganizationRequest) (*ReconcileOrganizationResponse, error) ReconcileRepository(context.Context, *ReconcileRepositoryRequest) (*ReconcileRepositoryResponse, error) ReconcileCommit(context.Context, *ReconcileCommitRequest) (*ReconcileCommitResponse, error) // contains filtered or unexported methods }
CallbackServiceServer is the server API for CallbackService service. All implementations must embed UnimplementedCallbackServiceServer for forward compatibility
type Entity ¶
type Entity struct { // Types that are assignable to Value: // // *Entity_File // *Entity_Deletion Value isEntity_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Entity) Descriptor
deprecated
func (*Entity) GetDeletion ¶
func (x *Entity) GetDeletion() *FileDeletion
func (*Entity) GetFile ¶
func (x *Entity) GetFile() *FileEntity
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
func (*Entity) Validate ¶
Validate checks the field values on Entity 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 (*Entity) ValidateAll ¶
ValidateAll checks the field values on Entity 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 EntityMultiError, or nil if none found.
type EntityMultiError ¶
type EntityMultiError []error
EntityMultiError is an error wrapping multiple validation errors returned by Entity.ValidateAll() if the designated constraints aren't met.
func (EntityMultiError) AllErrors ¶
func (m EntityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntityMultiError) Error ¶
func (m EntityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntityValidationError ¶
type EntityValidationError struct {
// contains filtered or unexported fields
}
EntityValidationError is the validation error returned by Entity.Validate if the designated constraints aren't met.
func (EntityValidationError) Cause ¶
func (e EntityValidationError) Cause() error
Cause function returns cause value.
func (EntityValidationError) Error ¶
func (e EntityValidationError) Error() string
Error satisfies the builtin error interface
func (EntityValidationError) ErrorName ¶
func (e EntityValidationError) ErrorName() string
ErrorName returns error name.
func (EntityValidationError) Field ¶
func (e EntityValidationError) Field() string
Field function returns field value.
func (EntityValidationError) Key ¶
func (e EntityValidationError) Key() bool
Key function returns key value.
func (EntityValidationError) Reason ¶
func (e EntityValidationError) Reason() string
Reason function returns reason value.
type Entity_Deletion ¶
type Entity_Deletion struct {
Deletion *FileDeletion `protobuf:"bytes,2,opt,name=deletion,proto3,oneof"`
}
type Entity_File ¶
type Entity_File struct {
File *FileEntity `protobuf:"bytes,1,opt,name=file,proto3,oneof"`
}
type FactsServiceClient ¶
type FactsServiceClient interface { GlobFiles(ctx context.Context, in *GlobFilesRequest, opts ...grpc.CallOption) (*GlobFilesResponse, error) GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*GetFileResponse, error) }
FactsServiceClient is the client API for FactsService 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 NewFactsServiceClient ¶
func NewFactsServiceClient(cc grpc.ClientConnInterface) FactsServiceClient
type FactsServiceServer ¶
type FactsServiceServer interface { GlobFiles(context.Context, *GlobFilesRequest) (*GlobFilesResponse, error) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error) // contains filtered or unexported methods }
FactsServiceServer is the server API for FactsService service. All implementations must embed UnimplementedFactsServiceServer for forward compatibility
type FileDeletion ¶
type FileDeletion struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*FileDeletion) Descriptor
deprecated
func (*FileDeletion) Descriptor() ([]byte, []int)
Deprecated: Use FileDeletion.ProtoReflect.Descriptor instead.
func (*FileDeletion) GetOwner ¶
func (x *FileDeletion) GetOwner() string
func (*FileDeletion) GetPath ¶
func (x *FileDeletion) GetPath() string
func (*FileDeletion) GetRef ¶
func (x *FileDeletion) GetRef() string
func (*FileDeletion) GetRepository ¶
func (x *FileDeletion) GetRepository() string
func (*FileDeletion) ProtoMessage ¶
func (*FileDeletion) ProtoMessage()
func (*FileDeletion) ProtoReflect ¶
func (x *FileDeletion) ProtoReflect() protoreflect.Message
func (*FileDeletion) Reset ¶
func (x *FileDeletion) Reset()
func (*FileDeletion) String ¶
func (x *FileDeletion) String() string
func (*FileDeletion) Validate ¶
func (m *FileDeletion) Validate() error
Validate checks the field values on FileDeletion 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 (*FileDeletion) ValidateAll ¶
func (m *FileDeletion) ValidateAll() error
ValidateAll checks the field values on FileDeletion 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 FileDeletionMultiError, or nil if none found.
type FileDeletionMultiError ¶
type FileDeletionMultiError []error
FileDeletionMultiError is an error wrapping multiple validation errors returned by FileDeletion.ValidateAll() if the designated constraints aren't met.
func (FileDeletionMultiError) AllErrors ¶
func (m FileDeletionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileDeletionMultiError) Error ¶
func (m FileDeletionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileDeletionValidationError ¶
type FileDeletionValidationError struct {
// contains filtered or unexported fields
}
FileDeletionValidationError is the validation error returned by FileDeletion.Validate if the designated constraints aren't met.
func (FileDeletionValidationError) Cause ¶
func (e FileDeletionValidationError) Cause() error
Cause function returns cause value.
func (FileDeletionValidationError) Error ¶
func (e FileDeletionValidationError) Error() string
Error satisfies the builtin error interface
func (FileDeletionValidationError) ErrorName ¶
func (e FileDeletionValidationError) ErrorName() string
ErrorName returns error name.
func (FileDeletionValidationError) Field ¶
func (e FileDeletionValidationError) Field() string
Field function returns field value.
func (FileDeletionValidationError) Key ¶
func (e FileDeletionValidationError) Key() bool
Key function returns key value.
func (FileDeletionValidationError) Reason ¶
func (e FileDeletionValidationError) Reason() string
Reason function returns reason value.
type FileEntity ¶
type FileEntity struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Contents []byte `protobuf:"bytes,5,opt,name=contents,proto3" json:"contents,omitempty"` // Mode and permission bits; os.FileMode Mode uint32 `protobuf:"varint,6,opt,name=mode,proto3" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*FileEntity) Descriptor
deprecated
func (*FileEntity) Descriptor() ([]byte, []int)
Deprecated: Use FileEntity.ProtoReflect.Descriptor instead.
func (*FileEntity) GetContents ¶
func (x *FileEntity) GetContents() []byte
func (*FileEntity) GetMode ¶
func (x *FileEntity) GetMode() uint32
func (*FileEntity) GetOwner ¶
func (x *FileEntity) GetOwner() string
func (*FileEntity) GetPath ¶
func (x *FileEntity) GetPath() string
func (*FileEntity) GetRef ¶
func (x *FileEntity) GetRef() string
func (*FileEntity) GetRepository ¶
func (x *FileEntity) GetRepository() string
func (*FileEntity) ProtoMessage ¶
func (*FileEntity) ProtoMessage()
func (*FileEntity) ProtoReflect ¶
func (x *FileEntity) ProtoReflect() protoreflect.Message
func (*FileEntity) Reset ¶
func (x *FileEntity) Reset()
func (*FileEntity) String ¶
func (x *FileEntity) String() string
func (*FileEntity) Validate ¶
func (m *FileEntity) Validate() error
Validate checks the field values on FileEntity 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 (*FileEntity) ValidateAll ¶
func (m *FileEntity) ValidateAll() error
ValidateAll checks the field values on FileEntity 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 FileEntityMultiError, or nil if none found.
type FileEntityMultiError ¶
type FileEntityMultiError []error
FileEntityMultiError is an error wrapping multiple validation errors returned by FileEntity.ValidateAll() if the designated constraints aren't met.
func (FileEntityMultiError) AllErrors ¶
func (m FileEntityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileEntityMultiError) Error ¶
func (m FileEntityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileEntityValidationError ¶
type FileEntityValidationError struct {
// contains filtered or unexported fields
}
FileEntityValidationError is the validation error returned by FileEntity.Validate if the designated constraints aren't met.
func (FileEntityValidationError) Cause ¶
func (e FileEntityValidationError) Cause() error
Cause function returns cause value.
func (FileEntityValidationError) Error ¶
func (e FileEntityValidationError) Error() string
Error satisfies the builtin error interface
func (FileEntityValidationError) ErrorName ¶
func (e FileEntityValidationError) ErrorName() string
ErrorName returns error name.
func (FileEntityValidationError) Field ¶
func (e FileEntityValidationError) Field() string
Field function returns field value.
func (FileEntityValidationError) Key ¶
func (e FileEntityValidationError) Key() bool
Key function returns key value.
func (FileEntityValidationError) Reason ¶
func (e FileEntityValidationError) Reason() string
Reason function returns reason value.
type GetFileRequest ¶
type GetFileRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*GetFileRequest) Descriptor
deprecated
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (*GetFileRequest) GetPath ¶
func (x *GetFileRequest) GetPath() string
func (*GetFileRequest) GetToken ¶
func (x *GetFileRequest) GetToken() string
func (*GetFileRequest) ProtoMessage ¶
func (*GetFileRequest) ProtoMessage()
func (*GetFileRequest) ProtoReflect ¶
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (*GetFileRequest) Reset ¶
func (x *GetFileRequest) Reset()
func (*GetFileRequest) String ¶
func (x *GetFileRequest) String() string
func (*GetFileRequest) Validate ¶
func (m *GetFileRequest) Validate() error
Validate checks the field values on GetFileRequest 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 (*GetFileRequest) ValidateAll ¶
func (m *GetFileRequest) ValidateAll() error
ValidateAll checks the field values on GetFileRequest 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 GetFileRequestMultiError, or nil if none found.
type GetFileRequestMultiError ¶
type GetFileRequestMultiError []error
GetFileRequestMultiError is an error wrapping multiple validation errors returned by GetFileRequest.ValidateAll() if the designated constraints aren't met.
func (GetFileRequestMultiError) AllErrors ¶
func (m GetFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileRequestMultiError) Error ¶
func (m GetFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileRequestValidationError ¶
type GetFileRequestValidationError struct {
// contains filtered or unexported fields
}
GetFileRequestValidationError is the validation error returned by GetFileRequest.Validate if the designated constraints aren't met.
func (GetFileRequestValidationError) Cause ¶
func (e GetFileRequestValidationError) Cause() error
Cause function returns cause value.
func (GetFileRequestValidationError) Error ¶
func (e GetFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileRequestValidationError) ErrorName ¶
func (e GetFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileRequestValidationError) Field ¶
func (e GetFileRequestValidationError) Field() string
Field function returns field value.
func (GetFileRequestValidationError) Key ¶
func (e GetFileRequestValidationError) Key() bool
Key function returns key value.
func (GetFileRequestValidationError) Reason ¶
func (e GetFileRequestValidationError) Reason() string
Reason function returns reason value.
type GetFileResponse ¶
type GetFileResponse struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` // Mode and permission bits; os.FileMode Mode uint32 `protobuf:"varint,6,opt,name=mode,proto3" json:"mode,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*GetFileResponse) Descriptor
deprecated
func (*GetFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead.
func (*GetFileResponse) GetContents ¶
func (x *GetFileResponse) GetContents() []byte
func (*GetFileResponse) GetMode ¶
func (x *GetFileResponse) GetMode() uint32
func (*GetFileResponse) GetPath ¶
func (x *GetFileResponse) GetPath() string
func (*GetFileResponse) GetSize ¶
func (x *GetFileResponse) GetSize() uint64
func (*GetFileResponse) ProtoMessage ¶
func (*GetFileResponse) ProtoMessage()
func (*GetFileResponse) ProtoReflect ¶
func (x *GetFileResponse) ProtoReflect() protoreflect.Message
func (*GetFileResponse) Reset ¶
func (x *GetFileResponse) Reset()
func (*GetFileResponse) String ¶
func (x *GetFileResponse) String() string
func (*GetFileResponse) Validate ¶
func (m *GetFileResponse) Validate() error
Validate checks the field values on GetFileResponse 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 (*GetFileResponse) ValidateAll ¶
func (m *GetFileResponse) ValidateAll() error
ValidateAll checks the field values on GetFileResponse 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 GetFileResponseMultiError, or nil if none found.
type GetFileResponseMultiError ¶
type GetFileResponseMultiError []error
GetFileResponseMultiError is an error wrapping multiple validation errors returned by GetFileResponse.ValidateAll() if the designated constraints aren't met.
func (GetFileResponseMultiError) AllErrors ¶
func (m GetFileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileResponseMultiError) Error ¶
func (m GetFileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileResponseValidationError ¶
type GetFileResponseValidationError struct {
// contains filtered or unexported fields
}
GetFileResponseValidationError is the validation error returned by GetFileResponse.Validate if the designated constraints aren't met.
func (GetFileResponseValidationError) Cause ¶
func (e GetFileResponseValidationError) Cause() error
Cause function returns cause value.
func (GetFileResponseValidationError) Error ¶
func (e GetFileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileResponseValidationError) ErrorName ¶
func (e GetFileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileResponseValidationError) Field ¶
func (e GetFileResponseValidationError) Field() string
Field function returns field value.
func (GetFileResponseValidationError) Key ¶
func (e GetFileResponseValidationError) Key() bool
Key function returns key value.
func (GetFileResponseValidationError) Reason ¶
func (e GetFileResponseValidationError) Reason() string
Reason function returns reason value.
type GlobFilesRequest ¶
type GlobFilesRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Glob string `protobuf:"bytes,2,opt,name=glob,proto3" json:"glob,omitempty"` // contains filtered or unexported fields }
func (*GlobFilesRequest) Descriptor
deprecated
func (*GlobFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GlobFilesRequest.ProtoReflect.Descriptor instead.
func (*GlobFilesRequest) GetGlob ¶
func (x *GlobFilesRequest) GetGlob() string
func (*GlobFilesRequest) GetToken ¶
func (x *GlobFilesRequest) GetToken() string
func (*GlobFilesRequest) ProtoMessage ¶
func (*GlobFilesRequest) ProtoMessage()
func (*GlobFilesRequest) ProtoReflect ¶
func (x *GlobFilesRequest) ProtoReflect() protoreflect.Message
func (*GlobFilesRequest) Reset ¶
func (x *GlobFilesRequest) Reset()
func (*GlobFilesRequest) String ¶
func (x *GlobFilesRequest) String() string
func (*GlobFilesRequest) Validate ¶
func (m *GlobFilesRequest) Validate() error
Validate checks the field values on GlobFilesRequest 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 (*GlobFilesRequest) ValidateAll ¶
func (m *GlobFilesRequest) ValidateAll() error
ValidateAll checks the field values on GlobFilesRequest 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 GlobFilesRequestMultiError, or nil if none found.
type GlobFilesRequestMultiError ¶
type GlobFilesRequestMultiError []error
GlobFilesRequestMultiError is an error wrapping multiple validation errors returned by GlobFilesRequest.ValidateAll() if the designated constraints aren't met.
func (GlobFilesRequestMultiError) AllErrors ¶
func (m GlobFilesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GlobFilesRequestMultiError) Error ¶
func (m GlobFilesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GlobFilesRequestValidationError ¶
type GlobFilesRequestValidationError struct {
// contains filtered or unexported fields
}
GlobFilesRequestValidationError is the validation error returned by GlobFilesRequest.Validate if the designated constraints aren't met.
func (GlobFilesRequestValidationError) Cause ¶
func (e GlobFilesRequestValidationError) Cause() error
Cause function returns cause value.
func (GlobFilesRequestValidationError) Error ¶
func (e GlobFilesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GlobFilesRequestValidationError) ErrorName ¶
func (e GlobFilesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GlobFilesRequestValidationError) Field ¶
func (e GlobFilesRequestValidationError) Field() string
Field function returns field value.
func (GlobFilesRequestValidationError) Key ¶
func (e GlobFilesRequestValidationError) Key() bool
Key function returns key value.
func (GlobFilesRequestValidationError) Reason ¶
func (e GlobFilesRequestValidationError) Reason() string
Reason function returns reason value.
type GlobFilesResponse ¶
type GlobFilesResponse struct { Matches map[string]*GlobFilesResponse_FileInfo `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GlobFilesResponse) Descriptor
deprecated
func (*GlobFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GlobFilesResponse.ProtoReflect.Descriptor instead.
func (*GlobFilesResponse) GetMatches ¶
func (x *GlobFilesResponse) GetMatches() map[string]*GlobFilesResponse_FileInfo
func (*GlobFilesResponse) ProtoMessage ¶
func (*GlobFilesResponse) ProtoMessage()
func (*GlobFilesResponse) ProtoReflect ¶
func (x *GlobFilesResponse) ProtoReflect() protoreflect.Message
func (*GlobFilesResponse) Reset ¶
func (x *GlobFilesResponse) Reset()
func (*GlobFilesResponse) String ¶
func (x *GlobFilesResponse) String() string
func (*GlobFilesResponse) Validate ¶
func (m *GlobFilesResponse) Validate() error
Validate checks the field values on GlobFilesResponse 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 (*GlobFilesResponse) ValidateAll ¶
func (m *GlobFilesResponse) ValidateAll() error
ValidateAll checks the field values on GlobFilesResponse 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 GlobFilesResponseMultiError, or nil if none found.
type GlobFilesResponseMultiError ¶
type GlobFilesResponseMultiError []error
GlobFilesResponseMultiError is an error wrapping multiple validation errors returned by GlobFilesResponse.ValidateAll() if the designated constraints aren't met.
func (GlobFilesResponseMultiError) AllErrors ¶
func (m GlobFilesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GlobFilesResponseMultiError) Error ¶
func (m GlobFilesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GlobFilesResponseValidationError ¶
type GlobFilesResponseValidationError struct {
// contains filtered or unexported fields
}
GlobFilesResponseValidationError is the validation error returned by GlobFilesResponse.Validate if the designated constraints aren't met.
func (GlobFilesResponseValidationError) Cause ¶
func (e GlobFilesResponseValidationError) Cause() error
Cause function returns cause value.
func (GlobFilesResponseValidationError) Error ¶
func (e GlobFilesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GlobFilesResponseValidationError) ErrorName ¶
func (e GlobFilesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GlobFilesResponseValidationError) Field ¶
func (e GlobFilesResponseValidationError) Field() string
Field function returns field value.
func (GlobFilesResponseValidationError) Key ¶
func (e GlobFilesResponseValidationError) Key() bool
Key function returns key value.
func (GlobFilesResponseValidationError) Reason ¶
func (e GlobFilesResponseValidationError) Reason() string
Reason function returns reason value.
type GlobFilesResponse_FileInfo ¶
type GlobFilesResponse_FileInfo struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*GlobFilesResponse_FileInfo) Descriptor
deprecated
func (*GlobFilesResponse_FileInfo) Descriptor() ([]byte, []int)
Deprecated: Use GlobFilesResponse_FileInfo.ProtoReflect.Descriptor instead.
func (*GlobFilesResponse_FileInfo) GetPath ¶
func (x *GlobFilesResponse_FileInfo) GetPath() string
func (*GlobFilesResponse_FileInfo) ProtoMessage ¶
func (*GlobFilesResponse_FileInfo) ProtoMessage()
func (*GlobFilesResponse_FileInfo) ProtoReflect ¶
func (x *GlobFilesResponse_FileInfo) ProtoReflect() protoreflect.Message
func (*GlobFilesResponse_FileInfo) Reset ¶
func (x *GlobFilesResponse_FileInfo) Reset()
func (*GlobFilesResponse_FileInfo) String ¶
func (x *GlobFilesResponse_FileInfo) String() string
func (*GlobFilesResponse_FileInfo) Validate ¶
func (m *GlobFilesResponse_FileInfo) Validate() error
Validate checks the field values on GlobFilesResponse_FileInfo 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 (*GlobFilesResponse_FileInfo) ValidateAll ¶
func (m *GlobFilesResponse_FileInfo) ValidateAll() error
ValidateAll checks the field values on GlobFilesResponse_FileInfo 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 GlobFilesResponse_FileInfoMultiError, or nil if none found.
type GlobFilesResponse_FileInfoMultiError ¶
type GlobFilesResponse_FileInfoMultiError []error
GlobFilesResponse_FileInfoMultiError is an error wrapping multiple validation errors returned by GlobFilesResponse_FileInfo.ValidateAll() if the designated constraints aren't met.
func (GlobFilesResponse_FileInfoMultiError) AllErrors ¶
func (m GlobFilesResponse_FileInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GlobFilesResponse_FileInfoMultiError) Error ¶
func (m GlobFilesResponse_FileInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GlobFilesResponse_FileInfoValidationError ¶
type GlobFilesResponse_FileInfoValidationError struct {
// contains filtered or unexported fields
}
GlobFilesResponse_FileInfoValidationError is the validation error returned by GlobFilesResponse_FileInfo.Validate if the designated constraints aren't met.
func (GlobFilesResponse_FileInfoValidationError) Cause ¶
func (e GlobFilesResponse_FileInfoValidationError) Cause() error
Cause function returns cause value.
func (GlobFilesResponse_FileInfoValidationError) Error ¶
func (e GlobFilesResponse_FileInfoValidationError) Error() string
Error satisfies the builtin error interface
func (GlobFilesResponse_FileInfoValidationError) ErrorName ¶
func (e GlobFilesResponse_FileInfoValidationError) ErrorName() string
ErrorName returns error name.
func (GlobFilesResponse_FileInfoValidationError) Field ¶
func (e GlobFilesResponse_FileInfoValidationError) Field() string
Field function returns field value.
func (GlobFilesResponse_FileInfoValidationError) Key ¶
func (e GlobFilesResponse_FileInfoValidationError) Key() bool
Key function returns key value.
func (GlobFilesResponse_FileInfoValidationError) Reason ¶
func (e GlobFilesResponse_FileInfoValidationError) Reason() string
Reason function returns reason value.
type Rationale ¶
type Rationale struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` References map[string]string `` // map of name to url /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Describes the reason for a desired state.
func (*Rationale) Descriptor
deprecated
func (*Rationale) GetDescription ¶
func (*Rationale) GetDisplayName ¶
func (*Rationale) GetReferences ¶
func (*Rationale) ProtoMessage ¶
func (*Rationale) ProtoMessage()
func (*Rationale) ProtoReflect ¶
func (x *Rationale) ProtoReflect() protoreflect.Message
func (*Rationale) Validate ¶
Validate checks the field values on Rationale 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 (*Rationale) ValidateAll ¶
ValidateAll checks the field values on Rationale 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 RationaleMultiError, or nil if none found.
type RationaleMultiError ¶
type RationaleMultiError []error
RationaleMultiError is an error wrapping multiple validation errors returned by Rationale.ValidateAll() if the designated constraints aren't met.
func (RationaleMultiError) AllErrors ¶
func (m RationaleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RationaleMultiError) Error ¶
func (m RationaleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RationaleValidationError ¶
type RationaleValidationError struct {
// contains filtered or unexported fields
}
RationaleValidationError is the validation error returned by Rationale.Validate if the designated constraints aren't met.
func (RationaleValidationError) Cause ¶
func (e RationaleValidationError) Cause() error
Cause function returns cause value.
func (RationaleValidationError) Error ¶
func (e RationaleValidationError) Error() string
Error satisfies the builtin error interface
func (RationaleValidationError) ErrorName ¶
func (e RationaleValidationError) ErrorName() string
ErrorName returns error name.
func (RationaleValidationError) Field ¶
func (e RationaleValidationError) Field() string
Field function returns field value.
func (RationaleValidationError) Key ¶
func (e RationaleValidationError) Key() bool
Key function returns key value.
func (RationaleValidationError) Reason ¶
func (e RationaleValidationError) Reason() string
Reason function returns reason value.
type ReconcileCommitRequest ¶
type ReconcileCommitRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` Ref string `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"` Sha string `protobuf:"bytes,5,opt,name=sha,proto3" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*ReconcileCommitRequest) Descriptor
deprecated
func (*ReconcileCommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileCommitRequest.ProtoReflect.Descriptor instead.
func (*ReconcileCommitRequest) GetOwner ¶
func (x *ReconcileCommitRequest) GetOwner() string
func (*ReconcileCommitRequest) GetRef ¶
func (x *ReconcileCommitRequest) GetRef() string
func (*ReconcileCommitRequest) GetRepository ¶
func (x *ReconcileCommitRequest) GetRepository() string
func (*ReconcileCommitRequest) GetSha ¶
func (x *ReconcileCommitRequest) GetSha() string
func (*ReconcileCommitRequest) GetToken ¶
func (x *ReconcileCommitRequest) GetToken() string
func (*ReconcileCommitRequest) ProtoMessage ¶
func (*ReconcileCommitRequest) ProtoMessage()
func (*ReconcileCommitRequest) ProtoReflect ¶
func (x *ReconcileCommitRequest) ProtoReflect() protoreflect.Message
func (*ReconcileCommitRequest) Reset ¶
func (x *ReconcileCommitRequest) Reset()
func (*ReconcileCommitRequest) String ¶
func (x *ReconcileCommitRequest) String() string
func (*ReconcileCommitRequest) Validate ¶
func (m *ReconcileCommitRequest) Validate() error
Validate checks the field values on ReconcileCommitRequest 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 (*ReconcileCommitRequest) ValidateAll ¶
func (m *ReconcileCommitRequest) ValidateAll() error
ValidateAll checks the field values on ReconcileCommitRequest 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 ReconcileCommitRequestMultiError, or nil if none found.
type ReconcileCommitRequestMultiError ¶
type ReconcileCommitRequestMultiError []error
ReconcileCommitRequestMultiError is an error wrapping multiple validation errors returned by ReconcileCommitRequest.ValidateAll() if the designated constraints aren't met.
func (ReconcileCommitRequestMultiError) AllErrors ¶
func (m ReconcileCommitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReconcileCommitRequestMultiError) Error ¶
func (m ReconcileCommitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReconcileCommitRequestValidationError ¶
type ReconcileCommitRequestValidationError struct {
// contains filtered or unexported fields
}
ReconcileCommitRequestValidationError is the validation error returned by ReconcileCommitRequest.Validate if the designated constraints aren't met.
func (ReconcileCommitRequestValidationError) Cause ¶
func (e ReconcileCommitRequestValidationError) Cause() error
Cause function returns cause value.
func (ReconcileCommitRequestValidationError) Error ¶
func (e ReconcileCommitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReconcileCommitRequestValidationError) ErrorName ¶
func (e ReconcileCommitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReconcileCommitRequestValidationError) Field ¶
func (e ReconcileCommitRequestValidationError) Field() string
Field function returns field value.
func (ReconcileCommitRequestValidationError) Key ¶
func (e ReconcileCommitRequestValidationError) Key() bool
Key function returns key value.
func (ReconcileCommitRequestValidationError) Reason ¶
func (e ReconcileCommitRequestValidationError) Reason() string
Reason function returns reason value.
type ReconcileCommitResponse ¶
type ReconcileCommitResponse struct {
// contains filtered or unexported fields
}
func (*ReconcileCommitResponse) Descriptor
deprecated
func (*ReconcileCommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileCommitResponse.ProtoReflect.Descriptor instead.
func (*ReconcileCommitResponse) ProtoMessage ¶
func (*ReconcileCommitResponse) ProtoMessage()
func (*ReconcileCommitResponse) ProtoReflect ¶
func (x *ReconcileCommitResponse) ProtoReflect() protoreflect.Message
func (*ReconcileCommitResponse) Reset ¶
func (x *ReconcileCommitResponse) Reset()
func (*ReconcileCommitResponse) String ¶
func (x *ReconcileCommitResponse) String() string
func (*ReconcileCommitResponse) Validate ¶
func (m *ReconcileCommitResponse) Validate() error
Validate checks the field values on ReconcileCommitResponse 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 (*ReconcileCommitResponse) ValidateAll ¶
func (m *ReconcileCommitResponse) ValidateAll() error
ValidateAll checks the field values on ReconcileCommitResponse 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 ReconcileCommitResponseMultiError, or nil if none found.
type ReconcileCommitResponseMultiError ¶
type ReconcileCommitResponseMultiError []error
ReconcileCommitResponseMultiError is an error wrapping multiple validation errors returned by ReconcileCommitResponse.ValidateAll() if the designated constraints aren't met.
func (ReconcileCommitResponseMultiError) AllErrors ¶
func (m ReconcileCommitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReconcileCommitResponseMultiError) Error ¶
func (m ReconcileCommitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReconcileCommitResponseValidationError ¶
type ReconcileCommitResponseValidationError struct {
// contains filtered or unexported fields
}
ReconcileCommitResponseValidationError is the validation error returned by ReconcileCommitResponse.Validate if the designated constraints aren't met.
func (ReconcileCommitResponseValidationError) Cause ¶
func (e ReconcileCommitResponseValidationError) Cause() error
Cause function returns cause value.
func (ReconcileCommitResponseValidationError) Error ¶
func (e ReconcileCommitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReconcileCommitResponseValidationError) ErrorName ¶
func (e ReconcileCommitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReconcileCommitResponseValidationError) Field ¶
func (e ReconcileCommitResponseValidationError) Field() string
Field function returns field value.
func (ReconcileCommitResponseValidationError) Key ¶
func (e ReconcileCommitResponseValidationError) Key() bool
Key function returns key value.
func (ReconcileCommitResponseValidationError) Reason ¶
func (e ReconcileCommitResponseValidationError) Reason() string
Reason function returns reason value.
type ReconcileOrganizationRequest ¶
type ReconcileOrganizationRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*ReconcileOrganizationRequest) Descriptor
deprecated
func (*ReconcileOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileOrganizationRequest.ProtoReflect.Descriptor instead.
func (*ReconcileOrganizationRequest) GetOrganization ¶
func (x *ReconcileOrganizationRequest) GetOrganization() string
func (*ReconcileOrganizationRequest) GetToken ¶
func (x *ReconcileOrganizationRequest) GetToken() string
func (*ReconcileOrganizationRequest) ProtoMessage ¶
func (*ReconcileOrganizationRequest) ProtoMessage()
func (*ReconcileOrganizationRequest) ProtoReflect ¶
func (x *ReconcileOrganizationRequest) ProtoReflect() protoreflect.Message
func (*ReconcileOrganizationRequest) Reset ¶
func (x *ReconcileOrganizationRequest) Reset()
func (*ReconcileOrganizationRequest) String ¶
func (x *ReconcileOrganizationRequest) String() string
func (*ReconcileOrganizationRequest) Validate ¶
func (m *ReconcileOrganizationRequest) Validate() error
Validate checks the field values on ReconcileOrganizationRequest 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 (*ReconcileOrganizationRequest) ValidateAll ¶
func (m *ReconcileOrganizationRequest) ValidateAll() error
ValidateAll checks the field values on ReconcileOrganizationRequest 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 ReconcileOrganizationRequestMultiError, or nil if none found.
type ReconcileOrganizationRequestMultiError ¶
type ReconcileOrganizationRequestMultiError []error
ReconcileOrganizationRequestMultiError is an error wrapping multiple validation errors returned by ReconcileOrganizationRequest.ValidateAll() if the designated constraints aren't met.
func (ReconcileOrganizationRequestMultiError) AllErrors ¶
func (m ReconcileOrganizationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReconcileOrganizationRequestMultiError) Error ¶
func (m ReconcileOrganizationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReconcileOrganizationRequestValidationError ¶
type ReconcileOrganizationRequestValidationError struct {
// contains filtered or unexported fields
}
ReconcileOrganizationRequestValidationError is the validation error returned by ReconcileOrganizationRequest.Validate if the designated constraints aren't met.
func (ReconcileOrganizationRequestValidationError) Cause ¶
func (e ReconcileOrganizationRequestValidationError) Cause() error
Cause function returns cause value.
func (ReconcileOrganizationRequestValidationError) Error ¶
func (e ReconcileOrganizationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReconcileOrganizationRequestValidationError) ErrorName ¶
func (e ReconcileOrganizationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReconcileOrganizationRequestValidationError) Field ¶
func (e ReconcileOrganizationRequestValidationError) Field() string
Field function returns field value.
func (ReconcileOrganizationRequestValidationError) Key ¶
func (e ReconcileOrganizationRequestValidationError) Key() bool
Key function returns key value.
func (ReconcileOrganizationRequestValidationError) Reason ¶
func (e ReconcileOrganizationRequestValidationError) Reason() string
Reason function returns reason value.
type ReconcileOrganizationResponse ¶
type ReconcileOrganizationResponse struct {
// contains filtered or unexported fields
}
func (*ReconcileOrganizationResponse) Descriptor
deprecated
func (*ReconcileOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileOrganizationResponse.ProtoReflect.Descriptor instead.
func (*ReconcileOrganizationResponse) ProtoMessage ¶
func (*ReconcileOrganizationResponse) ProtoMessage()
func (*ReconcileOrganizationResponse) ProtoReflect ¶
func (x *ReconcileOrganizationResponse) ProtoReflect() protoreflect.Message
func (*ReconcileOrganizationResponse) Reset ¶
func (x *ReconcileOrganizationResponse) Reset()
func (*ReconcileOrganizationResponse) String ¶
func (x *ReconcileOrganizationResponse) String() string
func (*ReconcileOrganizationResponse) Validate ¶
func (m *ReconcileOrganizationResponse) Validate() error
Validate checks the field values on ReconcileOrganizationResponse 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 (*ReconcileOrganizationResponse) ValidateAll ¶
func (m *ReconcileOrganizationResponse) ValidateAll() error
ValidateAll checks the field values on ReconcileOrganizationResponse 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 ReconcileOrganizationResponseMultiError, or nil if none found.
type ReconcileOrganizationResponseMultiError ¶
type ReconcileOrganizationResponseMultiError []error
ReconcileOrganizationResponseMultiError is an error wrapping multiple validation errors returned by ReconcileOrganizationResponse.ValidateAll() if the designated constraints aren't met.
func (ReconcileOrganizationResponseMultiError) AllErrors ¶
func (m ReconcileOrganizationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReconcileOrganizationResponseMultiError) Error ¶
func (m ReconcileOrganizationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReconcileOrganizationResponseValidationError ¶
type ReconcileOrganizationResponseValidationError struct {
// contains filtered or unexported fields
}
ReconcileOrganizationResponseValidationError is the validation error returned by ReconcileOrganizationResponse.Validate if the designated constraints aren't met.
func (ReconcileOrganizationResponseValidationError) Cause ¶
func (e ReconcileOrganizationResponseValidationError) Cause() error
Cause function returns cause value.
func (ReconcileOrganizationResponseValidationError) Error ¶
func (e ReconcileOrganizationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReconcileOrganizationResponseValidationError) ErrorName ¶
func (e ReconcileOrganizationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReconcileOrganizationResponseValidationError) Field ¶
func (e ReconcileOrganizationResponseValidationError) Field() string
Field function returns field value.
func (ReconcileOrganizationResponseValidationError) Key ¶
func (e ReconcileOrganizationResponseValidationError) Key() bool
Key function returns key value.
func (ReconcileOrganizationResponseValidationError) Reason ¶
func (e ReconcileOrganizationResponseValidationError) Reason() string
Reason function returns reason value.
type ReconcileRepositoryRequest ¶
type ReconcileRepositoryRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*ReconcileRepositoryRequest) Descriptor
deprecated
func (*ReconcileRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileRepositoryRequest.ProtoReflect.Descriptor instead.
func (*ReconcileRepositoryRequest) GetOwner ¶
func (x *ReconcileRepositoryRequest) GetOwner() string
func (*ReconcileRepositoryRequest) GetRepository ¶
func (x *ReconcileRepositoryRequest) GetRepository() string
func (*ReconcileRepositoryRequest) GetToken ¶
func (x *ReconcileRepositoryRequest) GetToken() string
func (*ReconcileRepositoryRequest) ProtoMessage ¶
func (*ReconcileRepositoryRequest) ProtoMessage()
func (*ReconcileRepositoryRequest) ProtoReflect ¶
func (x *ReconcileRepositoryRequest) ProtoReflect() protoreflect.Message
func (*ReconcileRepositoryRequest) Reset ¶
func (x *ReconcileRepositoryRequest) Reset()
func (*ReconcileRepositoryRequest) String ¶
func (x *ReconcileRepositoryRequest) String() string
func (*ReconcileRepositoryRequest) Validate ¶
func (m *ReconcileRepositoryRequest) Validate() error
Validate checks the field values on ReconcileRepositoryRequest 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 (*ReconcileRepositoryRequest) ValidateAll ¶
func (m *ReconcileRepositoryRequest) ValidateAll() error
ValidateAll checks the field values on ReconcileRepositoryRequest 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 ReconcileRepositoryRequestMultiError, or nil if none found.
type ReconcileRepositoryRequestMultiError ¶
type ReconcileRepositoryRequestMultiError []error
ReconcileRepositoryRequestMultiError is an error wrapping multiple validation errors returned by ReconcileRepositoryRequest.ValidateAll() if the designated constraints aren't met.
func (ReconcileRepositoryRequestMultiError) AllErrors ¶
func (m ReconcileRepositoryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReconcileRepositoryRequestMultiError) Error ¶
func (m ReconcileRepositoryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReconcileRepositoryRequestValidationError ¶
type ReconcileRepositoryRequestValidationError struct {
// contains filtered or unexported fields
}
ReconcileRepositoryRequestValidationError is the validation error returned by ReconcileRepositoryRequest.Validate if the designated constraints aren't met.
func (ReconcileRepositoryRequestValidationError) Cause ¶
func (e ReconcileRepositoryRequestValidationError) Cause() error
Cause function returns cause value.
func (ReconcileRepositoryRequestValidationError) Error ¶
func (e ReconcileRepositoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReconcileRepositoryRequestValidationError) ErrorName ¶
func (e ReconcileRepositoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReconcileRepositoryRequestValidationError) Field ¶
func (e ReconcileRepositoryRequestValidationError) Field() string
Field function returns field value.
func (ReconcileRepositoryRequestValidationError) Key ¶
func (e ReconcileRepositoryRequestValidationError) Key() bool
Key function returns key value.
func (ReconcileRepositoryRequestValidationError) Reason ¶
func (e ReconcileRepositoryRequestValidationError) Reason() string
Reason function returns reason value.
type ReconcileRepositoryResponse ¶
type ReconcileRepositoryResponse struct {
// contains filtered or unexported fields
}
func (*ReconcileRepositoryResponse) Descriptor
deprecated
func (*ReconcileRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileRepositoryResponse.ProtoReflect.Descriptor instead.
func (*ReconcileRepositoryResponse) ProtoMessage ¶
func (*ReconcileRepositoryResponse) ProtoMessage()
func (*ReconcileRepositoryResponse) ProtoReflect ¶
func (x *ReconcileRepositoryResponse) ProtoReflect() protoreflect.Message
func (*ReconcileRepositoryResponse) Reset ¶
func (x *ReconcileRepositoryResponse) Reset()
func (*ReconcileRepositoryResponse) String ¶
func (x *ReconcileRepositoryResponse) String() string
func (*ReconcileRepositoryResponse) Validate ¶
func (m *ReconcileRepositoryResponse) Validate() error
Validate checks the field values on ReconcileRepositoryResponse 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 (*ReconcileRepositoryResponse) ValidateAll ¶
func (m *ReconcileRepositoryResponse) ValidateAll() error
ValidateAll checks the field values on ReconcileRepositoryResponse 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 ReconcileRepositoryResponseMultiError, or nil if none found.
type ReconcileRepositoryResponseMultiError ¶
type ReconcileRepositoryResponseMultiError []error
ReconcileRepositoryResponseMultiError is an error wrapping multiple validation errors returned by ReconcileRepositoryResponse.ValidateAll() if the designated constraints aren't met.
func (ReconcileRepositoryResponseMultiError) AllErrors ¶
func (m ReconcileRepositoryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReconcileRepositoryResponseMultiError) Error ¶
func (m ReconcileRepositoryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReconcileRepositoryResponseValidationError ¶
type ReconcileRepositoryResponseValidationError struct {
// contains filtered or unexported fields
}
ReconcileRepositoryResponseValidationError is the validation error returned by ReconcileRepositoryResponse.Validate if the designated constraints aren't met.
func (ReconcileRepositoryResponseValidationError) Cause ¶
func (e ReconcileRepositoryResponseValidationError) Cause() error
Cause function returns cause value.
func (ReconcileRepositoryResponseValidationError) Error ¶
func (e ReconcileRepositoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReconcileRepositoryResponseValidationError) ErrorName ¶
func (e ReconcileRepositoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReconcileRepositoryResponseValidationError) Field ¶
func (e ReconcileRepositoryResponseValidationError) Field() string
Field function returns field value.
func (ReconcileRepositoryResponseValidationError) Key ¶
func (e ReconcileRepositoryResponseValidationError) Key() bool
Key function returns key value.
func (ReconcileRepositoryResponseValidationError) Reason ¶
func (e ReconcileRepositoryResponseValidationError) Reason() string
Reason function returns reason value.
type ReconcileRequest ¶
type ReconcileRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Rationale *Rationale `protobuf:"bytes,2,opt,name=rationale,proto3" json:"rationale,omitempty"` Entities []*Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*ReconcileRequest) Descriptor
deprecated
func (*ReconcileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileRequest.ProtoReflect.Descriptor instead.
func (*ReconcileRequest) GetEntities ¶
func (x *ReconcileRequest) GetEntities() []*Entity
func (*ReconcileRequest) GetRationale ¶
func (x *ReconcileRequest) GetRationale() *Rationale
func (*ReconcileRequest) GetToken ¶
func (x *ReconcileRequest) GetToken() string
func (*ReconcileRequest) ProtoMessage ¶
func (*ReconcileRequest) ProtoMessage()
func (*ReconcileRequest) ProtoReflect ¶
func (x *ReconcileRequest) ProtoReflect() protoreflect.Message
func (*ReconcileRequest) Reset ¶
func (x *ReconcileRequest) Reset()
func (*ReconcileRequest) String ¶
func (x *ReconcileRequest) String() string
func (*ReconcileRequest) Validate ¶
func (m *ReconcileRequest) Validate() error
Validate checks the field values on ReconcileRequest 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 (*ReconcileRequest) ValidateAll ¶
func (m *ReconcileRequest) ValidateAll() error
ValidateAll checks the field values on ReconcileRequest 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 ReconcileRequestMultiError, or nil if none found.
type ReconcileRequestMultiError ¶
type ReconcileRequestMultiError []error
ReconcileRequestMultiError is an error wrapping multiple validation errors returned by ReconcileRequest.ValidateAll() if the designated constraints aren't met.
func (ReconcileRequestMultiError) AllErrors ¶
func (m ReconcileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReconcileRequestMultiError) Error ¶
func (m ReconcileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReconcileRequestValidationError ¶
type ReconcileRequestValidationError struct {
// contains filtered or unexported fields
}
ReconcileRequestValidationError is the validation error returned by ReconcileRequest.Validate if the designated constraints aren't met.
func (ReconcileRequestValidationError) Cause ¶
func (e ReconcileRequestValidationError) Cause() error
Cause function returns cause value.
func (ReconcileRequestValidationError) Error ¶
func (e ReconcileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReconcileRequestValidationError) ErrorName ¶
func (e ReconcileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReconcileRequestValidationError) Field ¶
func (e ReconcileRequestValidationError) Field() string
Field function returns field value.
func (ReconcileRequestValidationError) Key ¶
func (e ReconcileRequestValidationError) Key() bool
Key function returns key value.
func (ReconcileRequestValidationError) Reason ¶
func (e ReconcileRequestValidationError) Reason() string
Reason function returns reason value.
type ReconcileResponse ¶
type ReconcileResponse struct {
// contains filtered or unexported fields
}
func (*ReconcileResponse) Descriptor
deprecated
func (*ReconcileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReconcileResponse.ProtoReflect.Descriptor instead.
func (*ReconcileResponse) ProtoMessage ¶
func (*ReconcileResponse) ProtoMessage()
func (*ReconcileResponse) ProtoReflect ¶
func (x *ReconcileResponse) ProtoReflect() protoreflect.Message
func (*ReconcileResponse) Reset ¶
func (x *ReconcileResponse) Reset()
func (*ReconcileResponse) String ¶
func (x *ReconcileResponse) String() string
func (*ReconcileResponse) Validate ¶
func (m *ReconcileResponse) Validate() error
Validate checks the field values on ReconcileResponse 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 (*ReconcileResponse) ValidateAll ¶
func (m *ReconcileResponse) ValidateAll() error
ValidateAll checks the field values on ReconcileResponse 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 ReconcileResponseMultiError, or nil if none found.
type ReconcileResponseMultiError ¶
type ReconcileResponseMultiError []error
ReconcileResponseMultiError is an error wrapping multiple validation errors returned by ReconcileResponse.ValidateAll() if the designated constraints aren't met.
func (ReconcileResponseMultiError) AllErrors ¶
func (m ReconcileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReconcileResponseMultiError) Error ¶
func (m ReconcileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReconcileResponseValidationError ¶
type ReconcileResponseValidationError struct {
// contains filtered or unexported fields
}
ReconcileResponseValidationError is the validation error returned by ReconcileResponse.Validate if the designated constraints aren't met.
func (ReconcileResponseValidationError) Cause ¶
func (e ReconcileResponseValidationError) Cause() error
Cause function returns cause value.
func (ReconcileResponseValidationError) Error ¶
func (e ReconcileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReconcileResponseValidationError) ErrorName ¶
func (e ReconcileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReconcileResponseValidationError) Field ¶
func (e ReconcileResponseValidationError) Field() string
Field function returns field value.
func (ReconcileResponseValidationError) Key ¶
func (e ReconcileResponseValidationError) Key() bool
Key function returns key value.
func (ReconcileResponseValidationError) Reason ¶
func (e ReconcileResponseValidationError) Reason() string
Reason function returns reason value.
type ReconcilerServiceClient ¶
type ReconcilerServiceClient interface {
Reconcile(ctx context.Context, in *ReconcileRequest, opts ...grpc.CallOption) (*ReconcileResponse, error)
}
ReconcilerServiceClient is the client API for ReconcilerService 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 NewReconcilerServiceClient ¶
func NewReconcilerServiceClient(cc grpc.ClientConnInterface) ReconcilerServiceClient
type ReconcilerServiceServer ¶
type ReconcilerServiceServer interface { Reconcile(context.Context, *ReconcileRequest) (*ReconcileResponse, error) // contains filtered or unexported methods }
ReconcilerServiceServer is the server API for ReconcilerService service. All implementations must embed UnimplementedReconcilerServiceServer for forward compatibility
type UnimplementedCallbackServiceServer ¶
type UnimplementedCallbackServiceServer struct { }
UnimplementedCallbackServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCallbackServiceServer) ReconcileCommit ¶
func (UnimplementedCallbackServiceServer) ReconcileCommit(context.Context, *ReconcileCommitRequest) (*ReconcileCommitResponse, error)
func (UnimplementedCallbackServiceServer) ReconcileOrganization ¶
func (UnimplementedCallbackServiceServer) ReconcileOrganization(context.Context, *ReconcileOrganizationRequest) (*ReconcileOrganizationResponse, error)
func (UnimplementedCallbackServiceServer) ReconcileRepository ¶
func (UnimplementedCallbackServiceServer) ReconcileRepository(context.Context, *ReconcileRepositoryRequest) (*ReconcileRepositoryResponse, error)
type UnimplementedFactsServiceServer ¶
type UnimplementedFactsServiceServer struct { }
UnimplementedFactsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedFactsServiceServer) GetFile ¶
func (UnimplementedFactsServiceServer) GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
func (UnimplementedFactsServiceServer) GlobFiles ¶
func (UnimplementedFactsServiceServer) GlobFiles(context.Context, *GlobFilesRequest) (*GlobFilesResponse, error)
type UnimplementedReconcilerServiceServer ¶
type UnimplementedReconcilerServiceServer struct { }
UnimplementedReconcilerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedReconcilerServiceServer) Reconcile ¶
func (UnimplementedReconcilerServiceServer) Reconcile(context.Context, *ReconcileRequest) (*ReconcileResponse, error)
type UnsafeCallbackServiceServer ¶
type UnsafeCallbackServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCallbackServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CallbackServiceServer will result in compilation errors.
type UnsafeFactsServiceServer ¶
type UnsafeFactsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFactsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FactsServiceServer will result in compilation errors.
type UnsafeReconcilerServiceServer ¶
type UnsafeReconcilerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeReconcilerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReconcilerServiceServer will result in compilation errors.