models

package
v0.3.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncRunResponse

type AsyncRunResponse struct {

	// job id
	// Example: job-abc123def456
	JobID string `json:"job_id,omitempty"`
}

AsyncRunResponse Response from starting an async Claude execution

swagger:model AsyncRunResponse

func (*AsyncRunResponse) ContextValidate

func (m *AsyncRunResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this async run response based on context it is used

func (*AsyncRunResponse) MarshalBinary

func (m *AsyncRunResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AsyncRunResponse) UnmarshalBinary

func (m *AsyncRunResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AsyncRunResponse) Validate

func (m *AsyncRunResponse) Validate(formats strfmt.Registry) error

Validate validates this async run response

type ClaudeStatusResponse

type ClaudeStatusResponse struct {

	// configured
	// Example: true
	Configured bool `json:"configured,omitempty"`

	// message
	// Example: Claude is configured
	Message string `json:"message,omitempty"`
}

ClaudeStatusResponse Claude configuration status

swagger:model ClaudeStatusResponse

func (*ClaudeStatusResponse) ContextValidate

func (m *ClaudeStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this claude status response based on context it is used

func (*ClaudeStatusResponse) MarshalBinary

func (m *ClaudeStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClaudeStatusResponse) UnmarshalBinary

func (m *ClaudeStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClaudeStatusResponse) Validate

func (m *ClaudeStatusResponse) Validate(formats strfmt.Registry) error

Validate validates this claude status response

type ComponentHealth

type ComponentHealth struct {

	// Error message if status is "error"
	Error string `json:"error,omitempty"`

	// Name of the component
	// Example: podman
	Name string `json:"name,omitempty"`

	// Status is "ok" or "error"
	// Example: ok
	Status string `json:"status,omitempty"`
}

ComponentHealth component health

swagger:model ComponentHealth

func (*ComponentHealth) ContextValidate

func (m *ComponentHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this component health based on context it is used

func (*ComponentHealth) MarshalBinary

func (m *ComponentHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComponentHealth) UnmarshalBinary

func (m *ComponentHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComponentHealth) Validate

func (m *ComponentHealth) Validate(formats strfmt.Registry) error

Validate validates this component health

type CrashInfo

type CrashInfo struct {

	// Exit code (if available)
	ExitCode int64 `json:"exit_code,omitempty"`

	// Partial output captured before crash
	PartialOutput string `json:"partial_output,omitempty"`

	// Human-readable crash reason
	Reason string `json:"reason,omitempty"`

	// Signal that killed the process (SIGSEGV, SIGKILL, etc.)
	Signal string `json:"signal,omitempty"`

	// Whether the task appeared to complete before crashing
	TaskCompleted bool `json:"task_completed,omitempty"`
}

CrashInfo crash info

swagger:model CrashInfo

func (*CrashInfo) ContextValidate

func (m *CrashInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this crash info based on context it is used

func (*CrashInfo) MarshalBinary

func (m *CrashInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CrashInfo) UnmarshalBinary

func (m *CrashInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CrashInfo) Validate

func (m *CrashInfo) Validate(formats strfmt.Registry) error

Validate validates this crash info

type CreateSecretRequest

type CreateSecretRequest struct {

	// name
	// Example: github-token
	// Required: true
	Name *string `json:"name"`

	// value
	// Example: ghp_xxxxxxxxxxxx
	// Required: true
	Value *string `json:"value"`
}

CreateSecretRequest Request to create a new Podman secret

swagger:model CreateSecretRequest

func (*CreateSecretRequest) ContextValidate

func (m *CreateSecretRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create secret request based on context it is used

func (*CreateSecretRequest) MarshalBinary

func (m *CreateSecretRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSecretRequest) UnmarshalBinary

func (m *CreateSecretRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSecretRequest) Validate

func (m *CreateSecretRequest) Validate(formats strfmt.Registry) error

Validate validates this create secret request

type CreateSecretResponse

type CreateSecretResponse struct {

	// error
	Error string `json:"error,omitempty"`

	// name
	// Example: github-token
	Name string `json:"name,omitempty"`

	// success
	// Example: true
	Success bool `json:"success,omitempty"`
}

CreateSecretResponse Result of secret creation

swagger:model CreateSecretResponse

func (*CreateSecretResponse) ContextValidate

func (m *CreateSecretResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create secret response based on context it is used

func (*CreateSecretResponse) MarshalBinary

func (m *CreateSecretResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSecretResponse) UnmarshalBinary

func (m *CreateSecretResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSecretResponse) Validate

func (m *CreateSecretResponse) Validate(formats strfmt.Registry) error

Validate validates this create secret response

type DeleteSecretResponse

type DeleteSecretResponse struct {

	// error
	Error string `json:"error,omitempty"`

	// name
	// Example: github-token
	Name string `json:"name,omitempty"`

	// success
	// Example: true
	Success bool `json:"success,omitempty"`
}

DeleteSecretResponse Result of secret deletion

swagger:model DeleteSecretResponse

func (*DeleteSecretResponse) ContextValidate

func (m *DeleteSecretResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete secret response based on context it is used

func (*DeleteSecretResponse) MarshalBinary

func (m *DeleteSecretResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSecretResponse) UnmarshalBinary

func (m *DeleteSecretResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSecretResponse) Validate

func (m *DeleteSecretResponse) Validate(formats strfmt.Registry) error

Validate validates this delete secret response

type ErrorResponse

type ErrorResponse struct {

	// error
	Error string `json:"error,omitempty"`
}

ErrorResponse error response

swagger:model ErrorResponse

func (*ErrorResponse) ContextValidate

func (m *ErrorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error response based on context it is used

func (*ErrorResponse) MarshalBinary

func (m *ErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

func (m *ErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

func (m *ErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this error response

type HealthResponse

type HealthResponse struct {

	// components
	Components []*ComponentHealth `json:"components,omitempty"`

	// name
	// Example: stromboli
	Name string `json:"name,omitempty"`

	// status
	// Example: ok
	Status string `json:"status,omitempty"`

	// version
	// Example: 0.1.4
	Version string `json:"version,omitempty"`
}

HealthResponse Health check response

swagger:model HealthResponse

func (*HealthResponse) ContextValidate

func (m *HealthResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this health response based on the context it is used

func (*HealthResponse) MarshalBinary

func (m *HealthResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HealthResponse) UnmarshalBinary

func (m *HealthResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HealthResponse) Validate

func (m *HealthResponse) Validate(formats strfmt.Registry) error

Validate validates this health response

type ImageDetailResponse

type ImageDetailResponse struct {

	// compatibility rank
	// Example: 3
	CompatibilityRank int64 `json:"compatibility_rank,omitempty"`

	// compatible
	// Example: true
	Compatible bool `json:"compatible,omitempty"`

	// created
	// Example: 2024-01-15T10:30:00Z
	Created string `json:"created,omitempty"`

	// description
	// Example: Python development image
	Description string `json:"description,omitempty"`

	// has claude cli
	// Example: false
	HasClaudeCli bool `json:"has_claude_cli,omitempty"`

	// id
	// Example: sha256:abc123def456
	ID string `json:"id,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// rank description
	// Example: Standard glibc-based (compatible)
	RankDescription string `json:"rank_description,omitempty"`

	// repository
	// Example: python
	Repository string `json:"repository,omitempty"`

	// size
	// Example: 125000000
	Size int64 `json:"size,omitempty"`

	// tag
	// Example: 3.12-slim
	Tag string `json:"tag,omitempty"`

	// tools
	// Example: ["python","pip"]
	Tools []string `json:"tools,omitempty"`
}

ImageDetailResponse Detailed container image information including labels

swagger:model ImageDetailResponse

func (*ImageDetailResponse) ContextValidate

func (m *ImageDetailResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image detail response based on context it is used

func (*ImageDetailResponse) MarshalBinary

func (m *ImageDetailResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageDetailResponse) UnmarshalBinary

func (m *ImageDetailResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageDetailResponse) Validate

func (m *ImageDetailResponse) Validate(formats strfmt.Registry) error

Validate validates this image detail response

type ImageInfoResponse

type ImageInfoResponse struct {

	// compatibility rank
	// Example: 3
	CompatibilityRank int64 `json:"compatibility_rank,omitempty"`

	// compatible
	// Example: true
	Compatible bool `json:"compatible,omitempty"`

	// created
	// Example: 2024-01-15T10:30:00Z
	Created string `json:"created,omitempty"`

	// description
	// Example: Python development image
	Description string `json:"description,omitempty"`

	// has claude cli
	// Example: false
	HasClaudeCli bool `json:"has_claude_cli,omitempty"`

	// id
	// Example: sha256:abc123def456
	ID string `json:"id,omitempty"`

	// repository
	// Example: python
	Repository string `json:"repository,omitempty"`

	// size
	// Example: 125000000
	Size int64 `json:"size,omitempty"`

	// tag
	// Example: 3.12-slim
	Tag string `json:"tag,omitempty"`

	// tools
	// Example: ["python","pip"]
	Tools []string `json:"tools,omitempty"`
}

ImageInfoResponse Container image metadata with compatibility information

swagger:model ImageInfoResponse

func (*ImageInfoResponse) ContextValidate

func (m *ImageInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image info response based on context it is used

func (*ImageInfoResponse) MarshalBinary

func (m *ImageInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageInfoResponse) UnmarshalBinary

func (m *ImageInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageInfoResponse) Validate

func (m *ImageInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this image info response

type ImagePullRequest

type ImagePullRequest struct {

	// image
	// Example: python:3.12-slim
	// Required: true
	Image *string `json:"image"`

	// platform
	// Example: linux/amd64
	Platform string `json:"platform,omitempty"`

	// quiet
	// Example: true
	Quiet bool `json:"quiet,omitempty"`
}

ImagePullRequest Request to pull a container image from a registry

swagger:model ImagePullRequest

func (*ImagePullRequest) ContextValidate

func (m *ImagePullRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image pull request based on context it is used

func (*ImagePullRequest) MarshalBinary

func (m *ImagePullRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImagePullRequest) UnmarshalBinary

func (m *ImagePullRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImagePullRequest) Validate

func (m *ImagePullRequest) Validate(formats strfmt.Registry) error

Validate validates this image pull request

type ImagePullResponse

type ImagePullResponse struct {

	// image
	// Example: python:3.12-slim
	Image string `json:"image,omitempty"`

	// image id
	// Example: sha256:abc123def456
	ImageID string `json:"image_id,omitempty"`

	// success
	// Example: true
	Success bool `json:"success,omitempty"`
}

ImagePullResponse Result of image pull operation

swagger:model ImagePullResponse

func (*ImagePullResponse) ContextValidate

func (m *ImagePullResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image pull response based on context it is used

func (*ImagePullResponse) MarshalBinary

func (m *ImagePullResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImagePullResponse) UnmarshalBinary

func (m *ImagePullResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImagePullResponse) Validate

func (m *ImagePullResponse) Validate(formats strfmt.Registry) error

Validate validates this image pull response

type ImageSearchResponse

type ImageSearchResponse struct {

	// results
	Results []*SearchResultResponse `json:"results,omitempty"`
}

ImageSearchResponse Search results from container registries

swagger:model ImageSearchResponse

func (*ImageSearchResponse) ContextValidate

func (m *ImageSearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image search response based on the context it is used

func (*ImageSearchResponse) MarshalBinary

func (m *ImageSearchResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageSearchResponse) UnmarshalBinary

func (m *ImageSearchResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageSearchResponse) Validate

func (m *ImageSearchResponse) Validate(formats strfmt.Registry) error

Validate validates this image search response

type ImagesListResponse

type ImagesListResponse struct {

	// images
	Images []*ImageInfoResponse `json:"images,omitempty"`
}

ImagesListResponse List of local container images sorted by compatibility

swagger:model ImagesListResponse

func (*ImagesListResponse) ContextValidate

func (m *ImagesListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this images list response based on the context it is used

func (*ImagesListResponse) MarshalBinary

func (m *ImagesListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImagesListResponse) UnmarshalBinary

func (m *ImagesListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImagesListResponse) Validate

func (m *ImagesListResponse) Validate(formats strfmt.Registry) error

Validate validates this images list response

type JobListResponse

type JobListResponse struct {

	// jobs
	Jobs []*JobResponse `json:"jobs,omitempty"`
}

JobListResponse List of async jobs

swagger:model JobListResponse

func (*JobListResponse) ContextValidate

func (m *JobListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this job list response based on the context it is used

func (*JobListResponse) MarshalBinary

func (m *JobListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobListResponse) UnmarshalBinary

func (m *JobListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobListResponse) Validate

func (m *JobListResponse) Validate(formats strfmt.Registry) error

Validate validates this job list response

type JobResponse

type JobResponse struct {

	// crash info
	CrashInfo *CrashInfo `json:"crash_info,omitempty"`

	// created at
	// Example: 2024-01-15T10:30:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// id
	// Example: job-abc123def456
	ID string `json:"id,omitempty"`

	// output
	// Example: Hello!
	Output string `json:"output,omitempty"`

	// session id
	// Example: sess-abc123def456
	SessionID string `json:"session_id,omitempty"`

	// status
	// Example: running
	Status Status `json:"status,omitempty"`

	// updated at
	// Example: 2024-01-15T10:31:00Z
	UpdatedAt string `json:"updated_at,omitempty"`
}

JobResponse Job status and result

swagger:model JobResponse

func (*JobResponse) ContextValidate

func (m *JobResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this job response based on the context it is used

func (*JobResponse) MarshalBinary

func (m *JobResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobResponse) UnmarshalBinary

func (m *JobResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobResponse) Validate

func (m *JobResponse) Validate(formats strfmt.Registry) error

Validate validates this job response

type LogoutResponse

type LogoutResponse struct {

	// message
	Message string `json:"message,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

LogoutResponse logout response

swagger:model LogoutResponse

func (*LogoutResponse) ContextValidate

func (m *LogoutResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this logout response based on context it is used

func (*LogoutResponse) MarshalBinary

func (m *LogoutResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogoutResponse) UnmarshalBinary

func (m *LogoutResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogoutResponse) Validate

func (m *LogoutResponse) Validate(formats strfmt.Registry) error

Validate validates this logout response

type RefreshRequest

type RefreshRequest struct {

	// refresh token
	// Required: true
	RefreshToken *string `json:"refresh_token"`
}

RefreshRequest refresh request

swagger:model RefreshRequest

func (*RefreshRequest) ContextValidate

func (m *RefreshRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this refresh request based on context it is used

func (*RefreshRequest) MarshalBinary

func (m *RefreshRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RefreshRequest) UnmarshalBinary

func (m *RefreshRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RefreshRequest) Validate

func (m *RefreshRequest) Validate(formats strfmt.Registry) error

Validate validates this refresh request

type RunRequest

type RunRequest struct {

	// Claude configuration - all CLI options exposed
	Claude StromboliInternalTypesClaudeOptions `json:"claude,omitempty"`

	// Podman configuration
	Podman StromboliInternalTypesPodmanOptions `json:"podman,omitempty"`

	// Required: the prompt to send to Claude
	// Example: Analyze this code and suggest improvements
	// Required: true
	Prompt *string `json:"prompt"`

	// Webhook URL to notify when job completes (async only)
	// Example: https://example.com/webhook
	WebhookURL string `json:"webhook_url,omitempty"`

	// Working directory inside the container where Claude will spawn
	// Use podman.volumes to mount host paths into the container
	// Example: /workspace
	Workdir string `json:"workdir,omitempty"`
}

RunRequest Request to execute Claude Code in an isolated container

swagger:model RunRequest

func (*RunRequest) ContextValidate

func (m *RunRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this run request based on the context it is used

func (*RunRequest) MarshalBinary

func (m *RunRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunRequest) UnmarshalBinary

func (m *RunRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunRequest) Validate

func (m *RunRequest) Validate(formats strfmt.Registry) error

Validate validates this run request

type RunResponse

type RunResponse struct {

	// Error message (when failed)
	Error string `json:"error,omitempty"`

	// Unique run identifier
	// Example: run-abc123def456
	ID string `json:"id,omitempty"`

	// Claude's output (when successful)
	// Example: Here is my analysis...
	Output string `json:"output,omitempty"`

	// Session ID for conversation continuation
	// Example: sess-abc123def456
	SessionID string `json:"session_id,omitempty"`

	// Execution status: completed, error
	// Example: completed
	Status string `json:"status,omitempty"`
}

RunResponse Response from Claude execution

swagger:model RunResponse

func (*RunResponse) ContextValidate

func (m *RunResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this run response based on context it is used

func (*RunResponse) MarshalBinary

func (m *RunResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunResponse) UnmarshalBinary

func (m *RunResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunResponse) Validate

func (m *RunResponse) Validate(formats strfmt.Registry) error

Validate validates this run response

type SearchResultResponse

type SearchResultResponse struct {

	// automated
	// Example: false
	Automated bool `json:"automated,omitempty"`

	// description
	// Example: Python is an interpreted programming language
	Description string `json:"description,omitempty"`

	// index
	// Example: docker.io
	Index string `json:"index,omitempty"`

	// name
	// Example: python
	Name string `json:"name,omitempty"`

	// official
	// Example: true
	Official bool `json:"official,omitempty"`

	// stars
	// Example: 8500
	Stars int64 `json:"stars,omitempty"`
}

SearchResultResponse Search result from a container registry

swagger:model SearchResultResponse

func (*SearchResultResponse) ContextValidate

func (m *SearchResultResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search result response based on context it is used

func (*SearchResultResponse) MarshalBinary

func (m *SearchResultResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchResultResponse) UnmarshalBinary

func (m *SearchResultResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchResultResponse) Validate

func (m *SearchResultResponse) Validate(formats strfmt.Registry) error

Validate validates this search result response

type SecretInfoResponse

type SecretInfoResponse struct {

	// created at
	// Example: 2024-01-15T10:30:00Z
	CreatedAt string `json:"created_at,omitempty"`

	// id
	// Example: abc123def456
	ID string `json:"id,omitempty"`

	// name
	// Example: github-token
	Name string `json:"name,omitempty"`
}

SecretInfoResponse Secret metadata (never contains the actual secret value)

swagger:model SecretInfoResponse

func (*SecretInfoResponse) ContextValidate

func (m *SecretInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret info response based on context it is used

func (*SecretInfoResponse) MarshalBinary

func (m *SecretInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretInfoResponse) UnmarshalBinary

func (m *SecretInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretInfoResponse) Validate

func (m *SecretInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this secret info response

type SecretsListResponse

type SecretsListResponse struct {

	// error
	Error string `json:"error,omitempty"`

	// secrets
	Secrets []*SecretInfoResponse `json:"secrets,omitempty"`
}

SecretsListResponse List of available secrets that can be injected into agents

swagger:model SecretsListResponse

func (*SecretsListResponse) ContextValidate

func (m *SecretsListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this secrets list response based on the context it is used

func (*SecretsListResponse) MarshalBinary

func (m *SecretsListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretsListResponse) UnmarshalBinary

func (m *SecretsListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretsListResponse) Validate

func (m *SecretsListResponse) Validate(formats strfmt.Registry) error

Validate validates this secrets list response

type SessionDestroyResponse

type SessionDestroyResponse struct {

	// error
	Error string `json:"error,omitempty"`

	// session id
	// Example: sess-abc123
	SessionID string `json:"session_id,omitempty"`

	// success
	// Example: true
	Success bool `json:"success,omitempty"`
}

SessionDestroyResponse Result of session destruction

swagger:model SessionDestroyResponse

func (*SessionDestroyResponse) ContextValidate

func (m *SessionDestroyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this session destroy response based on context it is used

func (*SessionDestroyResponse) MarshalBinary

func (m *SessionDestroyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SessionDestroyResponse) UnmarshalBinary

func (m *SessionDestroyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SessionDestroyResponse) Validate

func (m *SessionDestroyResponse) Validate(formats strfmt.Registry) error

Validate validates this session destroy response

type SessionListResponse

type SessionListResponse struct {

	// error
	Error string `json:"error,omitempty"`

	// sessions
	// Example: ["sess-abc123","sess-def456"]
	Sessions []string `json:"sessions,omitempty"`
}

SessionListResponse List of existing sessions

swagger:model SessionListResponse

func (*SessionListResponse) ContextValidate

func (m *SessionListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this session list response based on context it is used

func (*SessionListResponse) MarshalBinary

func (m *SessionListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SessionListResponse) UnmarshalBinary

func (m *SessionListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SessionListResponse) Validate

func (m *SessionListResponse) Validate(formats strfmt.Registry) error

Validate validates this session list response

type SessionMessageResponse

type SessionMessageResponse struct {

	// error
	Error string `json:"error,omitempty"`

	// message
	Message *StromboliInternalHistoryMessage `json:"message,omitempty"`
}

SessionMessageResponse A single message from session history

swagger:model SessionMessageResponse

func (*SessionMessageResponse) ContextValidate

func (m *SessionMessageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this session message response based on the context it is used

func (*SessionMessageResponse) MarshalBinary

func (m *SessionMessageResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SessionMessageResponse) UnmarshalBinary

func (m *SessionMessageResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SessionMessageResponse) Validate

func (m *SessionMessageResponse) Validate(formats strfmt.Registry) error

Validate validates this session message response

type SessionMessagesResponse

type SessionMessagesResponse struct {

	// has more
	HasMore bool `json:"has_more,omitempty"`

	// limit
	Limit int64 `json:"limit,omitempty"`

	// messages
	Messages []*StromboliInternalHistoryMessage `json:"messages,omitempty"`

	// offset
	Offset int64 `json:"offset,omitempty"`

	// total
	Total int64 `json:"total,omitempty"`
}

SessionMessagesResponse Paginated list of session messages

swagger:model SessionMessagesResponse

func (*SessionMessagesResponse) ContextValidate

func (m *SessionMessagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this session messages response based on the context it is used

func (*SessionMessagesResponse) MarshalBinary

func (m *SessionMessagesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SessionMessagesResponse) UnmarshalBinary

func (m *SessionMessagesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SessionMessagesResponse) Validate

func (m *SessionMessagesResponse) Validate(formats strfmt.Registry) error

Validate validates this session messages response

type Status

type Status string

Status status

swagger:model Status

const (

	// StatusPending captures enum value "pending"
	StatusPending Status = "pending"

	// StatusRunning captures enum value "running"
	StatusRunning Status = "running"

	// StatusCompleted captures enum value "completed"
	StatusCompleted Status = "completed"

	// StatusFailed captures enum value "failed"
	StatusFailed Status = "failed"

	// StatusCrashed captures enum value "crashed"
	StatusCrashed Status = "crashed"

	// StatusCancelled captures enum value "cancelled"
	StatusCancelled Status = "cancelled"
)

func NewStatus

func NewStatus(value Status) *Status

func (Status) ContextValidate

func (m Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this status based on context it is used

func (Status) Pointer

func (m Status) Pointer() *Status

Pointer returns a pointer to a freshly-allocated Status.

func (Status) Validate

func (m Status) Validate(formats strfmt.Registry) error

Validate validates this status

type StromboliInternalHistoryContentBlock

type StromboliInternalHistoryContentBlock struct {

	// Tool result content (for tool_result)
	// Example: file1.txt\nfile2.txt
	Content string `json:"content,omitempty"`

	// Tool use ID (for tool_use and tool_result)
	// Example: toolu_01G5uAJ4YZ26yyJbXNnG2byM
	ID string `json:"id,omitempty"`

	// Tool input (for tool_use)
	Input map[string]interface{} `json:"input,omitempty"`

	// Whether tool execution errored
	// Example: false
	IsError bool `json:"is_error,omitempty"`

	// Tool name (for tool_use)
	// Example: Bash
	Name string `json:"name,omitempty"`

	// Text content (for text blocks)
	// Example: I'll help you with that.
	Text string `json:"text,omitempty"`

	// Tool use ID reference (for tool_result)
	// Example: toolu_01G5uAJ4YZ26yyJbXNnG2byM
	ToolUseID string `json:"tool_use_id,omitempty"`

	// Block type: text, tool_use, tool_result
	// Example: tool_use
	Type string `json:"type,omitempty"`
}

StromboliInternalHistoryContentBlock A content block (text, tool_use, or tool_result)

swagger:model stromboli_internal_history.ContentBlock

func (*StromboliInternalHistoryContentBlock) ContextValidate

func (m *StromboliInternalHistoryContentBlock) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stromboli internal history content block based on context it is used

func (*StromboliInternalHistoryContentBlock) MarshalBinary

func (m *StromboliInternalHistoryContentBlock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalHistoryContentBlock) UnmarshalBinary

func (m *StromboliInternalHistoryContentBlock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalHistoryContentBlock) Validate

Validate validates this stromboli internal history content block

type StromboliInternalHistoryMessage

type StromboliInternalHistoryMessage struct {

	// The actual message content
	Content StromboliInternalHistoryMessageContent `json:"content,omitempty"`

	// Working directory at time of message
	// Example: /workspace
	Cwd string `json:"cwd,omitempty"`

	// Git branch at time of message
	// Example: main
	GitBranch string `json:"git_branch,omitempty"`

	// Parent message UUID for threading
	// Example: 92242819-b7d1-48d4-b023-6134c3e9f63a
	ParentUUID string `json:"parent_uuid,omitempty"`

	// Permission mode active for this message
	// Example: bypassPermissions
	PermissionMode string `json:"permission_mode,omitempty"`

	// Session ID this message belongs to
	// Example: c7518652-f0ea-436e-9143-327085022abd
	SessionID string `json:"session_id,omitempty"`

	// Timestamp when the message was created
	// Example: 2026-01-24T10:06:42.906Z
	Timestamp string `json:"timestamp,omitempty"`

	// Tool use result (for tool_result messages)
	ToolResult StromboliInternalHistoryToolResult `json:"tool_result,omitempty"`

	// Message type: user, assistant, queue-operation
	// Example: assistant
	Type StromboliInternalHistoryMessageType `json:"type,omitempty"`

	// Unique identifier for this message
	// Example: 40adde19-546a-43e8-ad25-31ef4faa4112
	UUID string `json:"uuid,omitempty"`

	// Claude Code version
	// Example: 2.1.19
	Version string `json:"version,omitempty"`
}

StromboliInternalHistoryMessage A message in the conversation history

swagger:model stromboli_internal_history.Message

func (*StromboliInternalHistoryMessage) ContextValidate

func (m *StromboliInternalHistoryMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stromboli internal history message based on the context it is used

func (*StromboliInternalHistoryMessage) MarshalBinary

func (m *StromboliInternalHistoryMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalHistoryMessage) UnmarshalBinary

func (m *StromboliInternalHistoryMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalHistoryMessage) Validate

Validate validates this stromboli internal history message

type StromboliInternalHistoryMessageContent

type StromboliInternalHistoryMessageContent struct {

	// Content blocks (text, tool_use, tool_result)
	Content []*StromboliInternalHistoryContentBlock `json:"content,omitempty"`

	// Message ID from API
	// Example: msg_017ETE4Wk32ZXAQJp3GXP1Bo
	MessageID string `json:"message_id,omitempty"`

	// Model used (for assistant messages)
	// Example: claude-opus-4-5-20251101
	Model string `json:"model,omitempty"`

	// Role: user or assistant
	// Example: assistant
	Role string `json:"role,omitempty"`

	// Stop reason (for assistant messages)
	// Example: end_turn
	StopReason string `json:"stop_reason,omitempty"`

	// Token usage
	Usage StromboliInternalHistoryUsage `json:"usage,omitempty"`
}

StromboliInternalHistoryMessageContent Message content with role and content blocks

swagger:model stromboli_internal_history.MessageContent

func (*StromboliInternalHistoryMessageContent) ContextValidate

ContextValidate validate this stromboli internal history message content based on the context it is used

func (*StromboliInternalHistoryMessageContent) MarshalBinary

func (m *StromboliInternalHistoryMessageContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalHistoryMessageContent) UnmarshalBinary

func (m *StromboliInternalHistoryMessageContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalHistoryMessageContent) Validate

Validate validates this stromboli internal history message content

type StromboliInternalHistoryMessageType

type StromboliInternalHistoryMessageType string

StromboliInternalHistoryMessageType stromboli internal history message type

swagger:model stromboli_internal_history.MessageType

const (

	// StromboliInternalHistoryMessageTypeUser captures enum value "user"
	StromboliInternalHistoryMessageTypeUser StromboliInternalHistoryMessageType = "user"

	// StromboliInternalHistoryMessageTypeAssistant captures enum value "assistant"
	StromboliInternalHistoryMessageTypeAssistant StromboliInternalHistoryMessageType = "assistant"

	// StromboliInternalHistoryMessageTypeQueueDashOperation captures enum value "queue-operation"
	StromboliInternalHistoryMessageTypeQueueDashOperation StromboliInternalHistoryMessageType = "queue-operation"
)

func (StromboliInternalHistoryMessageType) ContextValidate

func (m StromboliInternalHistoryMessageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stromboli internal history message type based on context it is used

func (StromboliInternalHistoryMessageType) Pointer

Pointer returns a pointer to a freshly-allocated StromboliInternalHistoryMessageType.

func (StromboliInternalHistoryMessageType) Validate

Validate validates this stromboli internal history message type

type StromboliInternalHistoryToolResult

type StromboliInternalHistoryToolResult struct {

	// Whether execution was interrupted
	// Example: false
	Interrupted bool `json:"interrupted,omitempty"`

	// Whether result is an image
	// Example: false
	IsImage bool `json:"is_image,omitempty"`

	// Standard error
	Stderr string `json:"stderr,omitempty"`

	// Standard output
	// Example: file1.txt\nfile2.txt
	Stdout string `json:"stdout,omitempty"`
}

StromboliInternalHistoryToolResult Detailed result of a tool execution

swagger:model stromboli_internal_history.ToolResult

func (*StromboliInternalHistoryToolResult) ContextValidate

func (m *StromboliInternalHistoryToolResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stromboli internal history tool result based on context it is used

func (*StromboliInternalHistoryToolResult) MarshalBinary

func (m *StromboliInternalHistoryToolResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalHistoryToolResult) UnmarshalBinary

func (m *StromboliInternalHistoryToolResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalHistoryToolResult) Validate

Validate validates this stromboli internal history tool result

type StromboliInternalHistoryUsage

type StromboliInternalHistoryUsage struct {

	// cache creation input tokens
	// Example: 336
	CacheCreationInputTokens int64 `json:"cache_creation_input_tokens,omitempty"`

	// cache read input tokens
	// Example: 18121
	CacheReadInputTokens int64 `json:"cache_read_input_tokens,omitempty"`

	// input tokens
	// Example: 150
	InputTokens int64 `json:"input_tokens,omitempty"`

	// output tokens
	// Example: 42
	OutputTokens int64 `json:"output_tokens,omitempty"`
}

StromboliInternalHistoryUsage Token usage statistics

swagger:model stromboli_internal_history.Usage

func (*StromboliInternalHistoryUsage) ContextValidate

func (m *StromboliInternalHistoryUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stromboli internal history usage based on context it is used

func (*StromboliInternalHistoryUsage) MarshalBinary

func (m *StromboliInternalHistoryUsage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalHistoryUsage) UnmarshalBinary

func (m *StromboliInternalHistoryUsage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalHistoryUsage) Validate

func (m *StromboliInternalHistoryUsage) Validate(formats strfmt.Registry) error

Validate validates this stromboli internal history usage

type StromboliInternalTypesClaudeOptions

type StromboliInternalTypesClaudeOptions struct {

	// Additional directories for tool access
	AddDirs []string `json:"add_dirs,omitempty"`

	// Agent for current session
	// Example: reviewer
	Agent string `json:"agent,omitempty"`

	// Custom agents definition (JSON object)
	Agents map[string]interface{} `json:"agents,omitempty"`

	// Enable bypass as an option without enabling by default
	// Example: false
	AllowDangerouslySkipPermissions bool `json:"allow_dangerously_skip_permissions,omitempty"`

	// Allowed tools with patterns (e.g., "Bash(git:*)")
	// Example: ["Bash(git:*)","Read"]
	AllowedTools []string `json:"allowed_tools,omitempty"`

	// Append to default system prompt
	// Example: Focus on security best practices
	AppendSystemPrompt string `json:"append_system_prompt,omitempty"`

	// Beta headers for API requests
	Betas []string `json:"betas,omitempty"`

	// Continue most recent conversation in workspace (ignores session_id)
	// Example: false
	Continue bool `json:"continue,omitempty"`

	// Bypass all permission checks (use in sandboxed environments only)
	// Example: true
	DangerouslySkipPermissions bool `json:"dangerously_skip_permissions,omitempty"`

	// Debug mode with optional category filter
	// Example: api,hooks
	Debug string `json:"debug,omitempty"`

	// Disable all slash commands/skills
	// Example: false
	DisableSlashCommands bool `json:"disable_slash_commands,omitempty"`

	// Denied tools
	// Example: ["Write"]
	DisallowedTools []string `json:"disallowed_tools,omitempty"`

	// Fallback model when default is overloaded
	// Example: haiku
	FallbackModel string `json:"fallback_model,omitempty"`

	// File resources (format: file_id:path)
	Files []string `json:"files,omitempty"`

	// Create new session ID when resuming
	// Example: false
	ForkSession bool `json:"fork_session,omitempty"`

	// Include partial message chunks (stream-json only)
	// Example: false
	IncludePartialMessages bool `json:"include_partial_messages,omitempty"`

	// Input format: text, stream-json
	// Example: text
	InputFormat string `json:"input_format,omitempty"`

	// JSON Schema for structured output validation
	// Example: {\"type\":\"object\"}
	JSONSchema string `json:"json_schema,omitempty"`

	// Maximum dollar amount for API calls
	// Example: 5
	MaxBudgetUsd float64 `json:"max_budget_usd,omitempty"`

	// MCP server config files or JSON strings
	McpConfigs []string `json:"mcp_configs,omitempty"`

	// Model alias (sonnet, opus, haiku) or full name
	// Example: sonnet
	Model string `json:"model,omitempty"`

	// Don't save session to disk
	// Example: false
	NoPersistence bool `json:"no_persistence,omitempty"`

	// Output format: text, json, stream-json
	// Example: json
	OutputFormat string `json:"output_format,omitempty"`

	// Permission mode: acceptEdits, bypassPermissions, default, delegate, dontAsk, plan
	// Example: bypassPermissions
	PermissionMode string `json:"permission_mode,omitempty"`

	// Plugin directories
	PluginDirs []string `json:"plugin_dirs,omitempty"`

	// Re-emit user messages on stdout
	// Example: false
	ReplayUserMessages bool `json:"replay_user_messages,omitempty"`

	// Resume an existing session (requires session_id)
	// Example: true
	Resume bool `json:"resume,omitempty"`

	// Session ID (UUID) - used for both new and resumed sessions
	// Example: 550e8400-e29b-41d4-a716-446655440000
	SessionID string `json:"session_id,omitempty"`

	// Setting sources to load: user, project, local
	// Example: ["user","project"]
	SettingSources []string `json:"setting_sources,omitempty"`

	// Path to settings JSON file or JSON string
	Settings string `json:"settings,omitempty"`

	// Only use MCP servers from mcp_configs
	// Example: false
	StrictMcpConfig bool `json:"strict_mcp_config,omitempty"`

	// Replace default system prompt
	// Example: You are a senior Go developer
	SystemPrompt string `json:"system_prompt,omitempty"`

	// Built-in tools ("", "default", or specific names)
	// Example: ["Bash","Read","Edit"]
	Tools []string `json:"tools,omitempty"`

	// Enable verbose mode
	// Example: false
	Verbose bool `json:"verbose,omitempty"`
}

StromboliInternalTypesClaudeOptions All available Claude CLI options for headless execution

swagger:model stromboli_internal_types.ClaudeOptions

func (*StromboliInternalTypesClaudeOptions) ContextValidate

func (m *StromboliInternalTypesClaudeOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stromboli internal types claude options based on context it is used

func (*StromboliInternalTypesClaudeOptions) MarshalBinary

func (m *StromboliInternalTypesClaudeOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalTypesClaudeOptions) UnmarshalBinary

func (m *StromboliInternalTypesClaudeOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalTypesClaudeOptions) Validate

Validate validates this stromboli internal types claude options

type StromboliInternalTypesEnvironmentConfig

type StromboliInternalTypesEnvironmentConfig struct {

	// Optional build timeout override for compose (e.g., "15m")
	// If not specified, uses server default (10m)
	// Example: 15m
	BuildTimeout string `json:"build_timeout,omitempty"`

	// Path to compose file (required when type="compose")
	// Must be an absolute path ending in .yml or .yaml
	// Example: /home/user/project/docker-compose.yml
	Path string `json:"path,omitempty"`

	// Service name where Claude will run (required when type="compose")
	// Example: dev
	Service string `json:"service,omitempty"`

	// Type of environment: "" (default single container) or "compose"
	// Example: compose
	Type string `json:"type,omitempty"`
}

StromboliInternalTypesEnvironmentConfig Runtime environment configuration (single container or compose)

swagger:model stromboli_internal_types.EnvironmentConfig

func (*StromboliInternalTypesEnvironmentConfig) ContextValidate

ContextValidate validates this stromboli internal types environment config based on context it is used

func (*StromboliInternalTypesEnvironmentConfig) MarshalBinary

func (m *StromboliInternalTypesEnvironmentConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalTypesEnvironmentConfig) UnmarshalBinary

func (m *StromboliInternalTypesEnvironmentConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalTypesEnvironmentConfig) Validate

Validate validates this stromboli internal types environment config

type StromboliInternalTypesLifecycleHooks

type StromboliInternalTypesLifecycleHooks struct {

	// HooksTimeout is the maximum duration for all hooks combined (e.g., "5m", "30s").
	// If not specified, hooks run with the container's timeout.
	// This is useful to prevent long-running hooks from blocking the main command.
	// Example: 5m
	HooksTimeout string `json:"hooks_timeout,omitempty"`

	// OnCreateCommand runs after container creation, before Claude starts (first run only)
	// Commands are executed sequentially via "podman exec"
	// Example: ["pip install -r requirements.txt"]
	OnCreateCommand []string `json:"on_create_command,omitempty"`

	// PostCreate runs after OnCreateCommand completes (first run only)
	// Commands are executed sequentially via "podman exec"
	// Example: ["npm run setup"]
	PostCreate []string `json:"post_create,omitempty"`

	// PostStart runs after container starts (every run, including continues)
	// Commands are executed sequentially via "podman exec"
	// Example: ["redis-server --daemonize yes"]
	PostStart []string `json:"post_start,omitempty"`
}

StromboliInternalTypesLifecycleHooks Commands to run at specific container lifecycle stages

swagger:model stromboli_internal_types.LifecycleHooks

func (*StromboliInternalTypesLifecycleHooks) ContextValidate

func (m *StromboliInternalTypesLifecycleHooks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stromboli internal types lifecycle hooks based on context it is used

func (*StromboliInternalTypesLifecycleHooks) MarshalBinary

func (m *StromboliInternalTypesLifecycleHooks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalTypesLifecycleHooks) UnmarshalBinary

func (m *StromboliInternalTypesLifecycleHooks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalTypesLifecycleHooks) Validate

Validate validates this stromboli internal types lifecycle hooks

type StromboliInternalTypesPodmanOptions

type StromboliInternalTypesPodmanOptions struct {

	// CPU shares (relative weight, default 1024)
	// Example: 512
	CPUShares int64 `json:"cpu_shares,omitempty"`

	// CPU limit (e.g., "0.5", "2")
	// Example: 1
	Cpus string `json:"cpus,omitempty"`

	// Environment specifies a compose-based multi-service environment.
	// When set, the agent runs inside the specified service of the compose stack
	// instead of a standalone container.
	Environment StromboliInternalTypesEnvironmentConfig `json:"environment,omitempty"`

	// Container image override (must match allowed patterns)
	// Example: python:3.12
	Image string `json:"image,omitempty"`

	// Lifecycle hooks for running commands at specific container events
	Lifecycle StromboliInternalTypesLifecycleHooks `json:"lifecycle,omitempty"`

	// Memory limit (e.g., "512m", "1g")
	// Example: 512m
	Memory string `json:"memory,omitempty"`

	// Secrets to inject as environment variables (env_var_name -> podman_secret_name)
	// The Podman secret must exist beforehand (created via `podman secret create`)
	// Example: {"GH_TOKEN": "github-token"} mounts secret "github-token" as env var GH_TOKEN
	SecretsEnv map[string]string `json:"secrets_env,omitempty"`

	// Container timeout (e.g., "5m", "1h", "30s")
	// Example: 5m
	Timeout string `json:"timeout,omitempty"`

	// Volume mounts (host:container or host:container:options format)
	// Example: ["/data:/data:ro"]
	Volumes []string `json:"volumes,omitempty"`
}

StromboliInternalTypesPodmanOptions Podman container mount configuration

swagger:model stromboli_internal_types.PodmanOptions

func (*StromboliInternalTypesPodmanOptions) ContextValidate

func (m *StromboliInternalTypesPodmanOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stromboli internal types podman options based on the context it is used

func (*StromboliInternalTypesPodmanOptions) MarshalBinary

func (m *StromboliInternalTypesPodmanOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StromboliInternalTypesPodmanOptions) UnmarshalBinary

func (m *StromboliInternalTypesPodmanOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StromboliInternalTypesPodmanOptions) Validate

Validate validates this stromboli internal types podman options

type TokenRequest

type TokenRequest struct {

	// client id
	// Required: true
	ClientID *string `json:"client_id"`
}

TokenRequest token request

swagger:model TokenRequest

func (*TokenRequest) ContextValidate

func (m *TokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token request based on context it is used

func (*TokenRequest) MarshalBinary

func (m *TokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenRequest) UnmarshalBinary

func (m *TokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenRequest) Validate

func (m *TokenRequest) Validate(formats strfmt.Registry) error

Validate validates this token request

type TokenResponse

type TokenResponse struct {

	// access token
	AccessToken string `json:"access_token,omitempty"`

	// expires in
	ExpiresIn int64 `json:"expires_in,omitempty"`

	// refresh token
	RefreshToken string `json:"refresh_token,omitempty"`

	// token type
	TokenType string `json:"token_type,omitempty"`
}

TokenResponse token response

swagger:model TokenResponse

func (*TokenResponse) ContextValidate

func (m *TokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token response based on context it is used

func (*TokenResponse) MarshalBinary

func (m *TokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenResponse) UnmarshalBinary

func (m *TokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenResponse) Validate

func (m *TokenResponse) Validate(formats strfmt.Registry) error

Validate validates this token response

type ValidateResponse

type ValidateResponse struct {

	// expires at
	ExpiresAt int64 `json:"expires_at,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`

	// valid
	Valid bool `json:"valid,omitempty"`
}

ValidateResponse validate response

swagger:model ValidateResponse

func (*ValidateResponse) ContextValidate

func (m *ValidateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this validate response based on context it is used

func (*ValidateResponse) MarshalBinary

func (m *ValidateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ValidateResponse) UnmarshalBinary

func (m *ValidateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ValidateResponse) Validate

func (m *ValidateResponse) Validate(formats strfmt.Registry) error

Validate validates this validate response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL