Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientCheckClient ¶ added in v0.0.59
func ClientCheckClient(cfg *rest.Config, groupName string, groupVersion string) (*khcheckcrd.KuberhealthyCheckClient, error)
ClientStateClient creates a rest client to use for interacting with Kuberhealthy check CRDs
func ClientStateClient ¶
func ClientStateClient(cfg *rest.Config, groupName string, groupVersion string) (*khstatecrd.KuberhealthyStateClient, error)
ClientStateClient creates a rest client to use for interacting with Kuberhealthy state CRDs
Types ¶
type KHCheckOptions ¶
type KHCheckOptions struct { StateClient *khstatecrd.KuberhealthyStateClient CheckClient *khcheckcrd.KuberhealthyCheckClient }
KHCheckOptions common CLI arguments for working with health
func (*KHCheckOptions) Validate ¶
func (o *KHCheckOptions) Validate() error
Validate validates the options and returns the KuberhealthyCheckClient
Click to show internal directories.
Click to hide internal directories.