Documentation ¶
Index ¶
- Variables
- func RegisterGitopsServer(s grpc.ServiceRegistrar, srv GitopsServer)
- type GitopsClient
- type GitopsServer
- type Gitops_GetObjectsToSynchronizeClient
- type Gitops_GetObjectsToSynchronizeServer
- type ObjectSource
- type ObjectsToSynchronizeCallback
- type ObjectsToSynchronizeData
- type ObjectsToSynchronizeRequest
- func (*ObjectsToSynchronizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectsToSynchronizeRequest) GetCommitId() string
- func (x *ObjectsToSynchronizeRequest) GetPaths() []*agentcfg.PathCF
- func (x *ObjectsToSynchronizeRequest) GetProjectId() string
- func (*ObjectsToSynchronizeRequest) ProtoMessage()
- func (x *ObjectsToSynchronizeRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectsToSynchronizeRequest) Reset()
- func (x *ObjectsToSynchronizeRequest) String() string
- func (m *ObjectsToSynchronizeRequest) Validate() error
- type ObjectsToSynchronizeRequestValidationError
- func (e ObjectsToSynchronizeRequestValidationError) Cause() error
- func (e ObjectsToSynchronizeRequestValidationError) Error() string
- func (e ObjectsToSynchronizeRequestValidationError) ErrorName() string
- func (e ObjectsToSynchronizeRequestValidationError) Field() string
- func (e ObjectsToSynchronizeRequestValidationError) Key() bool
- func (e ObjectsToSynchronizeRequestValidationError) Reason() string
- type ObjectsToSynchronizeResponse
- func (*ObjectsToSynchronizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectsToSynchronizeResponse) GetHeader() *ObjectsToSynchronizeResponse_Header
- func (m *ObjectsToSynchronizeResponse) GetMessage() isObjectsToSynchronizeResponse_Message
- func (x *ObjectsToSynchronizeResponse) GetObject() *ObjectsToSynchronizeResponse_Object
- func (x *ObjectsToSynchronizeResponse) GetTrailer() *ObjectsToSynchronizeResponse_Trailer
- func (*ObjectsToSynchronizeResponse) ProtoMessage()
- func (x *ObjectsToSynchronizeResponse) ProtoReflect() protoreflect.Message
- func (x *ObjectsToSynchronizeResponse) Reset()
- func (x *ObjectsToSynchronizeResponse) String() string
- func (m *ObjectsToSynchronizeResponse) Validate() error
- type ObjectsToSynchronizeResponseValidationError
- func (e ObjectsToSynchronizeResponseValidationError) Cause() error
- func (e ObjectsToSynchronizeResponseValidationError) Error() string
- func (e ObjectsToSynchronizeResponseValidationError) ErrorName() string
- func (e ObjectsToSynchronizeResponseValidationError) Field() string
- func (e ObjectsToSynchronizeResponseValidationError) Key() bool
- func (e ObjectsToSynchronizeResponseValidationError) Reason() string
- type ObjectsToSynchronizeResponse_Header
- func (*ObjectsToSynchronizeResponse_Header) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectsToSynchronizeResponse_Header) GetCommitId() string
- func (x *ObjectsToSynchronizeResponse_Header) GetProjectId() int64
- func (*ObjectsToSynchronizeResponse_Header) ProtoMessage()
- func (x *ObjectsToSynchronizeResponse_Header) ProtoReflect() protoreflect.Message
- func (x *ObjectsToSynchronizeResponse_Header) Reset()
- func (x *ObjectsToSynchronizeResponse_Header) String() string
- func (m *ObjectsToSynchronizeResponse_Header) Validate() error
- type ObjectsToSynchronizeResponse_HeaderValidationError
- func (e ObjectsToSynchronizeResponse_HeaderValidationError) Cause() error
- func (e ObjectsToSynchronizeResponse_HeaderValidationError) Error() string
- func (e ObjectsToSynchronizeResponse_HeaderValidationError) ErrorName() string
- func (e ObjectsToSynchronizeResponse_HeaderValidationError) Field() string
- func (e ObjectsToSynchronizeResponse_HeaderValidationError) Key() bool
- func (e ObjectsToSynchronizeResponse_HeaderValidationError) Reason() string
- type ObjectsToSynchronizeResponse_Header_
- type ObjectsToSynchronizeResponse_Object
- func (*ObjectsToSynchronizeResponse_Object) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectsToSynchronizeResponse_Object) GetData() []byte
- func (x *ObjectsToSynchronizeResponse_Object) GetSource() string
- func (*ObjectsToSynchronizeResponse_Object) ProtoMessage()
- func (x *ObjectsToSynchronizeResponse_Object) ProtoReflect() protoreflect.Message
- func (x *ObjectsToSynchronizeResponse_Object) Reset()
- func (x *ObjectsToSynchronizeResponse_Object) String() string
- func (m *ObjectsToSynchronizeResponse_Object) Validate() error
- type ObjectsToSynchronizeResponse_ObjectValidationError
- func (e ObjectsToSynchronizeResponse_ObjectValidationError) Cause() error
- func (e ObjectsToSynchronizeResponse_ObjectValidationError) Error() string
- func (e ObjectsToSynchronizeResponse_ObjectValidationError) ErrorName() string
- func (e ObjectsToSynchronizeResponse_ObjectValidationError) Field() string
- func (e ObjectsToSynchronizeResponse_ObjectValidationError) Key() bool
- func (e ObjectsToSynchronizeResponse_ObjectValidationError) Reason() string
- type ObjectsToSynchronizeResponse_Object_
- type ObjectsToSynchronizeResponse_Trailer
- func (*ObjectsToSynchronizeResponse_Trailer) Descriptor() ([]byte, []int)deprecated
- func (*ObjectsToSynchronizeResponse_Trailer) ProtoMessage()
- func (x *ObjectsToSynchronizeResponse_Trailer) ProtoReflect() protoreflect.Message
- func (x *ObjectsToSynchronizeResponse_Trailer) Reset()
- func (x *ObjectsToSynchronizeResponse_Trailer) String() string
- func (m *ObjectsToSynchronizeResponse_Trailer) Validate() error
- type ObjectsToSynchronizeResponse_TrailerValidationError
- func (e ObjectsToSynchronizeResponse_TrailerValidationError) Cause() error
- func (e ObjectsToSynchronizeResponse_TrailerValidationError) Error() string
- func (e ObjectsToSynchronizeResponse_TrailerValidationError) ErrorName() string
- func (e ObjectsToSynchronizeResponse_TrailerValidationError) Field() string
- func (e ObjectsToSynchronizeResponse_TrailerValidationError) Key() bool
- func (e ObjectsToSynchronizeResponse_TrailerValidationError) Reason() string
- type ObjectsToSynchronizeResponse_Trailer_
- type ObjectsToSynchronizeWatcher
- type ObjectsToSynchronizeWatcherInterface
- type UnimplementedGitopsServer
- type UnsafeGitopsServer
Constants ¶
This section is empty.
Variables ¶
var File_internal_module_gitops_rpc_rpc_proto protoreflect.FileDescriptor
var Gitops_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.agent.gitops.rpc.Gitops", HandlerType: (*GitopsServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "GetObjectsToSynchronize", Handler: _Gitops_GetObjectsToSynchronize_Handler, ServerStreams: true, }, }, Metadata: "internal/module/gitops/rpc/rpc.proto", }
Gitops_ServiceDesc is the grpc.ServiceDesc for Gitops service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGitopsServer ¶
func RegisterGitopsServer(s grpc.ServiceRegistrar, srv GitopsServer)
Types ¶
type GitopsClient ¶
type GitopsClient interface {
GetObjectsToSynchronize(ctx context.Context, in *ObjectsToSynchronizeRequest, opts ...grpc.CallOption) (Gitops_GetObjectsToSynchronizeClient, error)
}
GitopsClient is the client API for Gitops 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 NewGitopsClient ¶
func NewGitopsClient(cc grpc.ClientConnInterface) GitopsClient
type GitopsServer ¶
type GitopsServer interface { GetObjectsToSynchronize(*ObjectsToSynchronizeRequest, Gitops_GetObjectsToSynchronizeServer) error // contains filtered or unexported methods }
GitopsServer is the server API for Gitops service. All implementations must embed UnimplementedGitopsServer for forward compatibility
type Gitops_GetObjectsToSynchronizeClient ¶
type Gitops_GetObjectsToSynchronizeClient interface { Recv() (*ObjectsToSynchronizeResponse, error) grpc.ClientStream }
type Gitops_GetObjectsToSynchronizeServer ¶
type Gitops_GetObjectsToSynchronizeServer interface { Send(*ObjectsToSynchronizeResponse) error grpc.ServerStream }
type ObjectSource ¶
type ObjectsToSynchronizeCallback ¶
type ObjectsToSynchronizeCallback func(context.Context, ObjectsToSynchronizeData)
type ObjectsToSynchronizeData ¶
type ObjectsToSynchronizeData struct { CommitId string ProjectId int64 Sources []ObjectSource }
type ObjectsToSynchronizeRequest ¶
type ObjectsToSynchronizeRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` Paths []*agentcfg.PathCF `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*ObjectsToSynchronizeRequest) Descriptor
deprecated
func (*ObjectsToSynchronizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectsToSynchronizeRequest.ProtoReflect.Descriptor instead.
func (*ObjectsToSynchronizeRequest) GetCommitId ¶
func (x *ObjectsToSynchronizeRequest) GetCommitId() string
func (*ObjectsToSynchronizeRequest) GetPaths ¶
func (x *ObjectsToSynchronizeRequest) GetPaths() []*agentcfg.PathCF
func (*ObjectsToSynchronizeRequest) GetProjectId ¶
func (x *ObjectsToSynchronizeRequest) GetProjectId() string
func (*ObjectsToSynchronizeRequest) ProtoMessage ¶
func (*ObjectsToSynchronizeRequest) ProtoMessage()
func (*ObjectsToSynchronizeRequest) ProtoReflect ¶
func (x *ObjectsToSynchronizeRequest) ProtoReflect() protoreflect.Message
func (*ObjectsToSynchronizeRequest) Reset ¶
func (x *ObjectsToSynchronizeRequest) Reset()
func (*ObjectsToSynchronizeRequest) String ¶
func (x *ObjectsToSynchronizeRequest) String() string
func (*ObjectsToSynchronizeRequest) Validate ¶
func (m *ObjectsToSynchronizeRequest) Validate() error
Validate checks the field values on ObjectsToSynchronizeRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ObjectsToSynchronizeRequestValidationError ¶
type ObjectsToSynchronizeRequestValidationError struct {
// contains filtered or unexported fields
}
ObjectsToSynchronizeRequestValidationError is the validation error returned by ObjectsToSynchronizeRequest.Validate if the designated constraints aren't met.
func (ObjectsToSynchronizeRequestValidationError) Cause ¶
func (e ObjectsToSynchronizeRequestValidationError) Cause() error
Cause function returns cause value.
func (ObjectsToSynchronizeRequestValidationError) Error ¶
func (e ObjectsToSynchronizeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectsToSynchronizeRequestValidationError) ErrorName ¶
func (e ObjectsToSynchronizeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectsToSynchronizeRequestValidationError) Field ¶
func (e ObjectsToSynchronizeRequestValidationError) Field() string
Field function returns field value.
func (ObjectsToSynchronizeRequestValidationError) Key ¶
func (e ObjectsToSynchronizeRequestValidationError) Key() bool
Key function returns key value.
func (ObjectsToSynchronizeRequestValidationError) Reason ¶
func (e ObjectsToSynchronizeRequestValidationError) Reason() string
Reason function returns reason value.
type ObjectsToSynchronizeResponse ¶
type ObjectsToSynchronizeResponse struct { // Types that are assignable to Message: // *ObjectsToSynchronizeResponse_Header_ // *ObjectsToSynchronizeResponse_Object_ // *ObjectsToSynchronizeResponse_Trailer_ Message isObjectsToSynchronizeResponse_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
func (*ObjectsToSynchronizeResponse) Descriptor
deprecated
func (*ObjectsToSynchronizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ObjectsToSynchronizeResponse.ProtoReflect.Descriptor instead.
func (*ObjectsToSynchronizeResponse) GetHeader ¶
func (x *ObjectsToSynchronizeResponse) GetHeader() *ObjectsToSynchronizeResponse_Header
func (*ObjectsToSynchronizeResponse) GetMessage ¶
func (m *ObjectsToSynchronizeResponse) GetMessage() isObjectsToSynchronizeResponse_Message
func (*ObjectsToSynchronizeResponse) GetObject ¶
func (x *ObjectsToSynchronizeResponse) GetObject() *ObjectsToSynchronizeResponse_Object
func (*ObjectsToSynchronizeResponse) GetTrailer ¶
func (x *ObjectsToSynchronizeResponse) GetTrailer() *ObjectsToSynchronizeResponse_Trailer
func (*ObjectsToSynchronizeResponse) ProtoMessage ¶
func (*ObjectsToSynchronizeResponse) ProtoMessage()
func (*ObjectsToSynchronizeResponse) ProtoReflect ¶
func (x *ObjectsToSynchronizeResponse) ProtoReflect() protoreflect.Message
func (*ObjectsToSynchronizeResponse) Reset ¶
func (x *ObjectsToSynchronizeResponse) Reset()
func (*ObjectsToSynchronizeResponse) String ¶
func (x *ObjectsToSynchronizeResponse) String() string
func (*ObjectsToSynchronizeResponse) Validate ¶
func (m *ObjectsToSynchronizeResponse) Validate() error
Validate checks the field values on ObjectsToSynchronizeResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ObjectsToSynchronizeResponseValidationError ¶
type ObjectsToSynchronizeResponseValidationError struct {
// contains filtered or unexported fields
}
ObjectsToSynchronizeResponseValidationError is the validation error returned by ObjectsToSynchronizeResponse.Validate if the designated constraints aren't met.
func (ObjectsToSynchronizeResponseValidationError) Cause ¶
func (e ObjectsToSynchronizeResponseValidationError) Cause() error
Cause function returns cause value.
func (ObjectsToSynchronizeResponseValidationError) Error ¶
func (e ObjectsToSynchronizeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectsToSynchronizeResponseValidationError) ErrorName ¶
func (e ObjectsToSynchronizeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectsToSynchronizeResponseValidationError) Field ¶
func (e ObjectsToSynchronizeResponseValidationError) Field() string
Field function returns field value.
func (ObjectsToSynchronizeResponseValidationError) Key ¶
func (e ObjectsToSynchronizeResponseValidationError) Key() bool
Key function returns key value.
func (ObjectsToSynchronizeResponseValidationError) Reason ¶
func (e ObjectsToSynchronizeResponseValidationError) Reason() string
Reason function returns reason value.
type ObjectsToSynchronizeResponse_Header ¶
type ObjectsToSynchronizeResponse_Header struct { CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` ProjectId int64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ObjectsToSynchronizeResponse_Header) Descriptor
deprecated
func (*ObjectsToSynchronizeResponse_Header) Descriptor() ([]byte, []int)
Deprecated: Use ObjectsToSynchronizeResponse_Header.ProtoReflect.Descriptor instead.
func (*ObjectsToSynchronizeResponse_Header) GetCommitId ¶
func (x *ObjectsToSynchronizeResponse_Header) GetCommitId() string
func (*ObjectsToSynchronizeResponse_Header) GetProjectId ¶
func (x *ObjectsToSynchronizeResponse_Header) GetProjectId() int64
func (*ObjectsToSynchronizeResponse_Header) ProtoMessage ¶
func (*ObjectsToSynchronizeResponse_Header) ProtoMessage()
func (*ObjectsToSynchronizeResponse_Header) ProtoReflect ¶
func (x *ObjectsToSynchronizeResponse_Header) ProtoReflect() protoreflect.Message
func (*ObjectsToSynchronizeResponse_Header) Reset ¶
func (x *ObjectsToSynchronizeResponse_Header) Reset()
func (*ObjectsToSynchronizeResponse_Header) String ¶
func (x *ObjectsToSynchronizeResponse_Header) String() string
func (*ObjectsToSynchronizeResponse_Header) Validate ¶
func (m *ObjectsToSynchronizeResponse_Header) Validate() error
Validate checks the field values on ObjectsToSynchronizeResponse_Header with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ObjectsToSynchronizeResponse_HeaderValidationError ¶
type ObjectsToSynchronizeResponse_HeaderValidationError struct {
// contains filtered or unexported fields
}
ObjectsToSynchronizeResponse_HeaderValidationError is the validation error returned by ObjectsToSynchronizeResponse_Header.Validate if the designated constraints aren't met.
func (ObjectsToSynchronizeResponse_HeaderValidationError) Cause ¶
func (e ObjectsToSynchronizeResponse_HeaderValidationError) Cause() error
Cause function returns cause value.
func (ObjectsToSynchronizeResponse_HeaderValidationError) Error ¶
func (e ObjectsToSynchronizeResponse_HeaderValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectsToSynchronizeResponse_HeaderValidationError) ErrorName ¶
func (e ObjectsToSynchronizeResponse_HeaderValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectsToSynchronizeResponse_HeaderValidationError) Field ¶
func (e ObjectsToSynchronizeResponse_HeaderValidationError) Field() string
Field function returns field value.
func (ObjectsToSynchronizeResponse_HeaderValidationError) Key ¶
func (e ObjectsToSynchronizeResponse_HeaderValidationError) Key() bool
Key function returns key value.
func (ObjectsToSynchronizeResponse_HeaderValidationError) Reason ¶
func (e ObjectsToSynchronizeResponse_HeaderValidationError) Reason() string
Reason function returns reason value.
type ObjectsToSynchronizeResponse_Header_ ¶
type ObjectsToSynchronizeResponse_Header_ struct {
Header *ObjectsToSynchronizeResponse_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type ObjectsToSynchronizeResponse_Object ¶
type ObjectsToSynchronizeResponse_Object struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ObjectsToSynchronizeResponse_Object) Descriptor
deprecated
func (*ObjectsToSynchronizeResponse_Object) Descriptor() ([]byte, []int)
Deprecated: Use ObjectsToSynchronizeResponse_Object.ProtoReflect.Descriptor instead.
func (*ObjectsToSynchronizeResponse_Object) GetData ¶
func (x *ObjectsToSynchronizeResponse_Object) GetData() []byte
func (*ObjectsToSynchronizeResponse_Object) GetSource ¶
func (x *ObjectsToSynchronizeResponse_Object) GetSource() string
func (*ObjectsToSynchronizeResponse_Object) ProtoMessage ¶
func (*ObjectsToSynchronizeResponse_Object) ProtoMessage()
func (*ObjectsToSynchronizeResponse_Object) ProtoReflect ¶
func (x *ObjectsToSynchronizeResponse_Object) ProtoReflect() protoreflect.Message
func (*ObjectsToSynchronizeResponse_Object) Reset ¶
func (x *ObjectsToSynchronizeResponse_Object) Reset()
func (*ObjectsToSynchronizeResponse_Object) String ¶
func (x *ObjectsToSynchronizeResponse_Object) String() string
func (*ObjectsToSynchronizeResponse_Object) Validate ¶
func (m *ObjectsToSynchronizeResponse_Object) Validate() error
Validate checks the field values on ObjectsToSynchronizeResponse_Object with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ObjectsToSynchronizeResponse_ObjectValidationError ¶
type ObjectsToSynchronizeResponse_ObjectValidationError struct {
// contains filtered or unexported fields
}
ObjectsToSynchronizeResponse_ObjectValidationError is the validation error returned by ObjectsToSynchronizeResponse_Object.Validate if the designated constraints aren't met.
func (ObjectsToSynchronizeResponse_ObjectValidationError) Cause ¶
func (e ObjectsToSynchronizeResponse_ObjectValidationError) Cause() error
Cause function returns cause value.
func (ObjectsToSynchronizeResponse_ObjectValidationError) Error ¶
func (e ObjectsToSynchronizeResponse_ObjectValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectsToSynchronizeResponse_ObjectValidationError) ErrorName ¶
func (e ObjectsToSynchronizeResponse_ObjectValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectsToSynchronizeResponse_ObjectValidationError) Field ¶
func (e ObjectsToSynchronizeResponse_ObjectValidationError) Field() string
Field function returns field value.
func (ObjectsToSynchronizeResponse_ObjectValidationError) Key ¶
func (e ObjectsToSynchronizeResponse_ObjectValidationError) Key() bool
Key function returns key value.
func (ObjectsToSynchronizeResponse_ObjectValidationError) Reason ¶
func (e ObjectsToSynchronizeResponse_ObjectValidationError) Reason() string
Reason function returns reason value.
type ObjectsToSynchronizeResponse_Object_ ¶
type ObjectsToSynchronizeResponse_Object_ struct {
Object *ObjectsToSynchronizeResponse_Object `protobuf:"bytes,2,opt,name=object,proto3,oneof"`
}
type ObjectsToSynchronizeResponse_Trailer ¶
type ObjectsToSynchronizeResponse_Trailer struct {
// contains filtered or unexported fields
}
func (*ObjectsToSynchronizeResponse_Trailer) Descriptor
deprecated
func (*ObjectsToSynchronizeResponse_Trailer) Descriptor() ([]byte, []int)
Deprecated: Use ObjectsToSynchronizeResponse_Trailer.ProtoReflect.Descriptor instead.
func (*ObjectsToSynchronizeResponse_Trailer) ProtoMessage ¶
func (*ObjectsToSynchronizeResponse_Trailer) ProtoMessage()
func (*ObjectsToSynchronizeResponse_Trailer) ProtoReflect ¶
func (x *ObjectsToSynchronizeResponse_Trailer) ProtoReflect() protoreflect.Message
func (*ObjectsToSynchronizeResponse_Trailer) Reset ¶
func (x *ObjectsToSynchronizeResponse_Trailer) Reset()
func (*ObjectsToSynchronizeResponse_Trailer) String ¶
func (x *ObjectsToSynchronizeResponse_Trailer) String() string
func (*ObjectsToSynchronizeResponse_Trailer) Validate ¶
func (m *ObjectsToSynchronizeResponse_Trailer) Validate() error
Validate checks the field values on ObjectsToSynchronizeResponse_Trailer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ObjectsToSynchronizeResponse_TrailerValidationError ¶
type ObjectsToSynchronizeResponse_TrailerValidationError struct {
// contains filtered or unexported fields
}
ObjectsToSynchronizeResponse_TrailerValidationError is the validation error returned by ObjectsToSynchronizeResponse_Trailer.Validate if the designated constraints aren't met.
func (ObjectsToSynchronizeResponse_TrailerValidationError) Cause ¶
func (e ObjectsToSynchronizeResponse_TrailerValidationError) Cause() error
Cause function returns cause value.
func (ObjectsToSynchronizeResponse_TrailerValidationError) Error ¶
func (e ObjectsToSynchronizeResponse_TrailerValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectsToSynchronizeResponse_TrailerValidationError) ErrorName ¶
func (e ObjectsToSynchronizeResponse_TrailerValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectsToSynchronizeResponse_TrailerValidationError) Field ¶
func (e ObjectsToSynchronizeResponse_TrailerValidationError) Field() string
Field function returns field value.
func (ObjectsToSynchronizeResponse_TrailerValidationError) Key ¶
func (e ObjectsToSynchronizeResponse_TrailerValidationError) Key() bool
Key function returns key value.
func (ObjectsToSynchronizeResponse_TrailerValidationError) Reason ¶
func (e ObjectsToSynchronizeResponse_TrailerValidationError) Reason() string
Reason function returns reason value.
type ObjectsToSynchronizeResponse_Trailer_ ¶
type ObjectsToSynchronizeResponse_Trailer_ struct {
Trailer *ObjectsToSynchronizeResponse_Trailer `protobuf:"bytes,3,opt,name=trailer,proto3,oneof"`
}
type ObjectsToSynchronizeWatcher ¶
type ObjectsToSynchronizeWatcher struct { Log *zap.Logger GitopsClient GitopsClient PollConfig retry.PollConfigFactory }
func (*ObjectsToSynchronizeWatcher) Watch ¶
func (o *ObjectsToSynchronizeWatcher) Watch(ctx context.Context, req *ObjectsToSynchronizeRequest, callback ObjectsToSynchronizeCallback)
type ObjectsToSynchronizeWatcherInterface ¶
type ObjectsToSynchronizeWatcherInterface interface {
Watch(context.Context, *ObjectsToSynchronizeRequest, ObjectsToSynchronizeCallback)
}
ObjectsToSynchronizeWatcherInterface abstracts ObjectsToSynchronizeWatcher.
type UnimplementedGitopsServer ¶
type UnimplementedGitopsServer struct { }
UnimplementedGitopsServer must be embedded to have forward compatible implementations.
func (UnimplementedGitopsServer) GetObjectsToSynchronize ¶
func (UnimplementedGitopsServer) GetObjectsToSynchronize(*ObjectsToSynchronizeRequest, Gitops_GetObjectsToSynchronizeServer) error
type UnsafeGitopsServer ¶
type UnsafeGitopsServer interface {
// contains filtered or unexported methods
}
UnsafeGitopsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitopsServer will result in compilation errors.