sidecar

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(streams genericclioptions.IOStreams) *cobra.Command

Types

type Options

type Options struct {
	genericclioptions.ClientConfig
	genericclioptions.InClusterReflection

	ServiceName                       string
	CPUCount                          int
	ExternalSeeds                     []string
	NodesBroadcastAddressTypeString   string
	ClientsBroadcastAddressTypeString string
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(streams genericclioptions.IOStreams) *Options

func (*Options) AddFlags

func (o *Options) AddFlags(cmd *cobra.Command)

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Run

func (o *Options) Run(streams genericclioptions.IOStreams, cmd *cobra.Command, args []string) error

func (*Options) Validate

func (o *Options) Validate() error

type StatusReporter

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

func NewStatusReporter

func NewStatusReporter(
	namespace string,
	podName string,
	interval time.Duration,
	kubeClient kubernetes.Interface,
	podInformer corev1informers.PodInformer,
) (*StatusReporter, error)

func (*StatusReporter) Run

func (sr *StatusReporter) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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