Skip to main content

Module entities

Module entities 

Source

Modules§

action
Subtypes of Action.
alert
Subtypes of Alert.
alerter
Subtypes of Alerter.
api_key
Subtypes of ApiKey.
build
Subtypes of Build.
builder
Subtypes of Builder.
config
[core config][config::core] and [periphery config][config::periphery]
deployment
Subtypes of Deployment.
docker
Networks, Images, Containers.
logger
Subtypes of LogConfig.
onboarding_key
Subtypes of [CreationKey][creation_key::CreationKey]
permission
Subtypes of Permission.
procedure
Subtypes of Procedure.
provider
Subtypes of GitProviderAccount and [DockerRegistryAccount][provider::DockerRegistryAccount]
repo
Subtypes of Repo.
report
Subtypes of [CoreReport][core_report::CoreReport]
resource
Subtypes of Resource.
schedule
Subtypes of Schedule
server
Subtypes of Server.
stack
Subtypes of Stack
stats
Subtypes for server stats reporting.
swarm
Subtypes of Swarm.
sync
Subtypes of ResourceSync
tag
Subtypes of Tag.
terminal
Subtypes of Terminal.
toml
Subtypes of ResourcesToml.
update
Subtypes of Update.
user
Subtypes of User.
user_group
Subtypes of UserGroup.
variable
Subtypes of Variable

Structs§

CreateApiKeyResponse
⚠️ DO NOT USE DIRECTLY This is a copy of mogh_auth_client::api::manage::CreateApiKeyResponse for local typeshare. Use the one from mogh auth instead.
EnvironmentVar
FileContents
ImageDigest
Example: apache/tika@sha256:c0154cb95587cde64be74f35ada1a2bd7892219f3f0ac3c9dc6cab34046b3573
LatestCommit
MaintenanceWindow
Represents a scheduled maintenance window
MongoIdObj
NoData
Represents an empty json object: {}
RepoExecutionArgs
RepoExecutionResponse
SystemCommand
Version
__Serror

Enums§

DayOfWeek
Days of the week
DefaultRepoFolder
FileFormat
IanaTimezone
One representative IANA zone for each distinct base UTC offset in the tz database. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
MaintenanceScheduleType
Types of maintenance schedules
Operation
ResourceTarget
Used to reference a specific resource across all resource types
ResourceTargetVariant
Auto-generated discriminant enum variants
ScheduleFormat
SearchCombinator
SwarmOrServer
TerminationSignal
Timelength

Constants§

KOMODO_EXIT_CODE
Used with ExecuteTerminal to capture the exit code

Traits§

MergePartial

Functions§

all_logs_success
environment_vars_from_str
komodo_timestamp
Unix timestamp in milliseconds as i64
optional_str
optional_string
random_bytes
random_string
resource_link
to_container_compatible_name
Enforce docker container / service naming rules: [a-zA-Z0-9][a-zA-Z0-9_.-]* Any other characters are replaced with ‘_’, and leading non-alphanumeric characters are stripped. This also guards against shell injection through the name, as it is passed to shell commands like ‘docker stop {name}’.
to_docker_compatible_name
Enforce common docker naming rules, such as only lowercase, and no ‘.’: [a-z0-9][a-z0-9_-]* Any other characters are replaced with ‘_’, and leading non-alphanumeric characters are stripped. This also guards against shell injection through the name, as it is passed to shell commands like ‘docker compose -p {name}’. These apply to:
to_general_name
to_path_compatible_name

Type Aliases§

I64
JsonObject
JsonValue
MongoDocument
MongoId
U64
Usize
_Serror