_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c176300 | // QueuedJobs returns a list of jobs that need to be triggered
// and reset trigger in jobStatus | |
c176301 | // HasJob returns if a job has been scheduled in cronAgent or not | |
c176302 | // addJob adds a cron entry for a job to cronAgent | |
c176303 | // removeJob removes the job from cronAgent | |
c176304 | // UpdateComments downloads issue and pull-request comments and save in DB | |
c176305 | // GatherProwJobMetrics gathers prometheus metrics for prowjobs. | |
c176306 | // optionOrDefault defaults to a value if option
// is the zero value | |
c176307 | // newGCSJobSource creates a new gcsJobSource from a given bucket and jobPrefix | |
c176308 | // Artifacts lists all artifacts available for the given job source | |
c176309 | // CanonicalLink gets a link to the location of job-specific artifacts in GCS | |
c176310 | // JobPath gets the prefix to all artifacts in GCS in the job | |
c176311 | // targetURL determines the URL used for more details in the status
// context on GitHub. If no PR dashboard is configured, we will use
// the administrative Prow overview. | |
c176312 | // newBuildConfig returns a client and informer capable of mutating and monitoring the specified config. | |
c176313 | // NewClient makes a new Client with the specified token and dry-run status. | |
c176314 | // retry handles rate limiting and retry logic for a github API call. | |
c176315 | // depaginate adds depagination on top of the retry and rate limiting logic provided by retry. | |
c176316 | // NewHelpAgent constructs a new HelpAgent. | |
c176317 | // GeneratePluginHelp compiles and returns the help information for all plugins. | |
c176318 | // gets the pull commit hash from metadata | |
c176319 | // listJobBuilds concurrently lists builds for the given job prefixes that have been run on a PR | |
c176320 | // getPRBuildData concurrently fetches metadata on each build of each job run on a PR | |
c176321 | // getGCSDirsForPR returns a map from bucket names -> set of "directories" containing presubmit data | |
c176322 | // Helper to delete an image file from the local images directory. | |
c176323 | // Create the network on the system. The withDatabase flag is used to decide
// whether to cleanup the database if an error occurs. | |
c176324 | // The network structs and functions | |
c176325 | // Transaction creates a new NodeTx object and transactionally executes the
// node-level database interactions invoked by the given function. If the
// function returns no error, all database changes are committed to the
// node-level database, otherwise they are rolled back. | |
c176326 | // ForLocalInspectionWithPreparedStmts is the same as ForLocalInspection but it
// also prepares the statements used in auto-generated database code. | |
c176327 | // SetDefaultTimeout sets the default go-dqlite driver timeout. | |
c176328 | // Transaction creates a new ClusterTx object and transactionally executes the
// cluster database interactions invoked by the given function. If the function
// returns no error, all database changes are committed to the cluster database
// database, otherwise they are rolled back.
//
// If EnterExclusive has been cal... | |
c176329 | // EnterExclusive acquires a lock on the cluster db, so any successive call to
// Transaction will block until ExitExclusive has been called. | |
c176330 | // ExitExclusive runs the given transaction and then releases the lock acquired
// with EnterExclusive. | |
c176331 | // Close the database facade. | |
c176332 | // TxCommit commits the given transaction. | |
c176333 | // ParseRemote splits remote and object | |
c176334 | // GetContainerServer returns a ContainerServer struct for the remote | |
c176335 | // GetImageServer returns a ImageServer struct for the remote | |
c176336 | // Initialize AppArmor-specific attributes. | |
c176337 | // Returns true if AppArmor stacking support is available. | |
c176338 | // Add a device to a container | |
c176339 | // Add a device to a profile | |
c176340 | // Create the specified image alises, updating those that already exist | |
c176341 | // GetExistingAliases returns the intersection between a list of aliases and all the existing ones. | |
c176342 | // String returns a suitable string representation for the status code | |
c176343 | // ImagesGetExpired returns the names of all images that have expired since the
// given time. | |
c176344 | // ImageSourceInsert inserts a new image source. | |
c176345 | // ImageSourceGet returns the image source with the given ID. | |
c176346 | // ImageExists returns whether an image with the given fingerprint exists. | |
c176347 | // ImageGet gets an Image object from the database.
// If strictMatching is false, The fingerprint argument will be queried with a LIKE query, means you can
// pass a shortform and will get the full fingerprint.
// There can never be more than one image with a given fingerprint, as it is
// enforced by a UNIQUE constra... | |
c176348 | // ImageGetFromAnyProject returns an image matching the given fingerprint, if
// it exists in any project. | |
c176349 | // Fill extra image fields such as properties and alias. This is called after
// fetching a single row from the images table. | |
c176350 | // ImageLocate returns the address of an online node that has a local copy of
// the given image, or an empty string if the image is already available on this
// node.
//
// If the image is not available on any online node, an error is returned. | |
c176351 | // ImageAssociateNode creates a new entry in the images_nodes table for
// tracking that the current node has the given image. | |
c176352 | // ImageDelete deletes the image with the given ID. | |
c176353 | // ImageAliasesGet returns the names of the aliases of all images. | |
c176354 | // ImageAliasGet returns the alias with the given name in the given project. | |
c176355 | // ImageAliasRename renames the alias with the given ID. | |
c176356 | // ImageAliasDelete deletes the alias with the given name. | |
c176357 | // ImageAliasesMove changes the image ID associated with an alias. | |
c176358 | // ImageAliasAdd inserts an alias ento the database. | |
c176359 | // ImageAliasUpdate updates the alias with the given ID. | |
c176360 | // ImageLastAccessUpdate updates the last_use_date field of the image with the
// given fingerprint. | |
c176361 | //ImageLastAccessInit inits the last_use_date field of the image with the given fingerprint. | |
c176362 | // ImageUpdate updates the image with the given ID. | |
c176363 | // ImageInsert inserts a new image. | |
c176364 | // ImageGetPools get the names of all storage pools on which a given image exists. | |
c176365 | // ImageGetPoolNamesFromIDs get the names of all storage pools on which a given image exists. | |
c176366 | // ImageUploadedAt updates the upload_date column and an image row. | |
c176367 | // ImagesGetOnCurrentNode returns all images that the current LXD node instance has. | |
c176368 | // ImagesGetByNodeID returns all images that the LXD node instance has with the given node id. | |
c176369 | // ImageGetNodesWithImage returns the addresses of online nodes which already have the image. | |
c176370 | // ImageGetNodesWithoutImage returns the addresses of online nodes which don't have the image. | |
c176371 | // Add a new task to the group, returning its index. | |
c176372 | // Start all the tasks in the group. | |
c176373 | // zfsIsEnabled returns whether zfs backend is supported. | |
c176374 | // zfsToolVersionGet returns the ZFS tools version | |
c176375 | // zfsModuleVersionGet returns the ZFS module version | |
c176376 | // zfsPoolVolumeCreate creates a ZFS dataset with a set of given properties. | |
c176377 | // zfsPoolVolumeExists verifies if a specific ZFS pool or volume exists. | |
c176378 | // NetworkIDsNotPending returns a map associating each network name to its ID.
//
// Pending networks are skipped. | |
c176379 | // NetworkConfigAdd adds a new entry in the networks_config table | |
c176380 | // NetworkNodeJoin adds a new entry in the networks_nodes table.
//
// It should only be used when a new node joins the cluster, when it's safe to
// assume that the relevant network has already been created on the joining node,
// and we just need to track it. | |
c176381 | // NetworkCreatePending creates a new pending network on the node with
// the given name. | |
c176382 | // NetworkCreated sets the state of the given network to "Created". | |
c176383 | // NetworkErrored sets the state of the given network to "Errored". | |
c176384 | // NetworkGet returns the network with the given name. | |
c176385 | // Return the names of the nodes the given network is defined on. | |
c176386 | // NetworkGetInterface returns the network associated with the interface with
// the given name. | |
c176387 | // NetworkConfigGet returns the config map of the network with the given ID. | |
c176388 | // NetworkCreate creates a new network. | |
c176389 | // NetworkUpdate updates the network with the given name. | |
c176390 | // NetworkUpdateDescription updates the description of the network with the
// given ID. | |
c176391 | // NetworkConfigClear resets the config of the network with the given ID
// associated with the node with the given ID. | |
c176392 | // NetworkDelete deletes the network with the given name. | |
c176393 | // NetworkRename renames a network. | |
c176394 | // GetContainers returns a list of containers | |
c176395 | // GetContainersFull returns a list of containers including snapshots, backups and state | |
c176396 | // GetContainer returns the container entry for the provided name | |
c176397 | // CreateContainerFromBackup is a convenience function to make it easier to
// create a container from a backup | |
c176398 | // CreateContainer requests that LXD creates a new container | |
c176399 | // CreateContainerFromImage is a convenience function to make it easier to create a container from an existing image |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.