_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c171400 | validation | // classify accepts a list of segments that should meet some property and a list
// of segments that currently do meet that property, and returns a classification. | {
"resource": ""
} | ||
c171401 | validation | //Execute - creates space specific security groups | {
"resource": ""
} | ||
c171402 | validation | //Execute - updates spaces metadata | {
"resource": ""
} | ||
c171403 | validation | //Execute - updates space named quotas | {
"resource": ""
} | ||
c171404 | validation | //Execute - adds a named asg to the configuration | {
"resource": ""
} | ||
c171405 | validation | //Execute - updates space users | {
"resource": ""
} | ||
c171406 | validation | //Execute - deletes orgs | {
"resource": ""
} | ||
c171407 | validation | //Execute - updates named quota | {
"resource": ""
} | ||
c171408 | validation | // Contains determines whether a space is present in a list of spaces. | {
"resource": ""
} | ||
c171409 | validation | //Execute - updates orgs quotas | {
"resource": ""
} | ||
c171410 | validation | //Execute - updates space quotas | {
"resource": ""
} | ||
c171411 | validation | // Orgs reads the config for all orgs. | {
"resource": ""
} | ||
c171412 | validation | // GetIsolationSegmentConfig reads isolation segment config | {
"resource": ""
} | ||
c171413 | validation | // GetOrgConfigs reads all orgs from the cf-mgmt configuration. | {
"resource": ""
} | ||
c171414 | validation | // GetSpaceDefaults returns the default space configuration, if one was provided.
// If no space defaults were configured, a nil config and a nil error are returned. | {
"resource": ""
} | ||
c171415 | validation | // AddOrgToConfig adds an organization to the cf-mgmt configuration. | {
"resource": ""
} | ||
c171416 | validation | // AddSpaceToConfig adds a space to the cf-mgmt configuration, so long as a
// space with the specified name doesn't already exist. | {
"resource": ""
} | ||
c171417 | validation | // CreateConfigIfNotExists initializes a new configuration directory.
// If the specified configuration directory already exists, it is left unmodified. | {
"resource": ""
} | ||
c171418 | validation | // DeleteConfigIfExists deletes config directory if it exists. | {
"resource": ""
} | ||
c171419 | validation | //Execute - renames space config | {
"resource": ""
} | ||
c171420 | validation | //Execute - creates spaces | {
"resource": ""
} | ||
c171421 | validation | //DeleteSpace - deletes a space based on GUID | {
"resource": ""
} | ||
c171422 | validation | //NewExportManager Creates a new instance of the ImportConfig manager | {
"resource": ""
} | ||
c171423 | validation | // Contains determines whether an org is present in a list of orgs. | {
"resource": ""
} | ||
c171424 | validation | // UpdateOrgs sets the default isolation segment for each org,
// as specified in the cf-mgmt config. | {
"resource": ""
} | ||
c171425 | validation | // UpdateSpaces sets the isolation segment for each space,
// as specified in the cf-mgmt config. | {
"resource": ""
} | ||
c171426 | validation | // allDesiredSegments iterates through the cf-mgmt configuration for all
// orgs and spaces and builds the complete set of isolation segments that
// should exist | {
"resource": ""
} | ||
c171427 | validation | //ListUsers - returns uaa.Users | {
"resource": ""
} | ||
c171428 | validation | //Execute - updates space configuration` | {
"resource": ""
} | ||
c171429 | validation | //RemoveUnknownVisibilites - will remove any service plan visiblities that are not known by cf-mgmt | {
"resource": ""
} | ||
c171430 | validation | //DisablePublicServiceAccess - will ensure any public plan is made private | {
"resource": ""
} | ||
c171431 | validation | //ListServiceInfo - returns services and their cooresponding plans | {
"resource": ""
} | ||
c171432 | validation | //Execute - creates organizations | {
"resource": ""
} | ||
c171433 | validation | //Execute - updates organizations metadata | {
"resource": ""
} | ||
c171434 | validation | //Execute - deletes org from config | {
"resource": ""
} | ||
c171435 | validation | //Execute - deletes space from config | {
"resource": ""
} | ||
c171436 | validation | //Execute - deletes spaces | {
"resource": ""
} | ||
c171437 | validation | // NewKeyProvider provide a simple passphrase key provider. | {
"resource": ""
} | ||
c171438 | validation | // NewConfiguration creates a configuration for server | {
"resource": ""
} | ||
c171439 | validation | // NewConfigurationTrustProvider creates a configuration for server with no enforcement for token sig alg type, instead trust provider | {
"resource": ""
} | ||
c171440 | validation | // NewValidator creates a new
// validator with the provided configuration. | {
"resource": ""
} | ||
c171441 | validation | // ValidateRequest validates the token within
// the http request.
// A default leeway value of one minute is used to compare time values. | {
"resource": ""
} | ||
c171442 | validation | // ValidateRequestWithLeeway validates the token within
// the http request.
// The provided leeway value is used to compare time values. | {
"resource": ""
} | ||
c171443 | validation | // Claims unmarshall the claims of the provided token | {
"resource": ""
} | ||
c171444 | validation | // NewJWKClient creates a new JWKClient instance from the
// provided options. | {
"resource": ""
} | ||
c171445 | validation | // NewJWKClientWithCache creates a new JWKClient instance from the
// provided options and a custom keycacher interface.
// Passing nil to keyCacher will create a persistent key cacher | {
"resource": ""
} | ||
c171446 | validation | // GetKey returns the key associated with the provided ID. | {
"resource": ""
} | ||
c171447 | validation | // GetSecret implements the GetSecret method of the SecretProvider interface. | {
"resource": ""
} | ||
c171448 | validation | // FromMultiple combines multiple extractors by chaining. | {
"resource": ""
} | ||
c171449 | validation | // FromParams returns the JWT when passed as the URL query param "token". | {
"resource": ""
} | ||
c171450 | validation | // NewMemoryKeyCacher creates a new Keycacher interface with option
// to set max age of cached keys and max size of the cache. | {
"resource": ""
} | ||
c171451 | validation | // Get obtains a key from the cache, and checks if the key is expired | {
"resource": ""
} | ||
c171452 | validation | // Add adds a key into the cache and handles overflow | {
"resource": ""
} | ||
c171453 | validation | // keyIsExpired deletes the key from cache if it is expired | {
"resource": ""
} | ||
c171454 | validation | // handleOverflow deletes the oldest key from the cache if overflowed | {
"resource": ""
} | ||
c171455 | validation | // Diff computes the difference between old and new, according to the bsdiff
// algorithm, and writes the result to patch. | {
"resource": ""
} | ||
c171456 | validation | // validColor will make sure the given color is actually allowed | {
"resource": ""
} | ||
c171457 | validation | // New provides a pointer to an instance of Spinner with the supplied options | {
"resource": ""
} | ||
c171458 | validation | // Start will start the indicator | {
"resource": ""
} | ||
c171459 | validation | // Stop stops the indicator | {
"resource": ""
} | ||
c171460 | validation | // Reverse will reverse the order of the slice assigned to the indicator | {
"resource": ""
} | ||
c171461 | validation | // Color will set the struct field for the given color to be used | {
"resource": ""
} | ||
c171462 | validation | // UpdateSpeed will set the indicator delay to the given value | {
"resource": ""
} | ||
c171463 | validation | // UpdateCharSet will change the current character set to the given one | {
"resource": ""
} | ||
c171464 | validation | // erase deletes written characters
//
// Caller must already hold s.lock. | {
"resource": ""
} | ||
c171465 | validation | // GenerateNumberSequence will generate a slice of integers at the
// provided length and convert them each to a string | {
"resource": ""
} | ||
c171466 | validation | // header computes the header for the given tag | {
"resource": ""
} | ||
c171467 | validation | // NewMultiplex creates a new multiplexer session. | {
"resource": ""
} | ||
c171468 | validation | // Accept accepts the next stream from the connection. | {
"resource": ""
} | ||
c171469 | validation | // NewNamedStream creates a new named stream. | {
"resource": ""
} | ||
c171470 | validation | // encodeInt provides a Go implementation of integer geohash. This is the
// default implementation of EncodeInt, but optimized versions are provided
// for certain architectures. | {
"resource": ""
} | ||
c171471 | validation | // Center returns the center of the box. | {
"resource": ""
} | ||
c171472 | validation | // DecodeCenter decodes the string geohash to the central point of the bounding box. | {
"resource": ""
} | ||
c171473 | validation | // Neighbors returns a slice of geohash strings that correspond to the provided
// geohash's neighbors. | {
"resource": ""
} | ||
c171474 | validation | // NeighborsIntWithPrecision returns a slice of uint64s that correspond to the
// provided hash's neighbors at the given precision. | {
"resource": ""
} | ||
c171475 | validation | // NeighborIntWithPrecision returns a uint64s that corresponds to the
// provided hash's neighbor in the provided direction at the given precision. | {
"resource": ""
} | ||
c171476 | validation | // Spread out the 32 bits of x into 64 bits, where the bits of x occupy even
// bit positions. | {
"resource": ""
} | ||
c171477 | validation | // Encode bits of 64-bit word into a string. | {
"resource": ""
} | ||
c171478 | validation | // InitArgs returns an options func to configure a LinuxFactory with the
// provided init arguments. | {
"resource": ""
} | ||
c171479 | validation | // InitPath returns an options func to configure a LinuxFactory with the
// provided absolute path to the init binary and arguements. | {
"resource": ""
} | ||
c171480 | validation | // newConsole returns an initalized console that can be used within a container by copying bytes
// from the master side to the slave that is attached as the tty for the container's init process. | {
"resource": ""
} | ||
c171481 | validation | // open is a clone of os.OpenFile without the O_CLOEXEC used to open the pty slave. | {
"resource": ""
} | ||
c171482 | validation | // ptsname retrieves the name of the first available pts for the given master. | {
"resource": ""
} | ||
c171483 | validation | // joinExistingNamespaces gets all the namespace paths specified for the container and
// does a setns on the namespace fd so that the current process joins the namespace. | {
"resource": ""
} | ||
c171484 | validation | // killCgroupProcesses freezes then iterates over all the processes inside the
// manager's cgroups sending a SIGKILL to each process then waiting for them to
// exit. | {
"resource": ""
} | ||
c171485 | validation | // Converts IDMap to SysProcIDMap array and adds it to SysProcAttr. | {
"resource": ""
} | ||
c171486 | validation | // dropBoundingSet drops the capability bounding set to those specified in the whitelist. | {
"resource": ""
} | ||
c171487 | validation | // drop drops all capabilities for the current process except those specified in the whitelist. | {
"resource": ""
} | ||
c171488 | validation | // Pid returns the process ID | {
"resource": ""
} | ||
c171489 | validation | // Signal sends a signal to the Process. | {
"resource": ""
} | ||
c171490 | validation | // NewConsole creates new console for process and returns it | {
"resource": ""
} | ||
c171491 | validation | // setupRootfs sets up the devices, mount points, and filesystems for use inside a
// new mount namespace. | {
"resource": ""
} | ||
c171492 | validation | // remountReadonly will bind over the top of an existing path and ensure that it is read-only. | {
"resource": ""
} | ||
c171493 | validation | // systemd does not atm set up the cpuset controller, so we must manually
// join it. Additionally that is a very finicky controller where each
// level must have a full setup as the default for a new directory is "no cpus" | {
"resource": ""
} | ||
c171494 | validation | // `BlockIODeviceWeight` property of systemd does not work properly, and systemd
// expects device path instead of major minor numbers, which is also confusing
// for users. So we use fs work around for now. | {
"resource": ""
} | ||
c171495 | validation | // Returns all the cgroup subsystems supported by the kernel | {
"resource": ""
} | ||
c171496 | validation | // Returns the relative path to the cgroup docker is running in. | {
"resource": ""
} | ||
c171497 | validation | // Caputure captures a stacktrace for the current calling go program
//
// skip is the number of frames to skip | {
"resource": ""
} | ||
c171498 | validation | // GetAdditionalGroupsPath looks up a list of groups by name or group id
// against the group file. If a group name cannot be found, an error will be
// returned. If a group id cannot be found, it will be returned as-is. | {
"resource": ""
} | ||
c171499 | validation | // XXX debug support, remove when debugging done. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.