k8sreflector

package
v0.0.0-...-03e2b80 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointReflector

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

func NewEndpointReflector

NewEndpointReflector ... create a new instance of *EndpointReflector

func (*EndpointReflector) Watch

func (r *EndpointReflector) Watch(ctx context.Context) error

Watch ... run the reflector to watching against k8s API to get the information about endpoint resources

type ReflectorConfig

type ReflectorConfig struct {
	ResyncPeriod time.Duration
}

ReflectorConfig ... reflector configuration

type ServiceReflector

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

func NewServiceReflector

NewServiceReflector ... create a new instance of *ServiceReflector

func (*ServiceReflector) Watch

func (r *ServiceReflector) Watch(ctx context.Context) error

Watch ... run the reflector to watching against k8s API to get the information about service resources

Jump to

Keyboard shortcuts

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