eigenbotv1

package
v0.0.0-...-510a3ba Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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)

View Source
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)

View Source
var File_eigenbot_public_v1_callback_proto protoreflect.FileDescriptor
View Source
var File_eigenbot_public_v1_facts_proto protoreflect.FileDescriptor
View Source
var File_eigenbot_public_v1_reconciler_proto protoreflect.FileDescriptor
View Source
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.

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

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetDeletion

func (x *Entity) GetDeletion() *FileDeletion

func (*Entity) GetFile

func (x *Entity) GetFile() *FileEntity

func (*Entity) GetValue

func (m *Entity) GetValue() isEntity_Value

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

func (*Entity) Validate

func (m *Entity) Validate() error

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

func (m *Entity) ValidateAll() error

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.

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

Cause function returns cause value.

func (FileDeletionValidationError) Error

Error satisfies the builtin error interface

func (FileDeletionValidationError) ErrorName

func (e FileDeletionValidationError) ErrorName() string

ErrorName returns error name.

func (FileDeletionValidationError) Field

Field function returns field value.

func (FileDeletionValidationError) Key

Key function returns key value.

func (FileDeletionValidationError) Reason

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

Error satisfies the builtin error interface

func (FileEntityValidationError) ErrorName

func (e FileEntityValidationError) ErrorName() string

ErrorName returns error name.

func (FileEntityValidationError) Field

Field function returns field value.

func (FileEntityValidationError) Key

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

Cause function returns cause value.

func (GetFileRequestValidationError) Error

Error satisfies the builtin error interface

func (GetFileRequestValidationError) ErrorName

func (e GetFileRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetFileRequestValidationError) Field

Field function returns field value.

func (GetFileRequestValidationError) Key

Key function returns key value.

func (GetFileRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetFileResponseValidationError) Error

Error satisfies the builtin error interface

func (GetFileResponseValidationError) ErrorName

func (e GetFileResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetFileResponseValidationError) Field

Field function returns field value.

func (GetFileResponseValidationError) Key

Key function returns key value.

func (GetFileResponseValidationError) Reason

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

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

Cause function returns cause value.

func (GlobFilesRequestValidationError) Error

Error satisfies the builtin error interface

func (GlobFilesRequestValidationError) ErrorName

ErrorName returns error name.

func (GlobFilesRequestValidationError) Field

Field function returns field value.

func (GlobFilesRequestValidationError) Key

Key function returns key value.

func (GlobFilesRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GlobFilesResponseValidationError) Error

Error satisfies the builtin error interface

func (GlobFilesResponseValidationError) ErrorName

ErrorName returns error name.

func (GlobFilesResponseValidationError) Field

Field function returns field value.

func (GlobFilesResponseValidationError) Key

Key function returns key value.

