_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c3700 | // ApplicationsScale returns the scaling info for specified applications in this model. | |
c3701 | // ProvisioningInfo returns the provisioning info for specified applications in this model. | |
c3702 | // applicationFilesystemParams retrieves FilesystemParams for the filesystems
// that should be provisioned with, and attached to, pods of the application. | |
c3703 | // ApplicationsConfig returns the config for the specified applications. | |
c3704 | // UpdateApplicationsUnits updates the Juju data model to reflect the given
// units of the specified application. | |
c3705 | // updateStatus constructs the agent and cloud container status values. | |
c3706 | // UpdateApplicationsService updates the Juju data model to reflect the given
// service details of the specified application. | |
c3707 | // SetOperatorStatus updates the operator status for each given application. | |
c3708 | // Component implements context.HookContext. | |
c3709 | // Validate returns an error if the TargetInfo contains bad data. Nil
// is returned otherwise. | |
c3710 | // IndexStoragePath returns the storage path for the image metadata index file. | |
c3711 | // readMetadata reads the image metadata from metadataStore. | |
c3712 | // mapKey returns a key that uniquely identifies image metadata.
// The metadata for different images may have similar values
// for some parameters. This key ensures that truly distinct
// metadata is not overwritten by closely related ones.
// This key is similar to image metadata key built in state which combines
// parameter values rather than using image id to ensure record uniqueness. | |
c3713 | // mergeMetadata merges the newMetadata into existingMetadata, overwriting existing matching image records. | |
c3714 | // writeMetadata generates some basic simplestreams metadata using the specified cloud and image details and writes
// it to the supplied store. | |
c3715 | // queueRemoval includes this sequence as one that has been superseded | |
c3716 | // flushRemovals makes sure that we've applied all desired removals | |
c3717 | // NewPruner returns an object that is ready to prune the Beings collection
// of old beings sequence entries that we no longer need. | |
c3718 | // NewFacade is used to register the facade. | |
c3719 | // NewAgentToolsAPI creates a new instance of the Model API. | |
c3720 | // Base implementation of envVersionUpdater | |
c3721 | // UpdateToolsAvailable invokes a lookup and further update in environ
// for new patches of the current tool versions. | |
c3722 | // formatFindTabular returns a tabular summary of remote applications or
// errors out if parameter is not of expected type. | |
c3723 | // formatFoundEndpointsTabular returns a tabular summary of offered applications' endpoints. | |
c3724 | // Path returns the path component of the URL. | |
c3725 | // parseOfferURL parses the specified URL string into an OfferURL. | |
c3726 | // MakeURL constructs an offer URL from the specified components. | |
c3727 | // Open opens the environment and returns it.
// The configuration must have come from a previously
// prepared environment. | |
c3728 | // Validate ensures that config is a valid configuration for this
// provider, applying changes to it if necessary, and returns the
// validated configuration.
// If old is not nil, it holds the previous environment configuration
// for consideration when validating changes. | |
c3729 | // NewCleanup creates a new periodic worker that calls the CleanupOldMetrics api. | |
c3730 | // ensureNetworksAndSubnets creates VCNs, security lists and subnets that will
// be used throughout the life-cycle of this juju deployment. | |
c3731 | // cleanupNetworksAndSubnets destroys all subnets, VCNs and security lists that have
// been used by this juju deployment. This function should only be called when
// destroying the environment, and only after destroying any resources that may be attached
// to a network. | |
c3732 | // validate checks that the MetricBatch contains valid metrics. | |
c3733 | // AddMetrics adds a new batch of metrics to the database. | |
c3734 | // AddModelMetrics adds a new model-centric batch of metrics to the database. | |
c3735 | // MetricBatchesForUnit returns metric batches for the given unit. | |
c3736 | // MetricBatchesForModel returns metric batches for all the units in the model. | |
c3737 | // MetricBatchesForApplication returns metric batches for the given application. | |
c3738 | // MetricBatch returns the metric batch with the given id. | |
c3739 | // MetricsToSend returns batchSize metrics that need to be sent
// to the collector | |
c3740 | // CountOfUnsentMetrics returns the number of metrics that
// haven't been sent to the collection service. | |
c3741 | // CountOfSentMetrics returns the number of metrics that
// have been sent to the collection service and have not
// been removed by the cleanup worker. | |
c3742 | // Metrics returns the metrics in this batch. | |
c3743 | // UniqueMetrics returns only the last value for each
// metric key in this batch. | |
c3744 | // SetSent marks the metric has having been sent at
// the specified time. | |
c3745 | // SetMetricBatchesSent sets sent on each MetricBatch corresponding to the uuids provided. | |
c3746 | // NewActionSetCommand returns a new ActionSetCommand with the given context. | |
c3747 | // hash returns a hash of the yaml serialized settings.
// If the settings are not able to be serialized an error is returned. | |
c3748 | // NewClient creates a new `Client` based on an existing authenticated API
// connection. | |
c3749 | // CloudSpec returns a CloudSpec for the specified model. | |
c3750 | // HostedModelsConfig returns all model settings for the
// controller model. | |
c3751 | // DestroyController puts the controller model into a "dying" state,
// and removes all non-manager machine instances. | |
c3752 | // ListBlockedModels returns a list of all models within the controller
// which have at least one block in place. | |
c3753 | // GrantController grants a user access to the controller. | |
c3754 | // RevokeController revokes a user's access to the controller. | |
c3755 | // GetControllerAccess returns the access level the user has on the controller. | |
c3756 | // ConfigSet updates the passed controller configuration values. Any
// settings that aren't passed will be left with their previous
// values. | |
c3757 | // Validate performs sanity checks on the migration configuration it
// holds. | |
c3758 | // NewStatusAPI creates a new server-side Status setter API facade. | |
c3759 | // SetStatus will set status for a entities passed in args. If the entity is
// a Unit it will instead set status to its agent, to emulate backwards
// compatibility. | |
c3760 | // SetUnitStatus sets status for all elements passed in args, the difference
// with SetStatus is that if an entity is a Unit it will set its status instead
// of its agent. | |
c3761 | // SetApplicationStatus sets the status for all the Applications in args if the given Unit is
// the leader. | |
c3762 | // UnitStatus returns the workload status information for the unit. | |
c3763 | // ApplicationStatus returns the status of the Applications and its workloads
// if the given unit is the leader. | |
c3764 | // formatFirewallRulesTabular returns a tabular summary of firewall rules. | |
c3765 | // FirstIndex is part of raft.LogStore. | |
c3766 | // GetLog is part of raft.LogStore. | |
c3767 | // StoreLog is part of raft.LogStore. | |
c3768 | // StoreLogs is part of raft.LogStore. | |
c3769 | // DeleteRange is part of raft.LogStore. | |
c3770 | // Close closes the underlying logstore. | |
c3771 | // docAsMetadata returns a new backups.Metadata based on the storageMetaDoc. | |
c3772 | // newStorageMetaDoc creates a storageMetaDoc using the corresponding
// values from the backup Metadata. | |
c3773 | // newStorageDBWrapper returns a DB operator for the , with its own session. | |
c3774 | // metadata populates doc with the document matching the ID. | |
c3775 | // allMetadata populates docs with the list of documents in storage. | |
c3776 | // removeMetadataID removes the identified metadata from storage. | |
c3777 | // txnOp returns a single transaction operation populated with the id
// and the metadata collection name. The caller should set other op
// values as needed. | |
c3778 | // txnOpInsert returns a single transaction operation that will insert
// the document into storage. | |
c3779 | // txnOpInsert returns a single transaction operation that will update
// the already stored document. | |
c3780 | // runTransaction runs the DB operations within a single transaction. | |
c3781 | // blobStorage returns a ManagedStorage matching the env storage and the blobDB. | |
c3782 | // Copy returns a copy of the operator. | |
c3783 | // addStorageMetadata stores metadata for a backup where it can be
// accessed later. It returns a new ID that is associated with the
// backup. If the provided metadata already has an ID set, it is
// ignored. The new ID is set on the doc, even when there is an error. | |
c3784 | // AddDoc adds the document to storage and returns the new ID. | |
c3785 | // Doc returns the stored document associated with the given ID. | |
c3786 | // ListDocs returns the list of all stored documents. | |
c3787 | // RemoveDoc removes the identified document from storage. | |
c3788 | // SetStored records in the metadata the fact that the file was stored. | |
c3789 | // File returns the identified file from storage. | |
c3790 | // AddFile adds the file to storage. | |
c3791 | // RemoveFile removes the identified file from storage. | |
c3792 | // NewUnitUpgraderAPI creates a new server-side UnitUpgraderAPI facade. | |
c3793 | // WatchAPIVersion starts a watcher to track if there is a new version
// of the API that we want to upgrade to. The watcher tracks changes to
// the unit's assigned machine since that's where the required agent version is stored. | |
c3794 | // DesiredVersion reports the Agent Version that we want that unit to be running.
// The desired version is what the unit's assigned machine is running. | |
c3795 | // formatGoalState moves information from application GoalState struct to
// application GoalState struct. | |
c3796 | // ValidateSeries ensures the charm series is valid for the model type. | |
c3797 | // NewStateBackend converts a state.State into a Backend. | |
c3798 | // ModelAgentVersion implements MachineProvisioner.ModelAgentVersion. | |
c3799 | // ProvisioningInfo implements MachineProvisioner.ProvisioningInfo. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.