static

package
v1.1.0-rc.3 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:validation:Optional

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvokeStaticServiceDiscovery

func InvokeStaticServiceDiscovery(
	unmarshaller config.Unmarshaller,
	lifecycle fx.Lifecycle,
	entityTrackers *entities.EntityTrackers,
) error

InvokeStaticServiceDiscovery causes statically configured services to be uploaded to the tracker.

Types

type StaticDiscovery

type StaticDiscovery struct {
	// contains filtered or unexported fields
}

StaticDiscovery reads entities from config and writes them to tracker.

type StaticDiscoveryConfig

type StaticDiscoveryConfig struct {
	Entities []entitiesv1.Entity `json:"entities,omitempty"`
}

StaticDiscoveryConfig for pre-determined list of services. swagger:model +kubebuilder:object:generate=true

func (*StaticDiscoveryConfig) DeepCopy added in v0.1.2

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

func (*StaticDiscoveryConfig) DeepCopyInto added in v0.1.2

func (in *StaticDiscoveryConfig) DeepCopyInto(out *StaticDiscoveryConfig)

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