_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c23500 | train | // MakeTable creates a new instance of the table without any column names.
// The number of columns is required. | {
"resource": ""
} | ||
c23501 | train | // AddRow adds a row of cells to the table. | {
"resource": ""
} | ||
c23502 | train | // IsHeadless returns true if none of the table title cells contains any text. | {
"resource": ""
} | ||
c23503 | train | // ParseSessionsURI parses uri per convention of session upload URIs
// file is a default scheme | {
"resource": ""
} | ||
c23504 | train | // GetIterations provides a simple way to add iterations to the test
// by setting environment variable "ITERATIONS", by default it returns 1 | {
"resource": ""
} | ||
c23505 | train | // UserMessageFromError returns user friendly error message from error | {
"resource": ""
} | ||
c23506 | train | // InitCLIParser configures kingpin command line args parser with
// some defaults common for all Teleport CLI tools | {
"resource": ""
} | ||
c23507 | train | // needsQuoting returns true if any non-printable characters are found. | {
"resource": ""
} | ||
c23508 | train | // MakeServers creates server objects for webapp | {
"resource": ""
} | ||
c23509 | train | // printShutdownStatus prints running services until shut down | {
"resource": ""
} | ||
c23510 | train | // closeImportedDescriptors closes imported but unused file descriptors,
// what could happen if service has updated configuration | {
"resource": ""
} | ||
c23511 | train | // importListener imports listener passed by the parent process, if no listener is found
// returns NotFound, otherwise removes the file from the list | {
"resource": ""
} | ||
c23512 | train | // createListener creates listener and adds to a list of tracked listeners | {
"resource": ""
} | ||
c23513 | train | // ExportFileDescriptors exports file descriptors to be passed to child process | {
"resource": ""
} | ||
c23514 | train | // importFileDescriptors imports file descriptors from environment if there are any | {
"resource": ""
} | ||
c23515 | train | // NewForwardRecorder returns a new instance of session recorder | {
"resource": ""
} | ||
c23516 | train | // Write takes a chunk and writes it into the audit log | {
"resource": ""
} | ||
c23517 | train | // Close closes audit log session recorder | {
"resource": ""
} | ||
c23518 | train | // AcquireLock grabs a lock that will be released automatically in TTL | {
"resource": ""
} | ||
c23519 | train | // ReleaseLock forces lock release | {
"resource": ""
} | ||
c23520 | train | // Check checks parameters for errors | {
"resource": ""
} | ||
c23521 | train | // MarshalCertRoles marshal roles list to OpenSSH | {
"resource": ""
} | ||
c23522 | train | // UnmarshalCertRoles marshals roles list to OpenSSH | {
"resource": ""
} | ||
c23523 | train | // CertPoolFromCertAuthorities returns certificate pools from TLS certificates
// set up in the certificate authorities list | {
"resource": ""
} | ||
c23524 | train | // TLSCerts returns TLS certificates from CA | {
"resource": ""
} | ||
c23525 | train | // NewCertAuthority returns new cert authority | {
"resource": ""
} | ||
c23526 | train | // CertAuthoritiesToV1 converts list of cert authorities to V1 slice | {
"resource": ""
} | ||
c23527 | train | // Clone returns a copy of the cert authority object. | {
"resource": ""
} | ||
c23528 | train | // GetRotation returns rotation state. | {
"resource": ""
} | ||
c23529 | train | // TLSCA returns TLS certificate authority | {
"resource": ""
} | ||
c23530 | train | // String returns human readable version of the CertAuthorityV2. | {
"resource": ""
} | ||
c23531 | train | // AddRole adds a role to ca role list | {
"resource": ""
} | ||
c23532 | train | // SetSigningKeys sets signing keys | {
"resource": ""
} | ||
c23533 | train | // SetCheckingKeys sets SSH public keys | {
"resource": ""
} | ||
c23534 | train | // GetID returns certificate authority ID -
// combined type and name | {
"resource": ""
} | ||
c23535 | train | // SetRoleMap sets role map | {
"resource": ""
} | ||
c23536 | train | // FirstSigningKey returns first signing key or returns error if it's not here | {
"resource": ""
} | ||
c23537 | train | // Checkers returns public keys that can be used to check cert authorities | {
"resource": ""
} | ||
c23538 | train | // Signers returns a list of signers that could be used to sign keys | {
"resource": ""
} | ||
c23539 | train | // Check checks if all passed parameters are valid | {
"resource": ""
} | ||
c23540 | train | // RemoveCASecrets removes secret values and keys
// from the certificate authority | {
"resource": ""
} | ||
c23541 | train | // Matches returns true if this state rotation matches
// external rotation state, phase and rotation ID should match,
// notice that matches does not behave like Equals because it does not require
// all fields to be the same. | {
"resource": ""
} | ||
c23542 | train | // LastRotatedDescription returns human friendly description. | {
"resource": ""
} | ||
c23543 | train | // PhaseDescription returns human friendly description of a current rotation phase. | {
"resource": ""
} | ||
c23544 | train | // String returns user friendly information about certificate authority. | {
"resource": ""
} | ||
c23545 | train | // CheckAndSetDefaults checks and sets default rotation parameters. | {
"resource": ""
} | ||
c23546 | train | // GenerateSchedule generates schedule based on the time period, using
// even time periods between rotation phases. | {
"resource": ""
} | ||
c23547 | train | // CheckAndSetDefaults checks and sets default values of the rotation schedule. | {
"resource": ""
} | ||
c23548 | train | // String returns human readable version of the CertAuthorityV1. | {
"resource": ""
} | ||
c23549 | train | // GetCertAuthoritySchema returns JSON Schema for cert authorities | {
"resource": ""
} | ||
c23550 | train | // UnmarshalCertAuthority unmarshals cert authority from JSON | {
"resource": ""
} | ||
c23551 | train | // MarshalCertAuthority marshalls cert authority into JSON | {
"resource": ""
} | ||
c23552 | train | // UpdateEventFields updates passed event fields with additional information
// common for all event types such as unique IDs, timestamps, codes, etc.
//
// This method is a "final stop" for various audit log implementations for
// updating event fields before it gets persisted in the backend. | {
"resource": ""
} | ||
c23553 | train | // CheckAndSetDefaults makes sure the minimal parameters are set. | {
"resource": ""
} | ||
c23554 | train | // NewTrustedCluster is a convenience wa to create a TrustedCluster resource. | {
"resource": ""
} | ||
c23555 | train | // Equals checks if the two role maps are equal. | {
"resource": ""
} | ||
c23556 | train | // String prints user friendly representation of role mapping | {
"resource": ""
} | ||
c23557 | train | // Map maps local roles to remote roles | {
"resource": ""
} | ||
c23558 | train | // Check checks RoleMap for errors | {
"resource": ""
} | ||
c23559 | train | // Equals checks if the two role mappings are equal. | {
"resource": ""
} | ||
c23560 | train | // CanChangeState checks if the state change is allowed or not. If not, returns
// an error explaining the reason. | {
"resource": ""
} | ||
c23561 | train | // String represents a human readable version of trusted cluster settings. | {
"resource": ""
} | ||
c23562 | train | // GetTrustedClusterSchema returns the schema with optionally injected
// schema for extensions. | {
"resource": ""
} | ||
c23563 | train | // Less compares items by name. | {
"resource": ""
} | ||
c23564 | train | // Swap swaps two items in a list. | {
"resource": ""
} | ||
c23565 | train | // Name returns the name of the profile. | {
"resource": ""
} | ||
c23566 | train | // If there's a current profile symlink, remove it | {
"resource": ""
} | ||
c23567 | train | // ProfileFromFile loads the profile from a YAML file | {
"resource": ""
} | ||
c23568 | train | // SaveTo saves the profile into a given filename, optionally overwriting it. | {
"resource": ""
} | ||
c23569 | train | // CreateUploaderDir creates directory for file uploader service | {
"resource": ""
} | ||
c23570 | train | // GenerateCertificate generates certificate for identity,
// returns private public key pair | {
"resource": ""
} | ||
c23571 | train | // NewCertificate returns new TLS credentials generated by test auth server | {
"resource": ""
} | ||
c23572 | train | // Trust adds other server host certificate authority as trusted | {
"resource": ""
} | ||
c23573 | train | // NewRemoteClient creates new client to the remote server using identity
// generated for this certificate authority | {
"resource": ""
} | ||
c23574 | train | // CheckAndSetDefaults checks and sets limiter defaults | {
"resource": ""
} | ||
c23575 | train | // NewClientFromWebSession returns new authenticated client from web session | {
"resource": ""
} | ||
c23576 | train | // CertPool returns cert pool that auth server represents | {
"resource": ""
} | ||
c23577 | train | // ClientTLSConfig returns client TLS config based on the identity | {
"resource": ""
} | ||
c23578 | train | // CloneClient uses the same credentials as the passed client
// but forces the client to be recreated | {
"resource": ""
} | ||
c23579 | train | // NewClient returns new client to test server authenticated with identity | {
"resource": ""
} | ||
c23580 | train | // Start starts TLS server on loopback address on the first lisenting socket | {
"resource": ""
} | ||
c23581 | train | // Close closes the listener and HTTP server | {
"resource": ""
} | ||
c23582 | train | // Stop stops listening server, but does not close the auth backend | {
"resource": ""
} | ||
c23583 | train | // NewServerIdentity generates new server identity, used in tests | {
"resource": ""
} | ||
c23584 | train | // CreateUserAndRole creates user and role and assignes role to a user, used in tests | {
"resource": ""
} | ||
c23585 | train | // CreateUserAndRoleWithoutRoles creates user and role, but does not assign user to a role, used in tests | {
"resource": ""
} | ||
c23586 | train | // CheckAndSetDefaults checks and sets default values of UploaderConfig | {
"resource": ""
} | ||
c23587 | train | // NewUploader creates new disk based session logger | {
"resource": ""
} | ||
c23588 | train | // Scan scans the directory and uploads recordings | {
"resource": ""
} | ||
c23589 | train | // MakeDefaultConfig returns default client config | {
"resource": ""
} | ||
c23590 | train | // IsExpired returns true if profile is not expired yet | {
"resource": ""
} | ||
c23591 | train | // RetryWithRelogin is a helper error handling method,
// attempts to relogin and retry the function once | {
"resource": ""
} | ||
c23592 | train | // fullProfileName takes a profile directory and the host the user is trying
// to connect to and returns the name of the profile file. | {
"resource": ""
} | ||
c23593 | train | // Status returns the active profile as well as a list of available profiles. | {
"resource": ""
} | ||
c23594 | train | // KubeProxyHostPort returns the host and port of the Kubernetes proxy. | {
"resource": ""
} | ||
c23595 | train | // WebProxyHostPort returns the host and port of the web proxy. | {
"resource": ""
} | ||
c23596 | train | // SSHProxyHostPort returns the host and port of the SSH proxy. | {
"resource": ""
} | ||
c23597 | train | // NewClient creates a TeleportClient object and fully configures it | {
"resource": ""
} | ||
c23598 | train | // accessPoint returns access point based on the cache policy | {
"resource": ""
} | ||
c23599 | train | // getTargetNodes returns a list of node addresses this SSH command needs to
// operate on. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.