v1alpha1

package
Version: v0.0.0-...-f560b78 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cloudingress v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=cloudingress.managed.openshift.io

Package v1alpha1 contains API Schema definitions for the cloudingress v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=cloudingress.managed.openshift.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "cloudingress.managed.openshift.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

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 +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=apischemes,scope=Namespaced

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 {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// 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 +k8s:openapi-gen=true

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 {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	CloudLoadBalancerDNSName string                 `json:"cloudLoadBalancerDNSName,omitempty"`
	Conditions               []APISchemeCondition   `json:"conditions,omitempty"`
	State                    APISchemeConditionType `json:"state,omitempty"`
}

APISchemeStatus defines the observed state of APIScheme +k8s:openapi-gen=true

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"`
}

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 +kubebuilder:subresource:status +kubebuilder:resource:path=publishingstrategies,scope=Namespaced

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 SSHD

type SSHD struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SSHDSpec   `json:"spec,omitempty"`
	Status SSHDStatus `json:"status,omitempty"`
}

SSHD is the Schema for the sshds API +kubebuilder:subresource:status +kubebuilder:resource:path=sshds,scope=Namespaced

func (*SSHD) DeepCopy

func (in *SSHD) DeepCopy() *SSHD

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

func (*SSHD) DeepCopyInto

func (in *SSHD) DeepCopyInto(out *SSHD)

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

func (*SSHD) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SSHDList

type SSHDList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SSHD `json:"items"`
}

SSHDList contains a list of SSHD

func (*SSHDList) DeepCopy

func (in *SSHDList) DeepCopy() *SSHDList

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

func (*SSHDList) DeepCopyInto

func (in *SSHDList) DeepCopyInto(out *SSHDList)

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

func (*SSHDList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SSHDSpec

type SSHDSpec struct {

	// DNSName is the DNS name that should point to the SSHD service load balancers, e.g. rh-ssh
	DNSName string `json:"dnsName"`

	// AllowedCIDRBlocks is the list of CIDR blocks that should be allowed to access the SSHD service
	AllowedCIDRBlocks []string `json:"allowedCIDRBlocks"`

	// Image is the URL of the SSHD container image
	Image string `json:"image"`

	// ConfigMapSelector is a label selector to isolate config maps containing SSH authorized keys
	// to be mounted into the SSHD container
	ConfigMapSelector metav1.LabelSelector `json:"configMapSelector,omitempty"`
}

SSHDSpec defines the desired state of SSHD +k8s:openapi-gen=true

func (*SSHDSpec) DeepCopy

func (in *SSHDSpec) DeepCopy() *SSHDSpec

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

func (*SSHDSpec) DeepCopyInto

func (in *SSHDSpec) DeepCopyInto(out *SSHDSpec)

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

type SSHDStateType

type SSHDStateType string

SSHDStateType is the overall condition of the SSHD resource

const (
	SSHDStateError      SSHDStateType = "Error"
	SSHDStatePending    SSHDStateType = "Pending"
	SSHDStateReady      SSHDStateType = "Ready"
	SSHDStateFinalizing SSHDStateType = "Finalizing"
)

type SSHDStatus

type SSHDStatus struct {

	// State is the current state of the controller
	State SSHDStateType `json:"state,omitempty"`

	// Message is a description of the current state
	Message string `json:"message,omitempty"`
}

SSHDStatus defines the observed state of SSHD +k8s:openapi-gen=true

func (*SSHDStatus) DeepCopy

func (in *SSHDStatus) DeepCopy() *SSHDStatus

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

func (*SSHDStatus) DeepCopyInto

func (in *SSHDStatus) DeepCopyInto(out *SSHDStatus)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL