kubernetes

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

+kubebuilder:validation:Optional

Index

Constants

This section is empty.

Variables

View Source
var ConfigKey = common.DiscoveryConfigKey + ".kubernetes"

ConfigKey is the key for the Kubernetes discovery configuration.

Functions

func InvokeServiceDiscovery added in v0.19.0

func InvokeServiceDiscovery(in FxInSvc) error

InvokeServiceDiscovery creates a Kubernetes service discovery.

func Module added in v0.19.0

func Module() fx.Option

Module returns an fx.Option that provides the Kubernetes discovery module.

Types

type FxInSvc added in v0.19.0

type FxInSvc struct {
	fx.In
	Unmarshaller     config.Unmarshaller
	Lifecycle        fx.Lifecycle
	StatusRegistry   status.Registry
	KubernetesClient k8s.K8sClient
	EntityTrackers   *entities.EntityTrackers
}

FxInSvc describes parameters passed to k8s discovery constructor.

type KubernetesDiscoveryConfig

type KubernetesDiscoveryConfig struct {
	Enabled bool `json:"enabled" default:"true"`
}

KubernetesDiscoveryConfig for Kubernetes service discovery. swagger:model +kubebuilder:object:generate=true

func (*KubernetesDiscoveryConfig) DeepCopy added in v0.1.2

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

func (*KubernetesDiscoveryConfig) DeepCopyInto added in v0.1.2

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

Jump to

Keyboard shortcuts

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