ingresscontroller

package
v0.0.0-...-3420c2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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}
)
View Source
var (
	IngressControllerAvailableConditionType = "Available"
	LoadBalancerManagedIngressConditionType = "LoadBalancerManaged"
	LoadBalancerReadyIngressConditionType   = "LoadBalancerReady"
	DNSManagedIngressConditionType          = "DNSManaged"
	DNSReadyIngressConditionType            = "DNSReady"
)
View Source
var AddToSchemes runtime.SchemeBuilder

AddToSchemes may be used to add all resources defined in the project to a Scheme

Functions

func AddToScheme

func AddToScheme(s *runtime.Scheme) error

AddToScheme adds all Resources to the Scheme

Types

type AWSClassicLoadBalancerParameters

type AWSClassicLoadBalancerParameters struct {
	ConnectionIdleTimeout metav1.Duration `json:"connectionIdleTimeout,omitempty"`
}

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

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

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

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 OperatorCondition struct {
	Type               string          `json:"type"`
	Status             ConditionStatus `json:"status"`
	LastTransitionTime metav1.Time     `json:"lastTransitionTime,omitempty"`
	Reason             string          `json:"reason,omitempty"`
	Message            string          `json:"message,omitempty"`
}

type PrivateStrategy

type PrivateStrategy struct {
}

type ProviderLoadBalancerParameters

type ProviderLoadBalancerParameters struct {
	Type LoadBalancerProviderType   `json:"type"`
	AWS  *AWSLoadBalancerParameters `json:"aws,omitempty"`
	GCP  *GCPLoadBalancerParameters `json:"gcp,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL