{"modulePath":"github.com/UnityTech/client-go","version":"v2.0.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package unversioned\n\n\tPackage unversioned is a generated protocol buffer package.\n\n\tIt is generated from these files:\n\t\tk8s.io/kubernetes/pkg/api/unversioned/generated.proto\n\n\tIt has these top-level messages:\n\t\tAPIGroup\n\t\tAPIGroupList\n\t\tAPIResource\n\t\tAPIResourceList\n\t\tAPIVersions\n\t\tDuration\n\t\tExportOptions\n\t\tGroupKind\n\t\tGroupResource\n\t\tGroupVersion\n\t\tGroupVersionForDiscovery\n\t\tGroupVersionKind\n\t\tGroupVersionResource\n\t\tLabelSelector\n\t\tLabelSelectorRequirement\n\t\tListMeta\n\t\tRootPaths\n\t\tServerAddressByClientCIDR\n\t\tStatus\n\t\tStatusCause\n\t\tStatusDetails\n\t\tTime\n\t\tTimestamp\n\t\tTypeMeta\n\nPackage unversioned contains API types that are common to all versions.\n\nThe package contains two categories of types:\n\n  - external (serialized) types that lack their own version (e.g TypeMeta)\n  - internal (never-serialized) types that are needed by several different api groups, and so live here, to avoid duplication and/or import loops (e.g. LabelSelector).\n\nIn the future, we will probably move these categories of objects into separate packages.\n\n## Constants\n\n```go\nconst (\n\tStatusSuccess = \"Success\"\n\tStatusFailure = \"Failure\"\n)\n```\nValues of Status.Status\n\n```go\nconst (\n\t// If you add a new topology domain here, also consider adding it to the set of default values\n\t// for the scheduler's --failure-domain command-line argument.\n\tLabelHostname          = \"kubernetes.io/hostname\"\n\tLabelZoneFailureDomain = \"failure-domain.beta.kubernetes.io/zone\"\n\tLabelZoneRegion        = \"failure-domain.beta.kubernetes.io/region\"\n\n\tLabelInstanceType = \"beta.kubernetes.io/instance-type\"\n\n\tLabelOS   = \"beta.kubernetes.io/os\"\n\tLabelArch = \"beta.kubernetes.io/arch\"\n)\n```\n\n```go\nconst (\n\t// NodeLabelRole is the preferred label applied to a Node as a hint that it has a particular purpose (defined by the value).\n\tNodeLabelRole = \"kubernetes.io/role\"\n\n\t// NodeLabelKubeadmAlphaRole is a label that kubeadm applies to a Node as a hint that it has a particular purpose.\n\t// Use of NodeLabelRole is preferred.\n\tNodeLabelKubeadmAlphaRole = \"kubeadm.alpha.kubernetes.io/role\"\n\n\t// NodeLabelRoleMaster is the value of a NodeLabelRole or NodeLabelKubeadmAlphaRole label, indicating a master node.\n\t// A master node typically runs kubernetes system components and will not typically run user workloads.\n\tNodeLabelRoleMaster = \"master\"\n\n\t// NodeLabelRoleNode is the value of a NodeLabelRole or NodeLabelKubeadmAlphaRole label, indicating a \"normal\" node,\n\t// as opposed to a RoleMaster node.\n\tNodeLabelRoleNode = \"node\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\tErrInvalidLengthGenerated = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowGenerated   = fmt.Errorf(\"proto: integer overflow\")\n)\n```\n\n```go\nvar EmptyObjectKind = emptyObjectKind{}\n```\nEmptyObjectKind implements the ObjectKind interface as a noop TODO: this belongs in pkg/runtime, move unversioned.GVK into runtime.\n\n```go\nvar SchemeGroupVersion = GroupVersion{Group: \"\", Version: \"\"}\n```\nSchemeGroupVersion is group version used to register these objects\n\n## Functions\n\n```go\nfunc DeepCopy_unversioned_APIGroup(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_APIGroupList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_APIResource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_APIResourceList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_APIVersions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_Duration(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_ExportOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_GroupKind(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_GroupResource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_GroupVersion(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_GroupVersionForDiscovery(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_GroupVersionKind(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_GroupVersionResource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_LabelSelector(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_LabelSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_ListMeta(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_Patch(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_RootPaths(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_ServerAddressByClientCIDR(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_Status(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_StatusCause(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_StatusDetails(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_Time(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_Timestamp(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_unversioned_TypeMeta(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc ExtractGroupVersions(l *APIGroupList) []string\n```\n\n```go\nfunc FieldSelectorQueryParam(version string) string\n```\nTODO: remove me when watch is refactored\n\n```go\nfunc FormatLabelSelector(labelSelector *LabelSelector) string\n```\nFormatLabelSelector convert labelSelector into plain string\n\n```go\nfunc LabelSelectorAsMap(ps *LabelSelector) (map[string]string, error)\n```\nLabelSelectorAsMap converts the LabelSelector api type into a map of strings, ie. the original structure of a label selector. Operators that cannot be converted into plain labels (Exists, DoesNotExist, NotIn, and In with more than one value) will result in an error.\n\n```go\nfunc LabelSelectorAsSelector(ps *LabelSelector) (labels.Selector, error)\n```\nLabelSelectorAsSelector converts the LabelSelector api type into a struct that implements labels.Selector Note: This function should be kept in sync with the selector methods in pkg/labels/selector.go\n\n```go\nfunc LabelSelectorQueryParam(version string) string\n```\nTODO: remove me when watch is refactored\n\n```go\nfunc ParseResourceArg(arg string) (*GroupVersionResource, GroupResource)\n```\nParseResourceArg takes the common style of string which may be either \\`resource.group.com\\` or \\`resource.version.group.com\\` and parses it out into both possibilities.  This code takes no responsibility for knowing which representation was intended but with a knowledge of all GroupVersions, calling code can take a very good guess.  If there are only two segments, then \\`\\*GroupVersionResource\\` is nil. \\`resource.group.com\\` -\u003e \\`group=com, version=group, resource=resource\\` and \\`group=group.com, resource=resource\\`\n\n## Types\n\n```go\ntype APIGroup struct {\n\tTypeMeta `json:\",inline\"`\n\t// name is the name of the group.\n\tName string `json:\"name\" protobuf:\"bytes,1,opt,name=name\"`\n\t// versions are the versions supported in this group.\n\tVersions []GroupVersionForDiscovery `json:\"versions\" protobuf:\"bytes,2,rep,name=versions\"`\n\t// preferredVersion is the version preferred by the API server, which\n\t// probably is the storage version.\n\t// +optional\n\tPreferredVersion GroupVersionForDiscovery `json:\"preferredVersion,omitempty\" protobuf:\"bytes,3,opt,name=preferredVersion\"`\n\t// a map of client CIDR to server address that is serving this group.\n\t// This is to help clients reach servers in the most network-efficient way possible.\n\t// Clients can use the appropriate server address as per the CIDR that they match.\n\t// In case of multiple matches, clients should use the longest matching CIDR.\n\t// The server returns only those CIDRs that it thinks that the client can match.\n\t// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.\n\t// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.\n\tServerAddressByClientCIDRs []ServerAddressByClientCIDR `json:\"serverAddressByClientCIDRs\" protobuf:\"bytes,4,rep,name=serverAddressByClientCIDRs\"`\n}\n```\nAPIGroup contains the name, the supported versions, and the preferred version of a group.\n\n```go\nfunc (*APIGroup) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *APIGroup) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *APIGroup) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*APIGroup) ProtoMessage()\n```\n\n```go\nfunc (m *APIGroup) Reset()\n```\n\n```go\nfunc (m *APIGroup) Size() (n int)\n```\n\n```go\nfunc (this *APIGroup) String() string\n```\n\n```go\nfunc (APIGroup) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *APIGroup) Unmarshal(data []byte) error\n```\n\n```go\ntype APIGroupList struct {\n\tTypeMeta `json:\",inline\"`\n\t// groups is a list of APIGroup.\n\tGroups []APIGroup `json:\"groups\" protobuf:\"bytes,1,rep,name=groups\"`\n}\n```\nAPIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.\n\n```go\nfunc (*APIGroupList) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *APIGroupList) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *APIGroupList) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*APIGroupList) ProtoMessage()\n```\n\n```go\nfunc (m *APIGroupList) Reset()\n```\n\n```go\nfunc (m *APIGroupList) Size() (n int)\n```\n\n```go\nfunc (this *APIGroupList) String() string\n```\n\n```go\nfunc (APIGroupList) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *APIGroupList) Unmarshal(data []byte) error\n```\n\n```go\ntype APIResource struct {\n\t// name is the name of the resource.\n\tName string `json:\"name\" protobuf:\"bytes,1,opt,name=name\"`\n\t// namespaced indicates if a resource is namespaced or not.\n\tNamespaced bool `json:\"namespaced\" protobuf:\"varint,2,opt,name=namespaced\"`\n\t// kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')\n\tKind string `json:\"kind\" protobuf:\"bytes,3,opt,name=kind\"`\n}\n```\nAPIResource specifies the name of a resource and whether it is namespaced.\n\n```go\nfunc (*APIResource) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *APIResource) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *APIResource) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*APIResource) ProtoMessage()\n```\n\n```go\nfunc (m *APIResource) Reset()\n```\n\n```go\nfunc (m *APIResource) Size() (n int)\n```\n\n```go\nfunc (this *APIResource) String() string\n```\n\n```go\nfunc (APIResource) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *APIResource) Unmarshal(data []byte) error\n```\n\n```go\ntype APIResourceList struct {\n\tTypeMeta `json:\",inline\"`\n\t// groupVersion is the group and version this APIResourceList is for.\n\tGroupVersion string `json:\"groupVersion\" protobuf:\"bytes,1,opt,name=groupVersion\"`\n\t// resources contains the name of the resources and if they are namespaced.\n\tAPIResources []APIResource `json:\"resources\" protobuf:\"bytes,2,rep,name=resources\"`\n}\n```\nAPIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.\n\n```go\nfunc (*APIResourceList) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *APIResourceList) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *APIResourceList) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*APIResourceList) ProtoMessage()\n```\n\n```go\nfunc (m *APIResourceList) Reset()\n```\n\n```go\nfunc (m *APIResourceList) Size() (n int)\n```\n\n```go\nfunc (this *APIResourceList) String() string\n```\n\n```go\nfunc (APIResourceList) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *APIResourceList) Unmarshal(data []byte) error\n```\n\n```go\ntype APIVersions struct {\n\tTypeMeta `json:\",inline\"`\n\t// versions are the api versions that are available.\n\tVersions []string `json:\"versions\" protobuf:\"bytes,1,rep,name=versions\"`\n\t// a map of client CIDR to server address that is serving this group.\n\t// This is to help clients reach servers in the most network-efficient way possible.\n\t// Clients can use the appropriate server address as per the CIDR that they match.\n\t// In case of multiple matches, clients should use the longest matching CIDR.\n\t// The server returns only those CIDRs that it thinks that the client can match.\n\t// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.\n\t// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.\n\tServerAddressByClientCIDRs []ServerAddressByClientCIDR `json:\"serverAddressByClientCIDRs\" protobuf:\"bytes,2,rep,name=serverAddressByClientCIDRs\"`\n}\n```\nAPIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.\n\n\\+protobuf.options.(gogoproto.goproto\\_stringer)=false\n\n```go\nfunc (*APIVersions) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (apiVersions APIVersions) GoString() string\n```\n\n```go\nfunc (m *APIVersions) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *APIVersions) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*APIVersions) ProtoMessage()\n```\n\n```go\nfunc (m *APIVersions) Reset()\n```\n\n```go\nfunc (m *APIVersions) Size() (n int)\n```\n\n```go\nfunc (apiVersions APIVersions) String() string\n```\nString returns available api versions as a human-friendly version string.\n\n```go\nfunc (APIVersions) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *APIVersions) Unmarshal(data []byte) error\n```\n\n```go\ntype CauseType string\n```\nCauseType is a machine readable value providing more detail about what occurred in a status response. An operation may have multiple causes for a status (whether Failure or Success).\n\n```go\nconst (\n\t// CauseTypeFieldValueNotFound is used to report failure to find a requested value\n\t// (e.g. looking up an ID).\n\tCauseTypeFieldValueNotFound CauseType = \"FieldValueNotFound\"\n\t// CauseTypeFieldValueRequired is used to report required values that are not\n\t// provided (e.g. empty strings, null values, or empty arrays).\n\tCauseTypeFieldValueRequired CauseType = \"FieldValueRequired\"\n\t// CauseTypeFieldValueDuplicate is used to report collisions of values that must be\n\t// unique (e.g. unique IDs).\n\tCauseTypeFieldValueDuplicate CauseType = \"FieldValueDuplicate\"\n\t// CauseTypeFieldValueInvalid is used to report malformed values (e.g. failed regex\n\t// match).\n\tCauseTypeFieldValueInvalid CauseType = \"FieldValueInvalid\"\n\t// CauseTypeFieldValueNotSupported is used to report valid (as per formatting rules)\n\t// values that can not be handled (e.g. an enumerated string).\n\tCauseTypeFieldValueNotSupported CauseType = \"FieldValueNotSupported\"\n\t// CauseTypeUnexpectedServerResponse is used to report when the server responded to the client\n\t// without the expected return type. The presence of this cause indicates the error may be\n\t// due to an intervening proxy or the server software malfunctioning.\n\tCauseTypeUnexpectedServerResponse CauseType = \"UnexpectedServerResponse\"\n)\n```\n\n```go\ntype Duration struct {\n\ttime.Duration `protobuf:\"varint,1,opt,name=duration,casttype=time.Duration\"`\n}\n```\nDuration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.\n\n```go\nfunc (*Duration) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Duration) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (d Duration) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements the json.Marshaler interface.\n\n```go\nfunc (m *Duration) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Duration) ProtoMessage()\n```\n\n```go\nfunc (m *Duration) Reset()\n```\n\n```go\nfunc (m *Duration) Size() (n int)\n```\n\n```go\nfunc (this *Duration) String() string\n```\n\n```go\nfunc (m *Duration) Unmarshal(data []byte) error\n```\n\n```go\nfunc (d *Duration) UnmarshalJSON(b []byte) error\n```\nUnmarshalJSON implements the json.Unmarshaller interface.\n\n```go\ntype ExportOptions struct {\n\tTypeMeta `json:\",inline\"`\n\t// Should this value be exported.  Export strips fields that a user can not specify.`\n\tExport bool `json:\"export\" protobuf:\"varint,1,opt,name=export\"`\n\t// Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'\n\tExact bool `json:\"exact\" protobuf:\"varint,2,opt,name=exact\"`\n}\n```\nExportOptions is the query options to the standard REST get call.\n\n```go\nfunc (*ExportOptions) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ExportOptions) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ExportOptions) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ExportOptions) ProtoMessage()\n```\n\n```go\nfunc (m *ExportOptions) Reset()\n```\n\n```go\nfunc (m *ExportOptions) Size() (n int)\n```\n\n```go\nfunc (this *ExportOptions) String() string\n```\n\n```go\nfunc (ExportOptions) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *ExportOptions) Unmarshal(data []byte) error\n```\n\n```go\ntype GroupKind struct {\n\tGroup string `protobuf:\"bytes,1,opt,name=group\"`\n\tKind  string `protobuf:\"bytes,2,opt,name=kind\"`\n}\n```\nGroupKind specifies a Group and a Kind, but does not force a version.  This is useful for identifying concepts during lookup stages without having partially valid types\n\n\\+protobuf.options.(gogoproto.goproto\\_stringer)=false\n\n```go\nfunc Kind(kind string) GroupKind\n```\nKind takes an unqualified kind and returns a Group qualified GroupKind\n\n```go\nfunc (*GroupKind) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (gk GroupKind) Empty() bool\n```\n\n```go\nfunc (m *GroupKind) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GroupKind) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GroupKind) ProtoMessage()\n```\n\n```go\nfunc (m *GroupKind) Reset()\n```\n\n```go\nfunc (m *GroupKind) Size() (n int)\n```\n\n```go\nfunc (gk *GroupKind) String() string\n```\n\n```go\nfunc (m *GroupKind) Unmarshal(data []byte) error\n```\n\n```go\nfunc (gk GroupKind) WithVersion(version string) GroupVersionKind\n```\n\n```go\ntype GroupResource struct {\n\tGroup    string `protobuf:\"bytes,1,opt,name=group\"`\n\tResource string `protobuf:\"bytes,2,opt,name=resource\"`\n}\n```\nGroupResource specifies a Group and a Resource, but does not force a version.  This is useful for identifying concepts during lookup stages without having partially valid types\n\n\\+protobuf.options.(gogoproto.goproto\\_stringer)=false\n\n```go\nfunc ParseGroupResource(gr string) GroupResource\n```\nParseGroupResource turns \"resource.group\" string into a GroupResource struct.  Empty strings are allowed for each field.\n\n```go\nfunc (*GroupResource) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (gr GroupResource) Empty() bool\n```\n\n```go\nfunc (m *GroupResource) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GroupResource) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GroupResource) ProtoMessage()\n```\n\n```go\nfunc (m *GroupResource) Reset()\n```\n\n```go\nfunc (m *GroupResource) Size() (n int)\n```\n\n```go\nfunc (gr *GroupResource) String() string\n```\n\n```go\nfunc (m *GroupResource) Unmarshal(data []byte) error\n```\n\n```go\nfunc (gr GroupResource) WithVersion(version string) GroupVersionResource\n```\n\n```go\ntype GroupVersion struct {\n\tGroup   string `protobuf:\"bytes,1,opt,name=group\"`\n\tVersion string `protobuf:\"bytes,2,opt,name=version\"`\n}\n```\nGroupVersion contains the \"group\" and the \"version\", which uniquely identifies the API.\n\n\\+protobuf.options.(gogoproto.goproto\\_stringer)=false\n\n```go\nfunc ParseGroupVersion(gv string) (GroupVersion, error)\n```\nParseGroupVersion turns \"group/version\" string into a GroupVersion struct. It reports error if it cannot parse the string.\n\n```go\nfunc (*GroupVersion) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (gv GroupVersion) Empty() bool\n```\nEmpty returns true if group and version are empty\n\n```go\nfunc (gv GroupVersion) KindForGroupVersionKinds(kinds []GroupVersionKind) (target GroupVersionKind, ok bool)\n```\nKindForGroupVersionKinds identifies the preferred GroupVersionKind out of a list. It returns ok false if none of the options match the group. It prefers a match to group and version over just group. TODO: Move GroupVersion to a package under pkg/runtime, since it's used by scheme. TODO: Introduce an adapter type between GroupVersion and runtime.GroupVersioner, and use LegacyCodec(GroupVersion)\n\n\tin fewer places.\n\n```go\nfunc (m *GroupVersion) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (gv GroupVersion) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements the json.Marshaller interface.\n\n```go\nfunc (m *GroupVersion) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GroupVersion) ProtoMessage()\n```\n\n```go\nfunc (m *GroupVersion) Reset()\n```\n\n```go\nfunc (m *GroupVersion) Size() (n int)\n```\n\n```go\nfunc (gv GroupVersion) String() string\n```\nString puts \"group\" and \"version\" into a single \"group/version\" string. For the legacy v1 it returns \"v1\".\n\n```go\nfunc (m *GroupVersion) Unmarshal(data []byte) error\n```\n\n```go\nfunc (gv *GroupVersion) UnmarshalJSON(value []byte) error\n```\nUnmarshalJSON implements the json.Unmarshaller interface.\n\n```go\nfunc (gv *GroupVersion) UnmarshalText(value []byte) error\n```\nUnmarshalTEXT implements the Ugorji's encoding.TextUnmarshaler interface.\n\n```go\nfunc (gv GroupVersion) WithKind(kind string) GroupVersionKind\n```\nWithKind creates a GroupVersionKind based on the method receiver's GroupVersion and the passed Kind.\n\n```go\nfunc (gv GroupVersion) WithResource(resource string) GroupVersionResource\n```\nWithResource creates a GroupVersionResource based on the method receiver's GroupVersion and the passed Resource.\n\n```go\ntype GroupVersionForDiscovery struct {\n\t// groupVersion specifies the API group and version in the form \"group/version\"\n\tGroupVersion string `json:\"groupVersion\" protobuf:\"bytes,1,opt,name=groupVersion\"`\n\t// version specifies the version in the form of \"version\". This is to save\n\t// the clients the trouble of splitting the GroupVersion.\n\tVersion string `json:\"version\" protobuf:\"bytes,2,opt,name=version\"`\n}\n```\nGroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.\n\n```go\nfunc (*GroupVersionForDiscovery) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GroupVersionForDiscovery) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GroupVersionForDiscovery) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GroupVersionForDiscovery) ProtoMessage()\n```\n\n```go\nfunc (m *GroupVersionForDiscovery) Reset()\n```\n\n```go\nfunc (m *GroupVersionForDiscovery) Size() (n int)\n```\n\n```go\nfunc (this *GroupVersionForDiscovery) String() string\n```\n\n```go\nfunc (GroupVersionForDiscovery) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *GroupVersionForDiscovery) Unmarshal(data []byte) error\n```\n\n```go\ntype GroupVersionKind struct {\n\tGroup   string `protobuf:\"bytes,1,opt,name=group\"`\n\tVersion string `protobuf:\"bytes,2,opt,name=version\"`\n\tKind    string `protobuf:\"bytes,3,opt,name=kind\"`\n}\n```\nGroupVersionKind unambiguously identifies a kind.  It doesn't anonymously include GroupVersion to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling\n\n\\+protobuf.options.(gogoproto.goproto\\_stringer)=false\n\n```go\nfunc FromAPIVersionAndKind(apiVersion, kind string) GroupVersionKind\n```\nFromAPIVersionAndKind returns a GVK representing the provided fields for types that do not use TypeMeta. This method exists to support test types and legacy serializations that have a distinct group and kind. TODO: further reduce usage of this method.\n\n```go\nfunc (*GroupVersionKind) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (gvk GroupVersionKind) Empty() bool\n```\nEmpty returns true if group, version, and kind are empty\n\n```go\nfunc (gvk GroupVersionKind) GroupKind() GroupKind\n```\n\n```go\nfunc (gvk GroupVersionKind) GroupVersion() GroupVersion\n```\n\n```go\nfunc (m *GroupVersionKind) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GroupVersionKind) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GroupVersionKind) ProtoMessage()\n```\n\n```go\nfunc (m *GroupVersionKind) Reset()\n```\n\n```go\nfunc (m *GroupVersionKind) Size() (n int)\n```\n\n```go\nfunc (gvk GroupVersionKind) String() string\n```\n\n```go\nfunc (gvk *GroupVersionKind) ToAPIVersionAndKind() (string, string)\n```\nToAPIVersionAndKind is a convenience method for satisfying runtime.Object on types that do not use TypeMeta.\n\n```go\nfunc (m *GroupVersionKind) Unmarshal(data []byte) error\n```\n\n```go\ntype GroupVersionResource struct {\n\tGroup    string `protobuf:\"bytes,1,opt,name=group\"`\n\tVersion  string `protobuf:\"bytes,2,opt,name=version\"`\n\tResource string `protobuf:\"bytes,3,opt,name=resource\"`\n}\n```\nGroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion to avoid automatic coersion.  It doesn't use a GroupVersion to avoid custom marshalling\n\n\\+protobuf.options.(gogoproto.goproto\\_stringer)=false\n\n```go\nfunc (*GroupVersionResource) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (gvr GroupVersionResource) Empty() bool\n```\n\n```go\nfunc (gvr GroupVersionResource) GroupResource() GroupResource\n```\n\n```go\nfunc (gvr GroupVersionResource) GroupVersion() GroupVersion\n```\n\n```go\nfunc (m *GroupVersionResource) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *GroupVersionResource) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*GroupVersionResource) ProtoMessage()\n```\n\n```go\nfunc (m *GroupVersionResource) Reset()\n```\n\n```go\nfunc (m *GroupVersionResource) Size() (n int)\n```\n\n```go\nfunc (gvr *GroupVersionResource) String() string\n```\n\n```go\nfunc (m *GroupVersionResource) Unmarshal(data []byte) error\n```\n\n```go\ntype GroupVersions []GroupVersion\n```\nGroupVersions can be used to represent a set of desired group versions. TODO: Move GroupVersions to a package under pkg/runtime, since it's used by scheme. TODO: Introduce an adapter type between GroupVersions and runtime.GroupVersioner, and use LegacyCodec(GroupVersion)\n\n\tin fewer places.\n\n```go\nfunc (gvs GroupVersions) KindForGroupVersionKinds(kinds []GroupVersionKind) (GroupVersionKind, bool)\n```\nKindForGroupVersionKinds identifies the preferred GroupVersionKind out of a list. It returns ok false if none of the options match the group.\n\n```go\ntype LabelSelector struct {\n\t// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\n\t// map is equivalent to an element of matchExpressions, whose key field is \"key\", the\n\t// operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.\n\t// +optional\n\tMatchLabels map[string]string `json:\"matchLabels,omitempty\" protobuf:\"bytes,1,rep,name=matchLabels\"`\n\t// matchExpressions is a list of label selector requirements. The requirements are ANDed.\n\t// +optional\n\tMatchExpressions []LabelSelectorRequirement `json:\"matchExpressions,omitempty\" protobuf:\"bytes,2,rep,name=matchExpressions\"`\n}\n```\nA label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.\n\n```go\nfunc ParseToLabelSelector(selector string) (*LabelSelector, error)\n```\nParseToLabelSelector parses a string representing a selector into a LabelSelector object. Note: This function should be kept in sync with the parser in pkg/labels/selector.go\n\n```go\nfunc SetAsLabelSelector(ls labels.Set) *LabelSelector\n```\nSetAsLabelSelector converts the labels.Set object into a LabelSelector api object.\n\n```go\nfunc (*LabelSelector) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LabelSelector) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *LabelSelector) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*LabelSelector) ProtoMessage()\n```\n\n```go\nfunc (m *LabelSelector) Reset()\n```\n\n```go\nfunc (m *LabelSelector) Size() (n int)\n```\n\n```go\nfunc (this *LabelSelector) String() string\n```\n\n```go\nfunc (LabelSelector) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *LabelSelector) Unmarshal(data []byte) error\n```\n\n```go\ntype LabelSelectorOperator string\n```\nA label selector operator is the set of operators that can be used in a selector requirement.\n\n```go\nconst (\n\tLabelSelectorOpIn           LabelSelectorOperator = \"In\"\n\tLabelSelectorOpNotIn        LabelSelectorOperator = \"NotIn\"\n\tLabelSelectorOpExists       LabelSelectorOperator = \"Exists\"\n\tLabelSelectorOpDoesNotExist LabelSelectorOperator = \"DoesNotExist\"\n)\n```\n\n```go\ntype LabelSelectorRequirement struct {\n\t// key is the label key that the selector applies to.\n\tKey string `json:\"key\" patchStrategy:\"merge\" patchMergeKey:\"key\" protobuf:\"bytes,1,opt,name=key\"`\n\t// operator represents a key's relationship to a set of values.\n\t// Valid operators ard In, NotIn, Exists and DoesNotExist.\n\tOperator LabelSelectorOperator `json:\"operator\" protobuf:\"bytes,2,opt,name=operator,casttype=LabelSelectorOperator\"`\n\t// values is an array of string values. If the operator is In or NotIn,\n\t// the values array must be non-empty. If the operator is Exists or DoesNotExist,\n\t// the values array must be empty. This array is replaced during a strategic\n\t// merge patch.\n\t// +optional\n\tValues []string `json:\"values,omitempty\" protobuf:\"bytes,3,rep,name=values\"`\n}\n```\nA label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.\n\n```go\nfunc (*LabelSelectorRequirement) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LabelSelectorRequirement) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *LabelSelectorRequirement) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*LabelSelectorRequirement) ProtoMessage()\n```\n\n```go\nfunc (m *LabelSelectorRequirement) Reset()\n```\n\n```go\nfunc (m *LabelSelectorRequirement) Size() (n int)\n```\n\n```go\nfunc (this *LabelSelectorRequirement) String() string\n```\n\n```go\nfunc (LabelSelectorRequirement) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *LabelSelectorRequirement) Unmarshal(data []byte) error\n```\n\n```go\ntype List interface {\n\tGetResourceVersion() string\n\tSetResourceVersion(version string)\n\tGetSelfLink() string\n\tSetSelfLink(selfLink string)\n}\n```\nList lets you work with list metadata from any of the versioned or internal API objects. Attempting to set or retrieve a field on an object that does not support that field will be a no-op and return a default value. TODO: move this, and TypeMeta and ListMeta, to a different package\n\n```go\ntype ListMeta struct {\n\t// SelfLink is a URL representing this object.\n\t// Populated by the system.\n\t// Read-only.\n\t// +optional\n\tSelfLink string `json:\"selfLink,omitempty\" protobuf:\"bytes,1,opt,name=selfLink\"`\n\n\t// String that identifies the server's internal version of this object that\n\t// can be used by clients to determine when objects have changed.\n\t// Value must be treated as opaque by clients and passed unmodified back to the server.\n\t// Populated by the system.\n\t// Read-only.\n\t// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency\n\t// +optional\n\tResourceVersion string `json:\"resourceVersion,omitempty\" protobuf:\"bytes,2,opt,name=resourceVersion\"`\n}\n```\nListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.\n\n```go\nfunc (*ListMeta) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (obj *ListMeta) GetListMeta() List\n```\n\n```go\nfunc (meta *ListMeta) GetResourceVersion() string\n```\n\n```go\nfunc (meta *ListMeta) GetSelfLink() string\n```\n\n```go\nfunc (m *ListMeta) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ListMeta) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ListMeta) ProtoMessage()\n```\n\n```go\nfunc (m *ListMeta) Reset()\n```\n\n```go\nfunc (meta *ListMeta) SetResourceVersion(version string)\n```\n\n```go\nfunc (meta *ListMeta) SetSelfLink(selfLink string)\n```\n\n```go\nfunc (m *ListMeta) Size() (n int)\n```\n\n```go\nfunc (this *ListMeta) String() string\n```\n\n```go\nfunc (ListMeta) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *ListMeta) Unmarshal(data []byte) error\n```\n\n```go\ntype ListMetaAccessor interface {\n\tGetListMeta() List\n}\n```\nListMetaAccessor retrieves the list interface from an object TODO: move this, and TypeMeta and ListMeta, to a different package\n\n```go\ntype ObjectKind interface {\n\t// SetGroupVersionKind sets or clears the intended serialized kind of an object. Passing kind nil\n\t// should clear the current setting.\n\tSetGroupVersionKind(kind GroupVersionKind)\n\t// GroupVersionKind returns the stored group, version, and kind of an object, or nil if the object does\n\t// not expose or provide these fields.\n\tGroupVersionKind() GroupVersionKind\n}\n```\nAll objects that are serialized from a Scheme encode their type information. This interface is used by serialization to set type information from the Scheme onto the serialized version of an object. For objects that cannot be serialized or have unique requirements, this interface may be a no-op. TODO: this belongs in pkg/runtime, move unversioned.GVK into runtime.\n\n```go\ntype Patch struct{}\n```\nPatch is provided to give a concrete name and type to the Kubernetes PATCH request body.\n\n```go\nfunc (Patch) SwaggerDoc() map[string]string\n```\n\n```go\ntype RootPaths struct {\n\t// paths are the paths available at root.\n\tPaths []string `json:\"paths\" protobuf:\"bytes,1,rep,name=paths\"`\n}\n```\nRootPaths lists the paths available at root. For example: \"/healthz\", \"/apis\".\n\n```go\nfunc (*RootPaths) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *RootPaths) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *RootPaths) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*RootPaths) ProtoMessage()\n```\n\n```go\nfunc (m *RootPaths) Reset()\n```\n\n```go\nfunc (m *RootPaths) Size() (n int)\n```\n\n```go\nfunc (this *RootPaths) String() string\n```\n\n```go\nfunc (RootPaths) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *RootPaths) Unmarshal(data []byte) error\n```\n\n```go\ntype ServerAddressByClientCIDR struct {\n\t// The CIDR with which clients can match their IP to figure out the server address that they should use.\n\tClientCIDR string `json:\"clientCIDR\" protobuf:\"bytes,1,opt,name=clientCIDR\"`\n\t// Address of this server, suitable for a client that matches the above CIDR.\n\t// This can be a hostname, hostname:port, IP or IP:port.\n\tServerAddress string `json:\"serverAddress\" protobuf:\"bytes,2,opt,name=serverAddress\"`\n}\n```\nServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.\n\n```go\nfunc (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ServerAddressByClientCIDR) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *ServerAddressByClientCIDR) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*ServerAddressByClientCIDR) ProtoMessage()\n```\n\n```go\nfunc (m *ServerAddressByClientCIDR) Reset()\n```\n\n```go\nfunc (m *ServerAddressByClientCIDR) Size() (n int)\n```\n\n```go\nfunc (this *ServerAddressByClientCIDR) String() string\n```\n\n```go\nfunc (ServerAddressByClientCIDR) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *ServerAddressByClientCIDR) Unmarshal(data []byte) error\n```\n\n```go\ntype Status struct {\n\tTypeMeta `json:\",inline\"`\n\t// Standard list metadata.\n\t// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\n\t// +optional\n\tListMeta `json:\"metadata,omitempty\" protobuf:\"bytes,1,opt,name=metadata\"`\n\n\t// Status of the operation.\n\t// One of: \"Success\" or \"Failure\".\n\t// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status\n\t// +optional\n\tStatus string `json:\"status,omitempty\" protobuf:\"bytes,2,opt,name=status\"`\n\t// A human-readable description of the status of this operation.\n\t// +optional\n\tMessage string `json:\"message,omitempty\" protobuf:\"bytes,3,opt,name=message\"`\n\t// A machine-readable description of why this operation is in the\n\t// \"Failure\" status. If this value is empty there\n\t// is no information available. A Reason clarifies an HTTP status\n\t// code but does not override it.\n\t// +optional\n\tReason StatusReason `json:\"reason,omitempty\" protobuf:\"bytes,4,opt,name=reason,casttype=StatusReason\"`\n\t// Extended data associated with the reason.  Each reason may define its\n\t// own extended details. This field is optional and the data returned\n\t// is not guaranteed to conform to any schema except that defined by\n\t// the reason type.\n\t// +optional\n\tDetails *StatusDetails `json:\"details,omitempty\" protobuf:\"bytes,5,opt,name=details\"`\n\t// Suggested HTTP return code for this status, 0 if not set.\n\t// +optional\n\tCode int32 `json:\"code,omitempty\" protobuf:\"varint,6,opt,name=code\"`\n}\n```\nStatus is a return value for calls that don't return other objects.\n\n```go\nfunc (*Status) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Status) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Status) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Status) ProtoMessage()\n```\n\n```go\nfunc (m *Status) Reset()\n```\n\n```go\nfunc (m *Status) Size() (n int)\n```\n\n```go\nfunc (this *Status) String() string\n```\n\n```go\nfunc (Status) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *Status) Unmarshal(data []byte) error\n```\n\n```go\ntype StatusCause struct {\n\t// A machine-readable description of the cause of the error. If this value is\n\t// empty there is no information available.\n\t// +optional\n\tType CauseType `json:\"reason,omitempty\" protobuf:\"bytes,1,opt,name=reason,casttype=CauseType\"`\n\t// A human-readable description of the cause of the error.  This field may be\n\t// presented as-is to a reader.\n\t// +optional\n\tMessage string `json:\"message,omitempty\" protobuf:\"bytes,2,opt,name=message\"`\n\t// The field of the resource that has caused this error, as named by its JSON\n\t// serialization. May include dot and postfix notation for nested attributes.\n\t// Arrays are zero-indexed.  Fields may appear more than once in an array of\n\t// causes due to fields having multiple errors.\n\t// Optional.\n\t//\n\t// Examples:\n\t//   \"name\" - the field \"name\" on the current resource\n\t//   \"items[0].name\" - the field \"name\" on the first array entry in \"items\"\n\t// +optional\n\tField string `json:\"field,omitempty\" protobuf:\"bytes,3,opt,name=field\"`\n}\n```\nStatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.\n\n```go\nfunc (*StatusCause) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StatusCause) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *StatusCause) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*StatusCause) ProtoMessage()\n```\n\n```go\nfunc (m *StatusCause) Reset()\n```\n\n```go\nfunc (m *StatusCause) Size() (n int)\n```\n\n```go\nfunc (this *StatusCause) String() string\n```\n\n```go\nfunc (StatusCause) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *StatusCause) Unmarshal(data []byte) error\n```\n\n```go\ntype StatusDetails struct {\n\t// The name attribute of the resource associated with the status StatusReason\n\t// (when there is a single name which can be described).\n\t// +optional\n\tName string `json:\"name,omitempty\" protobuf:\"bytes,1,opt,name=name\"`\n\t// The group attribute of the resource associated with the status StatusReason.\n\t// +optional\n\tGroup string `json:\"group,omitempty\" protobuf:\"bytes,2,opt,name=group\"`\n\t// The kind attribute of the resource associated with the status StatusReason.\n\t// On some operations may differ from the requested resource Kind.\n\t// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\n\t// +optional\n\tKind string `json:\"kind,omitempty\" protobuf:\"bytes,3,opt,name=kind\"`\n\t// The Causes array includes more details associated with the StatusReason\n\t// failure. Not all StatusReasons may provide detailed causes.\n\t// +optional\n\tCauses []StatusCause `json:\"causes,omitempty\" protobuf:\"bytes,4,rep,name=causes\"`\n\t// If specified, the time in seconds before the operation should be retried.\n\t// +optional\n\tRetryAfterSeconds int32 `json:\"retryAfterSeconds,omitempty\" protobuf:\"varint,5,opt,name=retryAfterSeconds\"`\n}\n```\nStatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.\n\n```go\nfunc (*StatusDetails) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StatusDetails) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *StatusDetails) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*StatusDetails) ProtoMessage()\n```\n\n```go\nfunc (m *StatusDetails) Reset()\n```\n\n```go\nfunc (m *StatusDetails) Size() (n int)\n```\n\n```go\nfunc (this *StatusDetails) String() string\n```\n\n```go\nfunc (StatusDetails) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *StatusDetails) Unmarshal(data []byte) error\n```\n\n```go\ntype StatusReason string\n```\nStatusReason is an enumeration of possible failure causes.  Each StatusReason must map to a single HTTP status code, but multiple reasons may map to the same HTTP status code. TODO: move to apiserver\n\n```go\nconst (\n\t// StatusReasonUnknown means the server has declined to indicate a specific reason.\n\t// The details field may contain other information about this error.\n\t// Status code 500.\n\tStatusReasonUnknown StatusReason = \"\"\n\n\t// StatusReasonUnauthorized means the server can be reached and understood the request, but requires\n\t// the user to present appropriate authorization credentials (identified by the WWW-Authenticate header)\n\t// in order for the action to be completed. If the user has specified credentials on the request, the\n\t// server considers them insufficient.\n\t// Status code 401\n\tStatusReasonUnauthorized StatusReason = \"Unauthorized\"\n\n\t// StatusReasonForbidden means the server can be reached and understood the request, but refuses\n\t// to take any further action.  It is the result of the server being configured to deny access for some reason\n\t// to the requested resource by the client.\n\t// Details (optional):\n\t//   \"kind\" string - the kind attribute of the forbidden resource\n\t//                   on some operations may differ from the requested\n\t//                   resource.\n\t//   \"id\"   string - the identifier of the forbidden resource\n\t// Status code 403\n\tStatusReasonForbidden StatusReason = \"Forbidden\"\n\n\t// StatusReasonNotFound means one or more resources required for this operation\n\t// could not be found.\n\t// Details (optional):\n\t//   \"kind\" string - the kind attribute of the missing resource\n\t//                   on some operations may differ from the requested\n\t//                   resource.\n\t//   \"id\"   string - the identifier of the missing resource\n\t// Status code 404\n\tStatusReasonNotFound StatusReason = \"NotFound\"\n\n\t// StatusReasonAlreadyExists means the resource you are creating already exists.\n\t// Details (optional):\n\t//   \"kind\" string - the kind attribute of the conflicting resource\n\t//   \"id\"   string - the identifier of the conflicting resource\n\t// Status code 409\n\tStatusReasonAlreadyExists StatusReason = \"AlreadyExists\"\n\n\t// StatusReasonConflict means the requested operation cannot be completed\n\t// due to a conflict in the operation. The client may need to alter the\n\t// request. Each resource may define custom details that indicate the\n\t// nature of the conflict.\n\t// Status code 409\n\tStatusReasonConflict StatusReason = \"Conflict\"\n\n\t// StatusReasonGone means the item is no longer available at the server and no\n\t// forwarding address is known.\n\t// Status code 410\n\tStatusReasonGone StatusReason = \"Gone\"\n\n\t// StatusReasonInvalid means the requested create or update operation cannot be\n\t// completed due to invalid data provided as part of the request. The client may\n\t// need to alter the request. When set, the client may use the StatusDetails\n\t// message field as a summary of the issues encountered.\n\t// Details (optional):\n\t//   \"kind\" string - the kind attribute of the invalid resource\n\t//   \"id\"   string - the identifier of the invalid resource\n\t//   \"causes\"      - one or more StatusCause entries indicating the data in the\n\t//                   provided resource that was invalid.  The code, message, and\n\t//                   field attributes will be set.\n\t// Status code 422\n\tStatusReasonInvalid StatusReason = \"Invalid\"\n\n\t// StatusReasonServerTimeout means the server can be reached and understood the request,\n\t// but cannot complete the action in a reasonable time. The client should retry the request.\n\t// This is may be due to temporary server load or a transient communication issue with\n\t// another server. Status code 500 is used because the HTTP spec provides no suitable\n\t// server-requested client retry and the 5xx class represents actionable errors.\n\t// Details (optional):\n\t//   \"kind\" string - the kind attribute of the resource being acted on.\n\t//   \"id\"   string - the operation that is being attempted.\n\t//   \"retryAfterSeconds\" int32 - the number of seconds before the operation should be retried\n\t// Status code 500\n\tStatusReasonServerTimeout StatusReason = \"ServerTimeout\"\n\n\t// StatusReasonTimeout means that the request could not be completed within the given time.\n\t// Clients can get this response only when they specified a timeout param in the request,\n\t// or if the server cannot complete the operation within a reasonable amount of time.\n\t// The request might succeed with an increased value of timeout param. The client *should*\n\t// wait at least the number of seconds specified by the retryAfterSeconds field.\n\t// Details (optional):\n\t//   \"retryAfterSeconds\" int32 - the number of seconds before the operation should be retried\n\t// Status code 504\n\tStatusReasonTimeout StatusReason = \"Timeout\"\n\n\t// StatusReasonBadRequest means that the request itself was invalid, because the request\n\t// doesn't make any sense, for example deleting a read-only object.  This is different than\n\t// StatusReasonInvalid above which indicates that the API call could possibly succeed, but the\n\t// data was invalid.  API calls that return BadRequest can never succeed.\n\tStatusReasonBadRequest StatusReason = \"BadRequest\"\n\n\t// StatusReasonMethodNotAllowed means that the action the client attempted to perform on the\n\t// resource was not supported by the code - for instance, attempting to delete a resource that\n\t// can only be created. API calls that return MethodNotAllowed can never succeed.\n\tStatusReasonMethodNotAllowed StatusReason = \"MethodNotAllowed\"\n\n\t// StatusReasonInternalError indicates that an internal error occurred, it is unexpected\n\t// and the outcome of the call is unknown.\n\t// Details (optional):\n\t//   \"causes\" - The original error\n\t// Status code 500\n\tStatusReasonInternalError StatusReason = \"InternalError\"\n\n\t// StatusReasonExpired indicates that the request is invalid because the content you are requesting\n\t// has expired and is no longer available. It is typically associated with watches that can't be\n\t// serviced.\n\t// Status code 410 (gone)\n\tStatusReasonExpired StatusReason = \"Expired\"\n\n\t// StatusReasonServiceUnavailable means that the request itself was valid,\n\t// but the requested service is unavailable at this time.\n\t// Retrying the request after some time might succeed.\n\t// Status code 503\n\tStatusReasonServiceUnavailable StatusReason = \"ServiceUnavailable\"\n)\n```\n\n```go\ntype Time struct {\n\ttime.Time `protobuf:\"-\"`\n}\n```\nTime is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.\n\n\\+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto\\_stringer)=false\n\n```go\nfunc Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) Time\n```\nDate returns the Time corresponding to the supplied parameters by wrapping time.Date.\n\n```go\nfunc NewTime(time time.Time) Time\n```\nNewTime returns a wrapped instance of the provided time\n\n```go\nfunc Now() Time\n```\nNow returns the current local time.\n\n```go\nfunc Unix(sec int64, nsec int64) Time\n```\nUnix returns the local time corresponding to the given Unix time by wrapping time.Unix.\n\n```go\nfunc (t Time) Before(u Time) bool\n```\nBefore reports whether the time instant t is before u.\n\n```go\nfunc (t Time) DeepCopy() Time\n```\nDeepCopy returns a deep-copy of the Time value.  The underlying time.Time type is effectively immutable in the time API, so it is safe to copy-by-assign, despite the presence of (unexported) Pointer fields.\n\n```go\nfunc (*Time) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (t Time) Equal(u Time) bool\n```\nEqual reports whether the time instant t is equal to u.\n\n```go\nfunc (t *Time) Fuzz(c fuzz.Continue)\n```\nFuzz satisfies fuzz.Interface.\n\n```go\nfunc (t *Time) IsZero() bool\n```\nIsZero returns true if the value is nil or time is zero.\n\n```go\nfunc (m *Time) Marshal() (data []byte, err error)\n```\nMarshal implements the protobuf marshalling interface.\n\n```go\nfunc (t Time) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements the json.Marshaler interface.\n\n```go\nfunc (t Time) MarshalQueryParameter() (string, error)\n```\nMarshalQueryParameter converts to a URL query parameter value\n\n```go\nfunc (m *Time) MarshalTo(data []byte) (int, error)\n```\nMarshalTo implements the protobuf marshalling interface.\n\n```go\nfunc (_ Time) OpenAPIDefinition() common.OpenAPIDefinition\n```\n\n```go\nfunc (*Time) ProtoMessage()\n```\n\n```go\nfunc (m *Time) ProtoTime() *Timestamp\n```\nTimestamp returns the Time as a new Timestamp value.\n\n```go\nfunc (m *Time) Reset()\n```\n\n```go\nfunc (t Time) Rfc3339Copy() Time\n```\nRfc3339Copy returns a copy of the Time at second-level precision.\n\n```go\nfunc (m *Time) Size() (n int)\n```\nSize implements the protobuf marshalling interface.\n\n```go\nfunc (t Time) String() string\n```\nString returns the representation of the time.\n\n```go\nfunc (m *Time) Unmarshal(data []byte) error\n```\nReset implements the protobuf marshalling interface.\n\n```go\nfunc (t *Time) UnmarshalJSON(b []byte) error\n```\nUnmarshalJSON implements the json.Unmarshaller interface.\n\n```go\nfunc (t *Time) UnmarshalQueryParameter(str string) error\n```\nUnmarshalQueryParameter converts from a URL query parameter value to an object\n\n```go\ntype Timestamp struct {\n\t// Represents seconds of UTC time since Unix epoch\n\t// 1970-01-01T00:00:00Z. Must be from from 0001-01-01T00:00:00Z to\n\t// 9999-12-31T23:59:59Z inclusive.\n\tSeconds int64 `json:\"seconds\" protobuf:\"varint,1,opt,name=seconds\"`\n\t// Non-negative fractions of a second at nanosecond resolution. Negative\n\t// second values with fractions must still have non-negative nanos values\n\t// that count forward in time. Must be from 0 to 999,999,999\n\t// inclusive. This field may be limited in precision depending on context.\n\tNanos int32 `json:\"nanos\" protobuf:\"varint,2,opt,name=nanos\"`\n}\n```\nTimestamp is a struct that is equivalent to Time, but intended for protobuf marshalling/unmarshalling. It is generated into a serialization that matches Time. Do not use in Go structs.\n\n```go\nfunc (*Timestamp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Timestamp) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *Timestamp) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*Timestamp) ProtoMessage()\n```\n\n```go\nfunc (m *Timestamp) Reset()\n```\n\n```go\nfunc (m *Timestamp) Size() (n int)\n```\n\n```go\nfunc (this *Timestamp) String() string\n```\n\n```go\nfunc (m *Timestamp) Unmarshal(data []byte) error\n```\n\n```go\ntype Type interface {\n\tGetAPIVersion() string\n\tSetAPIVersion(version string)\n\tGetKind() string\n\tSetKind(kind string)\n}\n```\nType exposes the type and APIVersion of versioned or internal API objects. TODO: move this, and TypeMeta and ListMeta, to a different package\n\n```go\ntype TypeMeta struct {\n\t// Kind is a string value representing the REST resource this object represents.\n\t// Servers may infer this from the endpoint the client submits requests to.\n\t// Cannot be updated.\n\t// In CamelCase.\n\t// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\n\t// +optional\n\tKind string `json:\"kind,omitempty\" protobuf:\"bytes,1,opt,name=kind\"`\n\n\t// APIVersion defines the versioned schema of this representation of an object.\n\t// Servers should convert recognized schemas to the latest internal value, and\n\t// may reject unrecognized values.\n\t// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources\n\t// +optional\n\tAPIVersion string `json:\"apiVersion,omitempty\" protobuf:\"bytes,2,opt,name=apiVersion\"`\n}\n```\nTypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.\n\n```go\nfunc (*TypeMeta) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (obj *TypeMeta) GetObjectKind() ObjectKind\n```\n\n```go\nfunc (obj *TypeMeta) GroupVersionKind() GroupVersionKind\n```\nGroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta\n\n```go\nfunc (m *TypeMeta) Marshal() (data []byte, err error)\n```\n\n```go\nfunc (m *TypeMeta) MarshalTo(data []byte) (int, error)\n```\n\n```go\nfunc (*TypeMeta) ProtoMessage()\n```\n\n```go\nfunc (m *TypeMeta) Reset()\n```\n\n```go\nfunc (obj *TypeMeta) SetGroupVersionKind(gvk GroupVersionKind)\n```\nSetGroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta\n\n```go\nfunc (m *TypeMeta) Size() (n int)\n```\n\n```go\nfunc (this *TypeMeta) String() string\n```\n\n```go\nfunc (TypeMeta) SwaggerDoc() map[string]string\n```\n\n```go\nfunc (m *TypeMeta) Unmarshal(data []byte) error\n```\n\n","path":"github.com/UnityTech/client-go/pkg/api/unversioned","name":"unversioned","synopsis":"Package unversioned is a generated protocol buffer package.","isRedistributable":true}
