_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c177500 | test | // getTreeForFile is like getTreeForCommit except that it can handle open commits.
// It takes a file instead of a commit so that it can apply the changes for
// that path to the tree before it returns it. | {
"resource": ""
} | ||
c177501 | test | // this is a helper function to check if the given provenance has provenance on an input branch | {
"resource": ""
} | ||
c177502 | test | // If full is false, exclude potentially large fields such as `Objects`
// and `Children` | {
"resource": ""
} | ||
c177503 | test | // fileHistory calls f with FileInfos for the file, starting with how it looked
// at the referenced commit and then all past versions that are different. | {
"resource": ""
} | ||
c177504 | test | // Put the tree into the blob store
// Only write the records to etcd if the commit does exist and is open.
// To check that a key exists in etcd, we assert that its CreateRevision
// is greater than zero. | {
"resource": ""
} | ||
c177505 | test | // ReadRow parses the pgdump file and populates the header and the footer
// It returns EOF when done, and at that time both the Header and Footer will
// be populated. Both header and footer are required. If either are missing, an
// error is returned | {
"resource": ""
} | ||
c177506 | test | // NewReporter creates a new reporter and kicks off the loop to report cluster
// metrics | {
"resource": ""
} | ||
c177507 | test | //ReportUserAction pushes the action into a queue for reporting,
// and reports the start, finish, and error conditions | {
"resource": ""
} | ||
c177508 | test | // FinishReportAndFlushUserAction immediately reports the metric but does
// not block execution. It returns a wait function which waits or times
// out after 5s.
// It is used by the pachctl binary and runs on users' machines | {
"resource": ""
} | ||
c177509 | test | // Read reads from the byte stream produced by the set of DataRefs. | {
"resource": ""
} | ||
c177510 | test | // ActivateCmd returns a cobra.Command to activate the enterprise features of
// Pachyderm within a Pachyderm cluster. All repos will go from
// publicly-accessible to accessible only by the owner, who can subsequently add
// users | {
"resource": ""
} | ||
c177511 | test | // GetStateCmd returns a cobra.Command to activate the enterprise features of
// Pachyderm within a Pachyderm cluster. All repos will go from
// publicly-accessible to accessible only by the owner, who can subsequently add
// users | {
"resource": ""
} | ||
c177512 | test | // Cmds returns pachctl commands related to Pachyderm Enterprise | {
"resource": ""
} | ||
c177513 | test | // NewConfiguration creates a generic configuration from a specific type of configuration. | {
"resource": ""
} | ||
c177514 | test | // Repos returns a collection of repos | {
"resource": ""
} | ||
c177515 | test | // PutFileRecords returns a collection of putFileRecords | {
"resource": ""
} | ||
c177516 | test | // Commits returns a collection of commits | {
"resource": ""
} | ||
c177517 | test | // Branches returns a collection of branches | {
"resource": ""
} | ||
c177518 | test | // OpenCommits returns a collection of open commits | {
"resource": ""
} | ||
c177519 | test | // NewDAG creates a DAG and populates it with the given nodes. | {
"resource": ""
} | ||
c177520 | test | // NewNode adds a node to d. | {
"resource": ""
} | ||
c177521 | test | // Sorted returns all nodes in a topologically sorted order | {
"resource": ""
} | ||
c177522 | test | // Leaves returns a slice containing all leaves in d. | {
"resource": ""
} | ||
c177523 | test | // Ancestors returns a slice containing all ancestors of a node, 'id',
// in d which are a descendant of at least one of the nodes in 'from'. | {
"resource": ""
} | ||
c177524 | test | // Descendants returns a slice containing all descendants of a node, 'id',
// in d which are an ancestor of at least one of the nodes in 'to'. | {
"resource": ""
} | ||
c177525 | test | // Ghosts returns nodes that were referenced as parents but never created. | {
"resource": ""
} | ||
c177526 | test | // NewPortForwarder creates a new port forwarder | {
"resource": ""
} | ||
c177527 | test | // Run starts the port forwarder. Returns after initialization is begun,
// returning any initialization errors. | {
"resource": ""
} | ||
c177528 | test | // RunForDaemon creates a port forwarder for the pachd daemon. | {
"resource": ""
} | ||
c177529 | test | // RunForSAMLACS creates a port forwarder for SAML ACS. | {
"resource": ""
} | ||
c177530 | test | // RunForDashUI creates a port forwarder for the dash UI. | {
"resource": ""
} | ||
c177531 | test | // RunForDashWebSocket creates a port forwarder for the dash websocket. | {
"resource": ""
} | ||
c177532 | test | // RunForPFS creates a port forwarder for PFS over HTTP. | {
"resource": ""
} | ||
c177533 | test | // RunForS3Gateway creates a port forwarder for the s3gateway. | {
"resource": ""
} | ||
c177534 | test | // Lock uses pidfiles to ensure that only one port forwarder is running across
// one or more `pachctl` instances | {
"resource": ""
} | ||
c177535 | test | // Close shuts down port forwarding. | {
"resource": ""
} | ||
c177536 | test | // Unmarshal unmarshals the item in an event into a protobuf message. | {
"resource": ""
} | ||
c177537 | test | // UnmarshalPrev unmarshals the prev item in an event into a protobuf
// message. | {
"resource": ""
} | ||
c177538 | test | // MakeWatcher returns a Watcher that uses the given event channel and done
// channel internally to deliver events and signal closure, respectively. | {
"resource": ""
} | ||
c177539 | test | // CheckType checks to make sure val has the same type as template, unless
// template is nil in which case it always returns nil. | {
"resource": ""
} | ||
c177540 | test | // NewPool creates a new connection pool with connections to pods in the
// given service. | {
"resource": ""
} | ||
c177541 | test | // Do allows you to do something with a grpc.ClientConn.
// Errors returned from f will be returned by Do. | {
"resource": ""
} | ||
c177542 | test | // Close closes all connections stored in the pool, it returns an error if any
// of the calls to Close error. | {
"resource": ""
} | ||
c177543 | test | // buildImage builds a new docker image. | {
"resource": ""
} | ||
c177544 | test | // pushImage pushes a docker image. | {
"resource": ""
} | ||
c177545 | test | // Creates a new minioClient structure and returns | {
"resource": ""
} | ||
c177546 | test | // Creates a new minioClient S3V2 structure and returns | {
"resource": ""
} | ||
c177547 | test | // Creates a new minio writer and a go routine to upload objects to minio server | {
"resource": ""
} | ||
c177548 | test | // This will block till upload is done | {
"resource": ""
} | ||
c177549 | test | // PipelineRepo creates a pfs repo for a given pipeline. | {
"resource": ""
} | ||
c177550 | test | // PipelineRcName generates the name of the k8s replication controller that
// manages a pipeline's workers | {
"resource": ""
} | ||
c177551 | test | // GetRequestsResourceListFromPipeline returns a list of resources that the pipeline,
// minimally requires. | {
"resource": ""
} | ||
c177552 | test | // GetLimitsResourceListFromPipeline returns a list of resources that the pipeline,
// maximally is limited to. | {
"resource": ""
} | ||
c177553 | test | // getNumNodes attempts to retrieve the number of nodes in the current k8s
// cluster | {
"resource": ""
} | ||
c177554 | test | // GetExpectedNumWorkers computes the expected number of workers that
// pachyderm will start given the ParallelismSpec 'spec'.
//
// This is only exported for testing | {
"resource": ""
} | ||
c177555 | test | // GetExpectedNumHashtrees computes the expected number of hashtrees that
// Pachyderm will create given the HashtreeSpec 'spec'. | {
"resource": ""
} | ||
c177556 | test | // FailPipeline updates the pipeline's state to failed and sets the failure reason | {
"resource": ""
} | ||
c177557 | test | // JobInput fills in the commits for a JobInfo | {
"resource": ""
} | ||
c177558 | test | // PipelineReqFromInfo converts a PipelineInfo into a CreatePipelineRequest. | {
"resource": ""
} | ||
c177559 | test | // NewPipelineManifestReader creates a new manifest reader from a path. | {
"resource": ""
} | ||
c177560 | test | // NextCreatePipelineRequest gets the next request from the manifest reader. | {
"resource": ""
} | ||
c177561 | test | // DescribeSyntaxError describes a syntax error encountered parsing json. | {
"resource": ""
} | ||
c177562 | test | // UpdateJobState performs the operations involved with a job state transition. | {
"resource": ""
} | ||
c177563 | test | // New returns a new uuid. | {
"resource": ""
} | ||
c177564 | test | // Code returns the HTTP error code associated with 'h' | {
"resource": ""
} | ||
c177565 | test | // NewHTTPError returns a new HTTPError where the HTTP error code is 'code' and
// the error message is based on 'formatStr' and 'args' | {
"resource": ""
} | ||
c177566 | test | // NewStorage creates a new Storage. | {
"resource": ""
} | ||
c177567 | test | // DeleteAll deletes all of the chunks in object storage. | {
"resource": ""
} | ||
c177568 | test | // Chunk splits a piece of data up, this is useful for splitting up data that's
// bigger than MaxMsgSize | {
"resource": ""
} | ||
c177569 | test | // ChunkReader splits a reader into reasonably sized chunks for the purpose
// of transmitting the chunks over gRPC. For each chunk, it calls the given
// function. | {
"resource": ""
} | ||
c177570 | test | // NewStreamingBytesReader returns an io.Reader for a StreamingBytesClient. | {
"resource": ""
} | ||
c177571 | test | // NewSidecarAPIServer creates an APIServer that has limited functionalities
// and is meant to be run as a worker sidecar. It cannot, for instance,
// create pipelines. | {
"resource": ""
} | ||
c177572 | test | // NewEnterpriseServer returns an implementation of ec.APIServer. | {
"resource": ""
} | ||
c177573 | test | // validateActivationCode checks the validity of an activation code | {
"resource": ""
} | ||
c177574 | test | // Activate implements the Activate RPC | {
"resource": ""
} | ||
c177575 | test | // Deactivate deletes the current cluster's enterprise token, and puts the
// cluster in the "NONE" enterprise state. It also deletes all data in the
// cluster, to avoid invalid cluster states. This call only makes sense for
// testing | {
"resource": ""
} | ||
c177576 | test | // lookExtensions finds windows executable by its dir and path.
// It uses LookPath to try appropriate extensions.
// lookExtensions does not search PATH, instead it converts `prog` into `.\prog`. | {
"resource": ""
} | ||
c177577 | test | // Start starts the specified command but does not wait for it to complete.
//
// The Wait method will return the exit code and release associated resources
// once the command exits. | {
"resource": ""
} | ||
c177578 | test | // CombinedOutput runs the command and returns its combined standard
// output and standard error. | {
"resource": ""
} | ||
c177579 | test | // StdinPipe returns a pipe that will be connected to the command's
// standard input when the command starts.
// The pipe will be closed automatically after Wait sees the command exit.
// A caller need only call Close to force the pipe to close sooner.
// For example, if the command being run will not exit until stand... | {
"resource": ""
} | ||
c177580 | test | // StdoutPipe returns a pipe that will be connected to the command's
// standard output when the command starts.
//
// Wait will close the pipe after seeing the command exit, so most callers
// need not close the pipe themselves; however, an implication is that
// it is incorrect to call Wait before all reads from the ... | {
"resource": ""
} | ||
c177581 | test | // dedupEnvCase is dedupEnv with a case option for testing.
// If caseInsensitive is true, the case of keys is ignored. | {
"resource": ""
} | ||
c177582 | test | // InputName computes the name of an Input. | {
"resource": ""
} | ||
c177583 | test | // SortInput sorts an Input. | {
"resource": ""
} | ||
c177584 | test | // InputBranches returns the branches in an Input. | {
"resource": ""
} | ||
c177585 | test | // ValidateGitCloneURL returns an error if the provided URL is invalid | {
"resource": ""
} | ||
c177586 | test | // containsEmpty is a helper function used for validation (particularly for
// validating that creds arguments aren't empty | {
"resource": ""
} | ||
c177587 | test | // NewAPIServer returns a new admin.APIServer | {
"resource": ""
} | ||
c177588 | test | // Ago pretty-prints the amount of time that has passed
// since timestamp as a human-readable string. | {
"resource": ""
} | ||
c177589 | test | // TimeDifference pretty-prints the duration of time between from
// and to as a human-reabable string. | {
"resource": ""
} | ||
c177590 | test | // Duration pretty prints a duration in a human readable way. | {
"resource": ""
} | ||
c177591 | test | // InspectCluster retrieves cluster state | {
"resource": ""
} | ||
c177592 | test | // Extract all cluster state, call f with each operation. | {
"resource": ""
} | ||
c177593 | test | // ExtractAll cluster state as a slice of operations. | {
"resource": ""
} | ||
c177594 | test | // ExtractWriter extracts all cluster state and marshals it to w. | {
"resource": ""
} | ||
c177595 | test | // ExtractURL extracts all cluster state and marshalls it to object storage. | {
"resource": ""
} | ||
c177596 | test | // ExtractPipeline extracts a single pipeline. | {
"resource": ""
} | ||
c177597 | test | // Restore cluster state from an extract series of operations. | {
"resource": ""
} | ||
c177598 | test | // RestoreReader restores cluster state from a reader containing marshaled ops.
// Such as those written by ExtractWriter. | {
"resource": ""
} | ||
c177599 | test | // RestoreFrom restores state from another cluster which can be access through otherC. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.