Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the networking v1alpha1 API group +kubebuilder:object:generate=true +groupName=networking.cloudfoundry.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "networking.cloudfoundry.org", Version: "v1alpha1"} // 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 AppProcess ¶
type AppProcess struct {
Type string `json:"type"`
}
func (*AppProcess) DeepCopy ¶
func (in *AppProcess) DeepCopy() *AppProcess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppProcess.
func (*AppProcess) DeepCopyInto ¶
func (in *AppProcess) DeepCopyInto(out *AppProcess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationApp ¶
type DestinationApp struct {
Guid string `json:"guid"`
Process AppProcess `json:"process"`
}
func (*DestinationApp) DeepCopy ¶
func (in *DestinationApp) DeepCopy() *DestinationApp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationApp.
func (*DestinationApp) DeepCopyInto ¶
func (in *DestinationApp) DeepCopyInto(out *DestinationApp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationSelector ¶
func (*DestinationSelector) DeepCopy ¶
func (in *DestinationSelector) DeepCopy() *DestinationSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationSelector.
func (*DestinationSelector) DeepCopyInto ¶
func (in *DestinationSelector) DeepCopyInto(out *DestinationSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RouteSpec `json:"spec,omitempty"`
Status RouteStatus `json:"status,omitempty"`
}
Route is the Schema for the routes API +kubebuilder:printcolumn:name="URL",type=string,JSONPath=`.spec.url` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Route) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteDestination ¶
type RouteDestination struct {
Guid string `json:"guid"`
Weight *int `json:"weight,omitempty"`
Port *int `json:"port"`
App DestinationApp `json:"app"`
Selector DestinationSelector `json:"selector"`
}
func (*RouteDestination) DeepCopy ¶
func (in *RouteDestination) DeepCopy() *RouteDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteDestination.
func (*RouteDestination) DeepCopyInto ¶
func (in *RouteDestination) DeepCopyInto(out *RouteDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteDomain ¶
func (*RouteDomain) DeepCopy ¶
func (in *RouteDomain) DeepCopy() *RouteDomain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteDomain.
func (*RouteDomain) DeepCopyInto ¶
func (in *RouteDomain) DeepCopyInto(out *RouteDomain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteList ¶
type RouteList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Route `json:"items"`
}
RouteList contains a list of Route
func (*RouteList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteList.
func (*RouteList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteSpec ¶
type RouteSpec struct {
Host string `json:"host"`
Path string `json:"path,omitempty"`
Url string `json:"url"`
Domain RouteDomain `json:"domain"`
Destinations []RouteDestination `json:"destinations"`
}
RouteSpec defines the desired state of Route
func (*RouteSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
func (*RouteSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteStatus ¶
type RouteStatus struct {
Conditions []Condition `json:"conditions"`
}
RouteStatus defines the observed state of Route
func (*RouteStatus) DeepCopy ¶
func (in *RouteStatus) DeepCopy() *RouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteStatus.
func (*RouteStatus) DeepCopyInto ¶
func (in *RouteStatus) DeepCopyInto(out *RouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.