_id stringlengths 2 7 | title stringclasses 1 value | partition stringclasses 3 values | text stringlengths 6 2.61k | language stringclasses 1 value | meta_information dict |
|---|---|---|---|---|---|
c180500 | test | // RightScriptLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180501 | test | // RightScriptAttachmentLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180502 | test | // RouteLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180503 | test | // RouteTableLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180504 | test | // RunnableBindingLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180505 | test | // SchedulerLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180506 | test | // SecurityGroupLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180507 | test | // SecurityGroupRuleLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180508 | test | // ServerLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180509 | test | // ServerArrayLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180510 | test | // ServerTemplateLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180511 | test | // ServerTemplateMultiCloudImageLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180512 | test | // SessionLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180513 | test | // SshKeyLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180514 | test | // SubnetLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180515 | test | // TagLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180516 | test | // TaskLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180517 | test | // UserLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180518 | test | // UserDataLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180519 | test | // VolumeLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180520 | test | // VolumeAttachmentLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180521 | test | // VolumeSnapshotLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180522 | test | // VolumeTypeLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180523 | test | // RegisterCommands registers all the commands with the kinpin application. | {
"resource": ""
} | ||
c180524 | test | // ShowCommandHelp displays the command help. | {
"resource": ""
} | ||
c180525 | test | // ShowAPIActions displays the command hrefs. | {
"resource": ""
} | ||
c180526 | test | // ShowHelp displays help for the given command and flags. | {
"resource": ""
} | ||
c180527 | test | // ParseCommandAndFlags parses a command flag and infers the resource, action, href and params. | {
"resource": ""
} | ||
c180528 | test | // Validate flag value using validation criteria provided in metadata | {
"resource": ""
} | ||
c180529 | test | // Reconstruct query from flatten values | {
"resource": ""
} | ||
c180530 | test | // Reconstruct payload map from flatten values | {
"resource": ""
} | ||
c180531 | test | // Attempt to shorten action pattern for display by looking at other action hrefs
// and picking one that doesn't have the suffix if there is one. | {
"resource": ""
} | ||
c180532 | test | // cleans up description, removing blank lines and extraneous info | {
"resource": ""
} | ||
c180533 | test | // fileExists reads content from existing file and returns a byte array | {
"resource": ""
} | ||
c180534 | test | // AnalysisSnapshotLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180535 | test | // BudgetAlertLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180536 | test | // CloudBillLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180537 | test | // CloudBillMetricLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180538 | test | // CurrentUserLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180539 | test | // InstanceCombinationLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180540 | test | // InstanceMetricLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180541 | test | // InstanceUsagePeriodLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180542 | test | // PatternLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180543 | test | // ReservedInstanceLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180544 | test | // ReservedInstancePurchaseLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180545 | test | // ScenarioLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180546 | test | // ScheduledReportLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180547 | test | // TempInstancePriceLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180548 | test | // UserSettingLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180549 | test | // Read file asynchronously | {
"resource": ""
} | ||
c180550 | test | // Extract command line argument with given name and return remaining arguments | {
"resource": ""
} | ||
c180551 | test | // Helper function that appends a string to output file | {
"resource": ""
} | ||
c180552 | test | // AppliedPolicyLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180553 | test | // ApprovalLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180554 | test | // IncidentLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180555 | test | // PolicyTemplateLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180556 | test | // PublishedTemplateLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180557 | test | // DebugCookbookPathLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180558 | test | // DockerControlLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180559 | test | // EnvLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180560 | test | // LoginControlLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180561 | test | // ProcLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180562 | test | // Rl10Locator builds a locator from the given href. | {
"resource": ""
} | ||
c180563 | test | // TSSLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180564 | test | // TSSControlLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180565 | test | // TSSPluginLocator builds a locator from the given href. | {
"resource": ""
} | ||
c180566 | test | // NewAngularWriter creates a new code writer that generates angular.js types. | {
"resource": ""
} | ||
c180567 | test | // WriteResource writes the code for a resource. | {
"resource": ""
} | ||
c180568 | test | // Path for given action, for now simplify and take first path in PathPatterns.
// In the future we may want to create one "action" in generated JS per path. | {
"resource": ""
} | ||
c180569 | test | // Returns true if parameter with given name is mandatory | {
"resource": ""
} | ||
c180570 | test | // New returns a API client that uses the given authenticator.
// host may be blank in which case client attempts to resolve it using auth. | {
"resource": ""
} | ||
c180571 | test | // FromCommandLine builds an API client from the command line. | {
"resource": ""
} | ||
c180572 | test | // CanAuthenticate makes a test authenticated request to the RightScale API and returns an error
// if it fails. | {
"resource": ""
} | ||
c180573 | test | // Encrypt encrypts the given text with a hard-coded secret. Not truly secure. | {
"resource": ""
} | ||
c180574 | test | // Decrypt decrypts the given encrypted string using the hard-coded secret. | {
"resource": ""
} | ||
c180575 | test | // guessType tries to guess the resource name based on the definition and service.
// This info is not stored in the swagger. TBD manual overrides if needed. | {
"resource": ""
} | ||
c180576 | test | // addType conditionally adds a new type, trying its best to avoid type
// collisions. This is the downside of swagger 2 vs swagger 3. For swagger 2
// if you the same type like "User" returned in multiple places, each have to
// create their own definition in the swagger "definitions" section for goa
// v2. So they'll be X copies of identical definition for a User struct lets
// say. This tries to collapse those things down into one return type struct. | {
"resource": ""
} | ||
c180577 | test | // extractCmdLineParams generates flags for the command line | {
"resource": ""
} | ||
c180578 | test | // NewMetadataWriter creates a new writer that generates metadata data structures. | {
"resource": ""
} | ||
c180579 | test | // WriteHeader writes the generic header text. | {
"resource": ""
} | ||
c180580 | test | // WriteMetadata writes the data structures that describe the API resources and actions. | {
"resource": ""
} | ||
c180581 | test | // Return code corresponding to param location | {
"resource": ""
} | ||
c180582 | test | // New returns a client that uses RL10 authentication.
// accountId, host and auth arguments are not used.
// If no HTTP client is specified then the default client is used. | {
"resource": ""
} | ||
c180583 | test | // Wrap generic client into RL10 client | {
"resource": ""
} | ||
c180584 | test | // BuildRequest builds a HTTP request from a resource name and href and an action name and
// parameters.
// It is intended for generic clients that need to consume APIs in a generic maner.
// The method builds an HTTP request that can be fed to PerformRequest. | {
"resource": ""
} | ||
c180585 | test | // Initialize GenMetadata from each CA API generated metadata | {
"resource": ""
} | ||
c180586 | test | // NewDisplayer creates a new displayer using the response body. | {
"resource": ""
} | ||
c180587 | test | // ApplySingleExtract applies the given JSON selector and returns the results.
// It's an error if the selector yields more than one value. | {
"resource": ""
} | ||
c180588 | test | // ApplyExtract applies selector to js. | {
"resource": ""
} | ||
c180589 | test | // ApplyHeaderExtract reads the value of the given header. | {
"resource": ""
} | ||
c180590 | test | // Output returns the current output. | {
"resource": ""
} | ||
c180591 | test | // NewAPIAnalyzer is the factory method for the API analyzer | {
"resource": ""
} | ||
c180592 | test | // Analyze iterate through all resources and initializes the Resources and ParamTypes fields of
// the APIAnalyzer struct accordingly. | {
"resource": ""
} | ||
c180593 | test | // AnalyzeAliases goes through the aliases and copies the details from original actions to the
// aliased actions. It skips the route field since we have the routes hard-coded in the
// ParseRoute function. | {
"resource": ""
} | ||
c180594 | test | // LocatorFunc returns the source code for building a locator instance from a resource. | {
"resource": ""
} | ||
c180595 | test | // ParseRoute parses a API 1.5 route and returns corresponding path patterns. | {
"resource": ""
} | ||
c180596 | test | // true if path is for a deprecated API | {
"resource": ""
} | ||
c180597 | test | // Heuristic to determine whether given param is a query string param
// For now only consider view and filter... | {
"resource": ""
} | ||
c180598 | test | // Look in given path patterns to chek whether given parameter name corresponds to a variable
// name. | {
"resource": ""
} | ||
c180599 | test | // Make an API call and fetch the audit entries matching specified criteria | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.