version

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 21 modules, 20 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 OperatorVersion

type OperatorVersion struct {
	semver.Version `json:"-"`
}

+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.

Jump to

Keyboard shortcuts

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