Documentation ¶
Index ¶
- func AddBuildpackRegistry(logger logging.Logger, cfg config.Config, cfgPath string) *cobra.Command
- 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, cfg config.Config, client PackClient) *cobra.Command
- func CreateCancellableContext() context.Context
- func InspectBuilder(logger logging.Logger, cfg config.Config, client PackClient) *cobra.Command
- func InspectBuildpack(logger logging.Logger, cfg *config.Config, client PackClient) *cobra.Command
- func InspectImage(logger logging.Logger, cfg *config.Config, client PackClient) *cobra.Command
- func ListBuildpackRegistries(logger logging.Logger, cfg config.Config) *cobra.Command
- func ListTrustedBuilders(logger logging.Logger, cfg config.Config) *cobra.Command
- func PackageBuildpack(logger logging.Logger, client BuildpackPackager, ...) *cobra.Command
- func Rebase(logger logging.Logger, cfg config.Config, client PackClient) *cobra.Command
- func RegisterBuildpack(logger logging.Logger, cfg config.Config, client PackClient) *cobra.Command
- func Report(logger logging.Logger, version string) *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 TrustBuilder(logger logging.Logger, cfg config.Config) *cobra.Command
- func UntrustBuilder(logger logging.Logger, cfg config.Config) *cobra.Command
- func Version(logger logging.Logger, version string) *cobra.Command
- func WriteSuggestedBuilder(logger logging.Logger, client PackClient, builders []SuggestedBuilder)
- func YankBuildpack(logger logging.Logger, cfg config.Config, client PackClient) *cobra.Command
- type BuildFlags
- type BuildpackPackager
- type CompletionFlags
- type CreateBuilderFlags
- type InspectBuilderFlags
- type InspectBuildpackFlags
- type InspectImageFlags
- type PackClient
- type PackageBuildpackFlags
- type PackageConfigReader
- type RegisterBuildpackFlags
- type SuggestedBuilder
- type YankBuildpackFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBuildpackRegistry ¶ added in v0.14.0
func AddHelpFlag ¶
func CreateBuilder ¶
CreateBuilder creates a builder image, based on a builder config
func CreateCancellableContext ¶ added in v0.10.0
func InspectBuilder ¶
func InspectBuildpack ¶ added in v0.14.0
func InspectImage ¶
func ListBuildpackRegistries ¶ added in v0.14.0
func ListTrustedBuilders ¶ added in v0.12.0
func PackageBuildpack ¶ added in v0.9.0
func PackageBuildpack(logger logging.Logger, client BuildpackPackager, packageConfigReader PackageConfigReader) *cobra.Command
PackageBuildpack packages (a) buildpack(s) into OCI format, based on a package config
func RegisterBuildpack ¶ added in v0.13.0
func SetDefaultBuilder ¶
func SetRunImagesMirrors ¶
SetRunImagesMirrors sets run image mirros for a given run image
func SuggestBuilders ¶
func SuggestBuilders(logger logging.Logger, client PackClient) *cobra.Command
func TrustBuilder ¶ added in v0.11.0
func UntrustBuilder ¶ added in v0.12.0
func WriteSuggestedBuilder ¶ added in v0.11.0
func WriteSuggestedBuilder(logger logging.Logger, client PackClient, builders []SuggestedBuilder)
func YankBuildpack ¶ added in v0.13.0
Types ¶
type BuildFlags ¶
type BuildpackPackager ¶ added in v0.9.0
type BuildpackPackager interface {
PackageBuildpack(ctx context.Context, options pack.PackageBuildpackOptions) error
}
BuildpackPackager packages buildpacks
type CompletionFlags ¶ added in v0.12.0
type CompletionFlags struct {
Shell string
}
type CreateBuilderFlags ¶
type CreateBuilderFlags struct { BuilderTomlPath string Publish bool NoPull bool Registry string Policy string }
CreateBuilderFlags define flags provided to the CreateBuilder command
type InspectBuilderFlags ¶ added in v0.13.0
type InspectBuilderFlags struct {
Depth int
}
type InspectBuildpackFlags ¶ added in v0.14.0
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 PackageBuildpack(ctx context.Context, opts pack.PackageBuildpackOptions) error Build(context.Context, pack.BuildOptions) error RegisterBuildpack(context.Context, pack.RegisterBuildpackOptions) error YankBuildpack(pack.YankBuildpackOptions) error InspectBuildpack(pack.InspectBuildpackOptions) (*pack.BuildpackInfo, error) }
type PackageBuildpackFlags ¶ added in v0.9.0
type PackageBuildpackFlags struct { PackageTomlPath string Format string Publish bool NoPull bool Policy string }
PackageBuildpackFlags define flags provided to the PackageBuildpack command
type PackageConfigReader ¶ added in v0.9.0
PackageConfigReader reads PackageBuildpack configs
type RegisterBuildpackFlags ¶ added in v0.13.0
type RegisterBuildpackFlags struct {
BuildpackRegistry string
}
type SuggestedBuilder ¶ added in v0.11.0
type YankBuildpackFlags ¶ added in v0.13.0
Source Files ¶
- add_buildpack_registry.go
- build.go
- commands.go
- completion.go
- create_builder.go
- inspect_builder.go
- inspect_buildpack.go
- inspect_image.go
- list_buildpack_registries.go
- list_trusted_builders.go
- package_buildpack.go
- rebase.go
- register_buildpack.go
- report.go
- set_default_builder.go
- set_run_image_mirrors.go
- suggest_builders.go
- suggest_stacks.go
- trust_builder.go
- untrust_builder.go
- version.go
- yank_buildpack.go
Click to show internal directories.
Click to hide internal directories.