_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c177300 | // NewFilter creates a filter for a hashtree shard. | |
c177301 | // PathToTree computes the hashtree shard for a path. | |
c177302 | // Merge merges a collection of hashtree readers into a hashtree writer. | |
c177303 | // Hash updates all of the hashes and node size metadata, it also checks
// for conflicts. | |
c177304 | // IsGlob checks if the pattern contains a glob character | |
c177305 | // GlobLiteralPrefix returns the prefix before the first glob character | |
c177306 | // GetHashTreeObject is a convenience function to deserialize a HashTree from an object in the object store. | |
c177307 | // GetHashTreeTag is a convenience function to deserialize a HashTree from an tagged object in the object store. | |
c177308 | // PutHashTree is a convenience function for putting a HashTree to an object store. | |
c177309 | // NewChildCursor creates a new child cursor. | |
c177310 | // Next gets the next key, value pair. | |
c177311 | // NewOrdered creates a new ordered hashtree. | |
c177312 | // MkdirAll puts all of the parent directories of a given
// path into the hashtree. | |
c177313 | // PutDir puts a directory in the hashtree. | |
c177314 | // Serialize serializes an ordered hashtree. | |
c177315 | // NewUnordered creates a new unordered hashtree. | |
c177316 | // Ordered converts an unordered hashtree into an ordered hashtree. | |
c177317 | // revokeUserCredentials revokes the Pachyderm authentication token 'userToken'
// using the vault plugin's Admin credentials. | |
c177318 | // NewAPIServer creates a new APIServer for the given Version. | |
c177319 | // String returns a string representation of the Version. | |
c177320 | // 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. | |
c177321 | // removeStr removes 's' from 'ss', preserving the sorted order of 'ss' (for
// removing child strings from DirectoryNodes. | |
c177322 | // PublicCertToPEM serializes the public x509 cert in 'cert' to a PEM-formatted
// block | |
c177323 | // 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' | |
c177324 | // ActivateCmd returns a cobra.Command to activate Pachyderm's auth system | |
c177325 | // DeactivateCmd returns a cobra.Command to delete all ACLs, tokens, and admins,
// deactivating Pachyderm's auth system | |
c177326 | // 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. | |
c177327 | // 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. | |
c177328 | // 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. | |
c177329 | // CheckCmd returns a cobra command that sends an "Authorize" RPC to Pachd, to
// determine whether the specified user has access to the specified repo. | |
c177330 | // GetCmd returns a cobra command that gets either the ACL for a Pachyderm
// repo or another user's scope of access to that repo | |
c177331 | // SetScopeCmd returns a cobra command that lets a user set the level of access
// that another user has to a repo | |
c177332 | // ListAdminsCmd returns a cobra command that lists the current cluster admins | |
c177333 | // ModifyAdminsCmd returns a cobra command that modifies the set of current
// cluster admins | |
c177334 | // GetAuthTokenCmd returns a cobra command that lets a user get a pachyderm
// token on behalf of themselves or another user | |
c177335 | // UseAuthTokenCmd returns a cobra command that lets a user get a pachyderm
// token on behalf of themselves or another user | |
c177336 | // Cmds returns a list of cobra commands for authenticating and authorizing
// users in an auth-enabled Pachyderm cluster. | |
c177337 | // ParseScope parses the string 's' to a scope (for example, parsing a command-
// line argument. | |
c177338 | // IsErrNotActivated checks if an error is a ErrNotActivated | |
c177339 | // IsErrPartiallyActivated checks if an error is a ErrPartiallyActivated | |
c177340 | // IsErrNotSignedIn returns true if 'err' is a ErrNotSignedIn | |
c177341 | // IsErrBadToken returns true if 'err' is a ErrBadToken | |
c177342 | // IsErrNotAuthorized checks if an error is a ErrNotAuthorized | |
c177343 | // IsErrInvalidPrincipal returns true if 'err' is an ErrInvalidPrincipal | |
c177344 | // IsErrTooShortTTL returns true if 'err' is a ErrTooShortTTL | |
c177345 | // NewDatumFactory creates a datumFactory for an input. | |
c177346 | // NewCollection creates a new collection. | |
c177347 | // Path returns the full path of a key in the etcd namespace | |
c177348 | // Giving a value, an index, and the key of the item, return the path
// under which the new index item should be stored. | |
c177349 | // Giving a value, a multi-index, and the key of the item, return the
// paths under which the multi-index items should be stored. | |
c177350 | // Upsert is like Update but 'key' is not required to be present | |
c177351 | // get is an internal wrapper around etcdClient.Get that wraps the call in a
// trace | |
c177352 | // 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. | |
c177353 | // Watch a collection, returning the current content of the collection as
// well as any future additions. | |
c177354 | // WatchByIndex watches items in a collection that match a particular index | |
c177355 | // WatchOne watches a given item. The first value returned from the watch
// will be the current value of the item. | |
c177356 | // 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. | |
c177357 | // Get gets a key's value by returning an io.ReadCloser that should be closed when done. | |
c177358 | // Keys returns the keys in sorted order. | |
c177359 | // Clear clears the cache. | |
c177360 | // NewHTTPServer returns a Pachyderm HTTP server. | |
c177361 | // NewDeployServer creates a deploy server | |
c177362 | // Export a tarball of the images needed by a deployment. | |
c177363 | // 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. | |
c177364 | // 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. | |
c177365 | // NewPFSInput returns a new PFS input. It only includes required options. | |
c177366 | // NewPFSInputOpts returns a new PFS input. It includes all options. | |
c177367 | // NewJobInput creates a pps.JobInput. | |
c177368 | // NewPipelineInput creates a new pps.PipelineInput | |
c177369 | // CreateJob creates and runs a job in PPS.
// This function is mostly useful internally, users should generally run work
// by creating pipelines as well. | |
c177370 | // 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... | |
c177371 | // 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... | |
c177372 | // 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. | |
c177373 | // 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. | |
c177374 | // DeleteJob deletes a job. | |
c177375 | // StopJob stops a job. | |
c177376 | // 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. | |
c177377 | // ListDatum returns info about all datums in a Job | |
c177378 | // ListDatumF returns info about all datums in a Job, calling f with each datum info. | |
c177379 | // InspectDatum returns info about a single datum | |
c177380 | // Next retrieves the next relevant log message from pachd | |
c177381 | // InspectPipeline returns info about a specific pipeline. | |
c177382 | // ListPipeline returns info about all pipelines. | |
c177383 | // DeletePipeline deletes a pipeline along with its output Repo. | |
c177384 | // StartPipeline restarts a stopped pipeline. | |
c177385 | // StopPipeline prevents a pipeline from processing things, it can be restarted
// with StartPipeline. | |
c177386 | // 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. | |
c177387 | // CreatePipelineService creates a new pipeline service. | |
c177388 | // GetDatumTotalTime sums the timing stats from a DatumInfo | |
c177389 | // Mount pfs to mountPoint, opts may be left nil. | |
c177390 | // NewBufPool creates a new BufPool that returns buffers of the given size. | |
c177391 | // StorageRootFromEnv gets the storage root based on environment variables. | |
c177392 | // BlockPathFromEnv gets the path to an object storage block based on environment variables. | |
c177393 | // NewGoogleClient creates a google client with the given bucket name. | |
c177394 | // 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. | |
c177395 | // NewGoogleClientFromEnv creates a Google client based on environment variables. | |
c177396 | // 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. | |
c177397 | // NewMicrosoftClientFromEnv creates a Microsoft client based on environment variables. | |
c177398 | // 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. | |
c177399 | // NewMinioClientFromEnv creates a Minio client based on environment variables. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.