Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateNetworkPolicy (1.36 sec)

  1. pkg/registry/networking/networkpolicy/strategy.go

    	networkPolicy := obj.(*networking.NetworkPolicy)
    	ops := validation.ValidationOptionsForNetworking(networkPolicy, nil)
    	return validation.ValidateNetworkPolicy(networkPolicy, ops)
    }
    
    // WarningsOnCreate returns warnings for the creation of the given object.
    func (networkPolicyStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top