commit

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

package commit provides options for the container commit.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL