@opensoha/contracts 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPATIBILITY.md +306 -0
- package/LICENSE +201 -0
- package/README.md +224 -0
- package/agent/agent-checkpoint.schema.json +19 -0
- package/agent/agent-observation.schema.json +20 -0
- package/agent/agent-protocol.schema.json +717 -0
- package/agent/agent-provider-definition.schema.json +44 -0
- package/agent/agent-provider-registry.schema.json +25 -0
- package/agent/agent-provider-runtime-event.schema.json +26 -0
- package/agent/agent-run-step.schema.json +24 -0
- package/agent/conformance-run.schema.json +19 -0
- package/agent/environment-lease.schema.json +31 -0
- package/agent/environment-snapshot.schema.json +26 -0
- package/agent/environment-template.schema.json +19 -0
- package/agent/fleet-target.schema.json +15 -0
- package/agent/multi-agent-plan.schema.json +18 -0
- package/agent/provider-rollout.schema.json +19 -0
- package/apiresponse/response.go +25 -0
- package/apiresponse/response_test.go +27 -0
- package/auth/token-claims.schema.json +78 -0
- package/capabilities/cluster-capability-matrix.schema.json +87 -0
- package/compat/json-schema-ecosystem-0.1.0.json +59 -0
- package/compat/openapi-0.1.0.snapshot.json +5076 -0
- package/compat/openapi-loose-boundaries-0.1.0.json +769 -0
- package/connectors/connector-event-envelope.schema.json +64 -0
- package/evaluation/evaluation-dataset.schema.json +28 -0
- package/evaluation/evaluation-result.schema.json +18 -0
- package/evaluation/evaluation-run.schema.json +19 -0
- package/evaluation/executor-profile.schema.json +18 -0
- package/evaluation/feedback-sample.schema.json +20 -0
- package/evaluation/gate-decision.schema.json +20 -0
- package/evaluation/gate-policy.schema.json +18 -0
- package/evaluation/replay-plan.schema.json +17 -0
- package/evaluation/sample-attempt.schema.json +22 -0
- package/events/event-envelope.schema.json +58 -0
- package/examples/agent-profile/k8s-sre-readonly.json +16 -0
- package/examples/cluster-capability-matrix/runtime-parity.json +40 -0
- package/examples/connector-event-envelope/feishu-message.json +19 -0
- package/examples/gateway-capability-baseline/minimal.json +61 -0
- package/examples/gateway-manifest/minimal.json +72 -0
- package/examples/governance/approval-request.json +35 -0
- package/examples/governance/audit-log.json +14 -0
- package/examples/marketplace-catalog/default.json +75 -0
- package/examples/mcp-preset/k8s-readonly.json +20 -0
- package/examples/openapi/agent-run-tool-call-request.json +11 -0
- package/examples/openapi/agent-tool-call-result-envelope.json +19 -0
- package/examples/openapi/cloud-extension-point-list-envelope.json +15 -0
- package/examples/openapi/directory-runtime-status-envelope.json +31 -0
- package/examples/openapi/gateway-manifest-envelope.json +53 -0
- package/examples/openapi/tool-invocation-request.json +14 -0
- package/examples/openapi/tool-invocation-result-envelope.json +23 -0
- package/examples/plugin-manifest/compute-provider.json +27 -0
- package/examples/plugin-manifest/connector.json +76 -0
- package/examples/plugin-manifest/skill-pack.json +47 -0
- package/examples/runner-operation-lifecycle/late-callback.json +27 -0
- package/examples/skill-manifest/k8s-sre.json +22 -0
- package/examples/token-claims/service-account.json +15 -0
- package/fixtures/json-schema/agent-checkpoint/invalid/raw-state.json +1 -0
- package/fixtures/json-schema/agent-checkpoint/valid/minimal.json +1 -0
- package/fixtures/json-schema/agent-observation/invalid/extra-secret.json +1 -0
- package/fixtures/json-schema/agent-observation/valid/tool.json +1 -0
- package/fixtures/json-schema/agent-profile/invalid/missing-scope.json +15 -0
- package/fixtures/json-schema/agent-profile/valid/k8s-sre-readonly.json +35 -0
- package/fixtures/json-schema/agent-protocol/invalid/missing-agent-id.json +3 -0
- package/fixtures/json-schema/agent-protocol/valid/agent-run-callback-legacy.json +9 -0
- package/fixtures/json-schema/agent-protocol/valid/agent-run-callback-with-events.json +39 -0
- package/fixtures/json-schema/agent-protocol/valid/execution-task-claim.json +5 -0
- package/fixtures/json-schema/agent-provider-definition/invalid/missing-command.json +1 -0
- package/fixtures/json-schema/agent-provider-definition/valid/cli.json +1 -0
- package/fixtures/json-schema/agent-provider-registry/invalid/zero-revision.json +1 -0
- package/fixtures/json-schema/agent-provider-registry/valid/minimal.json +1 -0
- package/fixtures/json-schema/agent-provider-runtime-event/invalid/health-without-provider.json +1 -0
- package/fixtures/json-schema/agent-provider-runtime-event/valid/ack.json +1 -0
- package/fixtures/json-schema/agent-run-step/invalid/unknown-state.json +1 -0
- package/fixtures/json-schema/agent-run-step/valid/running.json +1 -0
- package/fixtures/json-schema/approval-request/invalid/missing-status.json +12 -0
- package/fixtures/json-schema/approval-request/valid/high-risk-tool.json +56 -0
- package/fixtures/json-schema/audit-log/invalid/extra-field.json +10 -0
- package/fixtures/json-schema/audit-log/valid/tool-denied.json +23 -0
- package/fixtures/json-schema/cluster-capability-matrix/invalid/missing-agent-support.json +16 -0
- package/fixtures/json-schema/cluster-capability-matrix/invalid/partial-without-reason.json +18 -0
- package/fixtures/json-schema/cluster-capability-matrix/valid/runtime-parity.json +59 -0
- package/fixtures/json-schema/conformance-run/invalid/missing.json +1 -0
- package/fixtures/json-schema/conformance-run/valid/passed.json +1 -0
- package/fixtures/json-schema/connector-checkpoint/invalid/missing.json +1 -0
- package/fixtures/json-schema/connector-checkpoint/valid/http.json +1 -0
- package/fixtures/json-schema/connector-definition/invalid/missing.json +1 -0
- package/fixtures/json-schema/connector-definition/valid/http.json +1 -0
- package/fixtures/json-schema/connector-event-envelope/invalid/missing-payload.json +11 -0
- package/fixtures/json-schema/connector-event-envelope/invalid/unknown-top-level-field.json +13 -0
- package/fixtures/json-schema/connector-event-envelope/valid/feishu-message.json +19 -0
- package/fixtures/json-schema/context-envelope/invalid/envelope.json +1 -0
- package/fixtures/json-schema/context-envelope/valid/envelope.json +1 -0
- package/fixtures/json-schema/environment-lease/invalid/unbounded.json +1 -0
- package/fixtures/json-schema/environment-lease/valid/observe.json +1 -0
- package/fixtures/json-schema/environment-snapshot/invalid/negative-usage.json +1 -0
- package/fixtures/json-schema/environment-snapshot/valid/active.json +1 -0
- package/fixtures/json-schema/environment-template/invalid/missing.json +1 -0
- package/fixtures/json-schema/environment-template/valid/container.json +1 -0
- package/fixtures/json-schema/evaluation-dataset/invalid/no-samples.json +1 -0
- package/fixtures/json-schema/evaluation-dataset/valid/minimal.json +1 -0
- package/fixtures/json-schema/evaluation-result/invalid/bad-score.json +1 -0
- package/fixtures/json-schema/evaluation-result/valid/passed.json +1 -0
- package/fixtures/json-schema/evaluation-run/invalid/no-candidate.json +1 -0
- package/fixtures/json-schema/evaluation-run/valid/running.json +1 -0
- package/fixtures/json-schema/event-envelope/invalid/bad-severity.json +7 -0
- package/fixtures/json-schema/event-envelope/valid/minimal.json +14 -0
- package/fixtures/json-schema/executor-profile/invalid/missing.json +1 -0
- package/fixtures/json-schema/executor-profile/valid/readonly.json +1 -0
- package/fixtures/json-schema/feedback-sample/invalid/missing.json +1 -0
- package/fixtures/json-schema/feedback-sample/valid/pending.json +1 -0
- package/fixtures/json-schema/fleet-target/invalid/missing.json +1 -0
- package/fixtures/json-schema/fleet-target/valid/linux.json +1 -0
- package/fixtures/json-schema/gate-decision/invalid/missing.json +1 -0
- package/fixtures/json-schema/gate-decision/valid/pass.json +1 -0
- package/fixtures/json-schema/gate-policy/invalid/missing.json +1 -0
- package/fixtures/json-schema/gate-policy/valid/release.json +1 -0
- package/fixtures/json-schema/gateway-capability-baseline/invalid/missing-owner.json +32 -0
- package/fixtures/json-schema/gateway-capability-baseline/valid/minimal.json +61 -0
- package/fixtures/json-schema/gateway-manifest/invalid/bad-risk-level.json +37 -0
- package/fixtures/json-schema/gateway-manifest/valid/minimal.json +48 -0
- package/fixtures/json-schema/graph-revision/invalid/missing.json +1 -0
- package/fixtures/json-schema/graph-revision/valid/active.json +1 -0
- package/fixtures/json-schema/index-publish/invalid/missing.json +1 -0
- package/fixtures/json-schema/index-publish/valid/publish.json +1 -0
- package/fixtures/json-schema/ingestion-job/invalid/missing.json +1 -0
- package/fixtures/json-schema/ingestion-job/valid/queued.json +1 -0
- package/fixtures/json-schema/ingestion-stage/invalid/missing.json +1 -0
- package/fixtures/json-schema/ingestion-stage/valid/succeeded.json +1 -0
- package/fixtures/json-schema/knowledge-base/invalid/base.json +1 -0
- package/fixtures/json-schema/knowledge-base/valid/base.json +1 -0
- package/fixtures/json-schema/knowledge-search/invalid/search.json +1 -0
- package/fixtures/json-schema/knowledge-search/valid/search.json +1 -0
- package/fixtures/json-schema/knowledge-source/invalid/source.json +1 -0
- package/fixtures/json-schema/knowledge-source/valid/source.json +1 -0
- package/fixtures/json-schema/marketplace-catalog/invalid/missing-source.json +5 -0
- package/fixtures/json-schema/marketplace-catalog/valid/minimal.json +44 -0
- package/fixtures/json-schema/mcp-preset/invalid/bad-risk-level.json +20 -0
- package/fixtures/json-schema/mcp-preset/valid/k8s-readonly.json +40 -0
- package/fixtures/json-schema/memory-policy/invalid/missing.json +1 -0
- package/fixtures/json-schema/memory-policy/valid/explicit.json +1 -0
- package/fixtures/json-schema/memory-record/invalid/missing.json +1 -0
- package/fixtures/json-schema/memory-record/valid/explicit.json +1 -0
- package/fixtures/json-schema/multi-agent-plan/invalid/missing.json +1 -0
- package/fixtures/json-schema/multi-agent-plan/valid/running.json +1 -0
- package/fixtures/json-schema/observability-log-query-v1/invalid/missing-query.json +6 -0
- package/fixtures/json-schema/observability-log-query-v1/valid/request.json +15 -0
- package/fixtures/json-schema/observability-log-query-v1/valid/response.json +13 -0
- package/fixtures/json-schema/plugin-manifest/invalid/bad-type.json +7 -0
- package/fixtures/json-schema/plugin-manifest/invalid/logs-query-without-action.json +28 -0
- package/fixtures/json-schema/plugin-manifest/invalid/manifest-only-observability-provider.json +26 -0
- package/fixtures/json-schema/plugin-manifest/invalid/manifest-only-read-provider.json +23 -0
- package/fixtures/json-schema/plugin-manifest/invalid/write-provider-without-actions.json +23 -0
- package/fixtures/json-schema/plugin-manifest/valid/compute-provider.json +25 -0
- package/fixtures/json-schema/plugin-manifest/valid/minimal.json +14 -0
- package/fixtures/json-schema/plugin-manifest/valid/observability-provider.json +29 -0
- package/fixtures/json-schema/project-manifest/invalid/inline-secret.json +14 -0
- package/fixtures/json-schema/project-manifest/valid/demo.json +21 -0
- package/fixtures/json-schema/provider-rollout/invalid/missing.json +1 -0
- package/fixtures/json-schema/provider-rollout/valid/canary.json +1 -0
- package/fixtures/json-schema/replay-plan/invalid/missing.json +1 -0
- package/fixtures/json-schema/replay-plan/valid/readonly.json +1 -0
- package/fixtures/json-schema/retrieval-trace/invalid/missing.json +1 -0
- package/fixtures/json-schema/retrieval-trace/valid/grounded.json +1 -0
- package/fixtures/json-schema/runner-operation-lifecycle/invalid/bad-state.json +7 -0
- package/fixtures/json-schema/runner-operation-lifecycle/invalid/missing-runner-id.json +6 -0
- package/fixtures/json-schema/runner-operation-lifecycle/valid/final-failed.json +27 -0
- package/fixtures/json-schema/runner-operation-lifecycle/valid/heartbeat.json +19 -0
- package/fixtures/json-schema/sample-attempt/invalid/missing.json +1 -0
- package/fixtures/json-schema/sample-attempt/valid/completed.json +1 -0
- package/fixtures/json-schema/skill-manifest/invalid/bad-id.json +5 -0
- package/fixtures/json-schema/skill-manifest/valid/minimal.json +8 -0
- package/fixtures/json-schema/token-claims/invalid/bad-token-kind.json +9 -0
- package/fixtures/json-schema/token-claims/valid/service-account.json +15 -0
- package/fixtures/openapi/AIGatewayManifestEnvelope/invalid/bad-date.json +28 -0
- package/fixtures/openapi/AIGatewayManifestEnvelope/valid/minimal.json +31 -0
- package/fixtures/openapi/AgentProviderRegistryAcknowledgement/invalid/missing-targeted.json +7 -0
- package/fixtures/openapi/AgentProviderRegistryAcknowledgement/valid/rollout.json +17 -0
- package/fixtures/openapi/AgentRunCallbackRequest/invalid/missing-agent-id.json +6 -0
- package/fixtures/openapi/AgentRunCallbackRequest/valid/succeeded.json +10 -0
- package/fixtures/openapi/AgentRunCallbackRequest/valid/with-events.json +39 -0
- package/fixtures/openapi/AuthResultEnvelope/invalid/missing-tokens.json +13 -0
- package/fixtures/openapi/AuthResultEnvelope/valid/session.json +20 -0
- package/fixtures/openapi/CloudExtensionPointListEnvelope/invalid/missing-exclusions.json +11 -0
- package/fixtures/openapi/CloudExtensionPointListEnvelope/valid/managed-fleet.json +19 -0
- package/fixtures/openapi/ComputeAccessSourceListEnvelope/invalid/bad-source-type.json +15 -0
- package/fixtures/openapi/ComputeAccessSourceListEnvelope/valid/mixed.json +19 -0
- package/fixtures/openapi/ComputeOverviewEnvelope/invalid/bad-section-status.json +9 -0
- package/fixtures/openapi/ComputeOverviewEnvelope/valid/partial.json +33 -0
- package/fixtures/openapi/ComputeProviderListEnvelope/invalid/bad-domain.json +23 -0
- package/fixtures/openapi/ComputeProviderListEnvelope/valid/builtin.json +30 -0
- package/fixtures/openapi/ComputeResourceRelationListEnvelope/invalid/bad-relation.json +29 -0
- package/fixtures/openapi/ComputeResourceRelationListEnvelope/valid/vm-runtime.json +33 -0
- package/fixtures/openapi/ComputeTaskListEnvelope/invalid/missing-source-id.json +19 -0
- package/fixtures/openapi/ComputeTaskListEnvelope/valid/running.json +30 -0
- package/fixtures/openapi/DeliveryDraftInput/invalid/missing-application-key.json +9 -0
- package/fixtures/openapi/DeliveryDraftInput/valid/ai-service.json +25 -0
- package/fixtures/openapi/DirectoryEventListEnvelope/invalid/unknown-status.json +13 -0
- package/fixtures/openapi/DirectoryEventListEnvelope/valid/failed.json +16 -0
- package/fixtures/openapi/DirectoryPersonLifecycle/invalid/unknown-employment-status.json +5 -0
- package/fixtures/openapi/DirectoryPersonLifecycle/valid/departed.json +6 -0
- package/fixtures/openapi/DirectoryRuntimeStatusEnvelope/invalid/negative-event-count.json +11 -0
- package/fixtures/openapi/DirectoryRuntimeStatusEnvelope/valid/verified.json +14 -0
- package/fixtures/openapi/DockerContainerStartInput/invalid/missing-image.json +8 -0
- package/fixtures/openapi/DockerContainerStartInput/valid/git-dockerfile.json +22 -0
- package/fixtures/openapi/DockerOperationCallbackRequest/invalid/logs-not-array.json +7 -0
- package/fixtures/openapi/DockerOperationCallbackRequest/valid/succeeded.json +9 -0
- package/fixtures/openapi/ErrorEnvelope/invalid/extra-field.json +7 -0
- package/fixtures/openapi/ErrorEnvelope/valid/error.json +7 -0
- package/fixtures/openapi/EvaluationGateRequest/invalid/missing-candidate.json +4 -0
- package/fixtures/openapi/EvaluationGateRequest/valid/candidate.json +5 -0
- package/fixtures/openapi/ExecutionCallbackRequest/invalid/extra-field.json +6 -0
- package/fixtures/openapi/ExecutionCallbackRequest/valid/succeeded.json +7 -0
- package/fixtures/openapi/GovernanceStatusEnvelope/invalid/window-hours-string.json +81 -0
- package/fixtures/openapi/GovernanceStatusEnvelope/valid/minimal.json +81 -0
- package/fixtures/openapi/IdentityErrorEnvelope/invalid/raw-assertion.json +7 -0
- package/fixtures/openapi/IdentityErrorEnvelope/valid/invalid-signature.json +7 -0
- package/fixtures/openapi/IdentityOutpostClaimRequest/invalid/missing-protocol-version.json +4 -0
- package/fixtures/openapi/IdentityOutpostClaimRequest/valid/current-version.json +5 -0
- package/fixtures/openapi/IdentityRuntimeCapabilityEnvelope/invalid/missing-runtime-state.json +17 -0
- package/fixtures/openapi/IdentityRuntimeCapabilityEnvelope/valid/available.json +17 -0
- package/fixtures/openapi/KnowledgeIngestionJobInput/invalid/missing-source.json +1 -0
- package/fixtures/openapi/KnowledgeIngestionJobInput/valid/source.json +3 -0
- package/fixtures/openapi/KubernetesResourceAgentCreateRequest/invalid/unresolved-target.json +18 -0
- package/fixtures/openapi/KubernetesResourceAgentCreateRequest/valid/resolved-target.json +25 -0
- package/fixtures/openapi/KubernetesResourceCreateRequest/invalid/unknown-source.json +5 -0
- package/fixtures/openapi/KubernetesResourceCreateRequest/valid/global-multi-document.json +5 -0
- package/fixtures/openapi/KubernetesResourceCreateResultEnvelope/invalid/bad-document-index.json +21 -0
- package/fixtures/openapi/KubernetesResourceCreateResultEnvelope/valid/partial.json +62 -0
- package/fixtures/openapi/KubernetesResourceCreateScopeDecisionEnvelope/invalid/missing-capability.json +12 -0
- package/fixtures/openapi/KubernetesResourceCreateScopeDecisionEnvelope/valid/allowed.json +17 -0
- package/fixtures/openapi/KubernetesResourcePreflightEnvelope/invalid/warning-without-message.json +32 -0
- package/fixtures/openapi/KubernetesResourcePreflightEnvelope/valid/mixed-diagnostics.json +83 -0
- package/fixtures/openapi/LogPage/invalid/missing-entry-source.json +12 -0
- package/fixtures/openapi/LogPage/valid/partial-runtime.json +42 -0
- package/fixtures/openapi/LogQuery/invalid/missing-selector.json +3 -0
- package/fixtures/openapi/LogQuery/invalid/unknown-source-mode.json +6 -0
- package/fixtures/openapi/LogQuery/valid/docker-project.json +12 -0
- package/fixtures/openapi/LogQuery/valid/runtime-workload.json +21 -0
- package/fixtures/openapi/LogStreamEvent/invalid/missing-entry.json +3 -0
- package/fixtures/openapi/LogStreamEvent/invalid/unknown-event-type.json +3 -0
- package/fixtures/openapi/LogStreamEvent/valid/live-entry.json +16 -0
- package/fixtures/openapi/MCPCapabilityListEnvelope/invalid/missing-scopes.json +9 -0
- package/fixtures/openapi/MCPCapabilityListEnvelope/valid/minimal.json +10 -0
- package/fixtures/openapi/MFAAdminResetRequest/invalid/missing-reason.json +3 -0
- package/fixtures/openapi/MFAAdminResetRequest/valid/security-incident.json +4 -0
- package/fixtures/openapi/MFAWebAuthnRequestOptionsEnvelope/invalid/missing-challenge-id.json +9 -0
- package/fixtures/openapi/MFAWebAuthnRequestOptionsEnvelope/valid/step-up.json +11 -0
- package/fixtures/openapi/ManifestDeploymentEnvelope/invalid/bad-condition-status.json +33 -0
- package/fixtures/openapi/ManifestDeploymentEnvelope/valid/converged.json +36 -0
- package/fixtures/openapi/ManifestSourceUpdateInput/invalid/unknown-mode.json +6 -0
- package/fixtures/openapi/ManifestSourceUpdateInput/valid/soha-managed.json +6 -0
- package/fixtures/openapi/ObservabilityDataSource/valid/healthy.json +33 -0
- package/fixtures/openapi/ObservabilityDataSourceInput/invalid/secret-in-config.json +9 -0
- package/fixtures/openapi/ObservabilityDataSourceInput/valid/loki.json +33 -0
- package/fixtures/openapi/ObservabilityDataSourceInput/valid/provider.json +21 -0
- package/fixtures/openapi/PasswordLoginRequest/invalid/extra-field.json +5 -0
- package/fixtures/openapi/PasswordLoginRequest/valid/password-login.json +4 -0
- package/fixtures/openapi/PersonalAccessTokenInput/invalid/extra-field.json +6 -0
- package/fixtures/openapi/PersonalAccessTokenInput/valid/create.json +9 -0
- package/fixtures/openapi/PluginManifest/invalid/bad-type.json +7 -0
- package/fixtures/openapi/PluginManifest/valid/skill-pack.json +12 -0
- package/fixtures/openapi/RepositoryInput/invalid/embedded-token.json +8 -0
- package/fixtures/openapi/RepositoryInput/valid/gitlab.json +11 -0
- package/fixtures/openapi/RuntimeConfigChangeRequest/invalid/missing-version.json +8 -0
- package/fixtures/openapi/RuntimeConfigChangeRequest/valid/feature-flags.json +14 -0
- package/fixtures/openapi/RuntimeConfigSnapshotEnvelope/invalid/editable-secret.json +17 -0
- package/fixtures/openapi/RuntimeConfigSnapshotEnvelope/invalid/exposed-default-secret.json +18 -0
- package/fixtures/openapi/RuntimeConfigSnapshotEnvelope/invalid/exposed-effective-secret.json +18 -0
- package/fixtures/openapi/RuntimeConfigSnapshotEnvelope/valid/effective.json +34 -0
- package/fixtures/openapi/SAMLMetadataInput/invalid/unknown-source.json +4 -0
- package/fixtures/openapi/SAMLMetadataInput/valid/xml.json +4 -0
- package/fixtures/openapi/SecretCreateRequest/invalid/missing-value.json +5 -0
- package/fixtures/openapi/SecretCreateRequest/valid/create.json +13 -0
- package/fixtures/openapi/SecretLeaseRedemptionEnvelope/invalid/invalid-alias.json +9 -0
- package/fixtures/openapi/SecretLeaseRedemptionEnvelope/valid/redeem.json +9 -0
- package/fixtures/openapi/SecretMetadataEnvelope/invalid/plaintext-value.json +15 -0
- package/fixtures/openapi/SecretMetadataEnvelope/valid/metadata.json +20 -0
- package/fixtures/openapi/SecretRotateRequest/invalid/empty-value.json +3 -0
- package/fixtures/openapi/SecretRotateRequest/valid/rotate.json +3 -0
- package/fixtures/openapi/ServiceAccountInput/invalid/missing-status.json +4 -0
- package/fixtures/openapi/ServiceAccountInput/valid/create.json +8 -0
- package/fixtures/openapi/WorkbenchStreamEvent/invalid/extra-field.json +11 -0
- package/fixtures/openapi/WorkbenchStreamEvent/invalid/missing-server-fields.json +5 -0
- package/fixtures/openapi/WorkbenchStreamEvent/valid/message-done.json +13 -0
- package/gen/go/sohaapi/client.go +989 -0
- package/gen/go/sohaapi/client_test.go +2127 -0
- package/gen/go/sohaapi/types.go +21450 -0
- package/gen/ts/sohaapi/index.ts +22869 -0
- package/go.mod +18 -0
- package/go.sum +46 -0
- package/governance/approval-request.schema.json +187 -0
- package/governance/audit-log.schema.json +37 -0
- package/helmrelease/release.go +108 -0
- package/helmrelease/release_test.go +9 -0
- package/knowledge/connector-checkpoint.schema.json +16 -0
- package/knowledge/connector-definition.schema.json +18 -0
- package/knowledge/context-envelope.schema.json +32 -0
- package/knowledge/graph-revision.schema.json +21 -0
- package/knowledge/index-publish.schema.json +17 -0
- package/knowledge/ingestion-job.schema.json +22 -0
- package/knowledge/ingestion-stage.schema.json +19 -0
- package/knowledge/knowledge-base.schema.json +48 -0
- package/knowledge/knowledge-search.schema.json +21 -0
- package/knowledge/knowledge-source.schema.json +28 -0
- package/knowledge/retrieval-trace.schema.json +21 -0
- package/mcp/gateway-capability-baseline.schema.json +290 -0
- package/mcp/gateway-manifest.schema.json +210 -0
- package/memory/memory-policy.schema.json +19 -0
- package/memory/memory-record.schema.json +25 -0
- package/openapi/soha-api.json +42282 -0
- package/openapi/soha-api.yaml +21748 -0
- package/openapi/spec_generated.go +23 -0
- package/openapi/spec_test.go +38 -0
- package/package.json +122 -0
- package/plugins/marketplace-catalog.schema.json +120 -0
- package/plugins/observability-log-query-v1.schema.json +88 -0
- package/plugins/plugin-manifest.schema.json +498 -0
- package/presets/mcp-preset.schema.json +142 -0
- package/profiles/agent-profile.schema.json +154 -0
- package/resource/crd_definition.go +10 -0
- package/resource/gateway_details_test.go +55 -0
- package/resource/models.go +1587 -0
- package/resource/models_test.go +72 -0
- package/runner/operation-lifecycle.schema.json +112 -0
- package/skills/skill-manifest.schema.json +64 -0
- package/streamlimit/limited_buffer.go +58 -0
- package/streamlimit/limited_buffer_test.go +38 -0
|
@@ -0,0 +1,1587 @@
|
|
|
1
|
+
package resource
|
|
2
|
+
|
|
3
|
+
const (
|
|
4
|
+
PodLogsMaxContentBytes = 256 * 1024
|
|
5
|
+
PodExecMaxOutputBytes = 128 * 1024
|
|
6
|
+
StorageRelationLimit = 200
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
type NamespaceView struct {
|
|
10
|
+
Name string `json:"name"`
|
|
11
|
+
Status string `json:"status"`
|
|
12
|
+
Labels map[string]string `json:"labels"`
|
|
13
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
14
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
15
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
type NamespaceUpsertInput struct {
|
|
19
|
+
Name string `json:"name"`
|
|
20
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
21
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type PodView struct {
|
|
25
|
+
Name string `json:"name"`
|
|
26
|
+
Namespace string `json:"namespace"`
|
|
27
|
+
Phase string `json:"phase"`
|
|
28
|
+
NodeName string `json:"nodeName,omitempty"`
|
|
29
|
+
PodIP string `json:"podIp,omitempty"`
|
|
30
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
31
|
+
CPU string `json:"cpu,omitempty"`
|
|
32
|
+
Memory string `json:"memory,omitempty"`
|
|
33
|
+
Requests ResourceQuantityView `json:"requests,omitempty"`
|
|
34
|
+
Limits ResourceQuantityView `json:"limits,omitempty"`
|
|
35
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
36
|
+
PersistentVolumeClaims []string `json:"persistentVolumeClaims,omitempty"`
|
|
37
|
+
ReadyContainers string `json:"readyContainers"`
|
|
38
|
+
Restarts int32 `json:"restarts"`
|
|
39
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
40
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
type WorkloadOverviewNamespaceView struct {
|
|
44
|
+
Namespace string `json:"namespace"`
|
|
45
|
+
TotalPods int `json:"totalPods"`
|
|
46
|
+
RunningPods int `json:"runningPods"`
|
|
47
|
+
AtRiskPods int `json:"atRiskPods"`
|
|
48
|
+
RestartingPods int `json:"restartingPods"`
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
type WorkloadOverviewPodView struct {
|
|
52
|
+
Name string `json:"name"`
|
|
53
|
+
Namespace string `json:"namespace"`
|
|
54
|
+
Phase string `json:"phase"`
|
|
55
|
+
ReadyContainers string `json:"readyContainers"`
|
|
56
|
+
Restarts int32 `json:"restarts"`
|
|
57
|
+
NodeName string `json:"nodeName,omitempty"`
|
|
58
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
type WorkloadOverviewView struct {
|
|
62
|
+
ClusterID string `json:"clusterId"`
|
|
63
|
+
Namespace string `json:"namespace,omitempty"`
|
|
64
|
+
Source string `json:"source"`
|
|
65
|
+
GeneratedAt string `json:"generatedAt"`
|
|
66
|
+
TotalPods int `json:"totalPods"`
|
|
67
|
+
RunningPods int `json:"runningPods"`
|
|
68
|
+
PendingPods int `json:"pendingPods"`
|
|
69
|
+
SucceededPods int `json:"succeededPods"`
|
|
70
|
+
FailedPods int `json:"failedPods"`
|
|
71
|
+
UnknownPods int `json:"unknownPods"`
|
|
72
|
+
RestartingPods int `json:"restartingPods"`
|
|
73
|
+
AtRiskPods int `json:"atRiskPods"`
|
|
74
|
+
NamespaceBreakdown []WorkloadOverviewNamespaceView `json:"namespaceBreakdown,omitempty"`
|
|
75
|
+
ProblematicPods []WorkloadOverviewPodView `json:"problematicPods,omitempty"`
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
type WorkloadConditionView struct {
|
|
79
|
+
Type string `json:"type"`
|
|
80
|
+
Status string `json:"status"`
|
|
81
|
+
Reason string `json:"reason,omitempty"`
|
|
82
|
+
Message string `json:"message,omitempty"`
|
|
83
|
+
LastTransitionTime string `json:"lastTransitionTime,omitempty"`
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
type WorkloadContainerView struct {
|
|
87
|
+
Name string `json:"name"`
|
|
88
|
+
Image string `json:"image"`
|
|
89
|
+
Role string `json:"role,omitempty"`
|
|
90
|
+
Ready bool `json:"ready"`
|
|
91
|
+
RestartCount int32 `json:"restartCount"`
|
|
92
|
+
State string `json:"state,omitempty"`
|
|
93
|
+
LastState string `json:"lastState,omitempty"`
|
|
94
|
+
ContainerID string `json:"containerId,omitempty"`
|
|
95
|
+
StartedAt string `json:"startedAt,omitempty"`
|
|
96
|
+
Reason string `json:"reason,omitempty"`
|
|
97
|
+
Message string `json:"message,omitempty"`
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
type PodVolumeMountView struct {
|
|
101
|
+
Name string `json:"name"`
|
|
102
|
+
MountPath string `json:"mountPath"`
|
|
103
|
+
SubPath string `json:"subPath,omitempty"`
|
|
104
|
+
ReadOnly bool `json:"readOnly"`
|
|
105
|
+
VolumeType string `json:"volumeType,omitempty"`
|
|
106
|
+
SourceName string `json:"sourceName,omitempty"`
|
|
107
|
+
Description string `json:"description,omitempty"`
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
type PodVolumeView struct {
|
|
111
|
+
Name string `json:"name"`
|
|
112
|
+
Type string `json:"type"`
|
|
113
|
+
SourceName string `json:"sourceName,omitempty"`
|
|
114
|
+
ReadOnly bool `json:"readOnly"`
|
|
115
|
+
Details []string `json:"details,omitempty"`
|
|
116
|
+
VolumeMounts []PodVolumeMountView `json:"volumeMounts,omitempty"`
|
|
117
|
+
ReferencedConfigMaps []string `json:"referencedConfigMaps,omitempty"`
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
type PodRelatedResourceView struct {
|
|
121
|
+
Kind string `json:"kind"`
|
|
122
|
+
Name string `json:"name"`
|
|
123
|
+
Namespace string `json:"namespace,omitempty"`
|
|
124
|
+
Relations []string `json:"relations,omitempty"`
|
|
125
|
+
Details []string `json:"details,omitempty"`
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
type WorkloadRelationView struct {
|
|
129
|
+
Kind string `json:"kind"`
|
|
130
|
+
Name string `json:"name"`
|
|
131
|
+
Namespace string `json:"namespace,omitempty"`
|
|
132
|
+
Relation string `json:"relation,omitempty"`
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
type ResourceQuantityView struct {
|
|
136
|
+
CPU string `json:"cpu,omitempty"`
|
|
137
|
+
Memory string `json:"memory,omitempty"`
|
|
138
|
+
EphemeralStorage string `json:"ephemeralStorage,omitempty"`
|
|
139
|
+
Pods string `json:"pods,omitempty"`
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
type ResourcePercentageView struct {
|
|
143
|
+
CPU float64 `json:"cpu,omitempty"`
|
|
144
|
+
Memory float64 `json:"memory,omitempty"`
|
|
145
|
+
EphemeralStorage float64 `json:"ephemeralStorage,omitempty"`
|
|
146
|
+
Pods float64 `json:"pods,omitempty"`
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
type NodeResourceSummaryView struct {
|
|
150
|
+
Capacity ResourceQuantityView `json:"capacity,omitempty"`
|
|
151
|
+
Allocatable ResourceQuantityView `json:"allocatable,omitempty"`
|
|
152
|
+
Requests ResourceQuantityView `json:"requests,omitempty"`
|
|
153
|
+
Limits ResourceQuantityView `json:"limits,omitempty"`
|
|
154
|
+
Usage ResourceQuantityView `json:"usage,omitempty"`
|
|
155
|
+
RequestPercentages ResourcePercentageView `json:"requestPercentages,omitempty"`
|
|
156
|
+
LimitPercentages ResourcePercentageView `json:"limitPercentages,omitempty"`
|
|
157
|
+
UsagePercentages ResourcePercentageView `json:"usagePercentages,omitempty"`
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
type PodDetailView struct {
|
|
161
|
+
Name string `json:"name"`
|
|
162
|
+
Namespace string `json:"namespace"`
|
|
163
|
+
Phase string `json:"phase"`
|
|
164
|
+
PodIP string `json:"podIp,omitempty"`
|
|
165
|
+
HostIP string `json:"hostIp,omitempty"`
|
|
166
|
+
NodeName string `json:"nodeName,omitempty"`
|
|
167
|
+
ServiceAccountName string `json:"serviceAccountName,omitempty"`
|
|
168
|
+
QOSClass string `json:"qosClass,omitempty"`
|
|
169
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
170
|
+
StartTime string `json:"startTime,omitempty"`
|
|
171
|
+
Requests ResourceQuantityView `json:"requests,omitempty"`
|
|
172
|
+
Limits ResourceQuantityView `json:"limits,omitempty"`
|
|
173
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
174
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
175
|
+
Containers []WorkloadContainerView `json:"containers,omitempty"`
|
|
176
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
177
|
+
Volumes []PodVolumeView `json:"volumes,omitempty"`
|
|
178
|
+
RelatedResources []PodRelatedResourceView `json:"relatedResources,omitempty"`
|
|
179
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
type PodLogsView struct {
|
|
183
|
+
PodName string `json:"podName"`
|
|
184
|
+
Namespace string `json:"namespace"`
|
|
185
|
+
Container string `json:"container,omitempty"`
|
|
186
|
+
Content string `json:"content"`
|
|
187
|
+
ContentBytes int64 `json:"contentBytes"`
|
|
188
|
+
MaxBytes int64 `json:"maxBytes,omitempty"`
|
|
189
|
+
TailLines int64 `json:"tailLines,omitempty"`
|
|
190
|
+
Previous bool `json:"previous,omitempty"`
|
|
191
|
+
Truncated bool `json:"truncated"`
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
type PodExecView struct {
|
|
195
|
+
PodName string `json:"podName"`
|
|
196
|
+
Namespace string `json:"namespace"`
|
|
197
|
+
Container string `json:"container,omitempty"`
|
|
198
|
+
Command string `json:"command"`
|
|
199
|
+
Stdout string `json:"stdout"`
|
|
200
|
+
Stderr string `json:"stderr"`
|
|
201
|
+
StdoutBytes int64 `json:"stdoutBytes"`
|
|
202
|
+
StderrBytes int64 `json:"stderrBytes"`
|
|
203
|
+
MaxBytes int64 `json:"maxBytes,omitempty"`
|
|
204
|
+
StdoutTruncated bool `json:"stdoutTruncated,omitempty"`
|
|
205
|
+
StderrTruncated bool `json:"stderrTruncated,omitempty"`
|
|
206
|
+
Success bool `json:"success"`
|
|
207
|
+
ExitMessage string `json:"exitMessage,omitempty"`
|
|
208
|
+
ExecutedAt string `json:"executedAt"`
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
type MetricPointView struct {
|
|
212
|
+
Timestamp string `json:"timestamp"`
|
|
213
|
+
Value float64 `json:"value"`
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
type MetricSeriesView struct {
|
|
217
|
+
Key string `json:"key"`
|
|
218
|
+
Label string `json:"label"`
|
|
219
|
+
Unit string `json:"unit"`
|
|
220
|
+
Latest float64 `json:"latest"`
|
|
221
|
+
Points []MetricPointView `json:"points,omitempty"`
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
type PodMetricsView struct {
|
|
225
|
+
PodName string `json:"podName"`
|
|
226
|
+
Namespace string `json:"namespace"`
|
|
227
|
+
Configured bool `json:"configured"`
|
|
228
|
+
Source string `json:"source"`
|
|
229
|
+
GeneratedAt string `json:"generatedAt"`
|
|
230
|
+
RangeMinutes int `json:"rangeMinutes"`
|
|
231
|
+
StepSeconds int `json:"stepSeconds"`
|
|
232
|
+
Message string `json:"message,omitempty"`
|
|
233
|
+
GrafanaBaseURL string `json:"grafanaBaseUrl,omitempty"`
|
|
234
|
+
Series []MetricSeriesView `json:"series,omitempty"`
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
type ResourceMetricsView struct {
|
|
238
|
+
ResourceKind string `json:"resourceKind"`
|
|
239
|
+
ResourceName string `json:"resourceName"`
|
|
240
|
+
Namespace string `json:"namespace,omitempty"`
|
|
241
|
+
Configured bool `json:"configured"`
|
|
242
|
+
Source string `json:"source"`
|
|
243
|
+
GeneratedAt string `json:"generatedAt"`
|
|
244
|
+
RangeMinutes int `json:"rangeMinutes"`
|
|
245
|
+
StepSeconds int `json:"stepSeconds"`
|
|
246
|
+
Message string `json:"message,omitempty"`
|
|
247
|
+
GrafanaBaseURL string `json:"grafanaBaseUrl,omitempty"`
|
|
248
|
+
Series []MetricSeriesView `json:"series,omitempty"`
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
type ResourceYAMLView struct {
|
|
252
|
+
Kind string `json:"kind"`
|
|
253
|
+
Name string `json:"name"`
|
|
254
|
+
Namespace string `json:"namespace,omitempty"`
|
|
255
|
+
Content string `json:"content"`
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
type DeploymentView struct {
|
|
259
|
+
Name string `json:"name"`
|
|
260
|
+
Namespace string `json:"namespace"`
|
|
261
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
262
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
263
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
264
|
+
UpdatedReplicas int32 `json:"updatedReplicas"`
|
|
265
|
+
Available int32 `json:"available"`
|
|
266
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
267
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
type DeploymentDetailView struct {
|
|
271
|
+
Name string `json:"name"`
|
|
272
|
+
Namespace string `json:"namespace"`
|
|
273
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
274
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
275
|
+
UpdatedReplicas int32 `json:"updatedReplicas"`
|
|
276
|
+
AvailableReplicas int32 `json:"availableReplicas"`
|
|
277
|
+
ObservedGeneration int64 `json:"observedGeneration"`
|
|
278
|
+
Strategy string `json:"strategy"`
|
|
279
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
280
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
281
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
282
|
+
Selector map[string]string `json:"selector,omitempty"`
|
|
283
|
+
Containers []WorkloadContainerView `json:"containers,omitempty"`
|
|
284
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
285
|
+
Pods []PodView `json:"pods,omitempty"`
|
|
286
|
+
RelatedResources []WorkloadRelationView `json:"relatedResources,omitempty"`
|
|
287
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
type RolloutHistoryView struct {
|
|
291
|
+
Name string `json:"name"`
|
|
292
|
+
Namespace string `json:"namespace"`
|
|
293
|
+
Revision string `json:"revision"`
|
|
294
|
+
Images []string `json:"images,omitempty"`
|
|
295
|
+
Replicas int32 `json:"replicas"`
|
|
296
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
297
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
type DeploymentRolloutStatusView struct {
|
|
301
|
+
Name string `json:"name"`
|
|
302
|
+
Namespace string `json:"namespace"`
|
|
303
|
+
Revision string `json:"revision"`
|
|
304
|
+
Status string `json:"status"`
|
|
305
|
+
Message string `json:"message"`
|
|
306
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
307
|
+
UpdatedReplicas int32 `json:"updatedReplicas"`
|
|
308
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
309
|
+
AvailableReplicas int32 `json:"availableReplicas"`
|
|
310
|
+
ObservedGeneration int64 `json:"observedGeneration"`
|
|
311
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
type DeploymentRollbackView struct {
|
|
315
|
+
Name string `json:"name"`
|
|
316
|
+
Namespace string `json:"namespace"`
|
|
317
|
+
TargetRevision string `json:"targetRevision"`
|
|
318
|
+
Message string `json:"message"`
|
|
319
|
+
RequestedAt string `json:"requestedAt"`
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
type StatefulSetView struct {
|
|
323
|
+
Name string `json:"name"`
|
|
324
|
+
Namespace string `json:"namespace"`
|
|
325
|
+
ServiceName string `json:"serviceName,omitempty"`
|
|
326
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
327
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
328
|
+
CurrentReplicas int32 `json:"currentReplicas"`
|
|
329
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
330
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
type StatefulSetDetailView struct {
|
|
334
|
+
Name string `json:"name"`
|
|
335
|
+
Namespace string `json:"namespace"`
|
|
336
|
+
ServiceName string `json:"serviceName,omitempty"`
|
|
337
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
338
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
339
|
+
CurrentReplicas int32 `json:"currentReplicas"`
|
|
340
|
+
UpdateStrategy string `json:"updateStrategy,omitempty"`
|
|
341
|
+
CurrentRevision string `json:"currentRevision,omitempty"`
|
|
342
|
+
UpdateRevision string `json:"updateRevision,omitempty"`
|
|
343
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
344
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
345
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
346
|
+
Selector map[string]string `json:"selector,omitempty"`
|
|
347
|
+
Pods []PodView `json:"pods,omitempty"`
|
|
348
|
+
RelatedResources []WorkloadRelationView `json:"relatedResources,omitempty"`
|
|
349
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
type DaemonSetView struct {
|
|
353
|
+
Name string `json:"name"`
|
|
354
|
+
Namespace string `json:"namespace"`
|
|
355
|
+
DesiredNumber int32 `json:"desiredNumber"`
|
|
356
|
+
CurrentNumber int32 `json:"currentNumber"`
|
|
357
|
+
ReadyNumber int32 `json:"readyNumber"`
|
|
358
|
+
AvailableNumber int32 `json:"availableNumber"`
|
|
359
|
+
UpdatedNumber int32 `json:"updatedNumber"`
|
|
360
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
361
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
type DaemonSetDetailView struct {
|
|
365
|
+
Name string `json:"name"`
|
|
366
|
+
Namespace string `json:"namespace"`
|
|
367
|
+
DesiredNumber int32 `json:"desiredNumber"`
|
|
368
|
+
CurrentNumber int32 `json:"currentNumber"`
|
|
369
|
+
ReadyNumber int32 `json:"readyNumber"`
|
|
370
|
+
AvailableNumber int32 `json:"availableNumber"`
|
|
371
|
+
UpdatedNumber int32 `json:"updatedNumber"`
|
|
372
|
+
UpdateStrategy string `json:"updateStrategy,omitempty"`
|
|
373
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
374
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
375
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
376
|
+
Selector map[string]string `json:"selector,omitempty"`
|
|
377
|
+
Pods []PodView `json:"pods,omitempty"`
|
|
378
|
+
RelatedResources []WorkloadRelationView `json:"relatedResources,omitempty"`
|
|
379
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
type JobView struct {
|
|
383
|
+
Name string `json:"name"`
|
|
384
|
+
Namespace string `json:"namespace"`
|
|
385
|
+
Completions int32 `json:"completions"`
|
|
386
|
+
Succeeded int32 `json:"succeeded"`
|
|
387
|
+
Failed int32 `json:"failed"`
|
|
388
|
+
Active int32 `json:"active"`
|
|
389
|
+
CompletionMode string `json:"completionMode,omitempty"`
|
|
390
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
391
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
type JobDetailView struct {
|
|
395
|
+
Name string `json:"name"`
|
|
396
|
+
Namespace string `json:"namespace"`
|
|
397
|
+
Completions int32 `json:"completions"`
|
|
398
|
+
Parallelism int32 `json:"parallelism"`
|
|
399
|
+
Succeeded int32 `json:"succeeded"`
|
|
400
|
+
Failed int32 `json:"failed"`
|
|
401
|
+
Active int32 `json:"active"`
|
|
402
|
+
CompletionMode string `json:"completionMode,omitempty"`
|
|
403
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
404
|
+
StartTime string `json:"startTime,omitempty"`
|
|
405
|
+
CompletionTime string `json:"completionTime,omitempty"`
|
|
406
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
407
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
408
|
+
Pods []PodView `json:"pods,omitempty"`
|
|
409
|
+
RelatedResources []WorkloadRelationView `json:"relatedResources,omitempty"`
|
|
410
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
type CronJobView struct {
|
|
414
|
+
Name string `json:"name"`
|
|
415
|
+
Namespace string `json:"namespace"`
|
|
416
|
+
Schedule string `json:"schedule"`
|
|
417
|
+
Suspend bool `json:"suspend"`
|
|
418
|
+
ActiveJobs int32 `json:"activeJobs"`
|
|
419
|
+
LastScheduleTime string `json:"lastScheduleTime,omitempty"`
|
|
420
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
421
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
type CronJobDetailView struct {
|
|
425
|
+
Name string `json:"name"`
|
|
426
|
+
Namespace string `json:"namespace"`
|
|
427
|
+
Schedule string `json:"schedule"`
|
|
428
|
+
Suspend bool `json:"suspend"`
|
|
429
|
+
ActiveJobs int32 `json:"activeJobs"`
|
|
430
|
+
LastScheduleTime string `json:"lastScheduleTime,omitempty"`
|
|
431
|
+
ConcurrencyPolicy string `json:"concurrencyPolicy,omitempty"`
|
|
432
|
+
TimeZone string `json:"timeZone,omitempty"`
|
|
433
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
434
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
435
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
436
|
+
Jobs []JobView `json:"jobs,omitempty"`
|
|
437
|
+
RelatedResources []WorkloadRelationView `json:"relatedResources,omitempty"`
|
|
438
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
type ServiceView struct {
|
|
442
|
+
Name string `json:"name"`
|
|
443
|
+
Namespace string `json:"namespace"`
|
|
444
|
+
Type string `json:"type"`
|
|
445
|
+
ClusterIP string `json:"clusterIp,omitempty"`
|
|
446
|
+
Ports []string `json:"ports,omitempty"`
|
|
447
|
+
Selector map[string]string `json:"selector,omitempty"`
|
|
448
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
449
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
type ServiceEndpointView struct {
|
|
453
|
+
Address string `json:"address"`
|
|
454
|
+
Ready *bool `json:"ready,omitempty"`
|
|
455
|
+
Serving *bool `json:"serving,omitempty"`
|
|
456
|
+
Terminating *bool `json:"terminating,omitempty"`
|
|
457
|
+
TargetRef string `json:"targetRef,omitempty"`
|
|
458
|
+
NodeName string `json:"nodeName,omitempty"`
|
|
459
|
+
Zone string `json:"zone,omitempty"`
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
type ServiceDetailView struct {
|
|
463
|
+
Name string `json:"name"`
|
|
464
|
+
Namespace string `json:"namespace"`
|
|
465
|
+
Type string `json:"type"`
|
|
466
|
+
ClusterIP string `json:"clusterIp,omitempty"`
|
|
467
|
+
Ports []string `json:"ports,omitempty"`
|
|
468
|
+
Selector map[string]string `json:"selector,omitempty"`
|
|
469
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
470
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
471
|
+
Endpoints []ServiceEndpointView `json:"endpoints,omitempty"`
|
|
472
|
+
BackendPods []PodView `json:"backendPods,omitempty"`
|
|
473
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
474
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
type IngressView struct {
|
|
478
|
+
Name string `json:"name"`
|
|
479
|
+
Namespace string `json:"namespace"`
|
|
480
|
+
ClassName string `json:"className,omitempty"`
|
|
481
|
+
Hosts []string `json:"hosts,omitempty"`
|
|
482
|
+
Address string `json:"address,omitempty"`
|
|
483
|
+
BackendServices []string `json:"backendServices,omitempty"`
|
|
484
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
485
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
type IngressRouteView struct {
|
|
489
|
+
Host string `json:"host,omitempty"`
|
|
490
|
+
Path string `json:"path,omitempty"`
|
|
491
|
+
PathType string `json:"pathType,omitempty"`
|
|
492
|
+
TLS bool `json:"tls"`
|
|
493
|
+
ServiceName string `json:"serviceName"`
|
|
494
|
+
ServicePort string `json:"servicePort,omitempty"`
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
type NetworkRelatedPodView struct {
|
|
498
|
+
PodView
|
|
499
|
+
Workloads []PodRelatedResourceView `json:"workloads,omitempty"`
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
type IngressBackendView struct {
|
|
503
|
+
ServiceName string `json:"serviceName"`
|
|
504
|
+
Endpoints []ServiceEndpointView `json:"endpoints,omitempty"`
|
|
505
|
+
Pods []NetworkRelatedPodView `json:"pods,omitempty"`
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
type IngressDetailView struct {
|
|
509
|
+
Name string `json:"name"`
|
|
510
|
+
Namespace string `json:"namespace"`
|
|
511
|
+
ClassName string `json:"className,omitempty"`
|
|
512
|
+
Address string `json:"address,omitempty"`
|
|
513
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
514
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
515
|
+
Routes []IngressRouteView `json:"routes,omitempty"`
|
|
516
|
+
Backends []IngressBackendView `json:"backends,omitempty"`
|
|
517
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
518
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
type GatewayView struct {
|
|
522
|
+
Name string `json:"name"`
|
|
523
|
+
Namespace string `json:"namespace"`
|
|
524
|
+
GatewayClass string `json:"gatewayClass,omitempty"`
|
|
525
|
+
Addresses []string `json:"addresses,omitempty"`
|
|
526
|
+
ListenerCount int32 `json:"listenerCount"`
|
|
527
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
528
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
type GatewayClassView struct {
|
|
532
|
+
Name string `json:"name"`
|
|
533
|
+
ControllerName string `json:"controllerName"`
|
|
534
|
+
Accepted string `json:"accepted,omitempty"`
|
|
535
|
+
ParametersRef string `json:"parametersRef,omitempty"`
|
|
536
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
537
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
type GatewayClassDetailView struct {
|
|
541
|
+
GatewayClassView
|
|
542
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
543
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
544
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
545
|
+
Gateways []GatewayView `json:"gateways,omitempty"`
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
type GatewayListenerView struct {
|
|
549
|
+
Name string `json:"name"`
|
|
550
|
+
Protocol string `json:"protocol"`
|
|
551
|
+
Port int32 `json:"port"`
|
|
552
|
+
Hostname string `json:"hostname,omitempty"`
|
|
553
|
+
TLSMode string `json:"tlsMode,omitempty"`
|
|
554
|
+
CertificateRefs []string `json:"certificateRefs,omitempty"`
|
|
555
|
+
AllowedRouteKinds []string `json:"allowedRouteKinds,omitempty"`
|
|
556
|
+
AttachedRoutes int32 `json:"attachedRoutes"`
|
|
557
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
type GatewayRouteReferenceView struct {
|
|
561
|
+
Kind string `json:"kind"`
|
|
562
|
+
Namespace string `json:"namespace,omitempty"`
|
|
563
|
+
Name string `json:"name"`
|
|
564
|
+
Hostnames []string `json:"hostnames,omitempty"`
|
|
565
|
+
Accepted string `json:"accepted,omitempty"`
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
type GatewayDetailView struct {
|
|
569
|
+
GatewayView
|
|
570
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
571
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
572
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
573
|
+
Listeners []GatewayListenerView `json:"listeners,omitempty"`
|
|
574
|
+
Routes []GatewayRouteReferenceView `json:"routes,omitempty"`
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
type GatewayRouteBackendView struct {
|
|
578
|
+
Kind string `json:"kind,omitempty"`
|
|
579
|
+
Namespace string `json:"namespace,omitempty"`
|
|
580
|
+
Name string `json:"name"`
|
|
581
|
+
Port int32 `json:"port,omitempty"`
|
|
582
|
+
Weight int32 `json:"weight,omitempty"`
|
|
583
|
+
Endpoints []ServiceEndpointView `json:"endpoints,omitempty"`
|
|
584
|
+
BackendPods []PodView `json:"backendPods,omitempty"`
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
type GatewayRouteRuleView struct {
|
|
588
|
+
Matches []string `json:"matches,omitempty"`
|
|
589
|
+
Filters []string `json:"filters,omitempty"`
|
|
590
|
+
Backends []GatewayRouteBackendView `json:"backends,omitempty"`
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
type GatewayRouteParentStatusView struct {
|
|
594
|
+
ParentRef string `json:"parentRef"`
|
|
595
|
+
ControllerName string `json:"controllerName,omitempty"`
|
|
596
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
type HTTPRouteView struct {
|
|
600
|
+
Name string `json:"name"`
|
|
601
|
+
Namespace string `json:"namespace"`
|
|
602
|
+
Hostnames []string `json:"hostnames,omitempty"`
|
|
603
|
+
ParentRefs []string `json:"parentRefs,omitempty"`
|
|
604
|
+
BackendServices []string `json:"backendServices,omitempty"`
|
|
605
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
606
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
type HTTPRouteDetailView struct {
|
|
610
|
+
HTTPRouteView
|
|
611
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
612
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
613
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
614
|
+
ParentStatuses []GatewayRouteParentStatusView `json:"parentStatuses,omitempty"`
|
|
615
|
+
Rules []GatewayRouteRuleView `json:"rules,omitempty"`
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
type BackendTLSPolicyView struct {
|
|
619
|
+
Name string `json:"name"`
|
|
620
|
+
Namespace string `json:"namespace"`
|
|
621
|
+
TargetRefs []string `json:"targetRefs,omitempty"`
|
|
622
|
+
Hostname string `json:"hostname,omitempty"`
|
|
623
|
+
CACertificateRefs []string `json:"caCertificateRefs,omitempty"`
|
|
624
|
+
WellKnownCACertificates string `json:"wellKnownCACertificates,omitempty"`
|
|
625
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
626
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
type BackendTLSPolicyDetailView struct {
|
|
630
|
+
BackendTLSPolicyView
|
|
631
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
632
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
633
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
type GRPCRouteView struct {
|
|
637
|
+
Name string `json:"name"`
|
|
638
|
+
Namespace string `json:"namespace"`
|
|
639
|
+
Hostnames []string `json:"hostnames,omitempty"`
|
|
640
|
+
ParentRefs []string `json:"parentRefs,omitempty"`
|
|
641
|
+
BackendServices []string `json:"backendServices,omitempty"`
|
|
642
|
+
RuleCount int32 `json:"ruleCount"`
|
|
643
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
644
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
type GRPCRouteDetailView struct {
|
|
648
|
+
GRPCRouteView
|
|
649
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
650
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
651
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
652
|
+
ParentStatuses []GatewayRouteParentStatusView `json:"parentStatuses,omitempty"`
|
|
653
|
+
Rules []GatewayRouteRuleView `json:"rules,omitempty"`
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
type ReferenceGrantView struct {
|
|
657
|
+
Name string `json:"name"`
|
|
658
|
+
Namespace string `json:"namespace"`
|
|
659
|
+
From []string `json:"from,omitempty"`
|
|
660
|
+
To []string `json:"to,omitempty"`
|
|
661
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
662
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
type ReferenceGrantFromView struct {
|
|
666
|
+
Group string `json:"group"`
|
|
667
|
+
Kind string `json:"kind"`
|
|
668
|
+
Namespace string `json:"namespace"`
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
type ReferenceGrantToView struct {
|
|
672
|
+
Group string `json:"group"`
|
|
673
|
+
Kind string `json:"kind"`
|
|
674
|
+
Name string `json:"name,omitempty"`
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
type ReferenceGrantDetailView struct {
|
|
678
|
+
ReferenceGrantView
|
|
679
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
680
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
681
|
+
FromRefs []ReferenceGrantFromView `json:"fromRefs,omitempty"`
|
|
682
|
+
ToRefs []ReferenceGrantToView `json:"toRefs,omitempty"`
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
type NetworkTopologySummaryView struct {
|
|
686
|
+
EntryCount int `json:"entryCount"`
|
|
687
|
+
RouteCount int `json:"routeCount"`
|
|
688
|
+
ServiceCount int `json:"serviceCount"`
|
|
689
|
+
MissingServiceCount int `json:"missingServiceCount"`
|
|
690
|
+
BackendPodCount int `json:"backendPodCount"`
|
|
691
|
+
PendingRouteCount int `json:"pendingRouteCount"`
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
type NetworkTopologyNodeView struct {
|
|
695
|
+
ID string `json:"id"`
|
|
696
|
+
Name string `json:"name"`
|
|
697
|
+
Kind string `json:"kind"`
|
|
698
|
+
State string `json:"state"`
|
|
699
|
+
Namespace string `json:"namespace,omitempty"`
|
|
700
|
+
ResourceName string `json:"resourceName,omitempty"`
|
|
701
|
+
Subtitle string `json:"subtitle,omitempty"`
|
|
702
|
+
Badge string `json:"badge,omitempty"`
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
type NetworkTopologyTraceView struct {
|
|
706
|
+
ID string `json:"id"`
|
|
707
|
+
SourceType string `json:"sourceType"`
|
|
708
|
+
State string `json:"state"`
|
|
709
|
+
Entry NetworkTopologyNodeView `json:"entry"`
|
|
710
|
+
Route NetworkTopologyNodeView `json:"route"`
|
|
711
|
+
Service *NetworkTopologyNodeView `json:"service,omitempty"`
|
|
712
|
+
BackendPods []NetworkTopologyNodeView `json:"backendPods,omitempty"`
|
|
713
|
+
Note string `json:"note,omitempty"`
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
type NetworkTopologyView struct {
|
|
717
|
+
ClusterID string `json:"clusterId"`
|
|
718
|
+
Namespace string `json:"namespace,omitempty"`
|
|
719
|
+
Source string `json:"source"`
|
|
720
|
+
GeneratedAt string `json:"generatedAt"`
|
|
721
|
+
Summary NetworkTopologySummaryView `json:"summary"`
|
|
722
|
+
Traces []NetworkTopologyTraceView `json:"traces,omitempty"`
|
|
723
|
+
Warnings []string `json:"warnings,omitempty"`
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
type NodeView struct {
|
|
727
|
+
Name string `json:"name"`
|
|
728
|
+
Status string `json:"status"`
|
|
729
|
+
Unschedulable bool `json:"unschedulable"`
|
|
730
|
+
Roles []string `json:"roles,omitempty"`
|
|
731
|
+
Version string `json:"version,omitempty"`
|
|
732
|
+
InternalIP string `json:"internalIp,omitempty"`
|
|
733
|
+
PodCount int `json:"podCount"`
|
|
734
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
735
|
+
Resources NodeResourceSummaryView `json:"resources,omitempty"`
|
|
736
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
type NodePodView struct {
|
|
740
|
+
Name string `json:"name"`
|
|
741
|
+
Namespace string `json:"namespace"`
|
|
742
|
+
Phase string `json:"phase"`
|
|
743
|
+
PodIP string `json:"podIp,omitempty"`
|
|
744
|
+
ReadyContainers string `json:"readyContainers"`
|
|
745
|
+
Restarts int32 `json:"restarts"`
|
|
746
|
+
CPU string `json:"cpu,omitempty"`
|
|
747
|
+
Memory string `json:"memory,omitempty"`
|
|
748
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
749
|
+
Requests ResourceQuantityView `json:"requests,omitempty"`
|
|
750
|
+
Limits ResourceQuantityView `json:"limits,omitempty"`
|
|
751
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
type NodeDetailView struct {
|
|
755
|
+
Name string `json:"name"`
|
|
756
|
+
Status string `json:"status"`
|
|
757
|
+
Unschedulable bool `json:"unschedulable"`
|
|
758
|
+
Roles []string `json:"roles,omitempty"`
|
|
759
|
+
Version string `json:"version,omitempty"`
|
|
760
|
+
InternalIP string `json:"internalIp,omitempty"`
|
|
761
|
+
PodCount int `json:"podCount"`
|
|
762
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
763
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
764
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
765
|
+
Taints []NodeTaintView `json:"taints,omitempty"`
|
|
766
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
767
|
+
Resources NodeResourceSummaryView `json:"resources,omitempty"`
|
|
768
|
+
MetricsConfigured bool `json:"metricsConfigured"`
|
|
769
|
+
MetricsMessage string `json:"metricsMessage,omitempty"`
|
|
770
|
+
Pods []NodePodView `json:"pods,omitempty"`
|
|
771
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
type NodeTaintView struct {
|
|
775
|
+
Key string `json:"key"`
|
|
776
|
+
Value string `json:"value,omitempty"`
|
|
777
|
+
Effect string `json:"effect"`
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
type NodeUpdateInput struct {
|
|
781
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
782
|
+
Taints []NodeTaintView `json:"taints,omitempty"`
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
type NodeDrainInput struct {
|
|
786
|
+
Force bool `json:"force"`
|
|
787
|
+
DeleteEmptyDirData bool `json:"deleteEmptyDirData"`
|
|
788
|
+
TimeoutSeconds int64 `json:"timeoutSeconds"`
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
type ClusterEventView struct {
|
|
792
|
+
Name string `json:"name"`
|
|
793
|
+
Namespace string `json:"namespace,omitempty"`
|
|
794
|
+
Type string `json:"type"`
|
|
795
|
+
Reason string `json:"reason"`
|
|
796
|
+
InvolvedKind string `json:"involvedKind,omitempty"`
|
|
797
|
+
InvolvedName string `json:"involvedName,omitempty"`
|
|
798
|
+
Message string `json:"message"`
|
|
799
|
+
Count int32 `json:"count"`
|
|
800
|
+
LastTimestamp string `json:"lastTimestamp,omitempty"`
|
|
801
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
type PersistentVolumeClaimView struct {
|
|
805
|
+
Name string `json:"name"`
|
|
806
|
+
Namespace string `json:"namespace"`
|
|
807
|
+
Status string `json:"status"`
|
|
808
|
+
VolumeName string `json:"volumeName,omitempty"`
|
|
809
|
+
StorageClass string `json:"storageClass,omitempty"`
|
|
810
|
+
AccessModes []string `json:"accessModes,omitempty"`
|
|
811
|
+
Requested string `json:"requested,omitempty"`
|
|
812
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
813
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
type PersistentVolumeView struct {
|
|
817
|
+
Name string `json:"name"`
|
|
818
|
+
Status string `json:"status"`
|
|
819
|
+
StorageClass string `json:"storageClass,omitempty"`
|
|
820
|
+
ClaimRef string `json:"claimRef,omitempty"`
|
|
821
|
+
ClaimNamespace string `json:"claimNamespace,omitempty"`
|
|
822
|
+
ClaimName string `json:"claimName,omitempty"`
|
|
823
|
+
AccessModes []string `json:"accessModes,omitempty"`
|
|
824
|
+
Capacity string `json:"capacity,omitempty"`
|
|
825
|
+
ReclaimPolicy string `json:"reclaimPolicy,omitempty"`
|
|
826
|
+
VolumeMode string `json:"volumeMode,omitempty"`
|
|
827
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
828
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
type StorageClassView struct {
|
|
832
|
+
Name string `json:"name"`
|
|
833
|
+
Provisioner string `json:"provisioner"`
|
|
834
|
+
ReclaimPolicy string `json:"reclaimPolicy,omitempty"`
|
|
835
|
+
VolumeBindingMode string `json:"volumeBindingMode,omitempty"`
|
|
836
|
+
AllowVolumeExpansion bool `json:"allowVolumeExpansion"`
|
|
837
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
838
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
type StoragePodReferenceView struct {
|
|
842
|
+
Name string `json:"name"`
|
|
843
|
+
Namespace string `json:"namespace"`
|
|
844
|
+
Phase string `json:"phase,omitempty"`
|
|
845
|
+
NodeName string `json:"nodeName,omitempty"`
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
type PersistentVolumeClaimDetailView struct {
|
|
849
|
+
Name string `json:"name"`
|
|
850
|
+
Namespace string `json:"namespace"`
|
|
851
|
+
Status string `json:"status"`
|
|
852
|
+
VolumeName string `json:"volumeName,omitempty"`
|
|
853
|
+
StorageClass string `json:"storageClass,omitempty"`
|
|
854
|
+
AccessModes []string `json:"accessModes,omitempty"`
|
|
855
|
+
Requested string `json:"requested,omitempty"`
|
|
856
|
+
VolumeMode string `json:"volumeMode,omitempty"`
|
|
857
|
+
Capacity string `json:"capacity,omitempty"`
|
|
858
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
859
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
860
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
861
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
862
|
+
Pods []StoragePodReferenceView `json:"pods,omitempty"`
|
|
863
|
+
PodsTruncated bool `json:"podsTruncated,omitempty"`
|
|
864
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
type PersistentVolumeDetailView struct {
|
|
868
|
+
Name string `json:"name"`
|
|
869
|
+
Status string `json:"status"`
|
|
870
|
+
StorageClass string `json:"storageClass,omitempty"`
|
|
871
|
+
ClaimRef string `json:"claimRef,omitempty"`
|
|
872
|
+
ClaimNamespace string `json:"claimNamespace,omitempty"`
|
|
873
|
+
ClaimName string `json:"claimName,omitempty"`
|
|
874
|
+
AccessModes []string `json:"accessModes,omitempty"`
|
|
875
|
+
Capacity string `json:"capacity,omitempty"`
|
|
876
|
+
ReclaimPolicy string `json:"reclaimPolicy,omitempty"`
|
|
877
|
+
VolumeMode string `json:"volumeMode,omitempty"`
|
|
878
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
879
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
880
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
881
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
882
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
type StorageClassDetailView struct {
|
|
886
|
+
Name string `json:"name"`
|
|
887
|
+
Provisioner string `json:"provisioner"`
|
|
888
|
+
ReclaimPolicy string `json:"reclaimPolicy,omitempty"`
|
|
889
|
+
VolumeBindingMode string `json:"volumeBindingMode,omitempty"`
|
|
890
|
+
AllowVolumeExpansion bool `json:"allowVolumeExpansion"`
|
|
891
|
+
Parameters map[string]string `json:"parameters,omitempty"`
|
|
892
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
893
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
894
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
895
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
896
|
+
Volumes []PersistentVolumeView `json:"volumes,omitempty"`
|
|
897
|
+
Claims []PersistentVolumeClaimView `json:"claims,omitempty"`
|
|
898
|
+
VolumesTruncated bool `json:"volumesTruncated,omitempty"`
|
|
899
|
+
ClaimsTruncated bool `json:"claimsTruncated,omitempty"`
|
|
900
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
type CRDView struct {
|
|
904
|
+
Name string `json:"name"`
|
|
905
|
+
Group string `json:"group"`
|
|
906
|
+
Scope string `json:"scope"`
|
|
907
|
+
Kind string `json:"kind"`
|
|
908
|
+
Plural string `json:"plural"`
|
|
909
|
+
Version string `json:"version,omitempty"`
|
|
910
|
+
Versions []string `json:"versions,omitempty"`
|
|
911
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
912
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
913
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
type CustomResourceView struct {
|
|
917
|
+
APIVersion string `json:"apiVersion,omitempty"`
|
|
918
|
+
Kind string `json:"kind"`
|
|
919
|
+
Name string `json:"name"`
|
|
920
|
+
Namespace string `json:"namespace,omitempty"`
|
|
921
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
922
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
923
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
924
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
type HelmReleaseView struct {
|
|
928
|
+
Name string `json:"name"`
|
|
929
|
+
Namespace string `json:"namespace"`
|
|
930
|
+
Revision string `json:"revision,omitempty"`
|
|
931
|
+
Status string `json:"status,omitempty"`
|
|
932
|
+
Chart string `json:"chart,omitempty"`
|
|
933
|
+
AppVersion string `json:"appVersion,omitempty"`
|
|
934
|
+
StorageDriver string `json:"storageDriver,omitempty"`
|
|
935
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
936
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
type HelmReleaseDetailView struct {
|
|
940
|
+
Name string `json:"name"`
|
|
941
|
+
Namespace string `json:"namespace"`
|
|
942
|
+
Revision string `json:"revision,omitempty"`
|
|
943
|
+
Status string `json:"status,omitempty"`
|
|
944
|
+
Chart string `json:"chart,omitempty"`
|
|
945
|
+
ChartName string `json:"chartName,omitempty"`
|
|
946
|
+
ChartVersion string `json:"chartVersion,omitempty"`
|
|
947
|
+
AppVersion string `json:"appVersion,omitempty"`
|
|
948
|
+
StorageDriver string `json:"storageDriver,omitempty"`
|
|
949
|
+
Description string `json:"description,omitempty"`
|
|
950
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
951
|
+
UpdatedAt string `json:"updatedAt,omitempty"`
|
|
952
|
+
FirstDeployedAt string `json:"firstDeployedAt,omitempty"`
|
|
953
|
+
LastDeployedAt string `json:"lastDeployedAt,omitempty"`
|
|
954
|
+
Notes string `json:"notes,omitempty"`
|
|
955
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
956
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
957
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
958
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
959
|
+
ValuesEditable bool `json:"valuesEditable"`
|
|
960
|
+
ValuesDiffEnabled bool `json:"valuesDiffEnabled"`
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
type HelmReleaseHistoryView struct {
|
|
964
|
+
Name string `json:"name"`
|
|
965
|
+
Namespace string `json:"namespace"`
|
|
966
|
+
Revision string `json:"revision"`
|
|
967
|
+
Status string `json:"status,omitempty"`
|
|
968
|
+
Chart string `json:"chart,omitempty"`
|
|
969
|
+
ChartVersion string `json:"chartVersion,omitempty"`
|
|
970
|
+
AppVersion string `json:"appVersion,omitempty"`
|
|
971
|
+
Description string `json:"description,omitempty"`
|
|
972
|
+
UpdatedAt string `json:"updatedAt,omitempty"`
|
|
973
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
974
|
+
ManifestDigest string `json:"manifestDigest,omitempty"`
|
|
975
|
+
ValuesDigest string `json:"valuesDigest,omitempty"`
|
|
976
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
type HelmValuesView struct {
|
|
980
|
+
Name string `json:"name"`
|
|
981
|
+
Namespace string `json:"namespace"`
|
|
982
|
+
Revision string `json:"revision,omitempty"`
|
|
983
|
+
Content string `json:"content"`
|
|
984
|
+
Original string `json:"original,omitempty"`
|
|
985
|
+
Editable bool `json:"editable"`
|
|
986
|
+
DiffEnabled bool `json:"diffEnabled"`
|
|
987
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
type HelmChartRepositoryView struct {
|
|
991
|
+
ID string `json:"id"`
|
|
992
|
+
Name string `json:"name"`
|
|
993
|
+
DisplayName string `json:"displayName,omitempty"`
|
|
994
|
+
URL string `json:"url"`
|
|
995
|
+
IndexURL string `json:"indexUrl,omitempty"`
|
|
996
|
+
OrganizationName string `json:"organizationName,omitempty"`
|
|
997
|
+
OrganizationDisplayName string `json:"organizationDisplayName,omitempty"`
|
|
998
|
+
Official bool `json:"official,omitempty"`
|
|
999
|
+
VerifiedPublisher bool `json:"verifiedPublisher,omitempty"`
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
type HelmChartMaintainerView struct {
|
|
1003
|
+
Name string `json:"name,omitempty"`
|
|
1004
|
+
Email string `json:"email,omitempty"`
|
|
1005
|
+
URL string `json:"url,omitempty"`
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
type HelmChartView struct {
|
|
1009
|
+
PackageID string `json:"packageId,omitempty"`
|
|
1010
|
+
Name string `json:"name"`
|
|
1011
|
+
NormalizedName string `json:"normalizedName,omitempty"`
|
|
1012
|
+
RepositoryName string `json:"repositoryName,omitempty"`
|
|
1013
|
+
RepositoryURL string `json:"repositoryUrl,omitempty"`
|
|
1014
|
+
RepositoryDisplay string `json:"repositoryDisplay,omitempty"`
|
|
1015
|
+
LatestVersion string `json:"latestVersion,omitempty"`
|
|
1016
|
+
AppVersion string `json:"appVersion,omitempty"`
|
|
1017
|
+
Description string `json:"description,omitempty"`
|
|
1018
|
+
Type string `json:"type,omitempty"`
|
|
1019
|
+
Category string `json:"category,omitempty"`
|
|
1020
|
+
Deprecated bool `json:"deprecated,omitempty"`
|
|
1021
|
+
Home string `json:"home,omitempty"`
|
|
1022
|
+
HomeURL string `json:"homeUrl,omitempty"`
|
|
1023
|
+
Icon string `json:"icon,omitempty"`
|
|
1024
|
+
LogoImageID string `json:"logoImageId,omitempty"`
|
|
1025
|
+
LogoImageURL string `json:"logoImageUrl,omitempty"`
|
|
1026
|
+
ArtifactHubURL string `json:"artifactHubUrl,omitempty"`
|
|
1027
|
+
KubeVersion string `json:"kubeVersion,omitempty"`
|
|
1028
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1029
|
+
UpdatedAt string `json:"updatedAt,omitempty"`
|
|
1030
|
+
Digest string `json:"digest,omitempty"`
|
|
1031
|
+
URLs []string `json:"urls,omitempty"`
|
|
1032
|
+
Sources []string `json:"sources,omitempty"`
|
|
1033
|
+
Keywords []string `json:"keywords,omitempty"`
|
|
1034
|
+
Maintainers []HelmChartMaintainerView `json:"maintainers,omitempty"`
|
|
1035
|
+
Versions []string `json:"versions,omitempty"`
|
|
1036
|
+
VersionCount int `json:"versionCount"`
|
|
1037
|
+
Stars int `json:"stars,omitempty"`
|
|
1038
|
+
Official bool `json:"official,omitempty"`
|
|
1039
|
+
CNCF bool `json:"cncf,omitempty"`
|
|
1040
|
+
Signed bool `json:"signed,omitempty"`
|
|
1041
|
+
HasValuesSchema bool `json:"hasValuesSchema,omitempty"`
|
|
1042
|
+
VerifiedPublisher bool `json:"verifiedPublisher,omitempty"`
|
|
1043
|
+
SecurityCritical int `json:"securityCritical,omitempty"`
|
|
1044
|
+
SecurityHigh int `json:"securityHigh,omitempty"`
|
|
1045
|
+
SecurityMedium int `json:"securityMedium,omitempty"`
|
|
1046
|
+
SecurityLow int `json:"securityLow,omitempty"`
|
|
1047
|
+
SecurityUnknown int `json:"securityUnknown,omitempty"`
|
|
1048
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
type HelmChartLinkView struct {
|
|
1052
|
+
Name string `json:"name,omitempty"`
|
|
1053
|
+
URL string `json:"url,omitempty"`
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
type HelmChartVersionView struct {
|
|
1057
|
+
Version string `json:"version"`
|
|
1058
|
+
AppVersion string `json:"appVersion,omitempty"`
|
|
1059
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1060
|
+
Prerelease bool `json:"prerelease,omitempty"`
|
|
1061
|
+
ContainsSecurityUpdates bool `json:"containsSecurityUpdates,omitempty"`
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
type HelmChartDetailView struct {
|
|
1065
|
+
HelmChartView
|
|
1066
|
+
Readme string `json:"readme,omitempty"`
|
|
1067
|
+
ContentURL string `json:"contentUrl,omitempty"`
|
|
1068
|
+
Links []HelmChartLinkView `json:"links,omitempty"`
|
|
1069
|
+
AvailableVersions []HelmChartVersionView `json:"availableVersions,omitempty"`
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
type HelmChartValuesTemplateView struct {
|
|
1073
|
+
PackageID string `json:"packageId"`
|
|
1074
|
+
Name string `json:"name,omitempty"`
|
|
1075
|
+
Version string `json:"version"`
|
|
1076
|
+
Content string `json:"content"`
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
type HelmChartInstallInput struct {
|
|
1080
|
+
RepositoryName string `json:"repositoryName,omitempty"`
|
|
1081
|
+
RepositoryURL string `json:"repositoryUrl"`
|
|
1082
|
+
ChartName string `json:"chartName"`
|
|
1083
|
+
Version string `json:"version"`
|
|
1084
|
+
ReleaseName string `json:"releaseName"`
|
|
1085
|
+
Namespace string `json:"namespace"`
|
|
1086
|
+
ValuesYAML string `json:"valuesYaml,omitempty"`
|
|
1087
|
+
CreateNamespace bool `json:"createNamespace"`
|
|
1088
|
+
Wait bool `json:"wait"`
|
|
1089
|
+
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
type HelmChartInstallResourceView struct {
|
|
1093
|
+
APIVersion string `json:"apiVersion,omitempty"`
|
|
1094
|
+
Kind string `json:"kind"`
|
|
1095
|
+
Namespace string `json:"namespace,omitempty"`
|
|
1096
|
+
Name string `json:"name"`
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
type HelmChartInstallResult struct {
|
|
1100
|
+
Name string `json:"name"`
|
|
1101
|
+
Namespace string `json:"namespace"`
|
|
1102
|
+
Revision string `json:"revision,omitempty"`
|
|
1103
|
+
Status string `json:"status,omitempty"`
|
|
1104
|
+
Chart string `json:"chart,omitempty"`
|
|
1105
|
+
ChartName string `json:"chartName,omitempty"`
|
|
1106
|
+
ChartVersion string `json:"chartVersion,omitempty"`
|
|
1107
|
+
AppVersion string `json:"appVersion,omitempty"`
|
|
1108
|
+
Description string `json:"description,omitempty"`
|
|
1109
|
+
Notes string `json:"notes,omitempty"`
|
|
1110
|
+
Resources []HelmChartInstallResourceView `json:"resources,omitempty"`
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
type HelmChartCatalogView struct {
|
|
1114
|
+
Repository HelmChartRepositoryView `json:"repository"`
|
|
1115
|
+
Source string `json:"source,omitempty"`
|
|
1116
|
+
Query string `json:"query,omitempty"`
|
|
1117
|
+
Limit int `json:"limit,omitempty"`
|
|
1118
|
+
Offset int `json:"offset,omitempty"`
|
|
1119
|
+
GeneratedAt string `json:"generatedAt,omitempty"`
|
|
1120
|
+
RefreshedAt string `json:"refreshedAt"`
|
|
1121
|
+
TotalCount int `json:"totalCount,omitempty"`
|
|
1122
|
+
LoadedCount int `json:"loadedCount,omitempty"`
|
|
1123
|
+
ChartCount int `json:"chartCount"`
|
|
1124
|
+
VersionCount int `json:"versionCount"`
|
|
1125
|
+
Charts []HelmChartView `json:"charts"`
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
type ConfigMapView struct {
|
|
1129
|
+
Name string `json:"name"`
|
|
1130
|
+
Namespace string `json:"namespace"`
|
|
1131
|
+
DataEntries int `json:"dataEntries"`
|
|
1132
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1133
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
type ConfigMapDetailView struct {
|
|
1137
|
+
Name string `json:"name"`
|
|
1138
|
+
Namespace string `json:"namespace"`
|
|
1139
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1140
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1141
|
+
Data map[string]string `json:"data,omitempty"`
|
|
1142
|
+
BinaryData map[string]string `json:"binaryData,omitempty"`
|
|
1143
|
+
Immutable bool `json:"immutable"`
|
|
1144
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1145
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
type SecretView struct {
|
|
1149
|
+
Name string `json:"name"`
|
|
1150
|
+
Namespace string `json:"namespace"`
|
|
1151
|
+
Type string `json:"type"`
|
|
1152
|
+
DataEntries int `json:"dataEntries"`
|
|
1153
|
+
Immutable *bool `json:"immutable"`
|
|
1154
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1155
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
type SecretDetailView struct {
|
|
1159
|
+
Name string `json:"name"`
|
|
1160
|
+
Namespace string `json:"namespace"`
|
|
1161
|
+
Type string `json:"type"`
|
|
1162
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1163
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1164
|
+
Data map[string]string `json:"data,omitempty"`
|
|
1165
|
+
Immutable bool `json:"immutable"`
|
|
1166
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1167
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
type ServiceAccountView struct {
|
|
1171
|
+
Name string `json:"name"`
|
|
1172
|
+
Namespace string `json:"namespace"`
|
|
1173
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1174
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
type ServiceAccountDetailView struct {
|
|
1178
|
+
Name string `json:"name"`
|
|
1179
|
+
Namespace string `json:"namespace"`
|
|
1180
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1181
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1182
|
+
Secrets []string `json:"secrets,omitempty"`
|
|
1183
|
+
ImagePullSecrets []string `json:"imagePullSecrets,omitempty"`
|
|
1184
|
+
AutomountSAToken bool `json:"automountServiceAccountToken"`
|
|
1185
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1186
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1187
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
type RoleView struct {
|
|
1191
|
+
Name string `json:"name"`
|
|
1192
|
+
Namespace string `json:"namespace"`
|
|
1193
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1194
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
type RoleDetailView struct {
|
|
1198
|
+
Name string `json:"name"`
|
|
1199
|
+
Namespace string `json:"namespace"`
|
|
1200
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1201
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1202
|
+
Rules int `json:"rules"`
|
|
1203
|
+
RuleSummaries []string `json:"ruleSummaries,omitempty"`
|
|
1204
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1205
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1206
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
type RoleBindingView struct {
|
|
1210
|
+
Name string `json:"name"`
|
|
1211
|
+
Namespace string `json:"namespace"`
|
|
1212
|
+
RoleRef string `json:"roleRef"`
|
|
1213
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1214
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
type RoleBindingDetailView struct {
|
|
1218
|
+
Name string `json:"name"`
|
|
1219
|
+
Namespace string `json:"namespace"`
|
|
1220
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1221
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1222
|
+
RoleRef string `json:"roleRef"`
|
|
1223
|
+
Subjects []string `json:"subjects,omitempty"`
|
|
1224
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1225
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1226
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
type ReplicaSetView struct {
|
|
1230
|
+
Name string `json:"name"`
|
|
1231
|
+
Namespace string `json:"namespace"`
|
|
1232
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
1233
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
1234
|
+
AvailableReplicas int32 `json:"availableReplicas"`
|
|
1235
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1236
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
type ReplicaSetDetailView struct {
|
|
1240
|
+
Name string `json:"name"`
|
|
1241
|
+
Namespace string `json:"namespace"`
|
|
1242
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
1243
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
1244
|
+
AvailableReplicas int32 `json:"availableReplicas"`
|
|
1245
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1246
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1247
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1248
|
+
Selector map[string]string `json:"selector,omitempty"`
|
|
1249
|
+
Pods []PodView `json:"pods,omitempty"`
|
|
1250
|
+
RelatedResources []WorkloadRelationView `json:"relatedResources,omitempty"`
|
|
1251
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
type EndpointSliceView struct {
|
|
1255
|
+
Name string `json:"name"`
|
|
1256
|
+
Namespace string `json:"namespace"`
|
|
1257
|
+
AddressType string `json:"addressType"`
|
|
1258
|
+
Endpoints int `json:"endpoints"`
|
|
1259
|
+
Ports []string `json:"ports,omitempty"`
|
|
1260
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1261
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
type EndpointSliceDetailView struct {
|
|
1265
|
+
Name string `json:"name"`
|
|
1266
|
+
Namespace string `json:"namespace"`
|
|
1267
|
+
AddressType string `json:"addressType"`
|
|
1268
|
+
ServiceName string `json:"serviceName,omitempty"`
|
|
1269
|
+
Ports []string `json:"ports,omitempty"`
|
|
1270
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1271
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1272
|
+
Endpoints []ServiceEndpointView `json:"endpoints,omitempty"`
|
|
1273
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1274
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
type NetworkPolicyView struct {
|
|
1278
|
+
Name string `json:"name"`
|
|
1279
|
+
Namespace string `json:"namespace"`
|
|
1280
|
+
PolicyTypes []string `json:"policyTypes,omitempty"`
|
|
1281
|
+
IngressRules int `json:"ingressRules"`
|
|
1282
|
+
EgressRules int `json:"egressRules"`
|
|
1283
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1284
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
type NetworkPolicyPeerView struct {
|
|
1288
|
+
PodSelector string `json:"podSelector,omitempty"`
|
|
1289
|
+
NamespaceSelector string `json:"namespaceSelector,omitempty"`
|
|
1290
|
+
IPBlock string `json:"ipBlock,omitempty"`
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
type NetworkPolicyPortView struct {
|
|
1294
|
+
Protocol string `json:"protocol,omitempty"`
|
|
1295
|
+
Port string `json:"port,omitempty"`
|
|
1296
|
+
EndPort int32 `json:"endPort,omitempty"`
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
type NetworkPolicyRuleView struct {
|
|
1300
|
+
Direction string `json:"direction"`
|
|
1301
|
+
Peers []NetworkPolicyPeerView `json:"peers,omitempty"`
|
|
1302
|
+
Ports []NetworkPolicyPortView `json:"ports,omitempty"`
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
type NetworkPolicyDetailView struct {
|
|
1306
|
+
Name string `json:"name"`
|
|
1307
|
+
Namespace string `json:"namespace"`
|
|
1308
|
+
PolicyTypes []string `json:"policyTypes,omitempty"`
|
|
1309
|
+
PodSelector string `json:"podSelector,omitempty"`
|
|
1310
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1311
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1312
|
+
Rules []NetworkPolicyRuleView `json:"rules,omitempty"`
|
|
1313
|
+
MatchingPods []PodView `json:"matchingPods,omitempty"`
|
|
1314
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1315
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
type HorizontalPodAutoscalerView struct {
|
|
1319
|
+
Name string `json:"name"`
|
|
1320
|
+
Namespace string `json:"namespace"`
|
|
1321
|
+
TargetRef string `json:"targetRef"`
|
|
1322
|
+
MinReplicas int32 `json:"minReplicas"`
|
|
1323
|
+
MaxReplicas int32 `json:"maxReplicas"`
|
|
1324
|
+
CurrentReplicas int32 `json:"currentReplicas"`
|
|
1325
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
1326
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1327
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
type HorizontalPodAutoscalerMetricView struct {
|
|
1331
|
+
Type string `json:"type"`
|
|
1332
|
+
Name string `json:"name,omitempty"`
|
|
1333
|
+
Target string `json:"target,omitempty"`
|
|
1334
|
+
Current string `json:"current,omitempty"`
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
type HorizontalPodAutoscalerDetailView struct {
|
|
1338
|
+
HorizontalPodAutoscalerView
|
|
1339
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1340
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1341
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1342
|
+
Metrics []HorizontalPodAutoscalerMetricView `json:"metrics,omitempty"`
|
|
1343
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
type PodDisruptionBudgetView struct {
|
|
1347
|
+
Name string `json:"name"`
|
|
1348
|
+
Namespace string `json:"namespace"`
|
|
1349
|
+
MinAvailable string `json:"minAvailable,omitempty"`
|
|
1350
|
+
MaxUnavailable string `json:"maxUnavailable,omitempty"`
|
|
1351
|
+
CurrentHealthy int32 `json:"currentHealthy"`
|
|
1352
|
+
DesiredHealthy int32 `json:"desiredHealthy"`
|
|
1353
|
+
DisruptionsAllowed int32 `json:"disruptionsAllowed"`
|
|
1354
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1355
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
type PodDisruptionBudgetDetailView struct {
|
|
1359
|
+
PodDisruptionBudgetView
|
|
1360
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1361
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1362
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1363
|
+
Selector string `json:"selector,omitempty"`
|
|
1364
|
+
Pods []PodView `json:"pods,omitempty"`
|
|
1365
|
+
Workload *PodRelatedResourceView `json:"workload,omitempty"`
|
|
1366
|
+
Conditions []WorkloadConditionView `json:"conditions,omitempty"`
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
type IngressClassView struct {
|
|
1370
|
+
Name string `json:"name"`
|
|
1371
|
+
Controller string `json:"controller"`
|
|
1372
|
+
IsDefault bool `json:"isDefault"`
|
|
1373
|
+
Parameters string `json:"parameters,omitempty"`
|
|
1374
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1375
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
type IngressClassDetailView struct {
|
|
1379
|
+
IngressClassView
|
|
1380
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1381
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1382
|
+
Ingresses []IngressView `json:"ingresses,omitempty"`
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
type PriorityClassView struct {
|
|
1386
|
+
Name string `json:"name"`
|
|
1387
|
+
Value int32 `json:"value"`
|
|
1388
|
+
GlobalDefault bool `json:"globalDefault"`
|
|
1389
|
+
PreemptionPolicy string `json:"preemptionPolicy,omitempty"`
|
|
1390
|
+
Description string `json:"description,omitempty"`
|
|
1391
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1392
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
type RuntimeClassView struct {
|
|
1396
|
+
Name string `json:"name"`
|
|
1397
|
+
Handler string `json:"handler"`
|
|
1398
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1399
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
type ClusterRoleView struct {
|
|
1403
|
+
Name string `json:"name"`
|
|
1404
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1405
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
type ClusterRoleDetailView struct {
|
|
1409
|
+
Name string `json:"name"`
|
|
1410
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1411
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1412
|
+
Rules int `json:"rules"`
|
|
1413
|
+
AggregationRules int `json:"aggregationRules"`
|
|
1414
|
+
RuleSummaries []string `json:"ruleSummaries,omitempty"`
|
|
1415
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1416
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1417
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
type ClusterRoleBindingView struct {
|
|
1421
|
+
Name string `json:"name"`
|
|
1422
|
+
RoleRef string `json:"roleRef"`
|
|
1423
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1424
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
type ClusterRoleBindingDetailView struct {
|
|
1428
|
+
Name string `json:"name"`
|
|
1429
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1430
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1431
|
+
RoleRef string `json:"roleRef"`
|
|
1432
|
+
Subjects []string `json:"subjects,omitempty"`
|
|
1433
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1434
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1435
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
type MutatingWebhookConfigurationView struct {
|
|
1439
|
+
Name string `json:"name"`
|
|
1440
|
+
Webhooks int `json:"webhooks"`
|
|
1441
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1442
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
type ValidatingWebhookConfigurationView struct {
|
|
1446
|
+
Name string `json:"name"`
|
|
1447
|
+
Webhooks int `json:"webhooks"`
|
|
1448
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1449
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
type AdmissionWebhookRuleView struct {
|
|
1453
|
+
Operations []string `json:"operations,omitempty"`
|
|
1454
|
+
APIGroups []string `json:"apiGroups,omitempty"`
|
|
1455
|
+
APIVersions []string `json:"apiVersions,omitempty"`
|
|
1456
|
+
Resources []string `json:"resources,omitempty"`
|
|
1457
|
+
Scope string `json:"scope,omitempty"`
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
type AdmissionWebhookView struct {
|
|
1461
|
+
Name string `json:"name"`
|
|
1462
|
+
ClientTarget string `json:"clientTarget"`
|
|
1463
|
+
URL string `json:"url,omitempty"`
|
|
1464
|
+
ServiceName string `json:"serviceName,omitempty"`
|
|
1465
|
+
ServiceNamespace string `json:"serviceNamespace,omitempty"`
|
|
1466
|
+
ServicePath string `json:"servicePath,omitempty"`
|
|
1467
|
+
ServicePort int32 `json:"servicePort,omitempty"`
|
|
1468
|
+
CABundleConfigured bool `json:"caBundleConfigured"`
|
|
1469
|
+
FailurePolicy string `json:"failurePolicy,omitempty"`
|
|
1470
|
+
MatchPolicy string `json:"matchPolicy,omitempty"`
|
|
1471
|
+
SideEffects string `json:"sideEffects,omitempty"`
|
|
1472
|
+
TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`
|
|
1473
|
+
AdmissionReviewVersions []string `json:"admissionReviewVersions,omitempty"`
|
|
1474
|
+
NamespaceSelector string `json:"namespaceSelector,omitempty"`
|
|
1475
|
+
ObjectSelector string `json:"objectSelector,omitempty"`
|
|
1476
|
+
Rules []AdmissionWebhookRuleView `json:"rules,omitempty"`
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
type AdmissionWebhookConfigurationDetailView struct {
|
|
1480
|
+
Name string `json:"name"`
|
|
1481
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1482
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1483
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1484
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1485
|
+
Webhooks []AdmissionWebhookView `json:"webhooks,omitempty"`
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
type ResourceQuotaView struct {
|
|
1489
|
+
Name string `json:"name"`
|
|
1490
|
+
Namespace string `json:"namespace"`
|
|
1491
|
+
Scopes []string `json:"scopes,omitempty"`
|
|
1492
|
+
Hard map[string]string `json:"hard,omitempty"`
|
|
1493
|
+
Used map[string]string `json:"used,omitempty"`
|
|
1494
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1495
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
type ResourceQuotaDetailView struct {
|
|
1499
|
+
ResourceQuotaView
|
|
1500
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1501
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1502
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
type LimitRangeView struct {
|
|
1506
|
+
Name string `json:"name"`
|
|
1507
|
+
Namespace string `json:"namespace"`
|
|
1508
|
+
Limits int `json:"limits"`
|
|
1509
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1510
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
type LimitRangeRuleView struct {
|
|
1514
|
+
Type string `json:"type"`
|
|
1515
|
+
Min map[string]string `json:"min,omitempty"`
|
|
1516
|
+
Max map[string]string `json:"max,omitempty"`
|
|
1517
|
+
Default map[string]string `json:"default,omitempty"`
|
|
1518
|
+
DefaultRequest map[string]string `json:"defaultRequest,omitempty"`
|
|
1519
|
+
MaxLimitRequestRatio map[string]string `json:"maxLimitRequestRatio,omitempty"`
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
type LimitRangeDetailView struct {
|
|
1523
|
+
LimitRangeView
|
|
1524
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1525
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1526
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1527
|
+
Rules []LimitRangeRuleView `json:"rules,omitempty"`
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
type LeaseView struct {
|
|
1531
|
+
Name string `json:"name"`
|
|
1532
|
+
Namespace string `json:"namespace"`
|
|
1533
|
+
HolderIdentity string `json:"holderIdentity,omitempty"`
|
|
1534
|
+
LeaseDurationSeconds int32 `json:"leaseDurationSeconds,omitempty"`
|
|
1535
|
+
AcquireTime string `json:"acquireTime,omitempty"`
|
|
1536
|
+
RenewTime string `json:"renewTime,omitempty"`
|
|
1537
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1538
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
type ReplicationControllerView struct {
|
|
1542
|
+
Name string `json:"name"`
|
|
1543
|
+
Namespace string `json:"namespace"`
|
|
1544
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
1545
|
+
CurrentReplicas int32 `json:"currentReplicas"`
|
|
1546
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
1547
|
+
AvailableReplicas int32 `json:"availableReplicas"`
|
|
1548
|
+
AgeSeconds int64 `json:"ageSeconds"`
|
|
1549
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
type ReplicationControllerDetailView struct {
|
|
1553
|
+
Name string `json:"name"`
|
|
1554
|
+
Namespace string `json:"namespace"`
|
|
1555
|
+
DesiredReplicas int32 `json:"desiredReplicas"`
|
|
1556
|
+
CurrentReplicas int32 `json:"currentReplicas"`
|
|
1557
|
+
ReadyReplicas int32 `json:"readyReplicas"`
|
|
1558
|
+
AvailableReplicas int32 `json:"availableReplicas"`
|
|
1559
|
+
CreatedAt string `json:"createdAt,omitempty"`
|
|
1560
|
+
Labels map[string]string `json:"labels,omitempty"`
|
|
1561
|
+
Annotations map[string]string `json:"annotations,omitempty"`
|
|
1562
|
+
Selector map[string]string `json:"selector,omitempty"`
|
|
1563
|
+
Pods []PodView `json:"pods,omitempty"`
|
|
1564
|
+
RelatedResources []WorkloadRelationView `json:"relatedResources,omitempty"`
|
|
1565
|
+
AllowedActions []string `json:"allowedActions,omitempty"`
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
type PortForwardSessionView struct {
|
|
1569
|
+
SessionID string `json:"sessionId"`
|
|
1570
|
+
ClusterID string `json:"clusterId"`
|
|
1571
|
+
Namespace string `json:"namespace"`
|
|
1572
|
+
TargetKind string `json:"targetKind"`
|
|
1573
|
+
TargetName string `json:"targetName"`
|
|
1574
|
+
LocalPort int `json:"localPort"`
|
|
1575
|
+
RemotePort int `json:"remotePort"`
|
|
1576
|
+
Status string `json:"status"`
|
|
1577
|
+
CreatedBy string `json:"createdBy,omitempty"`
|
|
1578
|
+
CreatedAt string `json:"createdAt"`
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
type PortForwardRegisterInput struct {
|
|
1582
|
+
Namespace string `json:"namespace"`
|
|
1583
|
+
TargetKind string `json:"targetKind"`
|
|
1584
|
+
TargetName string `json:"targetName"`
|
|
1585
|
+
LocalPort int `json:"localPort"`
|
|
1586
|
+
RemotePort int `json:"remotePort"`
|
|
1587
|
+
}
|