Documentation ¶
Index ¶
- type ConfigMapsService
- func (cms ConfigMapsService) Delete(ctx context.Context, configMaps []v1.ConfigMap) error
- func (cms ConfigMapsService) FilterByMaxCount(configMaps []v1.ConfigMap, keep int) (filteredResources []v1.ConfigMap)
- func (cms ConfigMapsService) FilterByTime(configMaps []v1.ConfigMap, olderThan time.Time) (filteredResources []v1.ConfigMap)
- func (cms ConfigMapsService) GetUnused(ctx context.Context, namespace string, configMaps []v1.ConfigMap) (unusedConfigMaps []v1.ConfigMap, funcErr error)
- func (cms ConfigMapsService) List(ctx context.Context, listOptions metav1.ListOptions) ([]v1.ConfigMap, error)
- func (cms ConfigMapsService) Print(resources []v1.ConfigMap)
- type ServiceConfiguration
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) FilterByMaxCount ¶
func (ConfigMapsService) FilterByTime ¶
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
}
Click to show internal directories.
Click to hide internal directories.