hunk.code_window: 	timeout          time.Duration
   	datastore        dataservices.DataStore
   	shutdownCtx      context.Context
   	cancellationFunc context.CancelFunc
   }
   // New creates a monitor that when started will wait for the timeout duration and then shutdown the application unless it has been initialized.
   func New(timeout time.Duration, datastore dataservices.DataStore, shutdownCtx context.Context) *Monitor {
   	return &Monitor{
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit: 	mu               sync.Mutex
  
hunk.file_path: api/adminmonitor/admin_monitor.go
hunk.type: add
file: import { KubernetesConfigurationTypes } from 'Kubernetes/models/configuration/models';
  
  angular.module('portainer.kubernetes').filter('kubernetesConfigurationTypeText', function () {
    'use strict';
    return function (type) {
      switch (type) {
        case KubernetesConfigurationTypes.SECRET:
          return 'Secret';
        case KubernetesConfigurationTypes.CONFIGMAP:
          return 'ConfigMap';
      }
    };
  });
  