Documentation ¶
Index ¶
- Constants
- type EnvPair
- type Secret
- type ServingCRD
- type ServingSpec
- type ServingSpecRunLatest
- type ServingSpecRunLatestConfiguration
- type ServingSpecRunLatestConfigurationRevisionTemplate
- type ServingSpecRunLatestConfigurationRevisionTemplateSpec
- type ServingSpecRunLatestConfigurationRevisionTemplateSpecContainer
- type Volume
- type VolumeMount
Constants ¶
View Source
const APIVersionLatest = "serving.knative.dev/v1alpha1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 VolumeMount ¶
Click to show internal directories.
Click to hide internal directories.