configmap

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapsService

type ConfigMapsService struct {
	// contains filtered or unexported fields
}

func NewConfigMapsService

func NewConfigMapsService(client core.ConfigMapInterface, helper kubernetes.Kubernetes, configuration ServiceConfiguration) ConfigMapsService

NewConfigMapsService creates a new Service instance

func (ConfigMapsService) Delete

func (cms ConfigMapsService) Delete(ctx context.Context, configMaps []v1.ConfigMap) error

func (ConfigMapsService) FilterByMaxCount

func (cms ConfigMapsService) FilterByMaxCount(configMaps []v1.ConfigMap, keep int) (filteredResources []v1.ConfigMap)

func (ConfigMapsService) FilterByTime

func (cms ConfigMapsService) FilterByTime(configMaps []v1.ConfigMap, olderThan time.Time) (filteredResources []v1.ConfigMap)

func (ConfigMapsService) GetUnused

func (cms ConfigMapsService) GetUnused(ctx context.Context, namespace string, configMaps []v1.ConfigMap) (unusedConfigMaps []v1.ConfigMap, funcErr error)

func (ConfigMapsService) List

func (cms ConfigMapsService) List(ctx context.Context, listOptions metav1.ListOptions) ([]v1.ConfigMap, error)

func (ConfigMapsService) Print

func (cms ConfigMapsService) Print(resources []v1.ConfigMap)

type ServiceConfiguration

type ServiceConfiguration struct {
	Batch bool
}

Jump to

Keyboard shortcuts

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