faas-cli: github.com/openfaas/faas-cli/schema/knative/v1alpha1 Index | Files

package v1alpha1

import "github.com/openfaas/faas-cli/schema/knative/v1alpha1"

Index

Package Files

serving.go

Constants

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

type EnvPair Uses

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

type Secret Uses

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

type ServingCRD Uses

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 Uses

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

ServingSpec describe characteristics of the object

type ServingSpecRunLatest Uses

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

type ServingSpecRunLatestConfiguration Uses

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

type ServingSpecRunLatestConfigurationRevisionTemplate Uses

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

type ServingSpecRunLatestConfigurationRevisionTemplateSpec Uses

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

type ServingSpecRunLatestConfigurationRevisionTemplateSpecContainer Uses

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

type Volume Uses

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

type VolumeMount Uses

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

Package v1alpha1 imports 1 packages (graph) and is imported by 2 packages. Updated 2019-05-17. Refresh now. Tools for package owners.