Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodValidator ¶ added in v1.6.0
type PodValidator struct {
// contains filtered or unexported fields
}
PodValidator implements the Validator interface for Pods
func NewPodValidator ¶ added in v1.6.0
func NewPodValidator(k kubernetes.Interface) *PodValidator
NewPodValidator initializes a PodValidator
func (*PodValidator) Validate ¶ added in v1.6.0
func (p *PodValidator) Validate(ctx context.Context, ns string, opts meta_v1.ListOptions) ([]Resource, error)
Validate implements the Validate method for Validator interface
type Resource ¶ added in v1.6.0
type Resource struct {
// contains filtered or unexported fields
}
func NewResource ¶ added in v1.6.0
NewResource creates new Resource of kind
func NewResourceFromObject ¶ added in v1.6.0
NewResourceFromObject creates new Resource with fields populated from object metadata.
Click to show internal directories.
Click to hide internal directories.