Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_config_NetworkTrafficArgs_To_v1beta1_NetworkTrafficArgs(in *config.NetworkTrafficArgs, out *NetworkTrafficArgs, s conversion.Scope) error
- func Convert_v1beta1_NetworkTrafficArgs_To_config_NetworkTrafficArgs(in *NetworkTrafficArgs, out *config.NetworkTrafficArgs, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func SetDefaultNetworkTrafficArgs(args *NetworkTrafficArgs)
- type NetworkTrafficArgs
Constants ¶
const GroupName = "kubescheduler.config.k8s.io"
GroupName is the group name used in this package
Variables ¶
var (
// AddToScheme is a global function that registers this API group & version to a scheme
AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_NetworkTrafficArgs_To_v1beta1_NetworkTrafficArgs ¶
func Convert_config_NetworkTrafficArgs_To_v1beta1_NetworkTrafficArgs(in *config.NetworkTrafficArgs, out *NetworkTrafficArgs, s conversion.Scope) error
Convert_config_NetworkTrafficArgs_To_v1beta1_NetworkTrafficArgs is an autogenerated conversion function.
func Convert_v1beta1_NetworkTrafficArgs_To_config_NetworkTrafficArgs ¶
func Convert_v1beta1_NetworkTrafficArgs_To_config_NetworkTrafficArgs(in *NetworkTrafficArgs, out *config.NetworkTrafficArgs, s conversion.Scope) error
Convert_v1beta1_NetworkTrafficArgs_To_config_NetworkTrafficArgs is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func SetDefaultNetworkTrafficArgs ¶
func SetDefaultNetworkTrafficArgs(args *NetworkTrafficArgs)
SetDefaultNetworkTrafficArgs sets the default parameters for the NetworkTraffic plugin
Types ¶
type NetworkTrafficArgs ¶
type NetworkTrafficArgs struct { metav1.TypeMeta `json:",inline"` // Address of the Prometheus Server Address *string `json:"prometheusAddress,omitempty"` // NetworkInterface to be monitored, assume that nodes OS is homogeneous NetworkInterface *string `json:"networkInterface,omitempty"` // TimeRangeInMinutes used to aggregate the network metrics TimeRangeInMinutes *int64 `json:"timeRangeInMinutes,omitempty"` }
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.