v1alpha1

package
v0.0.0-...-7938a71 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

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

Constants

This section is empty.

Variables

View Source
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

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

func (in *APIScheme) DeepCopy() *APIScheme

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIScheme.

func (*APIScheme) DeepCopyInto

func (in *APIScheme) DeepCopyInto(out *APIScheme)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*APIScheme) DeepCopyObject

func (in *APIScheme) DeepCopyObject() runtime.Object

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

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 Listening

type Listening string

Listening defines internal or external api and ingress

const (
	// Internal const for listening status
	Internal Listening = "internal"
	// External const for listening status
	External Listening = "external"
)

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementAPIServerIngress.

func (*ManagementAPIServerIngress) DeepCopyInto

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

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

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

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.

type Type

type Type string

Type indicates the type of Load Balancer to use +kubebuilder:validation:Enum=Classic;NLB

Jump to

Keyboard shortcuts

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