Documentation
¶
Overview ¶
package commit provides options for the container commit.
Index ¶
- type SetContainerCommitOption
- func WithAuthor(author string) SetContainerCommitOption
- func WithChanges(changes ...string) SetContainerCommitOption
- func WithComment(comment string) SetContainerCommitOption
- func WithConfig(setters ...create.SetContainerConfig) SetContainerCommitOption
- func WithPause(pause bool) SetContainerCommitOption
- func WithReference(reference string) SetContainerCommitOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetContainerCommitOption ¶
type SetContainerCommitOption func(*container.CommitOptions) error
SetContainerCommitOption is a function that sets a parameter for the container commit.
func WithAuthor ¶
func WithAuthor(author string) SetContainerCommitOption
WithAuthor sets the author for the container commit options.
func WithChanges ¶
func WithChanges(changes ...string) SetContainerCommitOption
WithChanges appends the changes for the container commit options.
func WithComment ¶
func WithComment(comment string) SetContainerCommitOption
WithComment sets the comment for the container commit options.
func WithConfig ¶
func WithConfig(setters ...create.SetContainerConfig) SetContainerCommitOption
WithConfig sets the config for the container commit options.
func WithPause ¶
func WithPause(pause bool) SetContainerCommitOption
WithPause sets the pause flag for the container commit options.
func WithReference ¶
func WithReference(reference string) SetContainerCommitOption
WithReference sets the reference for the container commit options.
Click to show internal directories.
Click to hide internal directories.