Module ic_cdk::api::management_canister::main
source · Expand description
The main functionalities in the IC management canister.
Most of the functions are for managing canister lifecycle. raw_rand is also included in this module.
Structs§
- Represents a canister change as stored in the canister history.
- A wrapper of canister id.
- Argument type of canister_info.
- Return type of canister_info.
- Canister settings.
- Return type of canister_status.
- Return type of upload_chunk and stored_chunks.
- Argument type of clear_chunk_store.
- Details about a canister code deployment.
- Details about updating canister controllers.
- Argument type of create_canister.
- Details about a canister creation.
- Like CanisterSettings.
- Details about a canister change initiated by a canister (called originator).
- Details about a canister change initiated by a user.
- Argument type of install_chunked_code.
- Argument type of install_code.
- Query statistics, returned by canister_status.
- If set to true, the pre_upgrade step will be skipped during the canister upgrade
- Argument type of stored_chunks.
- Argument type of update_settings.
- Argument type of update_chunk.
Enums§
- Provides details on the respective canister change.
- Provides details on who initiated a canister change.
- The mode with which a canister is installed.
- Status of a canister.
- The mode with which a canister is installed.
Functions§
- Get public information about the canister.
- Get status information about the canister.
- Register a new canister and get its canister id.
- Delete a canister from the IC.
- Deposit cycles into the specified canister.
- Install code into a canister where the code has previously been uploaded in chunks.
- Install code into a canister.
- Get 32 pseudo-random bytes.
- Start a canister if the canister status was
stopped
orstopping
. - Stop a canister.
- Remove a canister’s code and state, making the canister empty again.
- Update the settings of a canister.
Type Aliases§
- Canister ID is Principal.
- WASM module.