v1alpha1

package
v0.0.0-...-3b98878 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersionLatest = "serving.knative.dev/v1alpha1"

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvPair

type EnvPair struct {
	Name  string `yaml:"name"`
	Value string `yaml:"value"`
}

type Secret

type Secret struct {
	SecretName string `yaml:"secretName"`
}

type ServingCRD

type ServingCRD struct {
	//APIVersion CRD API version
	APIVersion string `yaml:"apiVersion"`
	//Kind kind of the object
	Kind     string          `yaml:"kind"`
	Metadata schema.Metadata `yaml:"metadata"`
	Spec     ServingSpec     `yaml:"spec"`
}

ServingCRD root level YAML definition for the object

type ServingSpec

type ServingSpec struct {
	RunLatest ServingSpecRunLatest `yaml:"runLatest"`
}

ServingSpec describe characteristics of the object

type ServingSpecRunLatest

type ServingSpecRunLatest struct {
	Configuration ServingSpecRunLatestConfiguration `yaml:"configuration"`
}

type ServingSpecRunLatestConfiguration

type ServingSpecRunLatestConfiguration struct {
	RevisionTemplate ServingSpecRunLatestConfigurationRevisionTemplate `yaml:"revisionTemplate"`
}

type ServingSpecRunLatestConfigurationRevisionTemplate

type ServingSpecRunLatestConfigurationRevisionTemplate struct {
	Spec ServingSpecRunLatestConfigurationRevisionTemplateSpec `yaml:"spec"`
}

type ServingSpecRunLatestConfigurationRevisionTemplateSpec

type ServingSpecRunLatestConfigurationRevisionTemplateSpec struct {
	Container ServingSpecRunLatestConfigurationRevisionTemplateSpecContainer `yaml:"container"`
	Volumes   []Volume                                                       `yaml:"volumes,omitempty"`
}

type ServingSpecRunLatestConfigurationRevisionTemplateSpecContainer

type ServingSpecRunLatestConfigurationRevisionTemplateSpecContainer struct {
	Image        string        `yaml:"image"`
	Env          []EnvPair     `yaml:"env,omitempty"`
	VolumeMounts []VolumeMount `yaml:"volumeMounts,omitempty"`
}

type Volume

type Volume struct {
	Name   string `yaml:"name"`
	Secret Secret `yaml:"secret"`
}

type VolumeMount

type VolumeMount struct {
	Name      string `yaml:"name"`
	MountPath string `yaml:"mountPath"`
	ReadOnly  bool   `yaml:"readOnly"`
}

Jump to

Keyboard shortcuts

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