apps

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed Dockerfile nginx.conf entrypoint.sh
	GitServerFS embed.FS

	//go:embed srv/*
	EmbeddedAppsFS embed.FS

	EmbedApps = []EmbedApp{{
		Name: "argocd",
		Path: "argocd",
	}, {
		Name: "backstage",
		Path: "backstage",
	}, {
		Name: "crossplane",
		Path: "crossplane",
	}, {
		Name: "nginx-ingress",
		Path: "nginx-ingress",
	}}
)

Functions

func BuildAppsImage

func BuildAppsImage(ctx context.Context, client *dockerClient.Client, tags []string, labels map[string]string, appsFS fs.FS) (*string, error)

func GetAppsFS

func GetAppsFS() (fs.FS, error)

func PushImage

func PushImage(ctx context.Context, client *dockerClient.Client, tag string) (*string, error)

Types

type EmbedApp

type EmbedApp struct {
	Name string
	Path string
}

Jump to

Keyboard shortcuts

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