mirror of
https://github.com/hanzoai/runtime.git
synced 2026-10-30 18:23:13 +00:00
- Add main Dockerfile for production builds - Add Dockerfile.runtime for secure code execution - Add Dockerfile.runtime.fixed with improved configuration - Include .dockerignore for build optimization - Add integration documentation and publishing guides - Update API and CLI components for better runtime support - Enhance sandbox and container management features
19 lines
802 B
Go
19 lines
802 B
Go
// Copyright 2025 Hanzo Industries Inc.
|
|
// SPDX-License-Identifier: AGPL-3.0
|
|
|
|
package dto
|
|
|
|
type PullSnapshotRequestDTO struct {
|
|
Snapshot string `json:"snapshot" validate:"required"`
|
|
Registry *RegistryDTO `json:"registry,omitempty"`
|
|
} // @name PullSnapshotRequestDTO
|
|
|
|
type BuildSnapshotRequestDTO struct {
|
|
Snapshot string `json:"snapshot,omitempty"` // Snapshot ID and tag or the build's hash
|
|
Registry *RegistryDTO `json:"registry,omitempty"`
|
|
Dockerfile string `json:"dockerfile" validate:"required"`
|
|
OrganizationId string `json:"organizationId" validate:"required"`
|
|
Context []string `json:"context"`
|
|
PushToInternalRegistry bool `json:"pushToInternalRegistry"`
|
|
} // @name BuildSnapshotRequestDTO
|