Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
202 changes: 0 additions & 202 deletions nuon/api/runners/fetch_runner_token_mng.py

This file was deleted.

18 changes: 16 additions & 2 deletions nuon/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@
from .app_app_sandbox_config import AppAppSandboxConfig
from .app_app_sandbox_config_env_vars import AppAppSandboxConfigEnvVars
from .app_app_sandbox_config_operation_roles import AppAppSandboxConfigOperationRoles
from .app_app_sandbox_config_pulumi_config import AppAppSandboxConfigPulumiConfig
from .app_app_sandbox_config_variables import AppAppSandboxConfigVariables
from .app_app_secret import AppAppSecret
from .app_app_secret_config import AppAppSecretConfig
from .app_app_secret_kubernetes_sync_target import AppAppSecretKubernetesSyncTarget
from .app_app_secrets_config import AppAppSecretsConfig
from .app_app_stack_config import AppAppStackConfig
from .app_aws_account import AppAWSAccount
Expand Down Expand Up @@ -264,6 +266,7 @@
from .config_app_policy_type import ConfigAppPolicyType
from .config_custom_nested_stack import ConfigCustomNestedStack
from .config_custom_nested_stack_parameters import ConfigCustomNestedStackParameters
from .config_custom_nested_stack_status import ConfigCustomNestedStackStatus
from .config_helm_repo_config import ConfigHelmRepoConfig
from .configs_oci_registry_auth import ConfigsOCIRegistryAuth
from .configs_oci_registry_repository import ConfigsOCIRegistryRepository
Expand Down Expand Up @@ -338,9 +341,12 @@
from .plantypes_kubernetes_manifest_deploy_plan import PlantypesKubernetesManifestDeployPlan
from .plantypes_kubernetes_sandbox_mode import PlantypesKubernetesSandboxMode
from .plantypes_kubernetes_secret_sync import PlantypesKubernetesSecretSync
from .plantypes_kubernetes_secret_sync_target import PlantypesKubernetesSecretSyncTarget
from .plantypes_kustomize_build_config import PlantypesKustomizeBuildConfig
from .plantypes_noop_deploy_plan import PlantypesNoopDeployPlan
from .plantypes_oci_artifact_reference import PlantypesOCIArtifactReference
from .plantypes_pulumi_backend import PlantypesPulumiBackend
from .plantypes_pulumi_backend_config import PlantypesPulumiBackendConfig
from .plantypes_pulumi_build_plan import PlantypesPulumiBuildPlan
from .plantypes_pulumi_build_plan_labels import PlantypesPulumiBuildPlanLabels
from .plantypes_pulumi_deploy_plan import PlantypesPulumiDeployPlan
Expand Down Expand Up @@ -443,6 +449,7 @@
from .service_create_app_sandbox_config_request_operation_roles import (
ServiceCreateAppSandboxConfigRequestOperationRoles,
)
from .service_create_app_sandbox_config_request_pulumi_config import ServiceCreateAppSandboxConfigRequestPulumiConfig
from .service_create_app_sandbox_config_request_variables import ServiceCreateAppSandboxConfigRequestVariables
from .service_create_app_secret_request import ServiceCreateAppSecretRequest
from .service_create_app_secrets_config_request import ServiceCreateAppSecretsConfigRequest
Expand Down Expand Up @@ -556,12 +563,12 @@
from .service_install_group_request import ServiceInstallGroupRequest
from .service_install_permissions_role_status import ServiceInstallPermissionsRoleStatus
from .service_install_phone_home_request import ServiceInstallPhoneHomeRequest
from .service_kubernetes_sync_target import ServiceKubernetesSyncTarget
from .service_kustomize_config_request import ServiceKustomizeConfigRequest
from .service_latest_runner_heart_beats import ServiceLatestRunnerHeartBeats
from .service_list_channels_response import ServiceListChannelsResponse
from .service_log_stream_span import ServiceLogStreamSpan
from .service_log_stream_span_attributes import ServiceLogStreamSpanAttributes
from .service_mng_fetch_token_request import ServiceMngFetchTokenRequest
from .service_mng_restart_request import ServiceMngRestartRequest
from .service_mng_shut_down_request import ServiceMngShutDownRequest
from .service_mng_update_request import ServiceMngUpdateRequest
Expand Down Expand Up @@ -711,9 +718,11 @@
"AppAppSandboxConfig",
"AppAppSandboxConfigEnvVars",
"AppAppSandboxConfigOperationRoles",
"AppAppSandboxConfigPulumiConfig",
"AppAppSandboxConfigVariables",
"AppAppSecret",
"AppAppSecretConfig",
"AppAppSecretKubernetesSyncTarget",
"AppAppSecretsConfig",
"AppAppStackConfig",
"AppAWSAccount",
Expand Down Expand Up @@ -934,6 +943,7 @@
"ConfigAppPolicyType",
"ConfigCustomNestedStack",
"ConfigCustomNestedStackParameters",
"ConfigCustomNestedStackStatus",
"ConfigHelmRepoConfig",
"ConfigsOCIRegistryAuth",
"ConfigsOCIRegistryRepository",
Expand Down Expand Up @@ -1006,9 +1016,12 @@
"PlantypesKubernetesManifestDeployPlan",
"PlantypesKubernetesSandboxMode",
"PlantypesKubernetesSecretSync",
"PlantypesKubernetesSecretSyncTarget",
"PlantypesKustomizeBuildConfig",
"PlantypesNoopDeployPlan",
"PlantypesOCIArtifactReference",
"PlantypesPulumiBackend",
"PlantypesPulumiBackendConfig",
"PlantypesPulumiBuildPlan",
"PlantypesPulumiBuildPlanLabels",
"PlantypesPulumiDeployPlan",
Expand Down Expand Up @@ -1105,6 +1118,7 @@
"ServiceCreateAppSandboxConfigRequest",
"ServiceCreateAppSandboxConfigRequestEnvVars",
"ServiceCreateAppSandboxConfigRequestOperationRoles",
"ServiceCreateAppSandboxConfigRequestPulumiConfig",
"ServiceCreateAppSandboxConfigRequestVariables",
"ServiceCreateAppSecretRequest",
"ServiceCreateAppSecretsConfigRequest",
Expand Down Expand Up @@ -1194,12 +1208,12 @@
"ServiceInstallGroupRequest",
"ServiceInstallPermissionsRoleStatus",
"ServiceInstallPhoneHomeRequest",
"ServiceKubernetesSyncTarget",
"ServiceKustomizeConfigRequest",
"ServiceLatestRunnerHeartBeats",
"ServiceListChannelsResponse",
"ServiceLogStreamSpan",
"ServiceLogStreamSpanAttributes",
"ServiceMngFetchTokenRequest",
"ServiceMngRestartRequest",
"ServiceMngShutDownRequest",
"ServiceMngUpdateRequest",
Expand Down
10 changes: 10 additions & 0 deletions nuon/models/app_app_runner_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class AppAppRunnerConfig:
id (str | Unset):
init_script (str | Unset): takes a URL to a bash script ⤵ which will be `curl | bash`-ed on the VM. usually via
user-data or equivalent.
instance_type (str | Unset): InstanceType is the cloud machine/instance type for the install runner host, mapped
per cloud platform.
org_id (str | Unset):
updated_at (str | Unset):
"""
Expand All @@ -46,6 +48,7 @@ class AppAppRunnerConfig:
helm_driver: str | Unset = UNSET
id: str | Unset = UNSET
init_script: str | Unset = UNSET
instance_type: str | Unset = UNSET
org_id: str | Unset = UNSET
updated_at: str | Unset = UNSET
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
Expand Down Expand Up @@ -77,6 +80,8 @@ def to_dict(self) -> dict[str, Any]:

init_script = self.init_script

instance_type = self.instance_type

org_id = self.org_id

updated_at = self.updated_at
Expand Down Expand Up @@ -104,6 +109,8 @@ def to_dict(self) -> dict[str, Any]:
field_dict["id"] = id
if init_script is not UNSET:
field_dict["init_script"] = init_script
if instance_type is not UNSET:
field_dict["instance_type"] = instance_type
if org_id is not UNSET:
field_dict["org_id"] = org_id
if updated_at is not UNSET:
Expand Down Expand Up @@ -151,6 +158,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:

init_script = d.pop("init_script", UNSET)

instance_type = d.pop("instance_type", UNSET)

org_id = d.pop("org_id", UNSET)

updated_at = d.pop("updated_at", UNSET)
Expand All @@ -166,6 +175,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
helm_driver=helm_driver,
id=id,
init_script=init_script,
instance_type=instance_type,
org_id=org_id,
updated_at=updated_at,
)
Expand Down
Loading
Loading