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.
- Argument type of delete_canister_snapshot.
- 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.
- Argument type of load_canister_snapshot.
- Details about loading canister snapshot.
- Query statistics, returned by canister_status.
- A snapshot of the state of the canister at a given point in time.
- Argument type of stored_chunks.
- Argument type of take_canister_snapshot.
- Argument type of update_settings.
- Flags for canister installation with
CanisterInstallMode::Upgrade
. - 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.
- todo
- WASM memory persistence setting for
UpgradeFlags
.
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.
- Delete a specified snapshot that belongs to an existing canister.
- 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.
- List the snapshots of the canister.
- Load a snapshot onto the canister.
- Get 32 pseudo-random bytes.
- Start a canister if the canister status was
stopped
orstopping
. - Stop a canister.
- Take a snapshot of the specified 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.
- ID of a canister snapshot.
- WASM module.