Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the ingress v1 API group +kubebuilder:object:generate=true +groupName=ingress.toroponz.io
Index ¶
- Variables
- type ComparePolicy
- type CompareType
- type DynamicIngress
- type DynamicIngressExpected
- type DynamicIngressList
- type DynamicIngressSpec
- type DynamicIngressState
- type DynamicIngressStateList
- type DynamicIngressStateProbe
- type DynamicIngressStateResponse
- type DynamicIngressStateSpec
- type DynamicIngressStateStatus
- type DynamicIngressStateStatusValue
- type DynamicIngressStatus
- type DynamicIngressStatusCondition
- type DynamicIngressStatusValue
- type DynamicIngressTargetIngressTemplate
- type DynamicIngressTargetIngressTemplateMetadata
- type DynamicIngressTemplate
- type FailurePolicy
- type ProbeType
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ingress.toroponz.io", 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 ComparePolicy ¶
type ComparePolicy string
+kubebuilder:validation:Enum=strict;contains
const ( ComparePolicyStrict ComparePolicy = "strict" ComparePolicyContains ComparePolicy = "contains" )
type CompareType ¶
type CompareType string
+kubebuilder:validation:Enum=plaintext;json
const ( CompareTypePlaintext CompareType = "plaintext" CompareTypeJson CompareType = "json" )
type DynamicIngress ¶
type DynamicIngress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DynamicIngressSpec `json:"spec,omitempty"` Status *DynamicIngressStatus `json:"status,omitempty"` }
DynamicIngress is the Schema for the dynamicingresses API
func (*DynamicIngress) DeepCopy ¶
func (in *DynamicIngress) DeepCopy() *DynamicIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicIngress.
func (*DynamicIngress) DeepCopyInto ¶
func (in *DynamicIngress) DeepCopyInto(out *DynamicIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicIngress) DeepCopyObject ¶
func (in *DynamicIngress) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DynamicIngressExpected ¶
type DynamicIngressExpected struct { Body string `json:"body"` CompareType CompareType `json:"compareType"` // +kubebuilder:default=strict ComparePolicy ComparePolicy `json:"comparePolicy"` }
type DynamicIngressList ¶
type DynamicIngressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DynamicIngress `json:"items"` }
DynamicIngressList contains a list of DynamicIngress
func (*DynamicIngressList) DeepCopy ¶
func (in *DynamicIngressList) DeepCopy() *DynamicIngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicIngressList.
func (*DynamicIngressList) DeepCopyInto ¶
func (in *DynamicIngressList) DeepCopyInto(out *DynamicIngressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicIngressList) DeepCopyObject ¶
func (in *DynamicIngressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DynamicIngressSpec ¶
type DynamicIngressSpec struct { Target string `json:"target"` // +optional PassiveIngress *DynamicIngressTemplate `json:"passiveIngress,omitempty"` // +optional ActiveIngress *DynamicIngressTemplate `json:"activeIngress,omitempty"` State string `json:"state"` SuccessfulStatus int `json:"successfulStatus"` // +kubebuilder:default=retain FailurePolicy FailurePolicy `json:"failurePolicy,omitempty"` ExpectedResponse DynamicIngressExpected `json:"expectedResponse"` }
DynamicIngressSpec defines the desired state of DynamicIngress
func (*DynamicIngressSpec) DeepCopy ¶
func (in *DynamicIngressSpec) DeepCopy() *DynamicIngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicIngressSpec.
func (*DynamicIngressSpec) DeepCopyInto ¶
func (in *DynamicIngressSpec) DeepCopyInto(out *DynamicIngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicIngressState ¶
type DynamicIngressState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DynamicIngressStateSpec `json:"spec,omitempty"` Status *DynamicIngressStateStatus `json:"status,omitempty"` }
DynamicIngressState is the Schema for the dynamicingressstates API
func (*DynamicIngressState) DeepCopy ¶
func (in *DynamicIngressState) DeepCopy() *DynamicIngressState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicIngressState.
func (*DynamicIngressState) DeepCopyInto ¶
func (in *DynamicIngressState) DeepCopyInto(out *DynamicIngressState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicIngressState) DeepCopyObject ¶
func (in *DynamicIngressState) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DynamicIngressStateList ¶
type DynamicIngressStateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DynamicIngressState `json:"items"` }
DynamicIngressStateList contains a list of DynamicIngressState
func (*DynamicIngressStateList) DeepCopy ¶
func (in *DynamicIngressStateList) DeepCopy() *DynamicIngressStateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicIngressStateList.
func (*DynamicIngressStateList) DeepCopyInto ¶
func (in *DynamicIngressStateList) DeepCopyInto(out *DynamicIngressStateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicIngressStateList) DeepCopyObject ¶
func (in *DynamicIngressStateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DynamicIngressStateSpec ¶
type DynamicIngressStateSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file FixedResponse *DynamicIngressStateResponse `json:"fixedResponse,omitempty"` Probe *DynamicIngressStateProbe `json:"probe,omitempty"` }
DynamicIngressStateSpec defines the desired state of DynamicIngressState
func (*DynamicIngressStateSpec) DeepCopy ¶
func (in *DynamicIngressStateSpec) DeepCopy() *DynamicIngressStateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicIngressStateSpec.
func (*DynamicIngressStateSpec) DeepCopyInto ¶
func (in *DynamicIngressStateSpec) DeepCopyInto(out *DynamicIngressStateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicIngressStateStatus ¶
type DynamicIngressStateStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Value DynamicIngressStateStatusValue `json:"value"` Response *DynamicIngressStateResponse `json:"response"` LastUpdateTime metav1.Time `json:"lastUpdateTime"` }
DynamicIngressStateStatus defines the observed state of DynamicIngressState
func (*DynamicIngressStateStatus) DeepCopy ¶
func (in *DynamicIngressStateStatus) DeepCopy() *DynamicIngressStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicIngressStateStatus.
func (*DynamicIngressStateStatus) DeepCopyInto ¶
func (in *DynamicIngressStateStatus) DeepCopyInto(out *DynamicIngressStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicIngressStateStatusValue ¶
type DynamicIngressStateStatusValue string
+kubebuilder:validation:Enum=Healthy;Error
const ( DynamicIngressStateStatusValueHealthy DynamicIngressStateStatusValue = "Healthy" DynamicIngressStateStatusValueError DynamicIngressStateStatusValue = "Error" )
type DynamicIngressStatus ¶
type DynamicIngressStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Value DynamicIngressStatusValue `json:"value,omitempty"` Condition DynamicIngressStatusCondition `json:"condition,omitempty"` }
DynamicIngressStatus defines the observed state of DynamicIngress
func (*DynamicIngressStatus) DeepCopy ¶
func (in *DynamicIngressStatus) DeepCopy() *DynamicIngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicIngressStatus.
func (*DynamicIngressStatus) DeepCopyInto ¶
func (in *DynamicIngressStatus) DeepCopyInto(out *DynamicIngressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicIngressStatusCondition ¶
type DynamicIngressStatusCondition string
const ( DynamicIngressStatusConditionPassive DynamicIngressStatusCondition = "Passive" DynamicIngressStatusConditionActive DynamicIngressStatusCondition = "Active" DynamicIngressStatusConditionError DynamicIngressStatusCondition = "Error" )
type DynamicIngressStatusValue ¶
type DynamicIngressStatusValue string
const ( DynamicIngressHealthy DynamicIngressStatusValue = "Healthy" DynamicIngressError DynamicIngressStatusValue = "Error" )
type DynamicIngressTargetIngressTemplate ¶
type DynamicIngressTargetIngressTemplate struct { Metadata DynamicIngressTargetIngressTemplateMetadata `json:"metadata"` Spec networkingv1.IngressSpec `json:"spec"` }
type DynamicIngressTemplate ¶
type DynamicIngressTemplate struct {
Template DynamicIngressTargetIngressTemplate `json:"template"`
}
type FailurePolicy ¶
type FailurePolicy string
+kubebuilder:validation:Enum=retain;passive;active
const ( FailurePolicyRetain FailurePolicy = "retain" FailurePolicyPassive FailurePolicy = "passive" FailurePolicyActive FailurePolicy = "active" )