apiv1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 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"`
	Ksd          *DetailedVersion `protobuf:"bytes,2,opt,name=ksd,proto3" json:"ksd,omitempty"`
	Ceph         *DetailedVersion `protobuf:"bytes,3,opt,name=ceph,proto3" json:"ceph,omitempty"`
	// contains filtered or unexported fields
}

DetailedProductVersions describes a map of products with 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 {
	Version        string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	ImageUri       string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
	ImageHash      string `protobuf:"bytes,3,opt,name=image_hash,json=imageHash,proto3" json:"image_hash,omitempty"`
	HelmRepository string `protobuf:"bytes,4,opt,name=helm_repository,json=helmRepository,proto3" json:"helm_repository,omitempty"`
	HelmChart      string `protobuf:"bytes,5,opt,name=helm_chart,json=helmChart,proto3" json:"helm_chart,omitempty"`
	// contains filtered or unexported fields
}

DetailedVersion defines a version of a product with a container image or 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 {
	Versions *ProductVersions `protobuf:"bytes,1,opt,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

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 {
	Versions *DetailedProductVersions `protobuf:"bytes,1,opt,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

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 {
	Kube         string `protobuf:"bytes,1,opt,name=kube,proto3" json:"kube,omitempty"`
	KoorOperator string `protobuf:"bytes,2,opt,name=koor_operator,json=koorOperator,proto3" json:"koor_operator,omitempty"`
	Ksd          string `protobuf:"bytes,3,opt,name=ksd,proto3" json:"ksd,omitempty"`
	Ceph         string `protobuf:"bytes,4,opt,name=ceph,proto3" json:"ceph,omitempty"`
	// contains filtered or unexported fields
}

ProductVersions describes a map of products with 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 {
	KoorOperator map[string]*DetailedVersion `` /* 185-byte string literal not displayed */
	Ksd          map[string]*DetailedVersion `` /* 147-byte string literal not displayed */
	Ceph         map[string]*DetailedVersion `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

VersionMatrix describes a map of products with all possible 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