Documentation
¶
Index ¶
- type OperatorRelease
- func (v *OperatorRelease) DeepCopyInto(out *OperatorRelease)
- func (v OperatorRelease) MarshalJSON() ([]byte, error)
- func (_ OperatorRelease) OpenAPISchemaFormat() string
- func (_ OperatorRelease) OpenAPISchemaType() []string
- func (r OperatorRelease) String() string
- func (v *OperatorRelease) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorRelease ¶
+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.