Documentation ¶
Index ¶
- Variables
- func AddToScheme(s *runtime.Scheme) error
- type AWSClassicLoadBalancerParameters
- type AWSLoadBalancerParameters
- type AWSLoadBalancerType
- type AWSNetworkLoadBalancerParameters
- type ConditionStatus
- type EndpointPublishingStrategy
- type EndpointPublishingStrategyType
- type GCPClientAccess
- type GCPLoadBalancerParameters
- type HostNetworkStrategy
- type IngressController
- type IngressControllerList
- type IngressControllerProtocol
- type IngressControllerSpec
- type IngressControllerStatus
- type LoadBalancerProviderType
- type LoadBalancerScope
- type LoadBalancerStrategy
- type NodePlacement
- type NodePortStrategy
- type OperatorCondition
- type PrivateStrategy
- type ProviderLoadBalancerParameters
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "operator.openshift.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme ICSchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( IngressControllerAvailableConditionType = "Available" LoadBalancerManagedIngressConditionType = "LoadBalancerManaged" LoadBalancerReadyIngressConditionType = "LoadBalancerReady" DNSManagedIngressConditionType = "DNSManaged" DNSReadyIngressConditionType = "DNSReady" )
var AddToSchemes runtime.SchemeBuilder
AddToSchemes may be used to add all resources defined in the project to a Scheme
Functions ¶
func AddToScheme ¶
AddToScheme adds all Resources to the Scheme
Types ¶
type AWSLoadBalancerParameters ¶
type AWSLoadBalancerParameters struct { Type AWSLoadBalancerType `json:"type"` ClassicLoadBalancerParameters *AWSClassicLoadBalancerParameters `json:"classicLoadBalancer,omitempty"` NetworkLoadBalancerParameters *AWSNetworkLoadBalancerParameters `json:"networkLoadBalancer,omitempty"` }
type AWSLoadBalancerType ¶
type AWSLoadBalancerType string
const ( AWSClassicLoadBalancer AWSLoadBalancerType = "Classic" AWSNetworkLoadBalancer AWSLoadBalancerType = "NLB" )
type AWSNetworkLoadBalancerParameters ¶
type AWSNetworkLoadBalancerParameters struct { }
type ConditionStatus ¶
type ConditionStatus string
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
type EndpointPublishingStrategy ¶
type EndpointPublishingStrategy struct { Type EndpointPublishingStrategyType `json:"type"` LoadBalancer *LoadBalancerStrategy `json:"loadBalancer,omitempty"` HostNetwork *HostNetworkStrategy `json:"hostNetwork,omitempty"` Private *PrivateStrategy `json:"private,omitempty"` NodePort *NodePortStrategy `json:"nodePort,omitempty"` }
type EndpointPublishingStrategyType ¶
type EndpointPublishingStrategyType string
const ( LoadBalancerServiceStrategyType EndpointPublishingStrategyType = "LoadBalancerService" HostNetworkStrategyType EndpointPublishingStrategyType = "HostNetwork" PrivateStrategyType EndpointPublishingStrategyType = "Private" NodePortServiceStrategyType EndpointPublishingStrategyType = "NodePortService" )
type GCPClientAccess ¶
type GCPClientAccess string
const ( GCPGlobalAccess GCPClientAccess = "Global" GCPLocalAccess GCPClientAccess = "Local" )
type GCPLoadBalancerParameters ¶
type GCPLoadBalancerParameters struct {
ClientAccess GCPClientAccess `json:"clientAccess,omitempty"`
}
type HostNetworkStrategy ¶
type HostNetworkStrategy struct {
Protocol IngressControllerProtocol `json:"protocol,omitempty"`
}
type IngressController ¶
type IngressController struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IngressControllerSpec `json:"spec,omitempty"` Status IngressControllerStatus `json:"status,omitempty"` }
func (*IngressController) DeepCopy ¶
func (in *IngressController) DeepCopy() *IngressController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishingStrategy.
func (*IngressController) DeepCopyInto ¶
func (in *IngressController) DeepCopyInto(out *IngressController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressController) DeepCopyObject ¶
func (in *IngressController) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressControllerList ¶
type IngressControllerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IngressController `json:"items"` }
func (*IngressControllerList) DeepCopy ¶
func (in *IngressControllerList) DeepCopy() *IngressControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishingStrategyList.
func (*IngressControllerList) DeepCopyInto ¶
func (in *IngressControllerList) DeepCopyInto(out *IngressControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressControllerList) DeepCopyObject ¶
func (in *IngressControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressControllerProtocol ¶
type IngressControllerProtocol string
const ( DefaultProtocol IngressControllerProtocol = "" TCPProtocol IngressControllerProtocol = "TCP" ProxyProtocol IngressControllerProtocol = "PROXY" )
type IngressControllerSpec ¶
type IngressControllerSpec struct { DefaultCertificate *corev1.LocalObjectReference `json:"defaultCertificate,omitempty"` NodePlacement *NodePlacement `json:"nodePlacement,omitempty"` Domain string `json:"domain,omitempty"` EndpointPublishingStrategy *EndpointPublishingStrategy `json:"endpointPublishingStrategy,omitempty"` RouteSelector *metav1.LabelSelector `json:"routeSelector,omitempty"` Replicas *int32 `json:"replicas,omitempty"` }
func (*IngressControllerSpec) DeepCopy ¶
func (in *IngressControllerSpec) DeepCopy() *IngressControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishingStrategySpec.
func (*IngressControllerSpec) DeepCopyInto ¶
func (in *IngressControllerSpec) DeepCopyInto(out *IngressControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressControllerStatus ¶
type IngressControllerStatus struct { AvailableReplicas int32 `json:"availableReplicas"` Selector string `json:"selector"` Domain string `json:"domain"` EndpointPublishingStrategy *EndpointPublishingStrategy `json:"endpointPublishingStrategy,omitempty"` Conditions []OperatorCondition `json:"conditions,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
func (*IngressControllerStatus) DeepCopy ¶
func (in *IngressControllerStatus) DeepCopy() *IngressControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishingStrategyStatus.
func (*IngressControllerStatus) DeepCopyInto ¶
func (in *IngressControllerStatus) DeepCopyInto(out *IngressControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerProviderType ¶
type LoadBalancerProviderType string
const ( AWSLoadBalancerProvider LoadBalancerProviderType = "AWS" GCPLoadBalancerProvider LoadBalancerProviderType = "GCP" )
type LoadBalancerScope ¶
type LoadBalancerScope string
var ( InternalLoadBalancer LoadBalancerScope = "Internal" ExternalLoadBalancer LoadBalancerScope = "External" )
type LoadBalancerStrategy ¶
type LoadBalancerStrategy struct { Scope LoadBalancerScope `json:"scope"` ProviderParameters *ProviderLoadBalancerParameters `json:"providerParameters,omitempty"` }
type NodePlacement ¶
type NodePlacement struct { NodeSelector *metav1.LabelSelector `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
type NodePortStrategy ¶
type NodePortStrategy struct {
Protocol IngressControllerProtocol `json:"protocol,omitempty"`
}
type OperatorCondition ¶
type PrivateStrategy ¶
type PrivateStrategy struct { }
type ProviderLoadBalancerParameters ¶
type ProviderLoadBalancerParameters struct { Type LoadBalancerProviderType `json:"type"` AWS *AWSLoadBalancerParameters `json:"aws,omitempty"` GCP *GCPLoadBalancerParameters `json:"gcp,omitempty"` }