- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for newProfile (0.2 sec)
-
pkg/auth/authorizer/abac/abac.go
} // PolicyList is simply a slice of Policy structs. type PolicyList []*abac.Policy // NewFromFile attempts to create a policy list from the given file. // // TODO: Have policies be created via an API call and stored in REST storage. func NewFromFile(path string) (PolicyList, error) { // File format is one map per line. This allows easy concatenation of files,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 11 03:11:30 UTC 2021 - 7.4K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/config.go
r.nodeAuthorizer = node.NewAuthorizer(graph, nodeidentifier.NewDefaultNodeIdentifier(), bootstrappolicy.NodeRules()) case authzconfig.AuthorizerType(modes.ModeABAC): var err error r.abacAuthorizer, err = abac.NewFromFile(config.PolicyFile) if err != nil { return nil, nil, err } case authzconfig.AuthorizerType(modes.ModeRBAC): r.rbacAuthorizer = rbac.New(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 8K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*Profile).WriteTo", Method, 0}, {"Do", Func, 9}, {"ForLabels", Func, 9}, {"Label", Func, 9}, {"LabelSet", Type, 9}, {"Labels", Func, 9}, {"Lookup", Func, 0}, {"NewProfile", Func, 0}, {"Profile", Type, 0}, {"Profiles", Func, 0}, {"SetGoroutineLabels", Func, 9}, {"StartCPUProfile", Func, 0}, {"StopCPUProfile", Func, 0}, {"WithLabels", Func, 9},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
// going to compile. goFile = objdir + goFile newGoFile := objdir + "_" + base + "_swig.go" if cfg.BuildX || cfg.BuildN { sh.ShowCmd("", "mv %s %s", goFile, newGoFile) } if !cfg.BuildN { if err := os.Rename(goFile, newGoFile); err != nil { return "", "", err } } return newGoFile, objdir + gccBase + gccExt, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
api/go1.txt
pkg runtime, var MemProfileRate int pkg runtime/debug, func PrintStack() pkg runtime/debug, func Stack() []uint8 pkg runtime/pprof, func Lookup(string) *Profile pkg runtime/pprof, func NewProfile(string) *Profile pkg runtime/pprof, func Profiles() []*Profile pkg runtime/pprof, func StartCPUProfile(io.Writer) error pkg runtime/pprof, func StopCPUProfile() pkg runtime/pprof, func WriteHeapProfile(io.Writer) error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)