config

package
v0.0.0-...-efe589a Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "kubescheduler.config.k8s.io"

GroupName is the group name used in this package

Variables

View Source
var (

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = localSchemeBuilder.AddToScheme //1
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type NetworkTrafficArgs

type NetworkTrafficArgs struct {
	metav1.TypeMeta

	// Address of the Prometheus Server
	Address string `json:"prometheusAddress"`
	// NetworkInterface to be monitored, assume that nodes OS is homogeneous
	NetworkInterface string `json:"networkInterface"`
	// TimeRangeInMinutes used to aggregate the network metrics
	TimeRangeInMinutes int64 `json:"timeRangeInMinutes"`
}

NetworkTrafficArgs holds arguments used to configure NetworkTraffic plugin.

func (*NetworkTrafficArgs) DeepCopy

func (in *NetworkTrafficArgs) DeepCopy() *NetworkTrafficArgs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkTrafficArgs.

func (*NetworkTrafficArgs) DeepCopyInto

func (in *NetworkTrafficArgs) DeepCopyInto(out *NetworkTrafficArgs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetworkTrafficArgs) DeepCopyObject

func (in *NetworkTrafficArgs) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Directories

Path Synopsis
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.

Jump to

Keyboard shortcuts

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