mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-30 17:57:45 +00:00
* Added support for system service * Enabled linting on the varlinkapi source, needed to support V2 service command * Added support for PODMAN_SOCKET Skip linting deprecated code Rather than introduce bugs by correcting deprecated code, linting the code is being skipped. Code that is being ported into V2 is being checked. Signed-off-by: Jhon Honce <jhonce@redhat.com>
14 lines
400 B
Go
14 lines
400 B
Go
package entities
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// ServiceOptions provides the input for starting an API Service
|
|
type ServiceOptions struct {
|
|
URI string // Path to unix domain socket service should listen on
|
|
Timeout time.Duration // duration of inactivity the service should wait before shutting down
|
|
Command *cobra.Command // CLI command provided. Used in V1 code
|
|
}
|