Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientLimits ¶
type ClientLimits[FS FlagSet] struct { QPS float64 Burst int // contains filtered or unexported fields }
func NewClientLimits ¶
func NewClientLimits[FS FlagSet](name, description string) ClientLimits[FS]
func (*ClientLimits[FS]) AddFlags ¶
func (opts *ClientLimits[FS]) AddFlags(flags FS)
func (*ClientLimits[FS]) LimitConfig ¶
func (opts *ClientLimits[FS]) LimitConfig(base *rest.Config) *rest.Config
type ClientOptions ¶
type ClientOptions[FS FlagSet] struct { ClientLimits[FS] // contains filtered or unexported fields }
func NewClientOptions ¶
func NewClientOptions[FS FlagSet](name string, description string) *ClientOptions[FS]
func (*ClientOptions[FS]) AddFlags ¶
func (opts *ClientOptions[FS]) AddFlags(flags FS)
func (*ClientOptions[FS]) ToRESTConfig ¶
func (opts *ClientOptions[FS]) ToRESTConfig() (*rest.Config, error)
Click to show internal directories.
Click to hide internal directories.