Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the networking v1alpha1 API group +kubebuilder:object:generate=true +groupName=networking.backmarket.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "networking.backmarket.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 IngressTemplateMetadata ¶
type IngressTemplateMetadata struct { // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. May match selectors of replication controllers // and services. // More info: http://kubernetes.io/docs/user-guide/labels // +optional Labels map[string]string `json:"labels,omitempty"` // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. They are not // queryable and should be preserved when modifying objects. // More info: http://kubernetes.io/docs/user-guide/annotations // +optional Annotations map[string]string `json:"annotations,omitempty"` }
IngressTemplateMetadata defines the metadata that should be added to the instantiated Ingress resources. It only contains vetted fields of metadata: the other usual fields are managed by the RandomIngress operator.
func (*IngressTemplateMetadata) DeepCopy ¶
func (in *IngressTemplateMetadata) DeepCopy() *IngressTemplateMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTemplateMetadata.
func (*IngressTemplateMetadata) DeepCopyInto ¶
func (in *IngressTemplateMetadata) DeepCopyInto(out *IngressTemplateMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressTemplateSpec ¶
type IngressTemplateSpec struct { // Metadata to add to the ingresses created from this template. // +optional Metadata IngressTemplateMetadata `json:"metadata,omitempty"` // Specification of the desired Ingress object to instantiate. // +optional Spec networkingv1.IngressSpec `json:"spec,omitempty"` }
IngressTemplate defines the template that should be used to instantiate the Ingress resource.
func (*IngressTemplateSpec) DeepCopy ¶
func (in *IngressTemplateSpec) DeepCopy() *IngressTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTemplateSpec.
func (*IngressTemplateSpec) DeepCopyInto ¶
func (in *IngressTemplateSpec) DeepCopyInto(out *IngressTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RandomIngress ¶
type RandomIngress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RandomIngressSpec `json:"spec,omitempty"` Status RandomIngressStatus `json:"status,omitempty"` }
RandomIngress is the Schema for the randomingresses API
func (*RandomIngress) DeepCopy ¶
func (in *RandomIngress) DeepCopy() *RandomIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RandomIngress.
func (*RandomIngress) DeepCopyInto ¶
func (in *RandomIngress) DeepCopyInto(out *RandomIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RandomIngress) DeepCopyObject ¶
func (in *RandomIngress) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RandomIngressCondition ¶
type RandomIngressCondition struct { // Type of deployment condition. Type RandomIngressConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // The last time this condition was updated. LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty"` }
RandomIngressCondition represents an observation on the current state of the randomingress.
func (*RandomIngressCondition) DeepCopy ¶
func (in *RandomIngressCondition) DeepCopy() *RandomIngressCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RandomIngressCondition.
func (*RandomIngressCondition) DeepCopyInto ¶
func (in *RandomIngressCondition) DeepCopyInto(out *RandomIngressCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RandomIngressConditionType ¶
type RandomIngressConditionType string
RandomIngressConditionType enumerates the possible conditions of a randomingress. +kubebuilder:validation:Enum=Valid;Progressing
const ( // Valid means the randomingress spec passes validation. RandomIngressValid RandomIngressConditionType = "Valid" // Progressing means the randomingress is currently changing the managed ingress. RandomIngressProgressing RandomIngressConditionType = "Progressing" )
type RandomIngressList ¶
type RandomIngressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RandomIngress `json:"items"` }
RandomIngressList contains a list of RandomIngress
func (*RandomIngressList) DeepCopy ¶
func (in *RandomIngressList) DeepCopy() *RandomIngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RandomIngressList.
func (*RandomIngressList) DeepCopyInto ¶
func (in *RandomIngressList) DeepCopyInto(out *RandomIngressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RandomIngressList) DeepCopyObject ¶
func (in *RandomIngressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RandomIngressSpec ¶
type RandomIngressSpec struct {
IngressTemplate IngressTemplateSpec `json:"ingressTemplate"`
}
RandomIngressSpec defines the desired state of RandomIngress
func (*RandomIngressSpec) DeepCopy ¶
func (in *RandomIngressSpec) DeepCopy() *RandomIngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RandomIngressSpec.
func (*RandomIngressSpec) DeepCopyInto ¶
func (in *RandomIngressSpec) DeepCopyInto(out *RandomIngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RandomIngressStatus ¶
type RandomIngressStatus struct { // Represents the latest available observations of a randomingress's current state. // +optional Conditions []RandomIngressCondition `json:"conditions,omitempty"` // NextRenewalTime tells the latest time at which the controller will delete the managed Ingress // and create a new one with a new random part. // +optional NextRenewalTime *metav1.Time `json:"nextRenewalTime,omitempty"` }
RandomIngressStatus defines the observed state of RandomIngress
func (*RandomIngressStatus) DeepCopy ¶
func (in *RandomIngressStatus) DeepCopy() *RandomIngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RandomIngressStatus.
func (*RandomIngressStatus) DeepCopyInto ¶
func (in *RandomIngressStatus) DeepCopyInto(out *RandomIngressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.