Documentation ¶
Overview ¶
Package virtual_service implements a kustomize function for configuring virtual services
Index ¶
Constants ¶
View Source
const ( Kind = "VirtualServiceTransform" APIVersion = "kubeflow.org/v1alpha1" VSKind = "VirtualService" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Metadata ¶
type Metadata struct { // Name is the name of the ImagePrefix Resources Name string `yaml:"name"` // Namespace is the namespace of the ImagePrefix Resources Namespace string `yaml:"namespace"` // Labels are labels applied to the ImagePrefix Resources Labels map[string]string `yaml:"labels"` // Annotations are annotations applied to the ImagePrefix Resources Annotations map[string]string `yaml:"annotations"` }
type Spec ¶
type Spec struct { // Gateway is the gateway to use for all virtual services Gateway string `yaml:"gateway"` }
type VirtualServiceFunction ¶
type VirtualServiceFunction struct { // Kind is the API name. Must be ImagePrefix. Kind string `yaml:"kind"` // APIVersion is the API version. Must be examples.kpt.dev/v1alpha1 APIVersion string `yaml:"apiVersion"` // Metadata defines instance metadata. Metadata Metadata `yaml:"metadata"` // Spec defines the desired declarative configuration. Spec Spec `yaml:"spec"` }
VirtualServiceFunction implements the ImagePrefix Function
Click to show internal directories.
Click to hide internal directories.