Documentation
¶
Index ¶
- Variables
- func GetCommand() *cobra.Command
- func ListCommand() *cobra.Command
- func RmCommand() *cobra.Command
- func RunCommand(options ...RunOption) *cobra.Command
- func SetCommand() *cobra.Command
- func StoreFrom(ctx context.Context) (store.Store, error)
- func VersionCommand(info VersionInfo) *cobra.Command
- func WithStore(ctx context.Context, s store.Store) context.Context
- type ExitCodeError
- type RunOption
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoStoreInContext = errors.New("docker-pass: store not attached to context")
Functions ¶
func GetCommand ¶
func ListCommand ¶
func RunCommand ¶ added in v0.0.29
func SetCommand ¶
func VersionCommand ¶
func VersionCommand(info VersionInfo) *cobra.Command
Types ¶
type ExitCodeError ¶ added in v0.0.29
type ExitCodeError struct {
Code int
}
ExitCodeError is returned when the child process exits non-zero, letting the OTel span wrapper finish before the process exits.
func (*ExitCodeError) Error ¶ added in v0.0.29
func (e *ExitCodeError) Error() string
type RunOption ¶ added in v0.2.2
type RunOption func(*runOpts)
func WithResponseTimeout ¶ added in v0.2.3
WithResponseTimeout sets the client response header timeout; 0 disables it.
func WithSocketPath ¶ added in v0.2.3
WithSocketPath overrides the engine socket path; empty means the default.
func WithTimeout ¶ added in v0.2.2
WithTimeout sets the client request timeout; 0 disables it.
type VersionInfo ¶
Click to show internal directories.
Click to hide internal directories.