_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c177300 | test | // NewFilter creates a filter for a hashtree shard. | {
"resource": ""
} | ||
c177301 | test | // PathToTree computes the hashtree shard for a path. | {
"resource": ""
} | ||
c177302 | test | // Merge merges a collection of hashtree readers into a hashtree writer. | {
"resource": ""
} | ||
c177303 | test | // Hash updates all of the hashes and node size metadata, it also checks
// for conflicts. | {
"resource": ""
} | ||
c177304 | test | // IsGlob checks if the pattern contains a glob character | {
"resource": ""
} | ||
c177305 | test | // GlobLiteralPrefix returns the prefix before the first glob character | {
"resource": ""
} | ||
c177306 | test | // GetHashTreeObject is a convenience function to deserialize a HashTree from an object in the object store. | {
"resource": ""
} | ||
c177307 | test | // GetHashTreeTag is a convenience function to deserialize a HashTree from an tagged object in the object store. | {
"resource": ""
} | ||
c177308 | test | // PutHashTree is a convenience function for putting a HashTree to an object store. | {
"resource": ""
} | ||
c177309 | test | // NewChildCursor creates a new child cursor. | {
"resource": ""
} | ||
c177310 | test | // Next gets the next key, value pair. | {
"resource": ""
} | ||
c177311 | test | // NewOrdered creates a new ordered hashtree. | {
"resource": ""
} | ||
c177312 | test | // MkdirAll puts all of the parent directories of a given
// path into the hashtree. | {
"resource": ""
} | ||
c177313 | test | // PutDir puts a directory in the hashtree. | {
"resource": ""
} | ||
c177314 | test | // Serialize serializes an ordered hashtree. | {
"resource": ""
} | ||
c177315 | test | // NewUnordered creates a new unordered hashtree. | {
"resource": ""
} | ||
c177316 | test | // Ordered converts an unordered hashtree into an ordered hashtree. | {
"resource": ""
} | ||
c177317 | test | // revokeUserCredentials revokes the Pachyderm authentication token 'userToken'
// using the vault plugin's Admin credentials. | {
"resource": ""
} | ||
c177318 | test | // NewAPIServer creates a new APIServer for the given Version. | {
"resource": ""
} | ||
c177319 | test | // String returns a string representation of the Version. | {
"resource": ""
} | ||
c177320 | test | // getPipelineInfo gets the PipelineInfo proto describing the pipeline that this
// worker is part of.
// getPipelineInfo has the side effect of adding auth to the passed pachClient
// which is necessary to get the PipelineInfo from pfs. | {
"resource": ""
} | ||
c177321 | test | // removeStr removes 's' from 'ss', preserving the sorted order of 'ss' (for
// removing child strings from DirectoryNodes. | {
"resource": ""
} | ||
c177322 | test | // PublicCertToPEM serializes the public x509 cert in 'cert' to a PEM-formatted
// block | {
"resource": ""
} | ||
c177323 | test | // GenerateSelfSignedCert generates a self-signed TLS cert for the domain name
// 'address', with a private key. Other attributes of the subject can be set in
// 'name' and ip addresses can be set in 'ipAddresses' | {
"resource": ""
} | ||
c177324 | test | // ActivateCmd returns a cobra.Command to activate Pachyderm's auth system | {
"resource": ""
} | ||
c177325 | test | // DeactivateCmd returns a cobra.Command to delete all ACLs, tokens, and admins,
// deactivating Pachyderm's auth system | {
"resource": ""
} | ||
c177326 | test | // LoginCmd returns a cobra.Command to login to a Pachyderm cluster with your
// GitHub account. Any resources that have been restricted to the email address
// registered with your GitHub account will subsequently be accessible. | {
"resource": ""
} | ||
c177327 | test | // LogoutCmd returns a cobra.Command that deletes your local Pachyderm
// credential, logging you out of your cluster. Note that this is not necessary
// to do before logging in as another user, but is useful for testing. | {
"resource": ""
} | ||
c177328 | test | // WhoamiCmd returns a cobra.Command that deletes your local Pachyderm
// credential, logging you out of your cluster. Note that this is not necessary
// to do before logging in as another user, but is useful for testing. | {
"resource": ""
} | ||
c177329 | test | // CheckCmd returns a cobra command that sends an "Authorize" RPC to Pachd, to
// determine whether the specified user has access to the specified repo. | {
"resource": ""
} | ||
c177330 | test | // GetCmd returns a cobra command that gets either the ACL for a Pachyderm
// repo or another user's scope of access to that repo | {
"resource": ""
} | ||
c177331 | test | // SetScopeCmd returns a cobra command that lets a user set the level of access
// that another user has to a repo | {
"resource": ""
} | ||
c177332 | test | // ListAdminsCmd returns a cobra command that lists the current cluster admins | {
"resource": ""
} | ||
c177333 | test | // ModifyAdminsCmd returns a cobra command that modifies the set of current
// cluster admins | {
"resource": ""
} | ||
c177334 | test | // GetAuthTokenCmd returns a cobra command that lets a user get a pachyderm
// token on behalf of themselves or another user | {
"resource": ""
} | ||
c177335 | test | // UseAuthTokenCmd returns a cobra command that lets a user get a pachyderm
// token on behalf of themselves or another user | {
"resource": ""
} | ||
c177336 | test | // Cmds returns a list of cobra commands for authenticating and authorizing
// users in an auth-enabled Pachyderm cluster. | {
"resource": ""
} | ||
c177337 | test | // ParseScope parses the string 's' to a scope (for example, parsing a command-
// line argument. | {
"resource": ""
} | ||
c177338 | test | // IsErrNotActivated checks if an error is a ErrNotActivated | {
"resource": ""
} | ||
c177339 | test | // IsErrPartiallyActivated checks if an error is a ErrPartiallyActivated | {
"resource": ""
} | ||
c177340 | test | // IsErrNotSignedIn returns true if 'err' is a ErrNotSignedIn | {
"resource": ""
} | ||
c177341 | test | // IsErrBadToken returns true if 'err' is a ErrBadToken | {
"resource": ""
} | ||
c177342 | test | // IsErrNotAuthorized checks if an error is a ErrNotAuthorized | {
"resource": ""
} | ||
c177343 | test | // IsErrInvalidPrincipal returns true if 'err' is an ErrInvalidPrincipal | {
"resource": ""
} | ||
c177344 | test | // IsErrTooShortTTL returns true if 'err' is a ErrTooShortTTL | {
"resource": ""
} | ||
c177345 | test | // NewDatumFactory creates a datumFactory for an input. | {
"resource": ""
} | ||
c177346 | test | // NewCollection creates a new collection. | {
"resource": ""
} | ||
c177347 | test | // Path returns the full path of a key in the etcd namespace | {
"resource": ""
} | ||
c177348 | test | // Giving a value, an index, and the key of the item, return the path
// under which the new index item should be stored. | {
"resource": ""
} | ||
c177349 | test | // Giving a value, a multi-index, and the key of the item, return the
// paths under which the multi-index items should be stored. | {
"resource": ""
} | ||
c177350 | test | // Upsert is like Update but 'key' is not required to be present | {
"resource": ""
} | ||
c177351 | test | // get is an internal wrapper around etcdClient.Get that wraps the call in a
// trace | {
"resource": ""
} | ||
c177352 | test | // List returns objects sorted based on the options passed in. f will be called with each key, val will contain the
// corresponding value. Val is not an argument to f because that would require
// f to perform a cast before it could be used.
// You can break out of iteration by returning errutil.ErrBreak. | {
"resource": ""
} | ||
c177353 | test | // Watch a collection, returning the current content of the collection as
// well as any future additions. | {
"resource": ""
} | ||
c177354 | test | // WatchByIndex watches items in a collection that match a particular index | {
"resource": ""
} | ||
c177355 | test | // WatchOne watches a given item. The first value returned from the watch
// will be the current value of the item. | {
"resource": ""
} | ||
c177356 | test | // WatchOneF watches a given item and executes a callback function each time an event occurs.
// The first value returned from the watch will be the current value of the item. | {
"resource": ""
} | ||
c177357 | test | // Get gets a key's value by returning an io.ReadCloser that should be closed when done. | {
"resource": ""
} | ||
c177358 | test | // Keys returns the keys in sorted order. | {
"resource": ""
} | ||
c177359 | test | // Clear clears the cache. | {
"resource": ""
} | ||
c177360 | test | // NewHTTPServer returns a Pachyderm HTTP server. | {
"resource": ""
} | ||
c177361 | test | // NewDeployServer creates a deploy server | {
"resource": ""
} | ||
c177362 | test | // Export a tarball of the images needed by a deployment. | {
"resource": ""
} | ||
c177363 | test | // Import a tarball of the images needed by a deployment such as the one
// created by Export and push those images to the registry specific in opts. | {
"resource": ""
} | ||
c177364 | test | // DatumTagPrefix hashes a pipeline salt to a string of a fixed size for use as
// the prefix for datum output trees. This prefix allows us to do garbage
// collection correctly. | {
"resource": ""
} | ||
c177365 | test | // NewPFSInput returns a new PFS input. It only includes required options. | {
"resource": ""
} | ||
c177366 | test | // NewPFSInputOpts returns a new PFS input. It includes all options. | {
"resource": ""
} | ||
c177367 | test | // NewJobInput creates a pps.JobInput. | {
"resource": ""
} | ||
c177368 | test | // NewPipelineInput creates a new pps.PipelineInput | {
"resource": ""
} | ||
c177369 | test | // CreateJob creates and runs a job in PPS.
// This function is mostly useful internally, users should generally run work
// by creating pipelines as well. | {
"resource": ""
} | ||
c177370 | test | // ListJob returns info about all jobs.
// If pipelineName is non empty then only jobs that were started by the named pipeline will be returned
// If inputCommit is non-nil then only jobs which took the specific commits as inputs will be returned.
// The order of the inputCommits doesn't matter.
// If outputCommit is n... | {
"resource": ""
} | ||
c177371 | test | // ListJobF returns info about all jobs, calling f with each JobInfo.
// If f returns an error iteration of jobs will stop and ListJobF will return
// that error, unless the error is errutil.ErrBreak in which case it will
// return nil.
// If pipelineName is non empty then only jobs that were started by the named pipel... | {
"resource": ""
} | ||
c177372 | test | // FlushJob calls f with all the jobs which were triggered by commits.
// If toPipelines is non-nil then only the jobs between commits and those
// pipelines in the DAG will be returned. | {
"resource": ""
} | ||
c177373 | test | // FlushJobAll returns all the jobs which were triggered by commits.
// If toPipelines is non-nil then only the jobs between commits and those
// pipelines in the DAG will be returned. | {
"resource": ""
} | ||
c177374 | test | // DeleteJob deletes a job. | {
"resource": ""
} | ||
c177375 | test | // StopJob stops a job. | {
"resource": ""
} | ||
c177376 | test | // RestartDatum restarts a datum that's being processed as part of a job.
// datumFilter is a slice of strings which are matched against either the Path
// or Hash of the datum, the order of the strings in datumFilter is irrelevant. | {
"resource": ""
} | ||
c177377 | test | // ListDatum returns info about all datums in a Job | {
"resource": ""
} | ||
c177378 | test | // ListDatumF returns info about all datums in a Job, calling f with each datum info. | {
"resource": ""
} | ||
c177379 | test | // InspectDatum returns info about a single datum | {
"resource": ""
} | ||
c177380 | test | // Next retrieves the next relevant log message from pachd | {
"resource": ""
} | ||
c177381 | test | // InspectPipeline returns info about a specific pipeline. | {
"resource": ""
} | ||
c177382 | test | // ListPipeline returns info about all pipelines. | {
"resource": ""
} | ||
c177383 | test | // DeletePipeline deletes a pipeline along with its output Repo. | {
"resource": ""
} | ||
c177384 | test | // StartPipeline restarts a stopped pipeline. | {
"resource": ""
} | ||
c177385 | test | // StopPipeline prevents a pipeline from processing things, it can be restarted
// with StartPipeline. | {
"resource": ""
} | ||
c177386 | test | // RerunPipeline reruns a pipeline over a given set of commits. Exclude and
// include are filters that either include or exclude the ancestors of the
// given commits. A commit is considered the ancestor of itself. The behavior
// is the same as that of ListCommit. | {
"resource": ""
} | ||
c177387 | test | // CreatePipelineService creates a new pipeline service. | {
"resource": ""
} | ||
c177388 | test | // GetDatumTotalTime sums the timing stats from a DatumInfo | {
"resource": ""
} | ||
c177389 | test | // Mount pfs to mountPoint, opts may be left nil. | {
"resource": ""
} | ||
c177390 | test | // NewBufPool creates a new BufPool that returns buffers of the given size. | {
"resource": ""
} | ||
c177391 | test | // StorageRootFromEnv gets the storage root based on environment variables. | {
"resource": ""
} | ||
c177392 | test | // BlockPathFromEnv gets the path to an object storage block based on environment variables. | {
"resource": ""
} | ||
c177393 | test | // NewGoogleClient creates a google client with the given bucket name. | {
"resource": ""
} | ||
c177394 | test | // NewGoogleClientFromSecret creates a google client by reading credentials
// from a mounted GoogleSecret. You may pass "" for bucket in which case it
// will read the bucket from the secret. | {
"resource": ""
} | ||
c177395 | test | // NewGoogleClientFromEnv creates a Google client based on environment variables. | {
"resource": ""
} | ||
c177396 | test | // NewMicrosoftClientFromSecret creates a microsoft client by reading
// credentials from a mounted MicrosoftSecret. You may pass "" for container in
// which case it will read the container from the secret. | {
"resource": ""
} | ||
c177397 | test | // NewMicrosoftClientFromEnv creates a Microsoft client based on environment variables. | {
"resource": ""
} | ||
c177398 | test | // NewMinioClientFromSecret constructs an s3 compatible client by reading
// credentials from a mounted AmazonSecret. You may pass "" for bucket in which case it
// will read the bucket from the secret. | {
"resource": ""
} | ||
c177399 | test | // NewMinioClientFromEnv creates a Minio client based on environment variables. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.