Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCurrentState (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	getCurrentState := s.getCurrentState(ctx, key, v, false)
    
    	var origState *objState
    	var err error
    	var origStateIsCurrent bool
    	if cachedExistingObject != nil {
    		origState, err = s.getStateFromObject(cachedExistingObject)
    	} else {
    		origState, err = getCurrentState()
    		origStateIsCurrent = true
    	}
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    }
    
    // getCurrentState returns the latest state from the last status and encrypt calls.
    // If the returned error is nil, the state is considered valid indefinitely for read requests.
    // For write requests, the caller must also check that state.ValidateEncryptCapability does not error.
    func (h *kmsv2PluginProbe) getCurrentState() (envelopekmsv2.State, error) {
    	state := *h.state.Load()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top