Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the networking.infra.doodle.com v1beta1 API group +kubebuilder:object:generate=true +groupName=networking.infra.doodle.com
Index ¶
Constants ¶
const ( ReadyCondition = "Ready" FrontendServiceNotFoundReason = "FrontendServiceNotFound" BackendServiceNotFoundReason = "BackendServiceNotFound" TCPConfigMapNotFoundReason = "TCPConfigMapNotFound" FailedRegisterFrontendPortReason = "FailedRegisterFrontendPort" FailedRegisterConfigMapPortReason = "FailedRegisterConfigMapPort" BackendPortNotFoundReason = "BackendPortNotFound" NoPortElectedReason = "NoPortElected" PortReadyReason = "PortReady" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "networking.infra.doodle.com", Version: "v1beta1"} // 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 BackendService ¶
type BackendService struct {
// +required
Name string `json:"name"`
// +required
Port intstr.IntOrString `json:"port"`
// +optional
Namespace string `json:"namespace,omitempty"`
}
func (*BackendService) DeepCopy ¶
func (in *BackendService) DeepCopy() *BackendService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendService.
func (*BackendService) DeepCopyInto ¶
func (in *BackendService) DeepCopyInto(out *BackendService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FrontendService ¶
type FrontendService struct {
// +required
Name string `json:"name"`
// +optional
Port string `json:"port"`
// +optional
Namespace string `json:"namespace,omitempty"`
}
func (*FrontendService) DeepCopy ¶
func (in *FrontendService) DeepCopy() *FrontendService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendService.
func (*FrontendService) DeepCopyInto ¶
func (in *FrontendService) DeepCopyInto(out *FrontendService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TCPConfigMap ¶
type TCPConfigMap struct {
// +required
Name string `json:"name"`
// +optional
Namespace string `json:"namespace,omitempty"`
}
func (*TCPConfigMap) DeepCopy ¶
func (in *TCPConfigMap) DeepCopy() *TCPConfigMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPConfigMap.
func (*TCPConfigMap) DeepCopyInto ¶
func (in *TCPConfigMap) DeepCopyInto(out *TCPConfigMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TCPIngressMapping ¶
type TCPIngressMapping struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TCPIngressMappingSpec `json:"spec,omitempty"`
Status TCPIngressMappingStatus `json:"status,omitempty"`
}
TCPIngressMapping is the Schema for the TCPIngressMappings API
func TCPIngressMappingNotReady ¶
func TCPIngressMappingNotReady(clone TCPIngressMapping, reason, message string) TCPIngressMapping
TCPIngressMappingNotReady
func TCPIngressMappingReady ¶
func TCPIngressMappingReady(clone TCPIngressMapping, reason, message string) TCPIngressMapping
TCPIngressMappingReady
func (*TCPIngressMapping) DeepCopy ¶
func (in *TCPIngressMapping) DeepCopy() *TCPIngressMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPIngressMapping.
func (*TCPIngressMapping) DeepCopyInto ¶
func (in *TCPIngressMapping) DeepCopyInto(out *TCPIngressMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TCPIngressMapping) DeepCopyObject ¶
func (in *TCPIngressMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TCPIngressMapping) GetStatusConditions ¶
func (in *TCPIngressMapping) GetStatusConditions() *[]metav1.Condition
GetStatusConditions returns a pointer to the Status.Conditions slice
type TCPIngressMappingList ¶
type TCPIngressMappingList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []TCPIngressMapping `json:"items"`
}
TCPIngressMappingList contains a list of TCPIngressMapping
func (*TCPIngressMappingList) DeepCopy ¶
func (in *TCPIngressMappingList) DeepCopy() *TCPIngressMappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPIngressMappingList.
func (*TCPIngressMappingList) DeepCopyInto ¶
func (in *TCPIngressMappingList) DeepCopyInto(out *TCPIngressMappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TCPIngressMappingList) DeepCopyObject ¶
func (in *TCPIngressMappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TCPIngressMappingSpec ¶
type TCPIngressMappingSpec struct {
// +required
BackendService BackendService `json:"backendService"`
// +optional
FrontendService *FrontendService `json:"frontendService,omitempty"`
// +optional
TCPConfigMap *TCPConfigMap `json:"tcpConfigMap,omitempty"`
}
TCPIngressMappingSpec defines the desired state of TCPIngressMapping
func (*TCPIngressMappingSpec) DeepCopy ¶
func (in *TCPIngressMappingSpec) DeepCopy() *TCPIngressMappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPIngressMappingSpec.
func (*TCPIngressMappingSpec) DeepCopyInto ¶
func (in *TCPIngressMappingSpec) DeepCopyInto(out *TCPIngressMappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TCPIngressMappingStatus ¶
type TCPIngressMappingStatus struct {
// Conditions holds the conditions for the VaultBinding.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// ObservedGeneration is the last generation reconciled by the controller
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// +optional
ElectedPort int32 `json:"electedPort,omitempty"`
}
TCPIngressMappingStatus defines the observed state of TCPIngressMapping
func (*TCPIngressMappingStatus) DeepCopy ¶
func (in *TCPIngressMappingStatus) DeepCopy() *TCPIngressMappingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPIngressMappingStatus.
func (*TCPIngressMappingStatus) DeepCopyInto ¶
func (in *TCPIngressMappingStatus) DeepCopyInto(out *TCPIngressMappingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.