Documentation
¶
Index ¶
- type SecretsService
- func (ss SecretsService) Delete(ctx context.Context, secrets []v1.Secret) error
- func (ss SecretsService) FilterByMaxCount(secrets []v1.Secret, keep int) (filteredResources []v1.Secret)
- func (ss SecretsService) FilterByTime(secrets []v1.Secret, olderThan time.Time) (filteredResources []v1.Secret)
- func (ss SecretsService) GetUnused(ctx context.Context, namespace string, resources []v1.Secret) (unusedResources []v1.Secret, funcErr error)
- func (ss SecretsService) List(ctx context.Context, listOptions metav1.ListOptions) ([]v1.Secret, error)
- func (ss SecretsService) Print(resources []v1.Secret)
- type ServiceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsService ¶
type SecretsService struct {
// contains filtered or unexported fields
}
func NewSecretsService ¶
func NewSecretsService(client core.SecretInterface, helper kubernetes.Kubernetes, configuration ServiceConfiguration) SecretsService
NewSecretsService creates a new Service instance
func (SecretsService) FilterByMaxCount ¶
func (SecretsService) FilterByTime ¶
func (SecretsService) List ¶
func (ss SecretsService) List(ctx context.Context, listOptions metav1.ListOptions) ([]v1.Secret, error)
func (SecretsService) Print ¶
func (ss SecretsService) Print(resources []v1.Secret)
type ServiceConfiguration ¶
type ServiceConfiguration struct {
Batch bool
}
Click to show internal directories.
Click to hide internal directories.