{"modulePath":"github.com/UnityTech/client-go","version":"v11.0.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package scheme\n\nPackage scheme contains a runtime.Scheme to be used for serializing and deserializing different versions of Scale, and for converting in between them.\n\n## Constants\n\n```go\nconst GroupName = autoscalingv1.GroupName\n```\nGroupName is the group name use in this package\n\n## Variables\n\n```go\nvar (\n\tSchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)\n\tAddToScheme   = SchemeBuilder.AddToScheme\n)\n```\n\n```go\nvar SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}\n```\nSchemeGroupVersion is group version used to register these objects\n\n## Functions\n\n```go\nfunc Kind(kind string) schema.GroupKind\n```\nKind takes an unqualified kind and returns a Group qualified GroupKind\n\n```go\nfunc Resource(resource string) schema.GroupResource\n```\nResource takes an unqualified resource and returns a Group qualified GroupResource\n\n## Types\n\n```go\ntype Scale struct {\n\tmetav1.TypeMeta\n\t// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.\n\t// +optional\n\tSpec ScaleSpec\n\n\t// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.\n\t// +optional\n\tStatus ScaleStatus\n}\n```\nScale represents a scaling request for a resource.\n\n```go\nfunc (in *Scale) DeepCopy() *Scale\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.\n\n```go\nfunc (in *Scale) DeepCopyInto(out *Scale)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\nfunc (in *Scale) DeepCopyObject() runtime.Object\n```\nDeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.\n\n```go\ntype ScaleSpec struct {\n\t// desired number of instances for the scaled object.\n\t// +optional\n\tReplicas int32\n}\n```\nScaleSpec describes the attributes of a scale subresource.\n\n```go\nfunc (in *ScaleSpec) DeepCopy() *ScaleSpec\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.\n\n```go\nfunc (in *ScaleSpec) DeepCopyInto(out *ScaleSpec)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\ntype ScaleStatus struct {\n\t// actual number of observed instances of the scaled object.\n\tReplicas int32\n\n\t// label query over pods that should match the replicas count.\n\t// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors\n\t// +optional\n\tSelector *metav1.LabelSelector\n}\n```\nScaleStatus represents the current status of a scale subresource.\n\n```go\nfunc (in *ScaleStatus) DeepCopy() *ScaleStatus\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.\n\n```go\nfunc (in *ScaleStatus) DeepCopyInto(out *ScaleStatus)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n","path":"github.com/UnityTech/client-go/scale/scheme","name":"scheme","synopsis":"Package scheme contains a runtime.Scheme to be used for serializing and deserializing different versions of Scale, and for converting in between them.","isRedistributable":true}
