apiv1

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_v1_version_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DetailedProductVersions

type DetailedProductVersions struct {
	KoorOperator *DetailedVersion `protobuf:"bytes,1,opt,name=koor_operator,json=koorOperator,proto3" json:"koor_operator,omitempty"` // The detailed Koor Operator version.
	Ksd          *DetailedVersion `protobuf:"bytes,2,opt,name=ksd,proto3" json:"ksd,omitempty"`                                       // The detailed Koor Storage Distribution version.
	Ceph         *DetailedVersion `protobuf:"bytes,3,opt,name=ceph,proto3" json:"ceph,omitempty"`                                     // The detailed Ceph version.
	// contains filtered or unexported fields
}

Represents a map of products to detailed versions, which include images or helm charts.

func (*DetailedProductVersions) Descriptor deprecated

func (*DetailedProductVersions) Descriptor() ([]byte, []int)

Deprecated: Use DetailedProductVersions.ProtoReflect.Descriptor instead.

func (*DetailedProductVersions) GetCeph

func (*DetailedProductVersions) GetKoorOperator

func (x *DetailedProductVersions) GetKoorOperator() *DetailedVersion

func (*DetailedProductVersions) GetKsd

func (*DetailedProductVersions) ProtoMessage

func (*DetailedProductVersions) ProtoMessage()

func (*DetailedProductVersions) ProtoReflect

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

func (*DetailedProductVersions) Reset

func (x *DetailedProductVersions) Reset()

func (*DetailedProductVersions) String

func (x *DetailedProductVersions) String() string

func (*DetailedProductVersions) Validate

func (m *DetailedProductVersions) Validate() error

Validate checks the field values on DetailedProductVersions 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 (*DetailedProductVersions) ValidateAll

func (m *DetailedProductVersions) ValidateAll() error

ValidateAll checks the field values on DetailedProductVersions 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 DetailedProductVersionsMultiError, or nil if none found.

type DetailedProductVersionsMultiError

type DetailedProductVersionsMultiError []error

DetailedProductVersionsMultiError is an error wrapping multiple validation errors returned by DetailedProductVersions.ValidateAll() if the designated constraints aren't met.

func (DetailedProductVersionsMultiError) AllErrors

