_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c3900 | // Destroy is part of the Broker interface. | |
c3901 | // APIVersion returns the version info for the cluster. | |
c3902 | // ensureOCIImageSecret ensures a secret exists for use with retrieving images from private registries | |
c3903 | // updateSecret updates a secret resource. | |
c3904 | // getSecret return a secret resource. | |
c3905 | // createSecret creates a secret resource. | |
c3906 | // deleteSecret deletes a secret resource. | |
c3907 | // OperatorExists indicates if the operator for the specified
// application exists, and whether the operator is terminating. | |
c3908 | // ValidateStorageClass returns an error if the storage config is not valid. | |
c3909 | // maybeGetVolumeClaimSpec returns a persistent volume claim spec for the given
// parameters. If no suitable storage class is available, return a NotFound error. | |
c3910 | // getStorageClass returns a named storage class, first looking for
// one which is qualified by the current namespace if it's available. | |
c3911 | // EnsureStorageProvisioner creates a storage class with the specified config, or returns an existing one. | |
c3912 | // DeleteOperator deletes the specified operator. | |
c3913 | // GetService returns the service for the specified application. | |
c3914 | // DeleteService deletes the specified service with all related resources. | |
c3915 | // EnsureCustomResourceDefinition creates or updates a custom resource definition resource. | |
c3916 | // Upgrade sets the OCI image for the app's operator to the specified version. | |
c3917 | // createStatefulSet deletes a statefulset resource. | |
c3918 | // deleteStatefulSet deletes a statefulset resource. | |
c3919 | // ensureK8sService ensures a k8s service resource. | |
c3920 | // deleteService deletes a service resource. | |
c3921 | // ExposeService sets up external access to the specified application. | |
c3922 | // UnexposeService removes external access to the specified service. | |
c3923 | // WatchUnits returns a watcher which notifies when there
// are changes to units of the specified application. | |
c3924 | // WatchService returns a watcher which notifies when there
// are changes to the deployment of the specified application. | |
c3925 | // WatchOperator returns a watcher which notifies when there
// are changes to the operator of the specified application. | |
c3926 | // Operator returns an Operator with current status and life details. | |
c3927 | // ensureConfigMap ensures a ConfigMap resource. | |
c3928 | // deleteConfigMap deletes a ConfigMap resource. | |
c3929 | // createConfigMap creates a ConfigMap resource. | |
c3930 | // getConfigMap returns a ConfigMap resource. | |
c3931 | // legacyAppName returns true if there are any artifacts for
// appName which indicate that this deployment was for Juju 2.5.0. | |
c3932 | // Model is part of the ModelGetter interface. | |
c3933 | // NewRemoveCloudCommand returns a command to remove cloud information. | |
c3934 | // newOracleVolumeSource returns a new volume source to provide an interface
// for creating, destroying, describing attaching and detaching volumes in the
// oracle cloud environment | |
c3935 | // resourceName returns an oracle compatible resource name. | |
c3936 | // CreateVolumes is specified on the storage.VolumeSource interface | |
c3937 | // fetchVolumeStatus polls the status of a volume and returns true if the current status
// coincides with the desired status | |
c3938 | // fetchVolumeAttachmentStatus polls the status of a volume attachment and returns true if the current status
// coincides with the desired status | |
c3939 | // getFreeIndexNumber returns the first unused consecutive value in a sorted array of ints
// this is used to find an available index number for attaching a volume to an instance | |
c3940 | // NewCloudSpec returns a new CloudSpecAPI. | |
c3941 | // CloudSpec returns the model's cloud spec. | |
c3942 | // GetCloudSpec constructs the CloudSpec for a validated and authorized model. | |
c3943 | // WatchCloudSpecsChanges returns a watcher for cloud spec changes. | |
c3944 | // IsCmdNotFoundErr returns true if the provided error indicates that the
// command passed to exec.LookPath or exec.Command was not found. | |
c3945 | // AllAttrs returns just the attribute values from the config. | |
c3946 | // NewFacade creates a Facade from an APICaller and an entity for which
// administrative control will be claimed. It's a suitable default value
// for ManifoldConfig.NewFacade. | |
c3947 | // NewWorker calls NewFlagWorker but returns a more convenient type. It's
// a suitable default value for ManifoldConfig.NewWorker. | |
c3948 | // NewSimpleWorker returns a worker that runs the given function. The
// stopCh argument will be closed when the worker is killed. The error returned
// by the doWork function will be returned by the worker's Wait function. | |
c3949 | // NewUnregisterCmd returns a new UnregisterCmd that wraps the given context. | |
c3950 | // Run runs the unregister command. | |
c3951 | // startIntrospection creates the introspection worker. It cannot and should
// not be in the engine itself as it reports on the engine, and other aspects
// of the runtime. If we put it in the engine, then it is mostly likely shut
// down in the times we need it most, which is when the agent is having
// problems shutting down. Here we effectively start the worker and tie its
// life to that of the engine that is returned. | |
c3952 | // newPrometheusRegistry returns a new prometheus.Registry with
// the Go and process metric collectors registered. This registry
// is exposed by the introspection abstract domain socket on all
// Linux agents. | |
c3953 | // NextSubnetIP returns the next available IP address in a given subnet. | |
c3954 | // NthSubnetIP returns the n'th IP address in a given subnet, where n is a
// zero-based index, zero being the first available IP address in the subnet.
//
// If n is out of range, NthSubnetIP will return nil. | |
c3955 | // processNewConfig acts on a new syslog forward config change. | |
c3956 | // waitForEnabled returns true if streaming is enabled.
// Otherwise if blocks and waits for enabled to be true. | |
c3957 | // NewLogForwarder returns a worker that forwards logs received from
// the stream to the sender. | |
c3958 | // watchProfileChanges, any error returned will cause the worker to restart. | |
c3959 | // NewControllerAPIv7 creates a new ControllerAPIv7. | |
c3960 | // NewControllerAPIv6 creates a new ControllerAPIv6. | |
c3961 | // NewControllerAPIv5 creates a new ControllerAPIv5. | |
c3962 | // NewControllerAPIv4 creates a new ControllerAPIv4. | |
c3963 | // NewControllerAPIv3 creates a new ControllerAPIv3. | |
c3964 | // NewControllerAPI creates a new api server endpoint for operations
// on a controller. | |
c3965 | // MongoVersion allows the introspection of the mongo version per controller | |
c3966 | // ListBlockedModels returns a list of all models on the controller
// which have a block in place. The resulting slice is sorted by model
// name, then owner. Callers must be controller administrators to retrieve the
// list. | |
c3967 | // ModelConfig returns the model config for the controller
// model. For information on the current model, use
// client.ModelGet | |
c3968 | // HostedModelConfigs returns all the information that the client needs in
// order to connect directly with the host model's provider and destroy it
// directly. | |
c3969 | // WatchAllModels starts watching events for all models in the
// controller. The returned AllWatcherId should be used with Next on the
// AllModelWatcher endpoint to receive deltas. | |
c3970 | // GetControllerAccess returns the level of access the specified users
// have on the controller. | |
c3971 | // InitiateMigration attempts to begin the migration of one or
// more models to other controllers. | |
c3972 | // ModifyControllerAccess changes the model access granted to users. | |
c3973 | // ConfigSet changes the value of specified controller configuration
// settings. Only some settings can be changed after bootstrap.
// Settings that aren't specified in the params are left unchanged. | |
c3974 | // grantControllerCloudAccess exists for backwards compatibility since older clients
// still set add-model on the controller rather than the controller cloud. | |
c3975 | // ChangeControllerAccess performs the requested access grant or revoke action for the
// specified user on the controller. | |
c3976 | // Check is part of the lease.Token interface. | |
c3977 | // invoke sends the check on the supplied channel and waits for an error
// response. | |
c3978 | // respond notifies the originating invoke of completion status. | |
c3979 | // DataSource creates and returns a new simplestreams signed data source for
// fetching Juju GUI archives, at the given URL. | |
c3980 | // FetchMetadata fetches and returns Juju GUI metadata from simplestreams,
// sorted by version descending. | |
c3981 | // appendArchives collects all matching Juju GUI archive metadata information. | |
c3982 | // NewState creates a new client-side StorageProvisioner facade. | |
c3983 | // WatchVolumes watches for lifecycle changes to volumes scoped to the
// entity with the specified tag. | |
c3984 | // WatchVolumeAttachments watches for changes to volume attachments
// scoped to the entity with the specified tag. | |
c3985 | // WatchVolumeAttachmentPlans watches for changes to volume attachments
// scoped to the entity with the tag passed to NewState. | |
c3986 | // WatchFilesystemAttachments watches for changes to filesystem attachments
// scoped to the entity with the specified tag. | |
c3987 | // VolumeBlockDevices returns details of block devices corresponding to the volume
// attachments with the specified IDs. | |
c3988 | // VolumeParams returns the parameters for creating the volumes
// with the specified tags. | |
c3989 | // VolumeAttachmentParams returns the parameters for creating the volume
// attachments with the specified tags. | |
c3990 | // FilesystemAttachmentParams returns the parameters for creating the
// filesystem attachments with the specified tags. | |
c3991 | // Life requests the life cycle of the entities with the specified tags. | |
c3992 | // AttachmentLife requests the life cycle of the attachments with the specified IDs. | |
c3993 | // EnsureDead progresses the entities with the specified tags to the Dead
// life cycle state, if they are Alive or Dying. | |
c3994 | // RemoveAttachments removes the attachments with the specified IDs from state. | |
c3995 | // InstanceIds returns the provider specific instance ID for each machine,
// or an CodeNotProvisioned error if not set. | |
c3996 | // SetStatus sets the status of storage entities. | |
c3997 | // newSubordinateRelationsWatcher creates a watcher that will notify
// about relation lifecycle events for subordinateApp, but filtered to
// be relevant to a unit deployed to a container with the
// principalName app. Global relations will be included, but only
// container-scoped relations for the principal application will be
// emitted - other container-scoped relations will be filtered out. | |
c3998 | // OneError returns the first error | |
c3999 | // Validate returns an error if the info is not valid. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.