options

package
v0.0.77 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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