Versions in this module Expand all Collapse all v1 v1.0.0 Jul 22, 2020 Changes in this version + const Dockerfile + const PublishConfigFileName + func DisplayDockerLog(w io.Writer, in io.Reader) error + func Publish(ctx context.Context, w io.Writer, images []string, username, password string, ...) error + func PublishImage(ctx context.Context, w io.Writer, image, username, password string, ...) error + func SetRepoManager(rm RepoManager) + type ArtifactoryMvn struct + type ArtifactoryPackage struct + Endpoint string + Md5 string + Password string + Source string + Username string + type ArtifactoryPublisher struct + func (n ArtifactoryPublisher) PostPublish(ctx PublishContext) error + func (n ArtifactoryPublisher) PrePublish(ctx PublishContext) error + func (n ArtifactoryPublisher) Publish(ctx PublishContext) error + type ArtifactorySql struct + type Config struct + Publisher string + Repository string + func ReadConfig(moduleDir string) (c Config, err error) + type DockerConfig struct + Registries []string + Tag string + func ReadDockerConfig(moduleDir string) (c DockerConfig, err error) + type DockerPublisher struct + func (n DockerPublisher) PostPublish(ctx PublishContext) error + func (n DockerPublisher) PrePublish(ctx PublishContext) error + func (n DockerPublisher) Publish(ctx PublishContext) error + type DockerSql struct + type DummyPublisher struct + func (n DummyPublisher) PostPublish(ctx PublishContext) error + func (n DummyPublisher) PrePublish(ctx PublishContext) error + func (n DummyPublisher) Publish(ctx PublishContext) error + type Interface interface + PostPublish func(ctx PublishContext) error + PrePublish func(ctx PublishContext) error + Publish func(ctx PublishContext) error + func GetPublisher(name string) (Interface, error) + type PrepareImage func(ctx PublishContext, client common.DockerClient) ([]string, error) + type PreparePackage func(ctx PublishContext) ([]ArtifactoryPackage, error) + type PublishContext struct + Ctx context.Context + IsStable bool + LogWriter io.Writer + Name string + OutputDir string + Path string + RepoName string + Version string + WorkDir string + type RepoChannel struct + Address string + NoAuth bool + Password string + Username string + func PickChannel(name string, stable bool) (rc RepoChannel, err error) + func PickChannelByAddress(address string, stable bool) (rc RepoChannel, err error) + type RepoManager struct + Repos map[string]Repository + type Repository struct + Name string + Stable *RepoChannel + Unstable *RepoChannel + func PickOne(name string) (r Repository, err error) Other modules containing this package github.com/locngoxuan/buildpack/v2