deploy

package
v0.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SyntheticAppPortName      = "web"
	SyntheticAppContainerName = "go-synthetic"
)

Variables

This section is empty.

Functions

func CreateGCPSecretResources

func CreateGCPSecretResources(ctx context.Context, kubeClient client.Client, namespace string, serviceAccount []byte) error

func CreateResources

func CreateResources(ctx context.Context, kubeClient client.Client, deployOpts ...DeployOption) error

func OperatorLogs

func OperatorLogs(ctx context.Context, kubeClient client.Client, clientSet kubernetes.Interface, operatorNamespace string) (string, error)

OperatorLogs returns the operator pods logs.

func SyntheticAppResources

func SyntheticAppResources(scheme *runtime.Scheme) (*appsv1.Deployment, *corev1.Service, error)

func WaitForOperatorReady

func WaitForOperatorReady(ctx context.Context, kubeClient client.Client) error

Types

type DeployOption

type DeployOption func(*deployOptions)

func WithDisableGCM

func WithDisableGCM(disableGCM bool) DeployOption

func WithMeta

func WithMeta(projectID, cluster, location string) DeployOption

func WithOperatorNamespace

func WithOperatorNamespace(namespace string) DeployOption

func WithPublicNamespace

func WithPublicNamespace(namespace string) DeployOption

Jump to

Keyboard shortcuts

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