Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float ¶
type Float struct {
Value float64 `json:"-"`
}
+kubebuilder:validation:Type=number +kubebuilder:validation:Format=double +k8s:openapi-gen=true
func (Float) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface.
func (Float) OpenAPISchemaFormat ¶
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
func (Float) OpenAPISchemaType ¶
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 (*Float) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface.
Click to show internal directories.
Click to hide internal directories.