func (GlobFilesResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (GlobFilesResponse_FileInfoMultiError) Error

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

Cause function returns cause value.

func (GlobFilesResponse_FileInfoValidationError) Error

Error satisfies the builtin error interface

func (GlobFilesResponse_FileInfoValidationError) ErrorName

ErrorName returns error name.

func (GlobFilesResponse_FileInfoValidationError) Field

Field function returns field value.

func (GlobFilesResponse_FileInfoValidationError) Key

Key function returns key value.

func (GlobFilesResponse_FileInfoValidationError) Reason

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

Deprecated: Use Rationale.ProtoReflect.Descriptor instead.

func (*Rationale) GetDescription

func (x *Rationale) GetDescription() string

func (*Rationale) GetDisplayName

func (x *Rationale) GetDisplayName() string

func (*Rationale) GetKey

func (x *Rationale) GetKey() string

func (*Rationale) GetReferences

func (x *Rationale) GetReferences() map[string]string

func (*Rationale) ProtoMessage

func (*Rationale) ProtoMessage()

func (*Rationale) ProtoReflect

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

func (*Rationale) Reset

func (x *Rationale) Reset()

func (*Rationale) String

func (x *Rationale) String() string

func (*Rationale) Validate

func (m *Rationale) Validate() error

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

func (m *Rationale) ValidateAll() error

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

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

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

Cause function returns cause value.

func (ReconcileCommitRequestValidationError) Error

Error satisfies the builtin error interface

func (ReconcileCommitRequestValidationError) ErrorName

ErrorName returns error name.

func (ReconcileCommitRequestValidationError) Field

Field function returns field value.

func (ReconcileCommitRequestValidationError) Key

Key function returns key value.

func (ReconcileCommitRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ReconcileCommitResponseValidationError) Error

Error satisfies the builtin error interface

func (ReconcileCommitResponseValidationError) ErrorName

ErrorName returns error name.

func (ReconcileCommitResponseValidationError) Field

Field function returns field value.

func (ReconcileCommitResponseValidationError) Key

Key function returns key value.

func (ReconcileCommitResponseValidationError) Reason

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 (*ReconcileOrganizationRequest) Reset

func (x *ReconcileOrganizationRequest) Reset()

func (*ReconcileOrganizationRequest) 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

AllErrors returns a list of validation violation errors.

func (ReconcileOrganizationRequestMultiError) Error

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

Cause function returns cause value.

func (ReconcileOrganizationRequestValidationError) Error

Error satisfies the builtin error interface

func (ReconcileOrganizationRequestValidationError) ErrorName

ErrorName returns error name.

func (ReconcileOrganizationRequestValidationError) Field

Field function returns field value.

func (ReconcileOrganizationRequestValidationError) Key

Key function returns key value.

func (ReconcileOrganizationRequestValidationError) Reason

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 (*ReconcileOrganizationResponse) Reset

func (x *ReconcileOrganizationResponse) Reset()

func (*ReconcileOrganizationResponse) 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

AllErrors returns a list of validation violation errors.

func (ReconcileOrganizationResponseMultiError) Error

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

Cause function returns cause value.

func (ReconcileOrganizationResponseValidationError) Error

Error satisfies the builtin error interface

func (ReconcileOrganizationResponseValidationError) ErrorName

ErrorName returns error name.

func (ReconcileOrganizationResponseValidationError) Field

Field function returns field value.

func (ReconcileOrganizationResponseValidationError) Key

Key function returns key value.

func (ReconcileOrganizationResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ReconcileRepositoryRequestMultiError) Error

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

Cause function returns cause value.

func (ReconcileRepositoryRequestValidationError) Error

Error satisfies the builtin error interface

func (ReconcileRepositoryRequestValidationError) ErrorName

ErrorName returns error name.

func (ReconcileRepositoryRequestValidationError) Field

Field function returns field value.

func (ReconcileRepositoryRequestValidationError) Key

Key function returns key value.

func (ReconcileRepositoryRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ReconcileRepositoryResponseMultiError) Error

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

Cause function returns cause value.

func (ReconcileRepositoryResponseValidationError) Error

Error satisfies the builtin error interface

func (ReconcileRepositoryResponseValidationError) ErrorName

ErrorName returns error name.

func (ReconcileRepositoryResponseValidationError) Field

Field function returns field value.

func (ReconcileRepositoryResponseValidationError) Key

Key function returns key value.

func (ReconcileRepositoryResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ReconcileRequestValidationError) Error

Error satisfies the builtin error interface

func (ReconcileRequestValidationError) ErrorName

ErrorName returns error name.

func (ReconcileRequestValidationError) Field

Field function returns field value.

func (ReconcileRequestValidationError) Key

Key function returns key value.

func (ReconcileRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ReconcileResponseValidationError) Error

Error satisfies the builtin error interface

func (ReconcileResponseValidationError) ErrorName

ErrorName returns error name.

func (ReconcileResponseValidationError) Field

Field function returns field value.

func (ReconcileResponseValidationError) Key

Key function returns key value.

func (ReconcileResponseValidationError) Reason

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.

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

type UnimplementedFactsServiceServer

type UnimplementedFactsServiceServer struct {
}

UnimplementedFactsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFactsServiceServer) GetFile

func (UnimplementedFactsServiceServer) GlobFiles

type UnimplementedReconcilerServiceServer

type UnimplementedReconcilerServiceServer struct {
}

UnimplementedReconcilerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedReconcilerServiceServer) Reconcile

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.

Jump to

Keyboard shortcuts

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