_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c180400
test
// JSONSpec loads a spec from a json document
{ "resource": "" }
c180401
test
// Embedded returns a Document based on embedded specs. No analysis is required
{ "resource": "" }
c180402
test
// Spec loads a new spec document
{ "resource": "" }
c180403
test
// Analyzed creates a new analyzed spec document
{ "resource": "" }
c180404
test
// Expanded expands the ref fields in the spec document and returns a new spec document
{ "resource": "" }
c180405
test
// ResetDefinitions gives a shallow copy with the models reset
{ "resource": "" }
c180406
test
// Pristine creates a new pristine document instance based on the input data
{ "resource": "" }
c180407
test
// Opens a GeoIP database by filename with specified GeoIPOptions flag. // All formats supported by libgeoip are supported though there are only // functions to access some of the databases in this API. // If you don't pass a filename, it will try opening the database from // a list of common paths.
{ "resource": "" }
c180408
test
// Takes an IPv4 address string and returns the organization name for that IP. // Requires the GeoIP organization database.
{ "resource": "" }
c180409
test
// Returns the country code and region code for an IP address. Requires // the GeoIP Region database.
{ "resource": "" }
c180410
test
// Returns the region name given a country code and region code
{ "resource": "" }
c180411
test
// Takes an IPv4 address string and returns the country code for that IP // and the netmask for that IP range.
{ "resource": "" }
c180412
test
// NewRotatingFileHandler creates a RotatingFileHandler
{ "resource": "" }
c180413
test
// Close implements Handler interface
{ "resource": "" }
c180414
test
// String returns level String
{ "resource": "" }
c180415
test
// New creates a logger with specified handler and flag
{ "resource": "" }
c180416
test
// SetLevelByName sets log level by name
{ "resource": "" }
c180417
test
// Output records the log with special callstack depth and log level.
{ "resource": "" }
c180418
test
// Output json format records the log with special callstack depth and log level.
{ "resource": "" }
c180419
test
// Print records the log with trace level
{ "resource": "" }
c180420
test
// Println records the log with trace level
{ "resource": "" }
c180421
test
// Debug records the log with debug level
{ "resource": "" }
c180422
test
// Debugln records the log with debug level
{ "resource": "" }
c180423
test
// Error records the log with error level
{ "resource": "" }
c180424
test
// Errorln records the log with error level
{ "resource": "" }
c180425
test
// Info records the log with info level
{ "resource": "" }
c180426
test
// Infoln records the log with info level
{ "resource": "" }
c180427
test
// Warn records the log with warn level
{ "resource": "" }
c180428
test
// Warnln records the log with warn level
{ "resource": "" }
c180429
test
// NewStreamHandler creates a StreamHandler
{ "resource": "" }
c180430
test
// Right right-pads the string with pad up to len runes
{ "resource": "" }
c180431
test
// New returns a Self-Service API client.
{ "resource": "" }
c180432
test
// Initialize GenMetadata from each SS API generated metadata
{ "resource": "" }
c180433
test
// Recursively record all type declarations
{ "resource": "" }
c180434
test
// Sort action params by name
{ "resource": "" }
c180435
test
// Parse data type in context
{ "resource": "" }
c180436
test
// Build action param struct from json data
{ "resource": "" }
c180437
test
// New parameter from raw values
{ "resource": "" }
c180438
test
// Produce action return type name
{ "resource": "" }
c180439
test
// Produce go type name from given ruby type name
{ "resource": "" }
c180440
test
// Return dumpable representation of given object
{ "resource": "" }
c180441
test
// Returns true if given name is the name of a built-in type
{ "resource": "" }
c180442
test
// MatchHref returns true if the given href matches one of the action's href patterns exactly
{ "resource": "" }
c180443
test
// Substitute attemps to substitute the path pattern variables with the given values. // - If the substitution succeeds, it returns the resulting path and the list of variable names // that were used to build it. // - If the substitution fails, it returns an empty string and the list of variable names that are // missing from the list of given values.
{ "resource": "" }
c180444
test
// MarshalJSON just inserts the contents of the file from disk inline into the json
{ "resource": "" }
c180445
test
// Handle payload params. Each payload param gets its own multipart // form section with the section name being the variable name and // section contents being the variable contents. Handle recursion as well.
{ "resource": "" }
c180446
test
// PerformRequest logs the request, dumping its content if required then makes the request and logs // and dumps the corresponding response.
{ "resource": "" }
c180447
test
// PerformRequestWithContext performs everything the PerformRequest does but is also context-aware.
{ "resource": "" }
c180448
test
// LoadResponse deserializes the JSON response into a generic object. // If the response has a "Location" header then the returned object is a map with one key "Location" // containing the value of the header.
{ "resource": "" }
c180449
test
// ScheduleLocator builds a locator from the given href.
{ "resource": "" }
c180450
test
// TemplateLocator builds a locator from the given href.
{ "resource": "" }
c180451
test
// Fetch details about all servers and server arrays in an environment
{ "resource": "" }
c180452
test
// Builds the aliases string based on the SSH configuration of all servers and server arrays in all environments.
{ "resource": "" }
c180453
test
// Makes a GET call on the given server array and returns all its current instances.
{ "resource": "" }
c180454
test
// Makes a GET call on the given server and returns the current instance of the server.
{ "resource": "" }
c180455
test
// Convert version number in index.json to go package name // "1.6" => "v1_6"
{ "resource": "" }
c180456
test
// Helper function that reads content from given file
{ "resource": "" }
c180457
test
// Command line client entry point.
{ "resource": "" }
c180458
test
// Helper that runs command line with give command client
{ "resource": "" }
c180459
test
// Constructs an http response from JSON input from Stdin
{ "resource": "" }
c180460
test
// AccountLocator builds a locator from the given href.
{ "resource": "" }
c180461
test
// AccountGroupLocator builds a locator from the given href.
{ "resource": "" }
c180462
test
// AlertLocator builds a locator from the given href.
{ "resource": "" }
c180463
test
// AlertSpecLocator builds a locator from the given href.
{ "resource": "" }
c180464
test
// AuditEntryLocator builds a locator from the given href.
{ "resource": "" }
c180465
test
// BackupLocator builds a locator from the given href.
{ "resource": "" }
c180466
test
// ChildAccountLocator builds a locator from the given href.
{ "resource": "" }
c180467
test
// CloudLocator builds a locator from the given href.
{ "resource": "" }
c180468
test
// CloudAccountLocator builds a locator from the given href.
{ "resource": "" }
c180469
test
// CookbookLocator builds a locator from the given href.
{ "resource": "" }
c180470
test
// CookbookAttachmentLocator builds a locator from the given href.
{ "resource": "" }
c180471
test
// CredentialLocator builds a locator from the given href.
{ "resource": "" }
c180472
test
// DatacenterLocator builds a locator from the given href.
{ "resource": "" }
c180473
test
// DeploymentLocator builds a locator from the given href.
{ "resource": "" }
c180474
test
// HealthCheckLocator builds a locator from the given href.
{ "resource": "" }
c180475
test
// IdentityProviderLocator builds a locator from the given href.
{ "resource": "" }
c180476
test
// ImageLocator builds a locator from the given href.
{ "resource": "" }
c180477
test
// InputLocator builds a locator from the given href.
{ "resource": "" }
c180478
test
// InstanceLocator builds a locator from the given href.
{ "resource": "" }
c180479
test
// InstanceTypeLocator builds a locator from the given href.
{ "resource": "" }
c180480
test
// IpAddressLocator builds a locator from the given href.
{ "resource": "" }
c180481
test
// IpAddressBindingLocator builds a locator from the given href.
{ "resource": "" }
c180482
test
// MonitoringMetricLocator builds a locator from the given href.
{ "resource": "" }
c180483
test
// MultiCloudImageLocator builds a locator from the given href.
{ "resource": "" }
c180484
test
// MultiCloudImageMatcherLocator builds a locator from the given href.
{ "resource": "" }
c180485
test
// MultiCloudImageSettingLocator builds a locator from the given href.
{ "resource": "" }
c180486
test
// NetworkLocator builds a locator from the given href.
{ "resource": "" }
c180487
test
// NetworkGatewayLocator builds a locator from the given href.
{ "resource": "" }
c180488
test
// NetworkOptionGroupLocator builds a locator from the given href.
{ "resource": "" }
c180489
test
// NetworkOptionGroupAttachmentLocator builds a locator from the given href.
{ "resource": "" }
c180490
test
// Oauth2Locator builds a locator from the given href.
{ "resource": "" }
c180491
test
// PermissionLocator builds a locator from the given href.
{ "resource": "" }
c180492
test
// PlacementGroupLocator builds a locator from the given href.
{ "resource": "" }
c180493
test
// PreferenceLocator builds a locator from the given href.
{ "resource": "" }
c180494
test
// PublicationLocator builds a locator from the given href.
{ "resource": "" }
c180495
test
// PublicationLineageLocator builds a locator from the given href.
{ "resource": "" }
c180496
test
// RecurringVolumeAttachmentLocator builds a locator from the given href.
{ "resource": "" }
c180497
test
// RepositoryLocator builds a locator from the given href.
{ "resource": "" }
c180498
test
// RepositoryAssetLocator builds a locator from the given href.
{ "resource": "" }
c180499
test
// ResourceGroupLocator builds a locator from the given href.
{ "resource": "" }