Skip to content

Commit

Permalink
add the Options field to TempfsOptions (#1077)
Browse files Browse the repository at this point in the history
Co-authored-by: j-aub <[email protected]>
  • Loading branch information
j-aub and j-aub authored Aug 14, 2024
1 parent 9c3440a commit 26309e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions container.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,9 @@ type VolumeOptions struct {

// TempfsOptions contains optional configuration for the tempfs type
type TempfsOptions struct {
SizeBytes int64 `json:"SizeBytes,omitempty" yaml:"SizeBytes,omitempty" toml:"SizeBytes,omitempty"`
Mode int `json:"Mode,omitempty" yaml:"Mode,omitempty" toml:"Mode,omitempty"`
SizeBytes int64 `json:"SizeBytes,omitempty" yaml:"SizeBytes,omitempty" toml:"SizeBytes,omitempty"`
Mode int `json:"Mode,omitempty" yaml:"Mode,omitempty" toml:"Mode,omitempty"`
Options [][]string `json:"Options,omitempty" yaml:"Options,omitempty" toml:"Options,omitempty"`
}

// VolumeDriverConfig holds a map of volume driver specific options
Expand Down

0 comments on commit 26309e8

Please sign in to comment.