compose

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package compose provides infrastructure for interfacing wth Compose.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	// contains filtered or unexported fields
}

Flags stores top-level Compose flags.

func (*Flags) Reconstituted

func (f *Flags) Reconstituted(flags *pflag.FlagSet) (result []string)

Reconstituted constructs a representation of the flags suitable for parsing by their native command. It requires access to the flag set with which its flags were registered so that it can determine which were set. If any of the flags registered with the flag set have been removed, this method will panic.

func (*Flags) Register

func (f *Flags) Register(flags *pflag.FlagSet)

Register registers the flags into the specified flag set.

Jump to

Keyboard shortcuts

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