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 ¶
Click to show internal directories.
Click to hide internal directories.