_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c154200 | train | // CharmConfig is a shim to GetConfig on APIv5. It returns only charm config.
// Version 8 and below accept params.Entities, where later versions must accept
// a model generation | {
"resource": ""
} | ||
c154201 | train | // CharmConfig returns charm config for the input list of applications and
// model generations. | {
"resource": ""
} | ||
c154202 | train | // GetConfig returns the charm config for each of the input applications. | {
"resource": ""
} | ||
c154203 | train | // SetApplicationsConfig implements the server side of Application.SetApplicationsConfig.
// It does not unset values that are set to an empty string.
// Unset should be used for that. | {
"resource": ""
} | ||
c154204 | train | // ResolveUnitErrors marks errors on the specified units as resolved. | {
"resource": ""
} | ||
c154205 | train | // ApplicationsInfo returns applications information. | {
"resource": ""
} | ||
c154206 | train | // New creates a new action pruner worker | {
"resource": ""
} | ||
c154207 | train | // WatchBlockDevices watches for changes to the specified machines' block devices. | {
"resource": ""
} | ||
c154208 | train | // WatchVolumes watches for changes to volumes scoped to the
// entity with the tag passed to NewState. | {
"resource": ""
} | ||
c154209 | train | // WatchFilesystems watches for changes to filesystems scoped
// to the entity with the tag passed to NewState. | {
"resource": ""
} | ||
c154210 | train | // WatchVolumeAttachments watches for changes to volume attachments scoped to
// the entity with the tag passed to NewState. | {
"resource": ""
} | ||
c154211 | train | // WatchFilesystemAttachments watches for changes to filesystem attachments
// scoped to the entity with the tag passed to NewState. | {
"resource": ""
} | ||
c154212 | train | // Volumes returns details of volumes with the specified tags. | {
"resource": ""
} | ||
c154213 | train | // VolumeAttachmentPlans returns details of volume attachment plans with the specified IDs. | {
"resource": ""
} | ||
c154214 | train | // VolumeBlockDevices returns details of the block devices corresponding to the
// volume attachments with the specified IDs. | {
"resource": ""
} | ||
c154215 | train | // RemoveVolumeParams returns the parameters for destroying
// or releasing the volumes with the specified tags. | {
"resource": ""
} | ||
c154216 | train | // FilesystemParams returns the parameters for creating the filesystems
// with the specified tags. | {
"resource": ""
} | ||
c154217 | train | // RemoveFilesystemParams returns the parameters for destroying or
// releasing the filesystems with the specified tags. | {
"resource": ""
} | ||
c154218 | train | // AttachmentLife returns the lifecycle state of each specified machine
// storage attachment. | {
"resource": ""
} | ||
c154219 | train | // Remove removes volumes and filesystems from state. | {
"resource": ""
} | ||
c154220 | train | // RemoveAttachments removes the specified machine storage attachments
// from state. | {
"resource": ""
} | ||
c154221 | train | // NewClient creates a new client-side Firewaller API facade. | {
"resource": ""
} | ||
c154222 | train | // ModelTag returns the current model's tag. | {
"resource": ""
} | ||
c154223 | train | // life requests the life cycle of the given entity from the server. | {
"resource": ""
} | ||
c154224 | train | // WatchOpenedPorts returns a StringsWatcher that notifies of
// changes to the opened ports for the current model. | {
"resource": ""
} | ||
c154225 | train | // Relation provides access to methods of a state.Relation through the
// facade. | {
"resource": ""
} | ||
c154226 | train | // ControllerAPIInfoForModels returns the controller api connection details for the specified model. | {
"resource": ""
} | ||
c154227 | train | // MacaroonForRelation returns the macaroon to use when publishing changes for the relation. | {
"resource": ""
} | ||
c154228 | train | // SetRelationStatus sets the status for a given relation. | {
"resource": ""
} | ||
c154229 | train | // FirewallRules returns the firewall rules for the specified known service names. | {
"resource": ""
} | ||
c154230 | train | // Verify verifies that the given server certificate is valid with
// respect to the given CA certificate at the given time. | {
"resource": ""
} | ||
c154231 | train | // newEnviron creates a new azureEnviron. | {
"resource": ""
} | ||
c154232 | train | // initResourceGroup creates a resource group for this environment. | {
"resource": ""
} | ||
c154233 | train | // Config is specified in the Environ interface. | {
"resource": ""
} | ||
c154234 | train | // waitCommonResourcesCreated waits for the "common" deployment to complete. | {
"resource": ""
} | ||
c154235 | train | // newStorageProfile creates the storage profile for a virtual machine,
// based on the series and chosen instance spec. | {
"resource": ""
} | ||
c154236 | train | // cancelDeployment cancels a template deployment. | {
"resource": ""
} | ||
c154237 | train | // Instances is specified in the Environ interface. | {
"resource": ""
} | ||
c154238 | train | // AllInstances is specified in the InstanceBroker interface. | {
"resource": ""
} | ||
c154239 | train | // allInstances returns all of the instances in the given resource group,
// and optionally ensures that each instance's addresses are up-to-date. | {
"resource": ""
} | ||
c154240 | train | // Destroy is specified in the Environ interface. | {
"resource": ""
} | ||
c154241 | train | // DestroyController is specified in the Environ interface. | {
"resource": ""
} | ||
c154242 | train | // resourceGroupName returns the name of the environment's resource group. | {
"resource": ""
} | ||
c154243 | train | // getInstanceTypes gets the instance types available for the configured
// location, keyed by name. | {
"resource": ""
} | ||
c154244 | train | // getInstanceTypesLocked returns the instance types for Azure, by listing the
// role sizes available to the subscription. | {
"resource": ""
} | ||
c154245 | train | // maybeGetStorageClient returns the environment's storage client if it
// has one, and nil if it does not. | {
"resource": ""
} | ||
c154246 | train | // getStorageClient queries the storage account key, and uses it to construct
// a new storage client. | {
"resource": ""
} | ||
c154247 | train | // getStorageAccount returns the storage account for this environment's
// resource group. | {
"resource": ""
} | ||
c154248 | train | // getStorageAccountKeysLocked returns a storage account key for this
// environment's storage account. If refresh is true, any cached key
// will be refreshed. This method assumes that env.mu is held. | {
"resource": ""
} | ||
c154249 | train | // Validate returns an error if config cannot be expected to drive
// a Resumer. | {
"resource": ""
} | ||
c154250 | train | // The initial implementation of this watcher simply acts as a poller,
// triggering every ErrorRetryWaitDelay minutes. | {
"resource": ""
} | ||
c154251 | train | // FormatStorageListForStatusTabular writes a tabular summary of storage for status tabular view. | {
"resource": ""
} | ||
c154252 | train | // GetOfferAccess gets the access permission for the specified user on an offer. | {
"resource": ""
} | ||
c154253 | train | // GetOfferUsers gets the access permissions on an offer. | {
"resource": ""
} | ||
c154254 | train | // CreateOfferAccess creates a new access permission for a user on an offer. | {
"resource": ""
} | ||
c154255 | train | // UpdateOfferAccess changes the user's access permissions on an offer. | {
"resource": ""
} | ||
c154256 | train | // suspendRevokedRelationsOps suspends any relations the given user has against
// the specified offer. | {
"resource": ""
} | ||
c154257 | train | // RemoveOfferAccess removes the access permission for a user on an offer. | {
"resource": ""
} | ||
c154258 | train | // Validate returns an error if the config cannot start a NotifyWorker. | {
"resource": ""
} | ||
c154259 | train | // NewNotifyWorker starts a new worker that runs a NotifyHandler. | {
"resource": ""
} | ||
c154260 | train | // StorageProviders returns a provider registry with some
// well-defined dummy storage providers. | {
"resource": ""
} | ||
c154261 | train | // NewListCommand returns the command that lists the disabled
// commands for the model. | {
"resource": ""
} | ||
c154262 | train | // formatBlockInfo takes a set of Block and creates a
// mapping to information structures. | {
"resource": ""
} | ||
c154263 | train | // formatBlocks writes block list representation. | {
"resource": ""
} | ||
c154264 | train | // getControllerAPI returns a block api for block manipulation. | {
"resource": ""
} | ||
c154265 | train | // FormatTabularBlockedModels writes out tabular format for blocked models.
// This method is exported as it is also used by destroy-model. | {
"resource": ""
} | ||
c154266 | train | // NewExportBundleCommand returns a fully constructed export bundle command. | {
"resource": ""
} | ||
c154267 | train | // LogWriter returns a new log writer interface value
// which must be closed when finished with. | {
"resource": ""
} | ||
c154268 | train | // ControllerConfig returns the controller's configuration. | {
"resource": ""
} | ||
c154269 | train | // ControllerAPIInfoForModels returns the controller api connection details for the specified models. | {
"resource": ""
} | ||
c154270 | train | // ControllerInfo returns the external controller details for the specified model. | {
"resource": ""
} | ||
c154271 | train | // StateControllerInfo returns the local controller details for the given State. | {
"resource": ""
} | ||
c154272 | train | // NewShowCredentialCommand returns a command to show information about
// credentials stored on the controller. | {
"resource": ""
} | ||
c154273 | train | // NewModelGenerationFacade provides the signature required for facade registration. | {
"resource": ""
} | ||
c154274 | train | // NewModelGenerationAPI creates a new API endpoint for dealing with model generations. | {
"resource": ""
} | ||
c154275 | train | // AddBranch adds a new branch with the input name to the model. | {
"resource": ""
} | ||
c154276 | train | // CommitBranch commits the input branch, making its changes applicable to
// the whole model and marking it complete. | {
"resource": ""
} | ||
c154277 | train | // BranchInfo will return details of branch identified by the input argument,
// including units on the branch and the configuration disjoint with the
// master generation.
// An error is returned if no in-flight branch matching in input is found. | {
"resource": ""
} | ||
c154278 | train | // HasActiveBranch returns a true result if the input model has an "in-flight"
// branch matching the input name. | {
"resource": ""
} | ||
c154279 | train | // newGooseClient is the default function in EnvironProvider.ClientFromEndpoint. | {
"resource": ""
} | ||
c154280 | train | // getAddresses returns the existing server information on addresses,
// but fetches the details over the api again if no addresses exist. | {
"resource": ""
} | ||
c154281 | train | // convertNovaAddresses returns nova addresses in generic format | {
"resource": ""
} | ||
c154282 | train | // AvailabilityZones returns a slice of availability zones. | {
"resource": ""
} | ||
c154283 | train | // newClientByType returns an authenticating client to talk to the
// OpenStack cloud. CACertificate and SSLHostnameVerification == false
// config options are mutually exclusive here. | {
"resource": ""
} | ||
c154284 | train | // getKeystoneImageSource is an imagemetadata.ImageDataSourceFunc that
// returns a DataSource using the "product-streams" keystone URL. | {
"resource": ""
} | ||
c154285 | train | // getKeystoneToolsSource is a tools.ToolsDataSourceFunc that
// returns a DataSource using the "juju-tools" keystone URL. | {
"resource": ""
} | ||
c154286 | train | // assignPublicIP tries to assign the given floating IP address to the
// specified server, or returns an error. | {
"resource": ""
} | ||
c154287 | train | // MaintainInstance is specified in the InstanceBroker interface. | {
"resource": ""
} | ||
c154288 | train | // updateFloatingIPAddresses updates the instances with any floating IP address
// that have been assigned to those instances. | {
"resource": ""
} | ||
c154289 | train | // AllInstances returns all instances in this environment. | {
"resource": ""
} | ||
c154290 | train | // destroyControllerManagedEnvirons destroys all environments managed by this
// models's controller. | {
"resource": ""
} | ||
c154291 | train | // jujuMachineFilter returns a nova.Filter matching machines created by Juju.
// The machines are not filtered to any particular environment. To do that,
// instance tags must be compared. | {
"resource": ""
} | ||
c154292 | train | // rulesToRuleInfo maps ingress rules to nova rules | {
"resource": ""
} | ||
c154293 | train | // TagInstance implements environs.InstanceTagger. | {
"resource": ""
} | ||
c154294 | train | // Subnets is specified on environs.Networking. | {
"resource": ""
} | ||
c154295 | train | // NetworkInterfaces is specified on environs.Networking. | {
"resource": ""
} | ||
c154296 | train | // SuperSubnets is specified on environs.Networking | {
"resource": ""
} | ||
c154297 | train | // SSHAddresses is specified on environs.SSHAddresses. | {
"resource": ""
} | ||
c154298 | train | // NewRemoveSaasCommand returns a command which removes a consumed application. | {
"resource": ""
} | ||
c154299 | train | // Connect authenticates using the provided credentials and opens a
// low-level connection to the GCE API for the Connection. Calling
// Connect after a successful connection has already been made will
// result in an error. All errors that happen while authenticating and
// connecting are returned by Connect. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.