Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for WithUID (0.11 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscaler.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *HorizontalPodAutoscalerApplyConfiguration) WithUID(value types.UID) *HorizontalPodAutoscalerApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscaler.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *HorizontalPodAutoscalerApplyConfiguration) WithUID(value types.UID) *HorizontalPodAutoscalerApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *CronJobApplyConfiguration) WithUID(value types.UID) *CronJobApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *ConfigMapApplyConfiguration) WithUID(value types.UID) *ConfigMapApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/event.go

    	b.Namespace = &value
    	return b
    }
    
    // WithUID sets the UID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the UID field is set to the value of the last call.
    func (b *EventApplyConfiguration) WithUID(value types.UID) *EventApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  6. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go

    			logger.Info("Mark the auto-generated service account token as invalid", "invalidSince", invalidSince, "secret", klog.KRef(secret.Namespace, secret.Name))
    			patchContent, err := json.Marshal(applyv1.Secret(secret.Name, secret.Namespace).WithUID(secret.UID).WithLabels(map[string]string{serviceaccount.InvalidSinceLabelKey: invalidSince}))
    			if err != nil {
    				logger.Error(err, "Failed to marshal invalid since label")
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go

    		},
    	}
    }
    
    func patchContent(namespace, name, invalidSince string, uID types.UID) []byte {
    	patch, _ := json.Marshal(applyv1.Secret(name, namespace).WithUID(uID).WithLabels(map[string]string{serviceaccount.InvalidSinceLabelKey: invalidSince}))
    	return patch
    }
    
    func TestLegacyServiceAccountTokenCleanUp(t *testing.T) {
    	testcases := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top