Documentation ¶
Overview ¶
Package v1alpha1 contains the shoot networking filter extension configuration. +groupName=shoot-networking-problemdetector.extensions.config.gardener.cloud
Index ¶
- Constants
- Variables
- func Convert_config_Configuration_To_v1alpha1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error
- func Convert_config_K8sExporter_To_v1alpha1_K8sExporter(in *config.K8sExporter, out *K8sExporter, s conversion.Scope) error
- func Convert_config_NetworkProblemDetector_To_v1alpha1_NetworkProblemDetector(in *config.NetworkProblemDetector, out *NetworkProblemDetector, ...) error
- func Convert_v1alpha1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error
- func Convert_v1alpha1_K8sExporter_To_config_K8sExporter(in *K8sExporter, out *config.K8sExporter, s conversion.Scope) error
- func Convert_v1alpha1_NetworkProblemDetector_To_config_NetworkProblemDetector(in *NetworkProblemDetector, out *config.NetworkProblemDetector, ...) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_Configuration(obj *Configuration)
- func SetObjectDefaults_Configuration(in *Configuration)
- type Configuration
- type K8sExporter
- type NetworkProblemDetector
Constants ¶
const GroupName = "shoot-networking-problemdetector.extensions.config.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var (
// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_Configuration_To_v1alpha1_Configuration ¶
func Convert_config_Configuration_To_v1alpha1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error
Convert_config_Configuration_To_v1alpha1_Configuration is an autogenerated conversion function.
func Convert_config_K8sExporter_To_v1alpha1_K8sExporter ¶
func Convert_config_K8sExporter_To_v1alpha1_K8sExporter(in *config.K8sExporter, out *K8sExporter, s conversion.Scope) error
Convert_config_K8sExporter_To_v1alpha1_K8sExporter is an autogenerated conversion function.
func Convert_config_NetworkProblemDetector_To_v1alpha1_NetworkProblemDetector ¶
func Convert_config_NetworkProblemDetector_To_v1alpha1_NetworkProblemDetector(in *config.NetworkProblemDetector, out *NetworkProblemDetector, s conversion.Scope) error
Convert_config_NetworkProblemDetector_To_v1alpha1_NetworkProblemDetector is an autogenerated conversion function.
func Convert_v1alpha1_Configuration_To_config_Configuration ¶
func Convert_v1alpha1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error
Convert_v1alpha1_Configuration_To_config_Configuration is an autogenerated conversion function.
func Convert_v1alpha1_K8sExporter_To_config_K8sExporter ¶
func Convert_v1alpha1_K8sExporter_To_config_K8sExporter(in *K8sExporter, out *config.K8sExporter, s conversion.Scope) error
Convert_v1alpha1_K8sExporter_To_config_K8sExporter is an autogenerated conversion function.
func Convert_v1alpha1_NetworkProblemDetector_To_config_NetworkProblemDetector ¶
func Convert_v1alpha1_NetworkProblemDetector_To_config_NetworkProblemDetector(in *NetworkProblemDetector, out *config.NetworkProblemDetector, s conversion.Scope) error
Convert_v1alpha1_NetworkProblemDetector_To_config_NetworkProblemDetector 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 Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetDefaults_Configuration ¶
func SetDefaults_Configuration(obj *Configuration)
SetDefaults_Configuration sets default values for Configuration objects.
func SetObjectDefaults_Configuration ¶
func SetObjectDefaults_Configuration(in *Configuration)
Types ¶
type Configuration ¶
type Configuration struct { metav1.TypeMeta `json:",inline"` // NetworkProblemDetector contains the configuration for the network problem detector // +optional NetworkProblemDetector *NetworkProblemDetector `json:"networkProblemDetector,omitempty"` // HealthCheckConfig is the config for the health check controller. // +optional HealthCheckConfig *healthcheckconfigv1alpha1.HealthCheckConfig `json:"healthCheckConfig,omitempty"` }
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 `json:"enabled"` // HeartbeatPeriod defines the update frequency of the node conditions. // +optional HeartbeatPeriod *metav1.Duration `json:"heartbeatPeriod,omitempty"` // +optional MinFailingPeerNodeShare *float64 `json:"minFailingPeerNodeShare,omitempty"` }
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. // +optional DefaultPeriod *metav1.Duration `json:"defaultPeriod,omitempty"` // MaxPeerNodes optionally overrides the MaxPeerNodes in the agent config (maximum number of is the default period for jobs running in the agent. // +optional MaxPeerNodes *int `json:"maxPeerNodes,omitempty"` // PingEnabled is a flag if ICMP ping checks should be performed. // +optional PingEnabled *bool `json:"pingEnabled,omitempty"` // K8sExporter configures the K8s exporter for updating node conditions and creating events. // +optional K8sExporter *K8sExporter `json:"k8sExporter,omitempty"` }
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.