poll_service

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 26 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPollService

func NewPollService(ioStreams genericclioptions.IOStreams) *cobra.Command

Types

type PollServiceController

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

func NewPollServiceWatcher

func NewPollServiceWatcher(
	backendPrefix string,
	nodeName string,
	namespaceName string,
	clusterIP string,
	port uint16,
	recorder monitorapi.RecorderWriter,
	outFile io.Writer,
	stopConfigMapName string,
	configmapInformer coreinformers.ConfigMapInformer,
) *PollServiceController

func (*PollServiceController) Run

func (c *PollServiceController) Run(ctx context.Context, finishedCleanup chan struct{})

type PollServiceFlags

type PollServiceFlags struct {
	ConfigFlags       *genericclioptions.ConfigFlags
	OutputFlags       *iooptions.OutputFlags
	BackendPrefix     string
	MyNodeName        string
	StopConfigMapName string
	ServiceClusterIP  string
	ServicePort       uint16

	genericclioptions.IOStreams
}

func NewPollServiceFlags

func NewPollServiceFlags(streams genericclioptions.IOStreams) *PollServiceFlags

func (*PollServiceFlags) BindOptions

func (f *PollServiceFlags) BindOptions(flags *pflag.FlagSet)

func (*PollServiceFlags) SetIOStreams

func (f *PollServiceFlags) SetIOStreams(streams genericclioptions.IOStreams)

func (*PollServiceFlags) ToOptions

func (f *PollServiceFlags) ToOptions() (*PollServiceOptions, error)

func (*PollServiceFlags) Validate

func (f *PollServiceFlags) Validate() error

type PollServiceOptions

type PollServiceOptions struct {
	KubeClient kubernetes.Interface
	Namespace  string
	ClusterIP  string
	Port       uint16

	BackendPrefix     string
	OutputFile        string
	MyNodeName        string
	StopConfigMapName string

	OriginalOutFile io.Writer
	CloseFn         iooptions.CloseFunc
	genericclioptions.IOStreams
}

func (*PollServiceOptions) Run

Jump to

Keyboard shortcuts

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