Documentation
¶
Index ¶
- type Checker
- type HelmChecker
- type NamespacesService
- func (nss NamespacesService) Delete(ctx context.Context, namespaces []corev1.Namespace) error
- func (nss NamespacesService) GetEmptyFor(ctx context.Context, namespaces []corev1.Namespace, duration string) ([]corev1.Namespace, error)
- func (nss NamespacesService) List(ctx context.Context, listOptions metav1.ListOptions) ([]corev1.Namespace, error)
- func (nss NamespacesService) Print(namespaces []corev1.Namespace)
- type ResourceChecker
- type ServiceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelmChecker ¶
type HelmChecker struct {
// contains filtered or unexported fields
}
func NewHelmChecker ¶
func NewHelmChecker() *HelmChecker
func (*HelmChecker) Name ¶
func (h *HelmChecker) Name() string
func (*HelmChecker) NonEmptyNamespaces ¶
func (h *HelmChecker) NonEmptyNamespaces(_ context.Context, nonEmptyNamespaces map[string]struct{}) error
type NamespacesService ¶
type NamespacesService struct {
// contains filtered or unexported fields
}
func NewNamespacesService ¶
func NewNamespacesService(client core.NamespaceInterface, dynamicClient dynamic.Interface, configuration ServiceConfiguration) NamespacesService
NewNamespacesService creates a new Service instance
func (NamespacesService) GetEmptyFor ¶
func (NamespacesService) List ¶
func (nss NamespacesService) List(ctx context.Context, listOptions metav1.ListOptions) ([]corev1.Namespace, error)
func (NamespacesService) Print ¶
func (nss NamespacesService) Print(namespaces []corev1.Namespace)
type ResourceChecker ¶
type ResourceChecker struct {
// contains filtered or unexported fields
}
func NewResourceChecker ¶
func NewResourceChecker(dynamicClient dynamic.Interface) *ResourceChecker
func (ResourceChecker) Name ¶
func (rc ResourceChecker) Name() string
func (ResourceChecker) NonEmptyNamespaces ¶
func (rc ResourceChecker) NonEmptyNamespaces(ctx context.Context, namespaceMap map[string]struct{}) error
type ServiceConfiguration ¶
type ServiceConfiguration struct {
Batch bool
}
Click to show internal directories.
Click to hide internal directories.