v1

package
v0.0.0-...-6de492c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

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

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 ServingServiceCRD

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

ServingServiceCRD root level YAML definition for the object

type ServingServiceSpec

type ServingServiceSpec struct {
	ServingServiceSpecTemplate `yaml:"template"`
}

type ServingServiceSpecTemplate

type ServingServiceSpecTemplate struct {
	Template ServingServiceSpecTemplateSpec `yaml:"spec"`
}

type ServingServiceSpecTemplateSpec

type ServingServiceSpecTemplateSpec struct {
	Containers []ServingSpecContainersContainerSpec `yaml:"containers"`
	Volumes    []Volume                             `yaml:"volumes,omitempty"`
}

type ServingSpecContainersContainerSpec

type ServingSpecContainersContainerSpec 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