Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeGit = "git" TypeGitHub = "github" )
View Source
const DefaultRegistryName = "official"
View Source
const DefaultRegistryURL = "https://github.com/buildpacks/registry-index"
View Source
const GitCommitTemplate = `{{ if .Yanked }}YANK{{else}}ADD{{end}} {{.Namespace}}/{{.Name}}@{{.Version}}`
View Source
const GithubIssueBodyTemplate = `` /* 127-byte string literal not displayed */
View Source
const GithubIssueTitleTemplate = "{{ if .Yanked }}YANK{{ else }}ADD{{ end }} {{.Namespace}}/{{.Name}}@{{.Version}}"
Variables ¶
View Source
var Types = []string{ TypeGit, TypeGitHub, }
Functions ¶
func ParseNamespaceName ¶ added in v1.5.1
ParseNamespaceName parses a buildpack ID into Namespace and Name
Types ¶
type Buildpack ¶ added in v1.5.1
type Buildpack struct { Namespace string `json:"ns"` Name string `json:"name"` Version string `json:"version"` Yanked bool `json:"yanked"` Address string `json:"addr,omitempty"` }
Buildpack contains information about a buildpack stored in a Registry
type Cache ¶ added in v0.15.4
type Cache struct { Root string // contains filtered or unexported fields }
Cache is a RegistryCache
func NewDefaultRegistryCache ¶ added in v0.15.4
NewDefaultRegistryCache creates a new registry cache with default options
func NewRegistryCache ¶ added in v0.15.4
NewRegistryCache creates a new registry cache
func (*Cache) CreateCache ¶ added in v0.15.4
CreateCache creates the cache on the filesystem
func (*Cache) Initialize ¶ added in v0.15.4
Initialize a local Registry Cache
func (*Cache) LocateBuildpack ¶ added in v0.15.4
LocateBuildpack stored in registry
Click to show internal directories.
Click to hide internal directories.