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