resources

package
v0.13.5 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeDeployment

func MakeDeployment(args ContainerArguments) *appsv1.Deployment

Types

type ContainerArguments

type ContainerArguments struct {
	Source      *v1alpha1.ContainerSource
	Name        string
	Namespace   string
	Template    *corev1.PodTemplateSpec
	Sink        string
	Annotations map[string]string
	Labels      map[string]string

	// TODO(jingweno): The following fields are to be deprecated
	// Use `Template` instead
	Image              string
	Args               []string
	Env                []corev1.EnvVar
	ServiceAccountName string
}

Jump to

Keyboard shortcuts

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