kpack

package
v0.0.0-...-9dc1f63 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(file string, name string) error

func CreateBuild

func CreateBuild(ctx context.Context, cl client.Client, build *v1alpha2.Build) (string, error)

func DeleteBuild

func DeleteBuild(ctx context.Context, cl client.Client, namespace string, name string)

func GetBuildStatus

func GetBuildStatus(ctx context.Context, cl client.Client, namespace string, name string) (string, string, string, error)

func GetClusterBuilderStatus

func GetClusterBuilderStatus(ctx context.Context, cl client.Client, name string) (string, string, error)

func KeyValueArray

func KeyValueArray(vars map[string]string) []corev1.EnvVar

func StreamPodLogs

func StreamPodLogs(ctx context.Context, clientSet *kubernetes.Clientset, namespace string, podName string)

func WaitForBuildToComplete

func WaitForBuildToComplete(ctx context.Context, cl client.Client, namespace string, name string) (string, error)

func WaitForBuildToStart

func WaitForBuildToStart(ctx context.Context, cl client.Client, clientset *kubernetes.Clientset, namespace string, name string) error

Types

type Config

type Config struct {
	CaCert    string
	Token     string
	Server    string
	Namespace string

	GitServer string
	GitRepo   string
	GitSha    string

	Tag                string
	Env                string
	ServiceAccountName string
	ClusterBuilderName string
	Timeout            int64

	ActionOutput string
	Cleanup      bool
}

func (*Config) Build

func (c *Config) Build() error

Jump to

Keyboard shortcuts

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