Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewEffectiveContainerSecurityContextMutator (0.36 sec)

  1. pkg/securitycontext/accessors_test.go

    		}
    		return sc
    	}
    
    	for k, tc := range testcases {
    		{
    			podSC := tc.newPodSC()
    			sc := tc.newSC()
    			originalPodSC := tc.newPodSC()
    			originalSC := tc.newSC()
    			m := NewEffectiveContainerSecurityContextMutator(
    				NewPodSecurityContextAccessor(podSC),
    				NewContainerSecurityContextMutator(sc),
    			)
    
    			// no-op sets should not modify the object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  2. pkg/securitycontext/accessors.go

    	return &effectiveContainerSecurityContextWrapper{podSC: podSC, containerSC: containerSC}
    }
    
    // NewEffectiveContainerSecurityContextMutator returns a mutator for reading and writing effective values
    // for the provided pod security context and container security context
    func NewEffectiveContainerSecurityContextMutator(podSC PodSecurityContextAccessor, containerSC ContainerSecurityContextMutator) ContainerSecurityContextMutator {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 14.4K bytes
    - Viewed (0)
Back to top