Documentation ¶
Index ¶
Constants ¶
const GroupName = "shoot-networking-problemdetector.extensions.config.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = SchemeBuilder.AddToScheme )
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 Configuration ¶
type Configuration struct { metav1.TypeMeta // NetworkProblemDetector contains the configuration for the network problem detector NetworkProblemDetector *NetworkProblemDetector // HealthCheckConfig is the config for the health check controller. HealthCheckConfig *healthcheckconfig.HealthCheckConfig }
Configuration contains information about the network problem detector configuration.
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type K8sExporter ¶
type K8sExporter struct { // Enabled if true, the K8s exporter is active Enabled bool // HeartbeatPeriod defines the update frequency of the node conditions. HeartbeatPeriod *metav1.Duration MinFailingPeerNodeShare *float64 }
K8sExporter contains information for the K8s exporter which patches the node conditions periodically if enabled.
func (*K8sExporter) DeepCopy ¶
func (in *K8sExporter) DeepCopy() *K8sExporter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sExporter.
func (*K8sExporter) DeepCopyInto ¶
func (in *K8sExporter) DeepCopyInto(out *K8sExporter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkProblemDetector ¶
type NetworkProblemDetector struct { // DefaultPeriod optionally overrides the default period for jobs running in the agent. DefaultPeriod *metav1.Duration // MaxPeerNodes optionally overrides the MaxPeerNodes in the agent config (maximum number of is the default period for jobs running in the agent. MaxPeerNodes *int // PingEnabled is a flag if ICMP ping checks should be performed. PingEnabled *bool // K8sExporter configures the K8s exporter for updating node conditions and creating events. K8sExporter *K8sExporter }
NetworkProblemDetector contains the configuration for the network problem detector.
func (*NetworkProblemDetector) DeepCopy ¶
func (in *NetworkProblemDetector) DeepCopy() *NetworkProblemDetector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkProblemDetector.
func (*NetworkProblemDetector) DeepCopyInto ¶
func (in *NetworkProblemDetector) DeepCopyInto(out *NetworkProblemDetector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.