release

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperatorRelease

type OperatorRelease struct {
	Release []semver.PRVersion `json:"-"`
}

+k8s:openapi-gen=true OperatorRelease is a wrapper around a slice of semver.PRVersion which supports correct marshaling to YAML and JSON. +kubebuilder:validation:Type=string +kubebuilder:validation:MaxLength=20 +kubebuilder:validation:XValidation:rule="self.matches('^[0-9A-Za-z-]+(\\\\.[0-9A-Za-z-]+)*$')",message="release version must be composed of dot-separated identifiers containing only alphanumerics and hyphens" +kubebuilder:validation:XValidation:rule="!self.split('.').exists(x, x.matches('^0[0-9]+$'))",message="numeric identifiers in release version must not have leading zeros"

func (*OperatorRelease) DeepCopyInto

func (v *OperatorRelease) DeepCopyInto(out *OperatorRelease)

DeepCopyInto creates a deep-copy of the Version value.

func (OperatorRelease) MarshalJSON

func (v OperatorRelease) MarshalJSON() ([]byte, error)

MarshalJSON implements the encoding/json.Marshaler interface.

func (OperatorRelease) OpenAPISchemaFormat

func (_ OperatorRelease) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type. "semver" is not a standard openapi format but tooling may use the value regardless

func (OperatorRelease) OpenAPISchemaType

func (_ OperatorRelease) OpenAPISchemaType() []string

OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators

func (OperatorRelease) String

func (r OperatorRelease) String() string

func (*OperatorRelease) UnmarshalJSON

func (v *OperatorRelease) UnmarshalJSON(data []byte) (err error)

UnmarshalJSON implements the encoding/json.Unmarshaler interface.

Jump to

Keyboard shortcuts

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