types_solaris.go 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package libcontainerd
  2. import (
  3. "github.com/opencontainers/specs/specs-go"
  4. )
  5. // Spec is the base configuration for the container. It specifies platform
  6. // independent configuration. This information must be included when the
  7. // bundle is packaged for distribution.
  8. type Spec specs.Spec
  9. // Process contains information to start a specific application inside the container.
  10. type Process struct {
  11. // Terminal creates an interactive terminal for the container.
  12. Terminal bool `json:"terminal"`
  13. // Args specifies the binary and arguments for the application to execute.
  14. Args []string `json:"args"`
  15. }
  16. // Stats contains a stats properties from containerd.
  17. type Stats struct{}
  18. // Summary container a container summary from containerd
  19. type Summary struct{}
  20. // StateInfo contains description about the new state container has entered.
  21. type StateInfo struct {
  22. CommonStateInfo
  23. // Platform specific StateInfo
  24. }
  25. // User specifies Solaris specific user and group information for the container's
  26. // main process.
  27. type User specs.User
  28. // Resources defines updatable container resource values.
  29. type Resources struct{}