Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newProfile (0.16 sec)

  1. cluster/gce/windows/testonly/install-ssh.psm1

        try {
          # Create-NewProfile will throw these errors:
          #
          # - if the username already exists:
          #
          #   Create-NewProfile : Exception calling "SetInfo" with "0" argument(s):
          #   "The account already exists."
          #
          # - if the username is invalid (e.g. gke-29bd5e8d9ea0446f829d)
          #
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 05:09:18 UTC 2021
    - 11.6K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    	profiles.mu.Unlock()
    }
    
    // NewProfile creates a new profile with the given name.
    // If a profile with that name already exists, NewProfile panics.
    // The convention is to use a 'import/path.' prefix to create
    // separate name spaces for each package.
    // For compatibility with various tools that read pprof data,
    // profile names should not contain spaces.
    func NewProfile(name string) *Profile {
    	lockProfiles()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. pkg/auth/authorizer/abac/abac_test.go

    `)
    	if err != nil {
    		t.Errorf("unable to read policy file: %v", err)
    	}
    }
    
    // Test the file that we will point users at as an example.
    func TestExampleFile(t *testing.T) {
    	_, err := NewFromFile("./example_policy_file.jsonl")
    	if err != nil {
    		t.Errorf("unable to read policy file: %v", err)
    	}
    }
    
    func TestAuthorizeV0(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
Back to top