resources

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 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