Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for cronJob (0.32 sec)

  1. pkg/kube/inject/testdata/inject/cronjob.yaml

    apiVersion: batch/v2alpha1
    kind: CronJob
    metadata:
      name: hellocron
    spec:
      schedule: "*/1 * * * *"
      jobTemplate:
        spec:
          template:
            spec:
              containers:
              - name: hello
                image: busybox
                args:
                - /bin/sh
                - -c
                - date; echo Hello from the Kubernetes cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 380 bytes
    - Viewed (0)
  2. pkg/kube/inject/testdata/inject/cronjob.yaml.injected

    apiVersion: batch/v2alpha1
    kind: CronJob
    metadata:
      creationTimestamp: null
      name: hellocron
    spec:
      jobTemplate:
        metadata:
          annotations:
            istio.io/rev: default
            kubectl.kubernetes.io/default-container: hello
            kubectl.kubernetes.io/default-logs-container: hello
            prometheus.io/path: /stats/prometheus
            prometheus.io/port: "15020"
            prometheus.io/scrape: "true"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. pkg/controller/cronjob/injection.go

    	CronJob *batchv1.CronJob
    	Updates []batchv1.CronJob
    }
    
    func (c *fakeCJControl) GetCronJob(ctx context.Context, namespace, name string) (*batchv1.CronJob, error) {
    	if name == c.CronJob.Name && namespace == c.CronJob.Namespace {
    		return c.CronJob, nil
    	}
    	return nil, errors.NewNotFound(schema.GroupResource{
    		Group:    "v1beta1",
    		Resource: "cronjobs",
    	}, name)
    }
    
    var _ cjControlInterface = &fakeCJControl{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 09:37:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. pkg/registry/batch/cronjob/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package cronjob provides Registry interface and it's RESTStorage
    // implementation for storing CronJob api objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 17 08:24:07 UTC 2017
    - 763 bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go

    func (in *CronJob) DeepCopyInto(out *CronJob) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
    func (in *CronJob) DeepCopy() *CronJob {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 21:43:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. api/discovery/apis__batch__v1.json

      "groupVersion": "batch/v1",
      "kind": "APIResourceList",
      "resources": [
        {
          "categories": [
            "all"
          ],
          "kind": "CronJob",
          "name": "cronjobs",
          "namespaced": true,
          "shortNames": [
            "cj"
          ],
          "singularName": "cronjob",
          "storageVersionHash": "sd5LIXh4Fjs=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. pkg/registry/batch/cronjob/strategy.go

    // PrepareForCreate clears the status of a scheduled job before creation.
    func (cronJobStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    	cronJob := obj.(*batch.CronJob)
    	cronJob.Status = batch.CronJobStatus{}
    
    	cronJob.Generation = 1
    
    	pod.DropDisabledTemplateFields(&cronJob.Spec.JobTemplate.Spec.Template, nil)
    }
    
    // PrepareForUpdate clears fields that are not allowed to be set by end users on update.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 15:14:03 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/batch/v1beta1/generated.proto

    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/batch/v1beta1";
    
    // CronJob represents the configuration of a single cron job.
    message CronJob {
      // Standard object's metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. pkg/registry/batch/cronjob/storage/storage.go

    		NewListFunc:               func() runtime.Object { return &batch.CronJobList{} },
    		DefaultQualifiedResource:  batch.Resource("cronjobs"),
    		SingularQualifiedResource: batch.Resource("cronjob"),
    
    		CreateStrategy:      cronjob.Strategy,
    		UpdateStrategy:      cronjob.Strategy,
    		DeleteStrategy:      cronjob.Strategy,
    		ResetFieldsStrategy: cronjob.Strategy,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. pkg/apis/batch/v1beta1/defaults_test.go

    )
    
    func TestSetDefaultCronJob(t *testing.T) {
    	tests := map[string]struct {
    		original *batchv1beta1.CronJob
    		expected *batchv1beta1.CronJob
    	}{
    		"empty batchv1beta1.CronJob should default batchv1beta1.ConcurrencyPolicy and Suspend": {
    			original: &batchv1beta1.CronJob{},
    			expected: &batchv1beta1.CronJob{
    				Spec: batchv1beta1.CronJobSpec{
    					ConcurrencyPolicy:          batchv1beta1.AllowConcurrent,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:14:37 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top