Skip to main content

Module clients.sandbox_engine_image.image

Functions

from_api_object

def from_api_object(api_object: h2o_engine_manager.gen.model.v1_sandbox_engine_image.V1SandboxEngineImage) ‑> SandboxEngineImage

from_api_objects

def from_api_objects(api_objects: List[h2o_engine_manager.gen.model.v1_sandbox_engine_image.V1SandboxEngineImage]) ‑> List[SandboxEngineImage]

Classes

SandboxEngineImage

class SandboxEngineImage(image: str, name: str = '', display_name: str = '', enabled: bool = True, image_pull_policy: h2o_engine_manager.clients.base.image_pull_policy.ImagePullPolicy = ImagePullPolicy.IMAGE_PULL_POLICY_UNSPECIFIED, image_pull_secrets: Optional[List[str]] = None, create_time: Optional[datetime.datetime] = None, update_time: Optional[datetime.datetime] = None, creator: str = '', updater: str = '', creator_display_name: str = '', updater_display_name: str = '')

SandboxEngineImage represents image that can be used in Sandbox.

SandboxEngineImage represents image that can be used in Sandbox.

Args
image
Docker image name.
name
Resource name. Format "workspaces/global/sandboxEngineImages/*".
display_name
Human-readable name of the SandboxEngineImage.
enabled
Whether the SandboxEngineImage is enabled.
image_pull_policy
Image pull policy applied when using this SandboxEngineImage. When unset, server will choose a default one.
image_pull_secrets
List of references to k8s secrets that can be used for pulling an image of this SandboxEngineImage from a private container image registry or repository.
create_time
Time when the SandboxEngineImage was created.
update_time
Time when the SandboxEngineImage was last updated.
creator
Name of entity that created the SandboxEngineImage.
updater
Name of entity that last updated the SandboxEngineImage.
creator_display_name
Human-readable name of entity that created the SandboxEngineImage.
updater_display_name
Human-readable name of entity that last updated the SandboxEngineImage.

Methods

to_api_object

def to_api_object(self) ‑> h2o_engine_manager.gen.model.v1_sandbox_engine_image.V1SandboxEngineImage

to_resource

def to_resource(self) ‑> h2o_engine_manager.gen.model.required_sandbox_engine_image_resource.RequiredSandboxEngineImageResource

Feedback