Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the routelayer v1 API group. +kubebuilder:object:generate=true +groupName=routelayer.github.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "routelayer.github.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Layer ¶
type Layer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LayerSpec `json:"spec,omitempty"` Status LayerStatus `json:"status,omitempty"` }
Layer is the Schema for the layers API.
func (*Layer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Layer.
func (*Layer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Layer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LayerList ¶
type LayerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Layer `json:"items"` }
LayerList contains a list of Layer.
func (*LayerList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerList.
func (*LayerList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LayerList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LayerService ¶
type LayerService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LayerSpec `json:"spec,omitempty"` Status LayerStatus `json:"status,omitempty"` }
LayerService is the Schema for the layers API.
func (*LayerService) DeepCopy ¶
func (in *LayerService) DeepCopy() *LayerService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerService.
func (*LayerService) DeepCopyInto ¶
func (in *LayerService) DeepCopyInto(out *LayerService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LayerService) DeepCopyObject ¶
func (in *LayerService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LayerServiceList ¶
type LayerServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Layer `json:"items"` }
LayerServiceList contains a list of Layer.
func (*LayerServiceList) DeepCopy ¶
func (in *LayerServiceList) DeepCopy() *LayerServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerServiceList.
func (*LayerServiceList) DeepCopyInto ¶
func (in *LayerServiceList) DeepCopyInto(out *LayerServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LayerServiceList) DeepCopyObject ¶
func (in *LayerServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LayerServiceSpec ¶
type LayerServiceSpec struct { // Reference to the layer must be defined. // +kubebuilder:validation:Required Layer string `json:"layer"` // Host - is the name of the service to route on the basis. // +kubebuilder:validation:Required Host string `json:"host"` // Labels optional labels to defined // When defined they will be used to create an istio DestinationRule with subsets // -- see https://istio.io/latest/docs/reference/config/networking/virtual-service/#Destination Labels map[string]string `json:"labels,omitempty"` // Destination - optional destination (must be different from the host) // Either Destination or Labels must be specified. Destination string `json:"destination,omitempty"` }
LayerServiceSpec defines the desired state of Layer.
func (*LayerServiceSpec) DeepCopy ¶
func (in *LayerServiceSpec) DeepCopy() *LayerServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerServiceSpec.
func (*LayerServiceSpec) DeepCopyInto ¶
func (in *LayerServiceSpec) DeepCopyInto(out *LayerServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LayerServiceStatus ¶
type LayerServiceStatus struct { // Current state of the layerservice // TODO insert known FSM's, State string `json:"state,omitempty"` }
func (*LayerServiceStatus) DeepCopy ¶
func (in *LayerServiceStatus) DeepCopy() *LayerServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerServiceStatus.
func (*LayerServiceStatus) DeepCopyInto ¶
func (in *LayerServiceStatus) DeepCopyInto(out *LayerServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LayerSpec ¶
type LayerSpec struct { // Layers can be ordered into tree topology // Layers at the same node-level - are alternates // if unspecified, the layer is a child of the root layer Parent string `json:"parent,omitempty"` }
LayerSpec defines the desired state of Layer.
func (*LayerSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerSpec.
func (*LayerSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LayerStatus ¶
type LayerStatus struct { // Current state of the layer // TODO insert known FSM's, State string `json:"state,omitempty"` Message string `json:"message,omitempty"` }
LayerStatus defines the observed state of Layer.
func (*LayerStatus) DeepCopy ¶
func (in *LayerStatus) DeepCopy() *LayerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LayerStatus.
func (*LayerStatus) DeepCopyInto ¶
func (in *LayerStatus) DeepCopyInto(out *LayerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.