Documentation ¶
Index ¶
- func AddHelpFlag(cmd *cobra.Command, commandName string)
- func Build(logger logging.Logger, cfg config.Config, packClient PackClient) *cobra.Command
- func CompletionCommand(logger logging.Logger) *cobra.Command
- func CreateBuilder(logger logging.Logger, client PackClient) *cobra.Command
- func CreatePackage(logger logging.Logger, client PackClient) *cobra.Command
- func InspectBuilder(logger logging.Logger, cfg config.Config, client PackClient) *cobra.Command
- func InspectImage(logger logging.Logger, cfg *config.Config, client PackClient) *cobra.Command
- func IsSoftError(err error) bool
- func ReadPackageConfig(path string) (buildpackage.Config, error)
- func Rebase(logger logging.Logger, cfg config.Config, client PackClient) *cobra.Command
- func Report(logger logging.Logger) *cobra.Command
- func SetDefaultBuilder(logger logging.Logger, cfg config.Config, client PackClient) *cobra.Command
- func SetRunImagesMirrors(logger logging.Logger, cfg config.Config) *cobra.Command
- func SuggestBuilders(logger logging.Logger, client PackClient) *cobra.Command
- func SuggestStacks(logger logging.Logger) *cobra.Command
- func Version(logger logging.Logger, version string) *cobra.Command
- type BuildFlags
- type CreateBuilderFlags
- type CreatePackageFlags
- type InspectImageFlags
- type PackClient
- type SoftError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHelpFlag ¶
func CreateBuilder ¶
func CreateBuilder(logger logging.Logger, client PackClient) *cobra.Command
func CreatePackage ¶
func CreatePackage(logger logging.Logger, client PackClient) *cobra.Command
func InspectBuilder ¶
func InspectImage ¶
func IsSoftError ¶
func ReadPackageConfig ¶
func ReadPackageConfig(path string) (buildpackage.Config, error)
func SetDefaultBuilder ¶
func SetRunImagesMirrors ¶
func SuggestBuilders ¶
func SuggestBuilders(logger logging.Logger, client PackClient) *cobra.Command
Types ¶
type BuildFlags ¶
type CreateBuilderFlags ¶
type CreatePackageFlags ¶
type InspectImageFlags ¶
type InspectImageFlags struct {
BOM bool
}
type PackClient ¶
type PackClient interface { InspectBuilder(string, bool) (*pack.BuilderInfo, error) InspectImage(string, bool) (*pack.ImageInfo, error) Rebase(context.Context, pack.RebaseOptions) error CreateBuilder(context.Context, pack.CreateBuilderOptions) error CreatePackage(ctx context.Context, opts pack.CreatePackageOptions) error Build(context.Context, pack.BuildOptions) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.