Documentation ¶
Index ¶
- Variables
- type AgentMeta
- func (*AgentMeta) Descriptor() ([]byte, []int)deprecated
- func (x *AgentMeta) GetCommitId() string
- func (x *AgentMeta) GetKubernetesVersion() *KubernetesVersion
- func (x *AgentMeta) GetPodName() string
- func (x *AgentMeta) GetPodNamespace() string
- func (x *AgentMeta) GetVersion() string
- func (*AgentMeta) ProtoMessage()
- func (x *AgentMeta) ProtoReflect() protoreflect.Message
- func (x *AgentMeta) Reset()
- func (x *AgentMeta) String() string
- func (m *AgentMeta) Validate() error
- func (m *AgentMeta) ValidateAll() error
- type AgentMetaMultiError
- type AgentMetaValidationError
- type GitalyInfo
- func (*GitalyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GitalyInfo) GetAddress() string
- func (x *GitalyInfo) GetFeatures() map[string]string
- func (x *GitalyInfo) GetToken() string
- func (*GitalyInfo) ProtoMessage()
- func (x *GitalyInfo) ProtoReflect() protoreflect.Message
- func (x *GitalyInfo) Reset()
- func (x *GitalyInfo) String() string
- func (m *GitalyInfo) Validate() error
- func (m *GitalyInfo) ValidateAll() error
- type GitalyInfoMultiError
- type GitalyInfoValidationError
- type GitalyRepository
- func (*GitalyRepository) Descriptor() ([]byte, []int)deprecated
- func (x *GitalyRepository) GetGitAlternateObjectDirectories() []string
- func (x *GitalyRepository) GetGitObjectDirectory() string
- func (x *GitalyRepository) GetGlProjectPath() string
- func (x *GitalyRepository) GetGlRepository() string
- func (x *GitalyRepository) GetRelativePath() string
- func (x *GitalyRepository) GetStorageName() string
- func (*GitalyRepository) ProtoMessage()
- func (x *GitalyRepository) ProtoReflect() protoreflect.Message
- func (x *GitalyRepository) Reset()
- func (x *GitalyRepository) String() string
- func (r *GitalyRepository) ToGitalyRepository() *gitalypb.Repository
- func (m *GitalyRepository) Validate() error
- func (m *GitalyRepository) ValidateAll() error
- type GitalyRepositoryMultiError
- type GitalyRepositoryValidationError
- func (e GitalyRepositoryValidationError) Cause() error
- func (e GitalyRepositoryValidationError) Error() string
- func (e GitalyRepositoryValidationError) ErrorName() string
- func (e GitalyRepositoryValidationError) Field() string
- func (e GitalyRepositoryValidationError) Key() bool
- func (e GitalyRepositoryValidationError) Reason() string
- type KubernetesVersion
- func (*KubernetesVersion) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesVersion) GetGitVersion() string
- func (x *KubernetesVersion) GetMajor() string
- func (x *KubernetesVersion) GetMinor() string
- func (x *KubernetesVersion) GetPlatform() string
- func (*KubernetesVersion) ProtoMessage()
- func (x *KubernetesVersion) ProtoReflect() protoreflect.Message
- func (x *KubernetesVersion) Reset()
- func (x *KubernetesVersion) String() string
- func (m *KubernetesVersion) Validate() error
- func (m *KubernetesVersion) ValidateAll() error
- type KubernetesVersionMultiError
- type KubernetesVersionValidationError
- func (e KubernetesVersionValidationError) Cause() error
- func (e KubernetesVersionValidationError) Error() string
- func (e KubernetesVersionValidationError) ErrorName() string
- func (e KubernetesVersionValidationError) Field() string
- func (e KubernetesVersionValidationError) Key() bool
- func (e KubernetesVersionValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_pkg_entity_entity_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AgentMeta ¶
type AgentMeta struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commit_id,proto3" json:"commit_id,omitempty"` PodNamespace string `protobuf:"bytes,3,opt,name=pod_namespace,proto3" json:"pod_namespace,omitempty"` PodName string `protobuf:"bytes,4,opt,name=pod_name,proto3" json:"pod_name,omitempty"` KubernetesVersion *KubernetesVersion `protobuf:"bytes,5,opt,name=kubernetes_version,proto3" json:"kubernetes_version,omitempty"` // contains filtered or unexported fields }
func (*AgentMeta) Descriptor
deprecated
func (*AgentMeta) GetCommitId ¶
func (*AgentMeta) GetKubernetesVersion ¶
func (x *AgentMeta) GetKubernetesVersion() *KubernetesVersion
func (*AgentMeta) GetPodName ¶
func (*AgentMeta) GetPodNamespace ¶
func (*AgentMeta) GetVersion ¶
func (*AgentMeta) ProtoMessage ¶
func (*AgentMeta) ProtoMessage()
func (*AgentMeta) ProtoReflect ¶
func (x *AgentMeta) ProtoReflect() protoreflect.Message
func (*AgentMeta) Validate ¶
Validate checks the field values on AgentMeta 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 (*AgentMeta) ValidateAll ¶
ValidateAll checks the field values on AgentMeta 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 AgentMetaMultiError, or nil if none found.
type AgentMetaMultiError ¶
type AgentMetaMultiError []error
AgentMetaMultiError is an error wrapping multiple validation errors returned by AgentMeta.ValidateAll() if the designated constraints aren't met.
func (AgentMetaMultiError) AllErrors ¶
func (m AgentMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AgentMetaMultiError) Error ¶
func (m AgentMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AgentMetaValidationError ¶
type AgentMetaValidationError struct {
// contains filtered or unexported fields
}
AgentMetaValidationError is the validation error returned by AgentMeta.Validate if the designated constraints aren't met.
func (AgentMetaValidationError) Cause ¶
func (e AgentMetaValidationError) Cause() error
Cause function returns cause value.
func (AgentMetaValidationError) Error ¶
func (e AgentMetaValidationError) Error() string
Error satisfies the builtin error interface
func (AgentMetaValidationError) ErrorName ¶
func (e AgentMetaValidationError) ErrorName() string
ErrorName returns error name.
func (AgentMetaValidationError) Field ¶
func (e AgentMetaValidationError) Field() string
Field function returns field value.
func (AgentMetaValidationError) Key ¶
func (e AgentMetaValidationError) Key() bool
Key function returns key value.
func (AgentMetaValidationError) Reason ¶
func (e AgentMetaValidationError) Reason() string
Reason function returns reason value.
type GitalyInfo ¶
type GitalyInfo struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Features map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GitalyInfo) Descriptor
deprecated
func (*GitalyInfo) Descriptor() ([]byte, []int)
Deprecated: Use GitalyInfo.ProtoReflect.Descriptor instead.
func (*GitalyInfo) GetAddress ¶
func (x *GitalyInfo) GetAddress() string
func (*GitalyInfo) GetFeatures ¶
func (x *GitalyInfo) GetFeatures() map[string]string
func (*GitalyInfo) GetToken ¶
func (x *GitalyInfo) GetToken() string
func (*GitalyInfo) ProtoMessage ¶
func (*GitalyInfo) ProtoMessage()
func (*GitalyInfo) ProtoReflect ¶
func (x *GitalyInfo) ProtoReflect() protoreflect.Message
func (*GitalyInfo) Reset ¶
func (x *GitalyInfo) Reset()
func (*GitalyInfo) String ¶
func (x *GitalyInfo) String() string
func (*GitalyInfo) Validate ¶
func (m *GitalyInfo) Validate() error
Validate checks the field values on GitalyInfo 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 (*GitalyInfo) ValidateAll ¶
func (m *GitalyInfo) ValidateAll() error
ValidateAll checks the field values on GitalyInfo 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 GitalyInfoMultiError, or nil if none found.
type GitalyInfoMultiError ¶
type GitalyInfoMultiError []error
GitalyInfoMultiError is an error wrapping multiple validation errors returned by GitalyInfo.ValidateAll() if the designated constraints aren't met.
func (GitalyInfoMultiError) AllErrors ¶
func (m GitalyInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitalyInfoMultiError) Error ¶
func (m GitalyInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitalyInfoValidationError ¶
type GitalyInfoValidationError struct {
// contains filtered or unexported fields
}
GitalyInfoValidationError is the validation error returned by GitalyInfo.Validate if the designated constraints aren't met.
func (GitalyInfoValidationError) Cause ¶
func (e GitalyInfoValidationError) Cause() error
Cause function returns cause value.
func (GitalyInfoValidationError) Error ¶
func (e GitalyInfoValidationError) Error() string
Error satisfies the builtin error interface
func (GitalyInfoValidationError) ErrorName ¶
func (e GitalyInfoValidationError) ErrorName() string
ErrorName returns error name.
func (GitalyInfoValidationError) Field ¶
func (e GitalyInfoValidationError) Field() string
Field function returns field value.
func (GitalyInfoValidationError) Key ¶
func (e GitalyInfoValidationError) Key() bool
Key function returns key value.
func (GitalyInfoValidationError) Reason ¶
func (e GitalyInfoValidationError) Reason() string
Reason function returns reason value.
type GitalyRepository ¶
type GitalyRepository struct { StorageName string `protobuf:"bytes,2,opt,name=storage_name,proto3" json:"storage_name,omitempty"` RelativePath string `protobuf:"bytes,3,opt,name=relative_path,proto3" json:"relative_path,omitempty"` GitObjectDirectory string `protobuf:"bytes,4,opt,name=git_object_directory,proto3" json:"git_object_directory,omitempty"` GitAlternateObjectDirectories []string `protobuf:"bytes,5,rep,name=git_alternate_object_directories,proto3" json:"git_alternate_object_directories,omitempty"` GlRepository string `protobuf:"bytes,6,opt,name=gl_repository,proto3" json:"gl_repository,omitempty"` GlProjectPath string `protobuf:"bytes,8,opt,name=gl_project_path,proto3" json:"gl_project_path,omitempty"` // contains filtered or unexported fields }
func (*GitalyRepository) Descriptor
deprecated
func (*GitalyRepository) Descriptor() ([]byte, []int)
Deprecated: Use GitalyRepository.ProtoReflect.Descriptor instead.
func (*GitalyRepository) GetGitAlternateObjectDirectories ¶
func (x *GitalyRepository) GetGitAlternateObjectDirectories() []string
func (*GitalyRepository) GetGitObjectDirectory ¶
func (x *GitalyRepository) GetGitObjectDirectory() string
func (*GitalyRepository) GetGlProjectPath ¶
func (x *GitalyRepository) GetGlProjectPath() string
func (*GitalyRepository) GetGlRepository ¶
func (x *GitalyRepository) GetGlRepository() string
func (*GitalyRepository) GetRelativePath ¶
func (x *GitalyRepository) GetRelativePath() string
func (*GitalyRepository) GetStorageName ¶
func (x *GitalyRepository) GetStorageName() string
func (*GitalyRepository) ProtoMessage ¶
func (*GitalyRepository) ProtoMessage()
func (*GitalyRepository) ProtoReflect ¶
func (x *GitalyRepository) ProtoReflect() protoreflect.Message
func (*GitalyRepository) Reset ¶
func (x *GitalyRepository) Reset()
func (*GitalyRepository) String ¶
func (x *GitalyRepository) String() string
func (*GitalyRepository) ToGitalyRepository ¶
func (r *GitalyRepository) ToGitalyRepository() *gitalypb.Repository
func (*GitalyRepository) Validate ¶
func (m *GitalyRepository) Validate() error
Validate checks the field values on GitalyRepository 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 (*GitalyRepository) ValidateAll ¶
func (m *GitalyRepository) ValidateAll() error
ValidateAll checks the field values on GitalyRepository 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 GitalyRepositoryMultiError, or nil if none found.
type GitalyRepositoryMultiError ¶
type GitalyRepositoryMultiError []error
GitalyRepositoryMultiError is an error wrapping multiple validation errors returned by GitalyRepository.ValidateAll() if the designated constraints aren't met.
func (GitalyRepositoryMultiError) AllErrors ¶
func (m GitalyRepositoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitalyRepositoryMultiError) Error ¶
func (m GitalyRepositoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitalyRepositoryValidationError ¶
type GitalyRepositoryValidationError struct {
// contains filtered or unexported fields
}
GitalyRepositoryValidationError is the validation error returned by GitalyRepository.Validate if the designated constraints aren't met.
func (GitalyRepositoryValidationError) Cause ¶
func (e GitalyRepositoryValidationError) Cause() error
Cause function returns cause value.
func (GitalyRepositoryValidationError) Error ¶
func (e GitalyRepositoryValidationError) Error() string
Error satisfies the builtin error interface
func (GitalyRepositoryValidationError) ErrorName ¶
func (e GitalyRepositoryValidationError) ErrorName() string
ErrorName returns error name.
func (GitalyRepositoryValidationError) Field ¶
func (e GitalyRepositoryValidationError) Field() string
Field function returns field value.
func (GitalyRepositoryValidationError) Key ¶
func (e GitalyRepositoryValidationError) Key() bool
Key function returns key value.
func (GitalyRepositoryValidationError) Reason ¶
func (e GitalyRepositoryValidationError) Reason() string
Reason function returns reason value.
type KubernetesVersion ¶
type KubernetesVersion struct { Major string `protobuf:"bytes,1,opt,name=major,proto3" json:"major,omitempty"` Minor string `protobuf:"bytes,2,opt,name=minor,proto3" json:"minor,omitempty"` GitVersion string `protobuf:"bytes,3,opt,name=git_version,proto3" json:"git_version,omitempty"` Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*KubernetesVersion) Descriptor
deprecated
func (*KubernetesVersion) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesVersion.ProtoReflect.Descriptor instead.
func (*KubernetesVersion) GetGitVersion ¶
func (x *KubernetesVersion) GetGitVersion() string
func (*KubernetesVersion) GetMajor ¶
func (x *KubernetesVersion) GetMajor() string
func (*KubernetesVersion) GetMinor ¶
func (x *KubernetesVersion) GetMinor() string
func (*KubernetesVersion) GetPlatform ¶
func (x *KubernetesVersion) GetPlatform() string
func (*KubernetesVersion) ProtoMessage ¶
func (*KubernetesVersion) ProtoMessage()
func (*KubernetesVersion) ProtoReflect ¶
func (x *KubernetesVersion) ProtoReflect() protoreflect.Message
func (*KubernetesVersion) Reset ¶
func (x *KubernetesVersion) Reset()
func (*KubernetesVersion) String ¶
func (x *KubernetesVersion) String() string
func (*KubernetesVersion) Validate ¶
func (m *KubernetesVersion) Validate() error
Validate checks the field values on KubernetesVersion 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 (*KubernetesVersion) ValidateAll ¶
func (m *KubernetesVersion) ValidateAll() error
ValidateAll checks the field values on KubernetesVersion 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 KubernetesVersionMultiError, or nil if none found.
type KubernetesVersionMultiError ¶
type KubernetesVersionMultiError []error
KubernetesVersionMultiError is an error wrapping multiple validation errors returned by KubernetesVersion.ValidateAll() if the designated constraints aren't met.
func (KubernetesVersionMultiError) AllErrors ¶
func (m KubernetesVersionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KubernetesVersionMultiError) Error ¶
func (m KubernetesVersionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KubernetesVersionValidationError ¶
type KubernetesVersionValidationError struct {
// contains filtered or unexported fields
}
KubernetesVersionValidationError is the validation error returned by KubernetesVersion.Validate if the designated constraints aren't met.
func (KubernetesVersionValidationError) Cause ¶
func (e KubernetesVersionValidationError) Cause() error
Cause function returns cause value.
func (KubernetesVersionValidationError) Error ¶
func (e KubernetesVersionValidationError) Error() string
Error satisfies the builtin error interface
func (KubernetesVersionValidationError) ErrorName ¶
func (e KubernetesVersionValidationError) ErrorName() string
ErrorName returns error name.
func (KubernetesVersionValidationError) Field ¶
func (e KubernetesVersionValidationError) Field() string
Field function returns field value.
func (KubernetesVersionValidationError) Key ¶
func (e KubernetesVersionValidationError) Key() bool
Key function returns key value.
func (KubernetesVersionValidationError) Reason ¶
func (e KubernetesVersionValidationError) Reason() string
Reason function returns reason value.