{"modulePath":"github.com/operator-framework/api","version":"v0.47.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package release\n\n## Types\n\n```go\ntype OperatorRelease struct {\n\tRelease []semver.PRVersion `json:\"-\"`\n}\n```\n\\+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\"\n\n```go\nfunc (v *OperatorRelease) DeepCopyInto(out *OperatorRelease)\n```\nDeepCopyInto creates a deep-copy of the Version value.\n\n```go\nfunc (v OperatorRelease) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements the encoding/json.Marshaler interface.\n\n```go\nfunc (_ OperatorRelease) OpenAPISchemaFormat() string\n```\nOpenAPISchemaFormat 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\n\n```go\nfunc (_ OperatorRelease) OpenAPISchemaType() []string\n```\nOpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.\n\nSee: [https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators](https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators)\n\n```go\nfunc (r OperatorRelease) String() string\n```\n\n```go\nfunc (v *OperatorRelease) UnmarshalJSON(data []byte) (err error)\n```\nUnmarshalJSON implements the encoding/json.Unmarshaler interface.\n\n","path":"github.com/operator-framework/api/pkg/lib/release","name":"release","synopsis":"","isRedistributable":true}
