Documentation
¶
Overview ¶
Package kubernetes provides a low level client for small footprint consideration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KubernetesValidatorFunc ¶
KubernetesValidatorFunc returns a expr for checking the generic Kubernetes resources
func PodValidatorFunc ¶
PodValidatorFunc returns a expr for checking pod existing
Types ¶
type Reader ¶
type Reader interface {
GetResource(group, kind, version, namespace, name string) (map[string]interface{}, error)
}
Reader represents a reader interface
func NewDefaultReader ¶
NewDefaultReader returns a reader implement
type ResourceValidator ¶
type ResourceValidator interface { Exist() bool ExpectField(value interface{}, fields ...string) bool }
ResourceValidator represents a generic resource validator
Click to show internal directories.
Click to hide internal directories.