func (m DetailedProductVersionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DetailedProductVersionsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DetailedProductVersionsValidationError

type DetailedProductVersionsValidationError struct {
	// contains filtered or unexported fields
}

DetailedProductVersionsValidationError is the validation error returned by DetailedProductVersions.Validate if the designated constraints aren't met.

func (DetailedProductVersionsValidationError) Cause

Cause function returns cause value.

func (DetailedProductVersionsValidationError) Error

Error satisfies the builtin error interface

func (DetailedProductVersionsValidationError) ErrorName

ErrorName returns error name.

func (DetailedProductVersionsValidationError) Field

Field function returns field value.

func (DetailedProductVersionsValidationError) Key

Key function returns key value.

func (DetailedProductVersionsValidationError) Reason

Reason function returns reason value.

type DetailedVersion

type DetailedVersion struct {

	// The product version, must be a valid semver.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The URI of the container image.
	ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
	// The hash of the container image.
	ImageHash string `protobuf:"bytes,3,opt,name=image_hash,json=imageHash,proto3" json:"image_hash,omitempty"`
	// The URI of the helm repository.
	HelmRepository string `protobuf:"bytes,4,opt,name=helm_repository,json=helmRepository,proto3" json:"helm_repository,omitempty"`
	// The name of the helm chart in the repository.
	HelmChart string `protobuf:"bytes,5,opt,name=helm_chart,json=helmChart,proto3" json:"helm_chart,omitempty"`
	// contains filtered or unexported fields
}

Defines a detailed version of a product, which includes a container image or a helm chart.

func (*DetailedVersion) Descriptor deprecated

func (*DetailedVersion) Descriptor() ([]byte, []int)

Deprecated: Use DetailedVersion.ProtoReflect.Descriptor instead.

func (*DetailedVersion) GetHelmChart

func (x *DetailedVersion) GetHelmChart() string

func (*DetailedVersion) GetHelmRepository

func (x *DetailedVersion) GetHelmRepository() string

func (*DetailedVersion) GetImageHash

func (x *DetailedVersion) GetImageHash() string

func (*DetailedVersion) GetImageUri

func (x *DetailedVersion) GetImageUri() string

func (*DetailedVersion) GetVersion

func (x *DetailedVersion) GetVersion() string

func (*DetailedVersion) ProtoMessage

func (*DetailedVersion) ProtoMessage()

func (*DetailedVersion) ProtoReflect

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

func (*DetailedVersion) Reset

func (x *DetailedVersion) Reset()

func (*DetailedVersion) String

func (x *DetailedVersion) String() string

func (*DetailedVersion) Validate

func (m *DetailedVersion) Validate() error

Validate checks the field values on DetailedVersion 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 (*DetailedVersion) ValidateAll

func (m *DetailedVersion) ValidateAll() error

ValidateAll checks the field values on DetailedVersion 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 DetailedVersionMultiError, or nil if none found.

type DetailedVersionMultiError

type DetailedVersionMultiError []error

DetailedVersionMultiError is an error wrapping multiple validation errors returned by DetailedVersion.ValidateAll() if the designated constraints aren't met.

func (DetailedVersionMultiError) AllErrors

func (m DetailedVersionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DetailedVersionMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DetailedVersionValidationError

type DetailedVersionValidationError struct {
	// contains filtered or unexported fields
}

DetailedVersionValidationError is the validation error returned by DetailedVersion.Validate if the designated constraints aren't met.

func (DetailedVersionValidationError) Cause

Cause function returns cause value.

func (DetailedVersionValidationError) Error

Error satisfies the builtin error interface

func (DetailedVersionValidationError) ErrorName

func (e DetailedVersionValidationError) ErrorName() string

ErrorName returns error name.

func (DetailedVersionValidationError) Field

Field function returns field value.

func (DetailedVersionValidationError) Key

Key function returns key value.

func (DetailedVersionValidationError) Reason

Reason function returns reason value.

type OperatorRequest

type OperatorRequest struct {

	// A map of products to current versions.
	Versions *ProductVersions `protobuf:"bytes,1,opt,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

Represents an operator request message.

func (*OperatorRequest) Descriptor deprecated

func (*OperatorRequest) Descriptor() ([]byte, []int)

Deprecated: Use OperatorRequest.ProtoReflect.Descriptor instead.

func (*OperatorRequest) GetVersions

func (x *OperatorRequest) GetVersions() *ProductVersions

func (*OperatorRequest) ProtoMessage

func (*OperatorRequest) ProtoMessage()

func (*OperatorRequest) ProtoReflect

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

func (*OperatorRequest) Reset

func (x *OperatorRequest) Reset()

func (*OperatorRequest) String

func (x *OperatorRequest) String() string

func (*OperatorRequest) Validate

func (m *OperatorRequest) Validate() error

Validate checks the field values on OperatorRequest 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 (*OperatorRequest) ValidateAll

func (m *OperatorRequest) ValidateAll() error

ValidateAll checks the field values on OperatorRequest 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 OperatorRequestMultiError, or nil if none found.

type OperatorRequestMultiError

type OperatorRequestMultiError []error

OperatorRequestMultiError is an error wrapping multiple validation errors returned by OperatorRequest.ValidateAll() if the designated constraints aren't met.

func (OperatorRequestMultiError) AllErrors

func (m OperatorRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OperatorRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type OperatorRequestValidationError

type OperatorRequestValidationError struct {
	// contains filtered or unexported fields
}

OperatorRequestValidationError is the validation error returned by OperatorRequest.Validate if the designated constraints aren't met.

func (OperatorRequestValidationError) Cause

Cause function returns cause value.

func (OperatorRequestValidationError) Error

Error satisfies the builtin error interface

func (OperatorRequestValidationError) ErrorName

func (e OperatorRequestValidationError) ErrorName() string

ErrorName returns error name.

func (OperatorRequestValidationError) Field

Field function returns field value.

func (OperatorRequestValidationError) Key

Key function returns key value.

func (OperatorRequestValidationError) Reason

Reason function returns reason value.

type OperatorResponse

type OperatorResponse struct {

	// A map of products to the newest available versions with deiails.
	Versions *DetailedProductVersions `protobuf:"bytes,1,opt,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

Represents an operator response message.

func (*OperatorResponse) Descriptor deprecated

func (*OperatorResponse) Descriptor() ([]byte, []int)

Deprecated: Use OperatorResponse.ProtoReflect.Descriptor instead.

func (*OperatorResponse) GetVersions

func (x *OperatorResponse) GetVersions() *DetailedProductVersions

func (*OperatorResponse) ProtoMessage

func (*OperatorResponse) ProtoMessage()

func (*OperatorResponse) ProtoReflect

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

func (*OperatorResponse) Reset

func (x *OperatorResponse) Reset()

func (*OperatorResponse) String

func (x *OperatorResponse) String() string

func (*OperatorResponse) Validate

func (m *OperatorResponse) Validate() error

Validate checks the field values on OperatorResponse 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 (*OperatorResponse) ValidateAll

func (m *OperatorResponse) ValidateAll() error

ValidateAll checks the field values on OperatorResponse 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 OperatorResponseMultiError, or nil if none found.

type OperatorResponseMultiError

type OperatorResponseMultiError []error

OperatorResponseMultiError is an error wrapping multiple validation errors returned by OperatorResponse.ValidateAll() if the designated constraints aren't met.

func (OperatorResponseMultiError) AllErrors

func (m OperatorResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OperatorResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type OperatorResponseValidationError

type OperatorResponseValidationError struct {
	// contains filtered or unexported fields
}

OperatorResponseValidationError is the validation error returned by OperatorResponse.Validate if the designated constraints aren't met.

func (OperatorResponseValidationError) Cause

Cause function returns cause value.

func (OperatorResponseValidationError) Error

Error satisfies the builtin error interface

func (OperatorResponseValidationError) ErrorName

ErrorName returns error name.

func (OperatorResponseValidationError) Field

Field function returns field value.

func (OperatorResponseValidationError) Key

Key function returns key value.

func (OperatorResponseValidationError) Reason

Reason function returns reason value.

type ProductVersions

type ProductVersions struct {

	// Kubernetes version, must be a valid semver.
	Kube string `protobuf:"bytes,1,opt,name=kube,proto3" json:"kube,omitempty"`
	// Koor Operator version, must be a valid semver.
	KoorOperator string `protobuf:"bytes,2,opt,name=koor_operator,json=koorOperator,proto3" json:"koor_operator,omitempty"`
	// Koor Storage Distribution version, must be a valid semver.
	Ksd string `protobuf:"bytes,3,opt,name=ksd,proto3" json:"ksd,omitempty"`
	// Ceph version, must be a valid semver.
	Ceph string `protobuf:"bytes,4,opt,name=ceph,proto3" json:"ceph,omitempty"`
	// contains filtered or unexported fields
}

Represents a map of products to version strings.

func (*ProductVersions) Descriptor deprecated

func (*ProductVersions) Descriptor() ([]byte, []int)

Deprecated: Use ProductVersions.ProtoReflect.Descriptor instead.

func (*ProductVersions) GetCeph

func (x *ProductVersions) GetCeph() string

func (*ProductVersions) GetKoorOperator

func (x *ProductVersions) GetKoorOperator() string

func (*ProductVersions) GetKsd

func (x *ProductVersions) GetKsd() string

func (*ProductVersions) GetKube

func (x *ProductVersions) GetKube() string

func (*ProductVersions) ProtoMessage

func (*ProductVersions) ProtoMessage()

func (*ProductVersions) ProtoReflect

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

func (*ProductVersions) Reset

func (x *ProductVersions) Reset()

func (*ProductVersions) String

func (x *ProductVersions) String() string

func (*ProductVersions) Validate

func (m *ProductVersions) Validate() error

Validate checks the field values on ProductVersions 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 (*ProductVersions) ValidateAll

func (m *ProductVersions) ValidateAll() error

ValidateAll checks the field values on ProductVersions 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 ProductVersionsMultiError, or nil if none found.

type ProductVersionsMultiError

type ProductVersionsMultiError []error

ProductVersionsMultiError is an error wrapping multiple validation errors returned by ProductVersions.ValidateAll() if the designated constraints aren't met.

func (ProductVersionsMultiError) AllErrors

func (m ProductVersionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProductVersionsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ProductVersionsValidationError

type ProductVersionsValidationError struct {
	// contains filtered or unexported fields
}

ProductVersionsValidationError is the validation error returned by ProductVersions.Validate if the designated constraints aren't met.

func (ProductVersionsValidationError) Cause

Cause function returns cause value.

func (ProductVersionsValidationError) Error

Error satisfies the builtin error interface

func (ProductVersionsValidationError) ErrorName

func (e ProductVersionsValidationError) ErrorName() string

ErrorName returns error name.

func (ProductVersionsValidationError) Field

Field function returns field value.

func (ProductVersionsValidationError) Key

Key function returns key value.

func (ProductVersionsValidationError) Reason

Reason function returns reason value.

type VersionMatrix

type VersionMatrix struct {

	// A map detailing the available Koor Operator versions. The keys are version strings and the values are version details.
	KoorOperator map[string]*DetailedVersion `` /* 185-byte string literal not displayed */
	// A map detailing the available Koor Storage Distribution versions. The keys are version strings and the values are version details.
	Ksd map[string]*DetailedVersion `` /* 147-byte string literal not displayed */
	// A map detailing the available Ceph versions. The keys are version strings and the values are version details.
	Ceph map[string]*DetailedVersion `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a map of products with all available images or helm chart versions

func (*VersionMatrix) Descriptor deprecated

func (*VersionMatrix) Descriptor() ([]byte, []int)

Deprecated: Use VersionMatrix.ProtoReflect.Descriptor instead.

func (*VersionMatrix) GetCeph

func (x *VersionMatrix) GetCeph() map[string]*DetailedVersion

func (*VersionMatrix) GetKoorOperator

func (x *VersionMatrix) GetKoorOperator() map[string]*DetailedVersion

func (*VersionMatrix) GetKsd

func (x *VersionMatrix) GetKsd() map[string]*DetailedVersion

func (*VersionMatrix) ProtoMessage

func (*VersionMatrix) ProtoMessage()

func (*VersionMatrix) ProtoReflect

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

func (*VersionMatrix) Reset

func (x *VersionMatrix) Reset()

func (*VersionMatrix) String

func (x *VersionMatrix) String() string

func (*VersionMatrix) Validate

func (m *VersionMatrix) Validate() error

Validate checks the field values on VersionMatrix 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 (*VersionMatrix) ValidateAll

func (m *VersionMatrix) ValidateAll() error

ValidateAll checks the field values on VersionMatrix 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 VersionMatrixMultiError, or nil if none found.

type VersionMatrixMultiError

type VersionMatrixMultiError []error

VersionMatrixMultiError is an error wrapping multiple validation errors returned by VersionMatrix.ValidateAll() if the designated constraints aren't met.

func (VersionMatrixMultiError) AllErrors

func (m VersionMatrixMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VersionMatrixMultiError) Error

func (m VersionMatrixMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type VersionMatrixValidationError

type VersionMatrixValidationError struct {
	// contains filtered or unexported fields
}

VersionMatrixValidationError is the validation error returned by VersionMatrix.Validate if the designated constraints aren't met.

func (VersionMatrixValidationError) Cause

Cause function returns cause value.

func (VersionMatrixValidationError) Error

Error satisfies the builtin error interface

func (VersionMatrixValidationError) ErrorName

func (e VersionMatrixValidationError) ErrorName() string

ErrorName returns error name.

func (VersionMatrixValidationError) Field

Field function returns field value.

func (VersionMatrixValidationError) Key

Key function returns key value.

func (VersionMatrixValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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