Documentation ¶
Index ¶
- Variables
- func RegisterGitopsServer(s grpc.ServiceRegistrar, srv GitopsServer)
- type GitRefCF
- func (*GitRefCF) Descriptor() ([]byte, []int)deprecated
- func (x *GitRefCF) GetBranch() string
- func (x *GitRefCF) GetCommit() string
- func (m *GitRefCF) GetRef() isGitRefCF_Ref
- func (x *GitRefCF) GetResolvedRef() string
- func (x *GitRefCF) GetTag() string
- func (*GitRefCF) ProtoMessage()
- func (x *GitRefCF) ProtoReflect() protoreflect.Message
- func (x *GitRefCF) Reset()
- func (x *GitRefCF) String() string
- func (m *GitRefCF) Validate() error
- func (m *GitRefCF) ValidateAll() error
- type GitRefCFMultiError
- type GitRefCFValidationError
- type GitRefCF_Branch
- type GitRefCF_Commit
- type GitRefCF_Tag
- 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() []*PathCF
- func (x *ObjectsToSynchronizeRequest) GetProjectId() string
- func (x *ObjectsToSynchronizeRequest) GetRef() *GitRefCF
- func (*ObjectsToSynchronizeRequest) ProtoMessage()
- func (x *ObjectsToSynchronizeRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectsToSynchronizeRequest) Reset()
- func (x *ObjectsToSynchronizeRequest) String() string
- func (m *ObjectsToSynchronizeRequest) Validate() error
- func (m *ObjectsToSynchronizeRequest) ValidateAll() error
- type ObjectsToSynchronizeRequestMultiError
- 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
- func (m *ObjectsToSynchronizeResponse) ValidateAll() error
- type ObjectsToSynchronizeResponseMultiError
- 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
- func (m *ObjectsToSynchronizeResponse_Header) ValidateAll() error
- type ObjectsToSynchronizeResponse_HeaderMultiError
- 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
- func (m *ObjectsToSynchronizeResponse_Object) ValidateAll() error
- type ObjectsToSynchronizeResponse_ObjectMultiError
- 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
- func (m *ObjectsToSynchronizeResponse_Trailer) ValidateAll() error
- type ObjectsToSynchronizeResponse_TrailerMultiError
- 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 PathCF
- func (*PathCF) Descriptor() ([]byte, []int)deprecated
- func (x *PathCF) GetFile() string
- func (x *PathCF) GetGlob() string
- func (m *PathCF) GetPath() isPathCF_Path
- func (*PathCF) ProtoMessage()
- func (x *PathCF) ProtoReflect() protoreflect.Message
- func (x *PathCF) Reset()
- func (x *PathCF) String() string
- func (m *PathCF) Validate() error
- func (m *PathCF) ValidateAll() error
- type PathCFMultiError
- type PathCFValidationError
- type PathCF_File
- type PathCF_Glob
- 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 GitRefCF ¶
type GitRefCF struct { // Types that are assignable to Ref: // // *GitRefCF_Tag // *GitRefCF_Branch // *GitRefCF_Commit Ref isGitRefCF_Ref `protobuf_oneof:"ref"` // contains filtered or unexported fields }
func (*GitRefCF) Descriptor
deprecated
func (*GitRefCF) GetResolvedRef ¶
GetResolvedRef resolved the `Ref` into a full unambiguous Git reference.
func (*GitRefCF) ProtoMessage ¶
func (*GitRefCF) ProtoMessage()
func (*GitRefCF) ProtoReflect ¶
func (x *GitRefCF) ProtoReflect() protoreflect.Message
func (*GitRefCF) Validate ¶
Validate checks the field values on GitRefCF 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 (*GitRefCF) ValidateAll ¶
ValidateAll checks the field values on GitRefCF 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 GitRefCFMultiError, or nil if none found.
type GitRefCFMultiError ¶
type GitRefCFMultiError []error
GitRefCFMultiError is an error wrapping multiple validation errors returned by GitRefCF.ValidateAll() if the designated constraints aren't met.
func (GitRefCFMultiError) AllErrors ¶
func (m GitRefCFMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitRefCFMultiError) Error ¶
func (m GitRefCFMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitRefCFValidationError ¶
type GitRefCFValidationError struct {
// contains filtered or unexported fields
}
GitRefCFValidationError is the validation error returned by GitRefCF.Validate if the designated constraints aren't met.
func (GitRefCFValidationError) Cause ¶
func (e GitRefCFValidationError) Cause() error
Cause function returns cause value.
func (GitRefCFValidationError) Error ¶
func (e GitRefCFValidationError) Error() string
Error satisfies the builtin error interface
func (GitRefCFValidationError) ErrorName ¶
func (e GitRefCFValidationError) ErrorName() string
ErrorName returns error name.
func (GitRefCFValidationError) Field ¶
func (e GitRefCFValidationError) Field() string
Field function returns field value.
func (GitRefCFValidationError) Key ¶
func (e GitRefCFValidationError) Key() bool
Key function returns key value.
func (GitRefCFValidationError) Reason ¶
func (e GitRefCFValidationError) Reason() string
Reason function returns reason value.
type GitRefCF_Branch ¶
type GitRefCF_Branch struct {
Branch string `protobuf:"bytes,2,opt,name=branch,proto3,oneof"`
}
type GitRefCF_Commit ¶
type GitRefCF_Commit struct {
Commit string `protobuf:"bytes,3,opt,name=commit,proto3,oneof"`
}
type GitRefCF_Tag ¶
type GitRefCF_Tag struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3,oneof"`
}
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"` Ref *GitRefCF `protobuf:"bytes,4,opt,name=ref,proto3" json:"ref,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` Paths []*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() []*PathCF
func (*ObjectsToSynchronizeRequest) GetProjectId ¶
func (x *ObjectsToSynchronizeRequest) GetProjectId() string
func (*ObjectsToSynchronizeRequest) GetRef ¶
func (x *ObjectsToSynchronizeRequest) GetRef() *GitRefCF
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, the first error encountered is returned, or nil if there are no violations.
func (*ObjectsToSynchronizeRequest) ValidateAll ¶
func (m *ObjectsToSynchronizeRequest) ValidateAll() error
ValidateAll checks the field values on ObjectsToSynchronizeRequest 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 ObjectsToSynchronizeRequestMultiError, or nil if none found.
type ObjectsToSynchronizeRequestMultiError ¶
type ObjectsToSynchronizeRequestMultiError []error
ObjectsToSynchronizeRequestMultiError is an error wrapping multiple validation errors returned by ObjectsToSynchronizeRequest.ValidateAll() if the designated constraints aren't met.
func (ObjectsToSynchronizeRequestMultiError) AllErrors ¶
func (m ObjectsToSynchronizeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectsToSynchronizeRequestMultiError) Error ¶
func (m ObjectsToSynchronizeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*ObjectsToSynchronizeResponse) ValidateAll ¶
func (m *ObjectsToSynchronizeResponse) ValidateAll() error
ValidateAll checks the field values on ObjectsToSynchronizeResponse 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 ObjectsToSynchronizeResponseMultiError, or nil if none found.
type ObjectsToSynchronizeResponseMultiError ¶
type ObjectsToSynchronizeResponseMultiError []error
ObjectsToSynchronizeResponseMultiError is an error wrapping multiple validation errors returned by ObjectsToSynchronizeResponse.ValidateAll() if the designated constraints aren't met.
func (ObjectsToSynchronizeResponseMultiError) AllErrors ¶
func (m ObjectsToSynchronizeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectsToSynchronizeResponseMultiError) Error ¶
func (m ObjectsToSynchronizeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*ObjectsToSynchronizeResponse_Header) ValidateAll ¶
func (m *ObjectsToSynchronizeResponse_Header) ValidateAll() error
ValidateAll checks the field values on ObjectsToSynchronizeResponse_Header 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 ObjectsToSynchronizeResponse_HeaderMultiError, or nil if none found.
type ObjectsToSynchronizeResponse_HeaderMultiError ¶
type ObjectsToSynchronizeResponse_HeaderMultiError []error
ObjectsToSynchronizeResponse_HeaderMultiError is an error wrapping multiple validation errors returned by ObjectsToSynchronizeResponse_Header.ValidateAll() if the designated constraints aren't met.
func (ObjectsToSynchronizeResponse_HeaderMultiError) AllErrors ¶
func (m ObjectsToSynchronizeResponse_HeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectsToSynchronizeResponse_HeaderMultiError) Error ¶
func (m ObjectsToSynchronizeResponse_HeaderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*ObjectsToSynchronizeResponse_Object) ValidateAll ¶
func (m *ObjectsToSynchronizeResponse_Object) ValidateAll() error
ValidateAll checks the field values on ObjectsToSynchronizeResponse_Object 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 ObjectsToSynchronizeResponse_ObjectMultiError, or nil if none found.
type ObjectsToSynchronizeResponse_ObjectMultiError ¶
type ObjectsToSynchronizeResponse_ObjectMultiError []error
ObjectsToSynchronizeResponse_ObjectMultiError is an error wrapping multiple validation errors returned by ObjectsToSynchronizeResponse_Object.ValidateAll() if the designated constraints aren't met.
func (ObjectsToSynchronizeResponse_ObjectMultiError) AllErrors ¶
func (m ObjectsToSynchronizeResponse_ObjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectsToSynchronizeResponse_ObjectMultiError) Error ¶
func (m ObjectsToSynchronizeResponse_ObjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*ObjectsToSynchronizeResponse_Trailer) ValidateAll ¶
func (m *ObjectsToSynchronizeResponse_Trailer) ValidateAll() error
ValidateAll checks the field values on ObjectsToSynchronizeResponse_Trailer 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 ObjectsToSynchronizeResponse_TrailerMultiError, or nil if none found.
type ObjectsToSynchronizeResponse_TrailerMultiError ¶
type ObjectsToSynchronizeResponse_TrailerMultiError []error
ObjectsToSynchronizeResponse_TrailerMultiError is an error wrapping multiple validation errors returned by ObjectsToSynchronizeResponse_Trailer.ValidateAll() if the designated constraints aren't met.
func (ObjectsToSynchronizeResponse_TrailerMultiError) AllErrors ¶
func (m ObjectsToSynchronizeResponse_TrailerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ObjectsToSynchronizeResponse_TrailerMultiError) Error ¶
func (m ObjectsToSynchronizeResponse_TrailerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 PathCF ¶
type PathCF struct { // Types that are assignable to Path: // // *PathCF_Glob // *PathCF_File Path isPathCF_Path `protobuf_oneof:"path"` // contains filtered or unexported fields }
func (*PathCF) Descriptor
deprecated
func (*PathCF) ProtoMessage ¶
func (*PathCF) ProtoMessage()
func (*PathCF) ProtoReflect ¶
func (x *PathCF) ProtoReflect() protoreflect.Message
func (*PathCF) Validate ¶
Validate checks the field values on PathCF 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 (*PathCF) ValidateAll ¶
ValidateAll checks the field values on PathCF 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 PathCFMultiError, or nil if none found.
type PathCFMultiError ¶
type PathCFMultiError []error
PathCFMultiError is an error wrapping multiple validation errors returned by PathCF.ValidateAll() if the designated constraints aren't met.
func (PathCFMultiError) AllErrors ¶
func (m PathCFMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PathCFMultiError) Error ¶
func (m PathCFMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PathCFValidationError ¶
type PathCFValidationError struct {
// contains filtered or unexported fields
}
PathCFValidationError is the validation error returned by PathCF.Validate if the designated constraints aren't met.
func (PathCFValidationError) Cause ¶
func (e PathCFValidationError) Cause() error
Cause function returns cause value.
func (PathCFValidationError) Error ¶
func (e PathCFValidationError) Error() string
Error satisfies the builtin error interface
func (PathCFValidationError) ErrorName ¶
func (e PathCFValidationError) ErrorName() string
ErrorName returns error name.
func (PathCFValidationError) Field ¶
func (e PathCFValidationError) Field() string
Field function returns field value.
func (PathCFValidationError) Key ¶
func (e PathCFValidationError) Key() bool
Key function returns key value.
func (PathCFValidationError) Reason ¶
func (e PathCFValidationError) Reason() string
Reason function returns reason value.
type PathCF_File ¶
type PathCF_File struct {
File string `protobuf:"bytes,2,opt,name=file,proto3,oneof"`
}
type PathCF_Glob ¶
type PathCF_Glob struct {
Glob string `protobuf:"bytes,1,opt,name=glob,proto3,oneof"`
}
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.