options.go 459 B

12345678910111213141516171819
  1. package checkpoint
  2. // CreateOptions holds parameters to create a checkpoint from a container.
  3. type CreateOptions struct {
  4. CheckpointID string
  5. CheckpointDir string
  6. Exit bool
  7. }
  8. // ListOptions holds parameters to list checkpoints for a container.
  9. type ListOptions struct {
  10. CheckpointDir string
  11. }
  12. // DeleteOptions holds parameters to delete a checkpoint from a container.
  13. type DeleteOptions struct {
  14. CheckpointID string
  15. CheckpointDir string
  16. }