v1alpha1

package
v0.0.0-...-49d6047 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 3

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

View Source
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

type Condition struct {
	Type   string `json:"type"`
	Status bool   `json:"status"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type DestinationSelector struct {
	MatchLabels map[string]string `json:"matchLabels"`
}

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

func (in *Route) DeepCopy() *Route

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Route) DeepCopyObject

func (in *Route) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Route) FQDN

func (r Route) FQDN() string

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

type RouteDomain struct {
	Name     string `json:"name"`
	Internal bool   `json:"internal"`
}

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

func (in *RouteList) DeepCopy() *RouteList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteList.

func (*RouteList) DeepCopyInto

func (in *RouteList) DeepCopyInto(out *RouteList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RouteList) DeepCopyObject

func (in *RouteList) DeepCopyObject() runtime.Object

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

func (in *RouteSpec) DeepCopy() *RouteSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.

func (*RouteSpec) DeepCopyInto

func (in *RouteSpec) DeepCopyInto(out *RouteSpec)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL