...

Package resconsumerctrl

import "k8s.io/kubernetes/test/images/agnhost/resource-consumer-controller"
Overview
Index

Overview ▾

Index ▾

Package files

controller.go

Variables

CmdResourceConsumerController is used by agnhost Cobra.

var CmdResourceConsumerController = &cobra.Command{
    Use:   "resource-consumer-controller",
    Short: "Starts a HTTP server that spreads requests around resource consumers",
    Long:  "Starts a HTTP server that spreads requests around resource consumers. The HTTP server has the same endpoints and usage as the one spawned by the \"resource-consumer\" subcommand.",
    Args:  cobra.MaximumNArgs(0),
    Run:   main,
}