Documentation
¶
Index ¶
- Variables
- type FileModel
- func (*FileModel) Descriptor() ([]byte, []int)deprecated
- func (x *FileModel) GetContainer() string
- func (x *FileModel) GetContainerPath() string
- func (x *FileModel) GetCreatedAt() string
- func (x *FileModel) GetDeletedAt() string
- func (x *FileModel) GetId() int64
- func (x *FileModel) GetIsDeleted() bool
- func (x *FileModel) GetNamespace() string
- func (x *FileModel) GetPath() string
- func (x *FileModel) GetPod() string
- func (x *FileModel) GetSize() uint64
- func (x *FileModel) GetUpdatedAt() string
- func (x *FileModel) GetUsername() string
- func (*FileModel) ProtoMessage()
- func (x *FileModel) ProtoReflect() protoreflect.Message
- func (x *FileModel) Reset()
- func (x *FileModel) String() string
- func (m *FileModel) Validate() error
- func (m *FileModel) ValidateAll() error
- type FileModelMultiError
- type FileModelValidationError
- type GitlabProjectModel
- func (*GitlabProjectModel) Descriptor() ([]byte, []int)deprecated
- func (x *GitlabProjectModel) GetCreatedAt() string
- func (x *GitlabProjectModel) GetDefaultBranch() string
- func (x *GitlabProjectModel) GetEnabled() bool
- func (x *GitlabProjectModel) GetGitlabProjectId() int64
- func (x *GitlabProjectModel) GetGlobalConfig() string
- func (x *GitlabProjectModel) GetGlobalEnabled() bool
- func (x *GitlabProjectModel) GetId() int64
- func (x *GitlabProjectModel) GetName() string
- func (x *GitlabProjectModel) GetUpdatedAt() string
- func (*GitlabProjectModel) ProtoMessage()
- func (x *GitlabProjectModel) ProtoReflect() protoreflect.Message
- func (x *GitlabProjectModel) Reset()
- func (x *GitlabProjectModel) String() string
- func (m *GitlabProjectModel) Validate() error
- func (m *GitlabProjectModel) ValidateAll() error
- type GitlabProjectModelMultiError
- type GitlabProjectModelValidationError
- func (e GitlabProjectModelValidationError) Cause() error
- func (e GitlabProjectModelValidationError) Error() string
- func (e GitlabProjectModelValidationError) ErrorName() string
- func (e GitlabProjectModelValidationError) Field() string
- func (e GitlabProjectModelValidationError) Key() bool
- func (e GitlabProjectModelValidationError) Reason() string
- type NamespaceModel
- func (*NamespaceModel) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceModel) GetCreatedAt() string
- func (x *NamespaceModel) GetId() int64
- func (x *NamespaceModel) GetImagePullSecrets() []string
- func (x *NamespaceModel) GetName() string
- func (x *NamespaceModel) GetProjects() []*ProjectModel
- func (x *NamespaceModel) GetUpdatedAt() string
- func (*NamespaceModel) ProtoMessage()
- func (x *NamespaceModel) ProtoReflect() protoreflect.Message
- func (x *NamespaceModel) Reset()
- func (x *NamespaceModel) String() string
- func (m *NamespaceModel) Validate() error
- func (m *NamespaceModel) ValidateAll() error
- type NamespaceModelMultiError
- type NamespaceModelValidationError
- func (e NamespaceModelValidationError) Cause() error
- func (e NamespaceModelValidationError) Error() string
- func (e NamespaceModelValidationError) ErrorName() string
- func (e NamespaceModelValidationError) Field() string
- func (e NamespaceModelValidationError) Key() bool
- func (e NamespaceModelValidationError) Reason() string
- type ProjectModel
- func (*ProjectModel) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectModel) GetAtomic() bool
- func (x *ProjectModel) GetConfig() string
- func (x *ProjectModel) GetCreatedAt() string
- func (x *ProjectModel) GetDockerImage() string
- func (x *ProjectModel) GetExtraValues() string
- func (x *ProjectModel) GetGitlabBranch() string
- func (x *ProjectModel) GetGitlabCommit() string
- func (x *ProjectModel) GetGitlabProjectId() int64
- func (x *ProjectModel) GetId() int64
- func (x *ProjectModel) GetName() string
- func (x *ProjectModel) GetNamespace() *NamespaceModel
- func (x *ProjectModel) GetNamespaceId() int64
- func (x *ProjectModel) GetOverrideValues() string
- func (x *ProjectModel) GetPodSelectors() string
- func (x *ProjectModel) GetUpdatedAt() string
- func (*ProjectModel) ProtoMessage()
- func (x *ProjectModel) ProtoReflect() protoreflect.Message
- func (x *ProjectModel) Reset()
- func (x *ProjectModel) String() string
- func (m *ProjectModel) Validate() error
- func (m *ProjectModel) ValidateAll() error
- type ProjectModelMultiError
- type ProjectModelValidationError
- func (e ProjectModelValidationError) Cause() error
- func (e ProjectModelValidationError) Error() string
- func (e ProjectModelValidationError) ErrorName() string
- func (e ProjectModelValidationError) Field() string
- func (e ProjectModelValidationError) Key() bool
- func (e ProjectModelValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_model_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FileModel ¶
type FileModel struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` Pod string `protobuf:"bytes,6,opt,name=pod,proto3" json:"pod,omitempty"` Container string `protobuf:"bytes,7,opt,name=container,proto3" json:"container,omitempty"` ContainerPath string `protobuf:"bytes,8,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"` CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,11,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` IsDeleted bool `protobuf:"varint,12,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"` // contains filtered or unexported fields }
func (*FileModel) Descriptor
deprecated
func (*FileModel) GetContainer ¶
func (*FileModel) GetContainerPath ¶
func (*FileModel) GetCreatedAt ¶
func (*FileModel) GetDeletedAt ¶
func (*FileModel) GetIsDeleted ¶
func (*FileModel) GetNamespace ¶
func (*FileModel) GetUpdatedAt ¶
func (*FileModel) GetUsername ¶
func (*FileModel) ProtoMessage ¶
func (*FileModel) ProtoMessage()
func (*FileModel) ProtoReflect ¶
func (x *FileModel) ProtoReflect() protoreflect.Message
func (*FileModel) Validate ¶
Validate checks the field values on FileModel 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 (*FileModel) ValidateAll ¶
ValidateAll checks the field values on FileModel 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 FileModelMultiError, or nil if none found.
type FileModelMultiError ¶
type FileModelMultiError []error
FileModelMultiError is an error wrapping multiple validation errors returned by FileModel.ValidateAll() if the designated constraints aren't met.
func (FileModelMultiError) AllErrors ¶
func (m FileModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileModelMultiError) Error ¶
func (m FileModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileModelValidationError ¶
type FileModelValidationError struct {
// contains filtered or unexported fields
}
FileModelValidationError is the validation error returned by FileModel.Validate if the designated constraints aren't met.
func (FileModelValidationError) Cause ¶
func (e FileModelValidationError) Cause() error
Cause function returns cause value.
func (FileModelValidationError) Error ¶
func (e FileModelValidationError) Error() string
Error satisfies the builtin error interface
func (FileModelValidationError) ErrorName ¶
func (e FileModelValidationError) ErrorName() string
ErrorName returns error name.
func (FileModelValidationError) Field ¶
func (e FileModelValidationError) Field() string
Field function returns field value.
func (FileModelValidationError) Key ¶
func (e FileModelValidationError) Key() bool
Key function returns key value.
func (FileModelValidationError) Reason ¶
func (e FileModelValidationError) Reason() string
Reason function returns reason value.
type GitlabProjectModel ¶
type GitlabProjectModel struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DefaultBranch string `protobuf:"bytes,2,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` GitlabProjectId int64 `protobuf:"varint,4,opt,name=gitlab_project_id,json=gitlabProjectId,proto3" json:"gitlab_project_id,omitempty"` Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"` GlobalEnabled bool `protobuf:"varint,6,opt,name=global_enabled,json=globalEnabled,proto3" json:"global_enabled,omitempty"` GlobalConfig string `protobuf:"bytes,7,opt,name=global_config,json=globalConfig,proto3" json:"global_config,omitempty"` CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*GitlabProjectModel) Descriptor
deprecated
func (*GitlabProjectModel) Descriptor() ([]byte, []int)
Deprecated: Use GitlabProjectModel.ProtoReflect.Descriptor instead.
func (*GitlabProjectModel) GetCreatedAt ¶
func (x *GitlabProjectModel) GetCreatedAt() string
func (*GitlabProjectModel) GetDefaultBranch ¶
func (x *GitlabProjectModel) GetDefaultBranch() string
func (*GitlabProjectModel) GetEnabled ¶
func (x *GitlabProjectModel) GetEnabled() bool
func (*GitlabProjectModel) GetGitlabProjectId ¶
func (x *GitlabProjectModel) GetGitlabProjectId() int64
func (*GitlabProjectModel) GetGlobalConfig ¶
func (x *GitlabProjectModel) GetGlobalConfig() string
func (*GitlabProjectModel) GetGlobalEnabled ¶
func (x *GitlabProjectModel) GetGlobalEnabled() bool
func (*GitlabProjectModel) GetId ¶
func (x *GitlabProjectModel) GetId() int64
func (*GitlabProjectModel) GetName ¶
func (x *GitlabProjectModel) GetName() string
func (*GitlabProjectModel) GetUpdatedAt ¶
func (x *GitlabProjectModel) GetUpdatedAt() string
func (*GitlabProjectModel) ProtoMessage ¶
func (*GitlabProjectModel) ProtoMessage()
func (*GitlabProjectModel) ProtoReflect ¶
func (x *GitlabProjectModel) ProtoReflect() protoreflect.Message
func (*GitlabProjectModel) Reset ¶
func (x *GitlabProjectModel) Reset()
func (*GitlabProjectModel) String ¶
func (x *GitlabProjectModel) String() string
func (*GitlabProjectModel) Validate ¶
func (m *GitlabProjectModel) Validate() error
Validate checks the field values on GitlabProjectModel 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 (*GitlabProjectModel) ValidateAll ¶
func (m *GitlabProjectModel) ValidateAll() error
ValidateAll checks the field values on GitlabProjectModel 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 GitlabProjectModelMultiError, or nil if none found.
type GitlabProjectModelMultiError ¶
type GitlabProjectModelMultiError []error
GitlabProjectModelMultiError is an error wrapping multiple validation errors returned by GitlabProjectModel.ValidateAll() if the designated constraints aren't met.
func (GitlabProjectModelMultiError) AllErrors ¶
func (m GitlabProjectModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitlabProjectModelMultiError) Error ¶
func (m GitlabProjectModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitlabProjectModelValidationError ¶
type GitlabProjectModelValidationError struct {
// contains filtered or unexported fields
}
GitlabProjectModelValidationError is the validation error returned by GitlabProjectModel.Validate if the designated constraints aren't met.
func (GitlabProjectModelValidationError) Cause ¶
func (e GitlabProjectModelValidationError) Cause() error
Cause function returns cause value.
func (GitlabProjectModelValidationError) Error ¶
func (e GitlabProjectModelValidationError) Error() string
Error satisfies the builtin error interface
func (GitlabProjectModelValidationError) ErrorName ¶
func (e GitlabProjectModelValidationError) ErrorName() string
ErrorName returns error name.
func (GitlabProjectModelValidationError) Field ¶
func (e GitlabProjectModelValidationError) Field() string
Field function returns field value.
func (GitlabProjectModelValidationError) Key ¶
func (e GitlabProjectModelValidationError) Key() bool
Key function returns key value.
func (GitlabProjectModelValidationError) Reason ¶
func (e GitlabProjectModelValidationError) Reason() string
Reason function returns reason value.
type NamespaceModel ¶
type NamespaceModel struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ImagePullSecrets []string `protobuf:"bytes,3,rep,name=image_pull_secrets,json=imagePullSecrets,proto3" json:"image_pull_secrets,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Projects []*ProjectModel `protobuf:"bytes,7,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*NamespaceModel) Descriptor
deprecated
func (*NamespaceModel) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceModel.ProtoReflect.Descriptor instead.
func (*NamespaceModel) GetCreatedAt ¶
func (x *NamespaceModel) GetCreatedAt() string
func (*NamespaceModel) GetId ¶
func (x *NamespaceModel) GetId() int64
func (*NamespaceModel) GetImagePullSecrets ¶
func (x *NamespaceModel) GetImagePullSecrets() []string
func (*NamespaceModel) GetName ¶
func (x *NamespaceModel) GetName() string
func (*NamespaceModel) GetProjects ¶
func (x *NamespaceModel) GetProjects() []*ProjectModel
func (*NamespaceModel) GetUpdatedAt ¶
func (x *NamespaceModel) GetUpdatedAt() string
func (*NamespaceModel) ProtoMessage ¶
func (*NamespaceModel) ProtoMessage()
func (*NamespaceModel) ProtoReflect ¶
func (x *NamespaceModel) ProtoReflect() protoreflect.Message
func (*NamespaceModel) Reset ¶
func (x *NamespaceModel) Reset()
func (*NamespaceModel) String ¶
func (x *NamespaceModel) String() string
func (*NamespaceModel) Validate ¶
func (m *NamespaceModel) Validate() error
Validate checks the field values on NamespaceModel 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 (*NamespaceModel) ValidateAll ¶
func (m *NamespaceModel) ValidateAll() error
ValidateAll checks the field values on NamespaceModel 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 NamespaceModelMultiError, or nil if none found.
type NamespaceModelMultiError ¶
type NamespaceModelMultiError []error
NamespaceModelMultiError is an error wrapping multiple validation errors returned by NamespaceModel.ValidateAll() if the designated constraints aren't met.
func (NamespaceModelMultiError) AllErrors ¶
func (m NamespaceModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NamespaceModelMultiError) Error ¶
func (m NamespaceModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NamespaceModelValidationError ¶
type NamespaceModelValidationError struct {
// contains filtered or unexported fields
}
NamespaceModelValidationError is the validation error returned by NamespaceModel.Validate if the designated constraints aren't met.
func (NamespaceModelValidationError) Cause ¶
func (e NamespaceModelValidationError) Cause() error
Cause function returns cause value.
func (NamespaceModelValidationError) Error ¶
func (e NamespaceModelValidationError) Error() string
Error satisfies the builtin error interface
func (NamespaceModelValidationError) ErrorName ¶
func (e NamespaceModelValidationError) ErrorName() string
ErrorName returns error name.
func (NamespaceModelValidationError) Field ¶
func (e NamespaceModelValidationError) Field() string
Field function returns field value.
func (NamespaceModelValidationError) Key ¶
func (e NamespaceModelValidationError) Key() bool
Key function returns key value.
func (NamespaceModelValidationError) Reason ¶
func (e NamespaceModelValidationError) Reason() string
Reason function returns reason value.
type ProjectModel ¶
type ProjectModel struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` GitlabProjectId int64 `protobuf:"varint,3,opt,name=gitlab_project_id,json=gitlabProjectId,proto3" json:"gitlab_project_id,omitempty"` GitlabBranch string `protobuf:"bytes,4,opt,name=gitlab_branch,json=gitlabBranch,proto3" json:"gitlab_branch,omitempty"` GitlabCommit string `protobuf:"bytes,5,opt,name=gitlab_commit,json=gitlabCommit,proto3" json:"gitlab_commit,omitempty"` Config string `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` OverrideValues string `protobuf:"bytes,7,opt,name=override_values,json=overrideValues,proto3" json:"override_values,omitempty"` DockerImage string `protobuf:"bytes,8,opt,name=docker_image,json=dockerImage,proto3" json:"docker_image,omitempty"` PodSelectors string `protobuf:"bytes,9,opt,name=pod_selectors,json=podSelectors,proto3" json:"pod_selectors,omitempty"` NamespaceId int64 `protobuf:"varint,10,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` Atomic bool `protobuf:"varint,11,opt,name=atomic,proto3" json:"atomic,omitempty"` CreatedAt string `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` ExtraValues string `protobuf:"bytes,14,opt,name=extra_values,json=extraValues,proto3" json:"extra_values,omitempty"` Namespace *NamespaceModel `protobuf:"bytes,15,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ProjectModel) Descriptor
deprecated
func (*ProjectModel) Descriptor() ([]byte, []int)
Deprecated: Use ProjectModel.ProtoReflect.Descriptor instead.
func (*ProjectModel) GetAtomic ¶
func (x *ProjectModel) GetAtomic() bool
func (*ProjectModel) GetConfig ¶
func (x *ProjectModel) GetConfig() string
func (*ProjectModel) GetCreatedAt ¶
func (x *ProjectModel) GetCreatedAt() string
func (*ProjectModel) GetDockerImage ¶
func (x *ProjectModel) GetDockerImage() string
func (*ProjectModel) GetExtraValues ¶
func (x *ProjectModel) GetExtraValues() string
func (*ProjectModel) GetGitlabBranch ¶
func (x *ProjectModel) GetGitlabBranch() string
func (*ProjectModel) GetGitlabCommit ¶
func (x *ProjectModel) GetGitlabCommit() string
func (*ProjectModel) GetGitlabProjectId ¶
func (x *ProjectModel) GetGitlabProjectId() int64
func (*ProjectModel) GetId ¶
func (x *ProjectModel) GetId() int64
func (*ProjectModel) GetName ¶
func (x *ProjectModel) GetName() string
func (*ProjectModel) GetNamespace ¶
func (x *ProjectModel) GetNamespace() *NamespaceModel
func (*ProjectModel) GetNamespaceId ¶
func (x *ProjectModel) GetNamespaceId() int64
func (*ProjectModel) GetOverrideValues ¶
func (x *ProjectModel) GetOverrideValues() string
func (*ProjectModel) GetPodSelectors ¶
func (x *ProjectModel) GetPodSelectors() string
func (*ProjectModel) GetUpdatedAt ¶
func (x *ProjectModel) GetUpdatedAt() string
func (*ProjectModel) ProtoMessage ¶
func (*ProjectModel) ProtoMessage()
func (*ProjectModel) ProtoReflect ¶
func (x *ProjectModel) ProtoReflect() protoreflect.Message
func (*ProjectModel) Reset ¶
func (x *ProjectModel) Reset()
func (*ProjectModel) String ¶
func (x *ProjectModel) String() string
func (*ProjectModel) Validate ¶
func (m *ProjectModel) Validate() error
Validate checks the field values on ProjectModel 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 (*ProjectModel) ValidateAll ¶
func (m *ProjectModel) ValidateAll() error
ValidateAll checks the field values on ProjectModel 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 ProjectModelMultiError, or nil if none found.
type ProjectModelMultiError ¶
type ProjectModelMultiError []error
ProjectModelMultiError is an error wrapping multiple validation errors returned by ProjectModel.ValidateAll() if the designated constraints aren't met.
func (ProjectModelMultiError) AllErrors ¶
func (m ProjectModelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectModelMultiError) Error ¶
func (m ProjectModelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectModelValidationError ¶
type ProjectModelValidationError struct {
// contains filtered or unexported fields
}
ProjectModelValidationError is the validation error returned by ProjectModel.Validate if the designated constraints aren't met.
func (ProjectModelValidationError) Cause ¶
func (e ProjectModelValidationError) Cause() error
Cause function returns cause value.
func (ProjectModelValidationError) Error ¶
func (e ProjectModelValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectModelValidationError) ErrorName ¶
func (e ProjectModelValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectModelValidationError) Field ¶
func (e ProjectModelValidationError) Field() string
Field function returns field value.
func (ProjectModelValidationError) Key ¶
func (e ProjectModelValidationError) Key() bool
Key function returns key value.
func (ProjectModelValidationError) Reason ¶
func (e ProjectModelValidationError) Reason() string
Reason function returns reason value.