Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type DeschedulerConfiguration
- func (x *DeschedulerConfiguration) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *DeschedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder)
- func (in *DeschedulerConfiguration) DeepCopy() *DeschedulerConfiguration
- func (in *DeschedulerConfiguration) DeepCopyInto(out *DeschedulerConfiguration)
- func (in *DeschedulerConfiguration) DeepCopyObject() runtime.Object
Constants ¶
View Source
const GroupName = "deschedulercomponentconfig"
GroupName is the group name used in this package
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type DeschedulerConfiguration ¶
type DeschedulerConfiguration struct { metav1.TypeMeta // Time interval for descheduler to run DeschedulingInterval time.Duration // KubeconfigFile is path to kubeconfig file with authorization and master // location information. KubeconfigFile string // PolicyConfigFile is the filepath to the descheduler policy configuration. PolicyConfigFile string // Dry run DryRun bool // Node selectors NodeSelector string }
func (*DeschedulerConfiguration) CodecDecodeSelf ¶
func (x *DeschedulerConfiguration) CodecDecodeSelf(d *codec1978.Decoder)
func (*DeschedulerConfiguration) CodecEncodeSelf ¶
func (x *DeschedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder)
func (*DeschedulerConfiguration) DeepCopy ¶ added in v0.4.0
func (in *DeschedulerConfiguration) DeepCopy() *DeschedulerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeschedulerConfiguration.
func (*DeschedulerConfiguration) DeepCopyInto ¶ added in v0.4.0
func (in *DeschedulerConfiguration) DeepCopyInto(out *DeschedulerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeschedulerConfiguration) DeepCopyObject ¶ added in v0.4.0
func (in *DeschedulerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.