Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the egress-proxy v1alpha1 API group +kubebuilder:object:generate=true +groupName=egress-proxy.barpilot.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "egress-proxy.barpilot.io", 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 Action ¶
type Action struct { Reroute string `json:"reroute,omitempty"` Block bool `json:"block,omitempty"` }
func (*Action) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action.
func (*Action) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { DestinationHosts []string `json:"destinations,omitempty"` Urls URL `json:"urls,omitempty"` SourceEndpoints string `json:"sourceEndpoints,omitempty"` }
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 Request ¶
type Request struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RequestSpec `json:"spec,omitempty"` Status RequestStatus `json:"status,omitempty"` }
Request is the Schema for the requests API
func (*Request) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Request.
func (*Request) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Request) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RequestList ¶
type RequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Request `json:"items"` }
RequestList contains a list of Request
func (*RequestList) DeepCopy ¶
func (in *RequestList) DeepCopy() *RequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestList.
func (*RequestList) DeepCopyInto ¶
func (in *RequestList) DeepCopyInto(out *RequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RequestList) DeepCopyObject ¶
func (in *RequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RequestSpec ¶
type RequestSpec struct { Condition Condition `json:"condition,omitempty"` Action Action `json:"action,omitempty"` }
RequestSpec defines the desired state of Request
func (*RequestSpec) DeepCopy ¶
func (in *RequestSpec) DeepCopy() *RequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestSpec.
func (*RequestSpec) DeepCopyInto ¶
func (in *RequestSpec) DeepCopyInto(out *RequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequestStatus ¶
type RequestStatus struct { }
RequestStatus defines the observed state of Request
func (*RequestStatus) DeepCopy ¶
func (in *RequestStatus) DeepCopy() *RequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestStatus.
func (*RequestStatus) DeepCopyInto ¶
func (in *RequestStatus) DeepCopyInto(out *RequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type URL ¶
type URL struct { Prefixes []string `json:"prefixes,omitempty"` Matches []string `json:"matches,omitempty"` Are []string `json:"are,omitempty"` }
func (*URL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URL.
func (*URL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.