Skip to content

[Request]: LinuxRuntimeData is not accessible by callers of the API client #1569

@jglogan

Description

@jglogan

Feature or enhancement request details

The API client defines:

    /// Create a new container with the given configuration.
    public func create(
        configuration: ContainerConfiguration,
        options: ContainerCreateOptions = .default,
        kernel: Kernel,
        initImage: String? = nil,
        runtimeData: Data? = nil
    ) async throws {

A client serializes runtimeData with a structure, like LinuxRuntimeData that is specific to the targeted runtime, and the data is opaque to the API server.

At present a client cannot pass LinuxRuntimeData because Plugins/RuntimeLinux, an executable target, defines it.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions