Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorVersion ¶
+k8s:openapi-gen=true OperatorVersion is a wrapper around semver.Version which supports correct marshaling to YAML and JSON. +kubebuilder:validation:Type=string
func (*OperatorVersion) DeepCopyInto ¶
func (v *OperatorVersion) DeepCopyInto(out *OperatorVersion)
DeepCopyInto creates a deep-copy of the Version value.
func (OperatorVersion) MarshalJSON ¶
func (v OperatorVersion) MarshalJSON() ([]byte, error)
MarshalJSON implements the encoding/json.Marshaler interface.
func (OperatorVersion) OpenAPISchemaFormat ¶
func (_ OperatorVersion) 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 (OperatorVersion) OpenAPISchemaType ¶
func (_ OperatorVersion) 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 (*OperatorVersion) UnmarshalJSON ¶
func (v *OperatorVersion) UnmarshalJSON(data []byte) (err error)
UnmarshalJSON implements the encoding/json.Unmarshaler interface.