Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cloudingress.managed.openshift.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=cloudingress.managed.openshift.io
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type APIScheme
- type APISchemeCondition
- type APISchemeConditionType
- type APISchemeList
- type APISchemeSpec
- type APISchemeStatus
- type ApplicationIngress
- type DefaultAPIServerIngress
- type Listening
- type ManagementAPIServerIngress
- type PublishingStrategy
- type PublishingStrategyList
- type PublishingStrategySpec
- type PublishingStrategyStatus
- type Type
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cloudingress.managed.openshift.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 ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type APIScheme ¶
type APIScheme struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec APISchemeSpec `json:"spec"`
Status APISchemeStatus `json:"status,omitempty"`
}
APIScheme is the Schema for the apischemes API
func (*APIScheme) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIScheme.
func (*APIScheme) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIScheme) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APISchemeCondition ¶
type APISchemeCondition struct {
// Type is the type of condition
Type APISchemeConditionType `json:"type,omitempty"`
// LastTransitionTime Last change to status
LastTransitionTime metav1.Time `json:"lastTransitionTime"`
// LastProbeTime last time probed
LastProbeTime metav1.Time `json:"lastProbeTime"`
// AllowedCIDRBlocks currently allowed (as of the last successful Security Group update)
AllowedCIDRBlocks []string `json:"allowedCIDRBlocks,omitempty"`
// Reason is why we're making this status change
Reason string `json:"reason"`
// Message is an English text
Message string `json:"message"`
// Status
Status corev1.ConditionStatus `json:"status"`
}
APISchemeCondition is the history of transitions
func (*APISchemeCondition) DeepCopy ¶
func (in *APISchemeCondition) DeepCopy() *APISchemeCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISchemeCondition.
func (*APISchemeCondition) DeepCopyInto ¶
func (in *APISchemeCondition) DeepCopyInto(out *APISchemeCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APISchemeConditionType ¶
type APISchemeConditionType string
APISchemeConditionType - APISchemeConditionType
const ( ConditionError APISchemeConditionType = "Error" ConditionReady APISchemeConditionType = "Ready" )
type APISchemeList ¶
type APISchemeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []APIScheme `json:"items"`
}
APISchemeList contains a list of APIScheme
func (*APISchemeList) DeepCopy ¶
func (in *APISchemeList) DeepCopy() *APISchemeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISchemeList.
func (*APISchemeList) DeepCopyInto ¶
func (in *APISchemeList) DeepCopyInto(out *APISchemeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APISchemeList) DeepCopyObject ¶
func (in *APISchemeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APISchemeSpec ¶
type APISchemeSpec struct {
// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
ManagementAPIServerIngress ManagementAPIServerIngress `json:"managementAPIServerIngress"`
}
APISchemeSpec defines the desired state of APIScheme
func (*APISchemeSpec) DeepCopy ¶
func (in *APISchemeSpec) DeepCopy() *APISchemeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISchemeSpec.
func (*APISchemeSpec) DeepCopyInto ¶
func (in *APISchemeSpec) DeepCopyInto(out *APISchemeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APISchemeStatus ¶
type APISchemeStatus struct {
// Important: Run "make" to regenerate code after modifying this file
CloudLoadBalancerDNSName string `json:"cloudLoadBalancerDNSName,omitempty"`
Conditions []APISchemeCondition `json:"conditions,omitempty"`
State APISchemeConditionType `json:"state,omitempty"`
}
APISchemeStatus defines the observed state of APIScheme
func (*APISchemeStatus) DeepCopy ¶
func (in *APISchemeStatus) DeepCopy() *APISchemeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISchemeStatus.
func (*APISchemeStatus) DeepCopyInto ¶
func (in *APISchemeStatus) DeepCopyInto(out *APISchemeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationIngress ¶
type ApplicationIngress struct {
// Listening defines application ingress as internal or external
Listening Listening `json:"listening,omitempty"`
// Default defines default value of ingress when cluster installs
Default bool `json:"default"`
DNSName string `json:"dnsName"`
Certificate corev1.SecretReference `json:"certificate"`
RouteSelector metav1.LabelSelector `json:"routeSelector,omitempty"`
Type Type `json:"type,omitempty"`
}
ApplicationIngress defines application ingress
func (*ApplicationIngress) DeepCopy ¶
func (in *ApplicationIngress) DeepCopy() *ApplicationIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationIngress.
func (*ApplicationIngress) DeepCopyInto ¶
func (in *ApplicationIngress) DeepCopyInto(out *ApplicationIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultAPIServerIngress ¶
type DefaultAPIServerIngress struct {
// Listening defines internal or external ingress
Listening Listening `json:"listening,omitempty"`
}
DefaultAPIServerIngress defines API ingress
func (*DefaultAPIServerIngress) DeepCopy ¶
func (in *DefaultAPIServerIngress) DeepCopy() *DefaultAPIServerIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultAPIServerIngress.
func (*DefaultAPIServerIngress) DeepCopyInto ¶
func (in *DefaultAPIServerIngress) DeepCopyInto(out *DefaultAPIServerIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementAPIServerIngress ¶
type ManagementAPIServerIngress struct {
// Enabled to create the Management API endpoint or not.
Enabled bool `json:"enabled"`
// DNSName is the name that should be used for DNS of the management API, eg rh-api
DNSName string `json:"dnsName"`
// AllowedCIDRBlocks is the list of CIDR blocks that should be allowed to access the management API
AllowedCIDRBlocks []string `json:"allowedCIDRBlocks"`
}
ManagementAPIServerIngress defines the Management API ingress
func (*ManagementAPIServerIngress) DeepCopy ¶
func (in *ManagementAPIServerIngress) DeepCopy() *ManagementAPIServerIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementAPIServerIngress.
func (*ManagementAPIServerIngress) DeepCopyInto ¶
func (in *ManagementAPIServerIngress) DeepCopyInto(out *ManagementAPIServerIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublishingStrategy ¶
type PublishingStrategy struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec PublishingStrategySpec `json:"spec"`
Status PublishingStrategyStatus `json:"status,omitempty"`
}
PublishingStrategy is the Schema for the publishingstrategies API
func (*PublishingStrategy) DeepCopy ¶
func (in *PublishingStrategy) DeepCopy() *PublishingStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishingStrategy.
func (*PublishingStrategy) DeepCopyInto ¶
func (in *PublishingStrategy) DeepCopyInto(out *PublishingStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublishingStrategy) DeepCopyObject ¶
func (in *PublishingStrategy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublishingStrategyList ¶
type PublishingStrategyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []PublishingStrategy `json:"items"`
}
PublishingStrategyList contains a list of PublishingStrategy
func (*PublishingStrategyList) DeepCopy ¶
func (in *PublishingStrategyList) DeepCopy() *PublishingStrategyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishingStrategyList.
func (*PublishingStrategyList) DeepCopyInto ¶
func (in *PublishingStrategyList) DeepCopyInto(out *PublishingStrategyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublishingStrategyList) DeepCopyObject ¶
func (in *PublishingStrategyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublishingStrategySpec ¶
type PublishingStrategySpec struct {
// DefaultAPIServerIngress defines whether API is internal or external
DefaultAPIServerIngress DefaultAPIServerIngress `json:"defaultAPIServerIngress"`
//ApplicationIngress defines whether application ingress is internal or external
ApplicationIngress []ApplicationIngress `json:"applicationIngress"`
}
PublishingStrategySpec defines the desired state of PublishingStrategy
func (*PublishingStrategySpec) DeepCopy ¶
func (in *PublishingStrategySpec) DeepCopy() *PublishingStrategySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishingStrategySpec.
func (*PublishingStrategySpec) DeepCopyInto ¶
func (in *PublishingStrategySpec) DeepCopyInto(out *PublishingStrategySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublishingStrategyStatus ¶
type PublishingStrategyStatus struct {
}
PublishingStrategyStatus defines the observed state of PublishingStrategy
func (*PublishingStrategyStatus) DeepCopy ¶
func (in *PublishingStrategyStatus) DeepCopy() *PublishingStrategyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishingStrategyStatus.
func (*PublishingStrategyStatus) DeepCopyInto ¶
func (in *PublishingStrategyStatus) DeepCopyInto(out *PublishingStrategyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.