buildpacks

package
v2.11.26 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buildpack

type Buildpack struct {
	ID      string `json:"id"`
	Version string `json:"version"`
	Latest  bool   `json:"latest"`
}

Buildpack has the information from a Buildpack Builder.

type Client

type Client interface {
	// List lists the buildpacks available on the given builder image.
	List(builderImage string) ([]Buildpack, error)
}

Client is the main interface for interacting with Buildpacks.

func NewClient

func NewClient(
	imageFetcher RemoteImageFetcher,
) Client

NewClient creates a new Client.

type RemoteImageFetcher

type RemoteImageFetcher func(ref name.Reference, options ...remote.Option) (gcrv1.Image, error)

RemoteImageFetcher is implemented by github.com/google/go-containerregistry/pkg/v1/remote.Image

Directories

Path Synopsis
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.

Jump to

Keyboard shortcuts

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