v1beta1

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 1 module, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v1beta1 contains API Schema definitions for the v1beta1 API group +kubebuilder:object:generate=true +groupName=rhsyseng.github.io

Index

Constants

View Source
const (
	ConditionTypeReady      string = "Ready"
	ConditionTypeReconciled string = "Reconciled"
)
View Source
const (
	PullSecretName       string = "pull-secret"
	BackupPullSecretName string = "backup-pull-secret"
	ConfigNamespace      string = "openshift-config"
	IngressNamespace     string = "openshift-ingress"
)
View Source
const (
	// ValidationSucceededReason represents the fact that the validation of
	// the resource has succeeded.
	ValidationSucceededReason string = "ValidationSucceeded"

	// ValidationFailedReason represents the fact that the validation of
	// the resource has failed.
	ValidationFailedReason string = "ValidationFailed"

	// ReconciliationSucceededReason represents the fact that the validation of
	// the resource has succeeded.
	ReconciliationSucceededReason string = "ReconciliationSucceeded"

	APIReconciliationFailedReason        string = "APIReconciliationFailed"
	IngressReconciliationFailedReason    string = "IngressReconciliationFailed"
	PullSecretReconciliationFailedReason string = "PullSecretReconciliationFailed"
	SSHReconciliationFailedReason        string = "SSHReconciliationFailed"
	RegistryReconciliationFailedReason   string = "RegistryReconciliationFailed"
	MirrorReconciliationFailedReason     string = "MirrorReconciliationFailed"
	CatalogReconciliationFailedReason    string = "CatalogReconciliationFailed"
	DNSReconciliationFailedReason        string = "DNSReconciliationFailed"
	ACMReconciliationFailedReason        string = "ACMReconciliationFailed"
	InProgressReconciliationFailedReason string = "ReconcileInProgress"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "rhsyseng.github.io", Version: "v1beta1"}

	// 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

This section is empty.

Types

type ACMRegistration added in v0.9.2

type ACMRegistration struct {
	// URL is the API URL of the ACM cluster.
	URL string `json:"url"`

	// ClusterName will be the name of the ManagedCluster in ACM.
	ClusterName string `json:"clusterName"`

	// ManagedClusterSet is the ManagedClusterSet that the ManagedCluster will join. Defaults to 'default'.
	ManagedClusterSet *string `json:"managedClusterSet,omitempty"`

	// acmSecret is a secret reference with credentials for the ACM cluster.
	// It must have a 'token' field. Optionally, it can have a 'ca.crt' field
	// which provides the CA bundle for the ACM cluster.
	// The secret is deleted once ACM registration succeeds.
	ACMSecret corev1.SecretReference `json:"acmSecret"`

	// KlusterletAddonConfig is the klusterlet add-on configuration.
	KlusterletAddonConfig *agentv1.KlusterletAddonConfigSpec `json:"klusterletAddonConfig,omitempty"`
}

func (*ACMRegistration) DeepCopy added in v0.9.2

func (in *ACMRegistration) DeepCopy() *ACMRegistration

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

func (*ACMRegistration) DeepCopyInto added in v0.9.2

func (in *ACMRegistration) DeepCopyInto(out *ACMRegistration)

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

type CatalogSource

type CatalogSource struct {
	// Name is the name of the CatalogSource.
	Name string `json:"name"`

	// Image is an operator-registry container image to instantiate a registry-server with.
	Image string `json:"image"`
}

func (*CatalogSource) DeepCopy

func (in *CatalogSource) DeepCopy() *CatalogSource

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

func (*CatalogSource) DeepCopyInto

func (in *CatalogSource) DeepCopyInto(out *CatalogSource)

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

type ClusterRelocation

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

	Spec   ClusterRelocationSpec   `json:"spec"`
	Status ClusterRelocationStatus `json:"status,omitempty"`
}

ClusterRelocation is the Schema for the clusterrelocations API +operator-sdk:csv:customresourcedefinitions:resources={{Secret,v1,"generated-api-secret"},{Secret,v1,"generated-ingress-secret"}}

func (*ClusterRelocation) DeepCopy

func (in *ClusterRelocation) DeepCopy() *ClusterRelocation

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

func (*ClusterRelocation) DeepCopyInto

func (in *ClusterRelocation) DeepCopyInto(out *ClusterRelocation)

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

func (*ClusterRelocation) DeepCopyObject

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

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

type ClusterRelocationList

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

ClusterRelocationList contains a list of ClusterRelocation

func (*ClusterRelocationList) DeepCopy

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

func (*ClusterRelocationList) DeepCopyInto

func (in *ClusterRelocationList) DeepCopyInto(out *ClusterRelocationList)

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

func (*ClusterRelocationList) DeepCopyObject

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

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

type ClusterRelocationSpec

type ClusterRelocationSpec struct {

	// ACMRegistration allows you to register this cluster to a remote ACM cluster.
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	ACMRegistration *ACMRegistration `json:"acmRegistration,omitempty"`

	// APICertRef is a reference to a TLS secret that will be used for the API server.
	// If it is omitted, a self-signed certificate will be generated.
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	APICertRef *corev1.SecretReference `json:"apiCertRef,omitempty"`

	// CatalogSources define new CatalogSources to install on the cluster.
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	CatalogSources []CatalogSource `json:"catalogSources,omitempty"`

	// Domain defines the new base domain for the cluster.
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	Domain string `json:"domain"`

	// ImageDigestMirrors is used to configured a mirror registry on the cluster.
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	ImageDigestMirrors []configv1.ImageDigestMirrors `json:"imageDigestMirrors,omitempty"`

	// IngressCertRef is a reference to a TLS secret that will be used for the Ingress Controller.
	// If it is omitted, a self-signed certificate will be generated.
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	IngressCertRef *corev1.SecretReference `json:"ingressCertRef,omitempty"`

	// PullSecretRef is a reference to new cluster-wide pull secret.
	// If defined, it will replace the secret located at openshift-config/pull-secret.
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	PullSecretRef *corev1.SecretReference `json:"pullSecretRef,omitempty"`

	// RegistryCert is a new trusted CA certificate.
	// It will be added to image.config.openshift.io/cluster (additionalTrustedCA).
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	RegistryCert *RegistryCert `json:"registryCert,omitempty"`

	// SSHKeys defines a list of authorized SSH keys for the 'core' user.
	// If defined, it will be appended to the existing authorized SSH key(s).
	//+operator-sdk:csv:customresourcedefinitions:type=spec
	SSHKeys []string `json:"sshKeys,omitempty"`
}

ClusterRelocationSpec defines the desired state of ClusterRelocation

func (*ClusterRelocationSpec) DeepCopy

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

func (*ClusterRelocationSpec) DeepCopyInto

func (in *ClusterRelocationSpec) DeepCopyInto(out *ClusterRelocationSpec)

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

type ClusterRelocationStatus

type ClusterRelocationStatus struct {

	// Conditions represent the latest available observations of an object's state
	//+operator-sdk:csv:customresourcedefinitions:type=status
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

ClusterRelocationStatus defines the observed state of ClusterRelocation

func (*ClusterRelocationStatus) DeepCopy

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

func (*ClusterRelocationStatus) DeepCopyInto

func (in *ClusterRelocationStatus) DeepCopyInto(out *ClusterRelocationStatus)

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

type RegistryCert

type RegistryCert struct {
	// RegistryHostname is the hostname of the new registry.
	RegistryHostname string `json:"registryHostname"`

	// RegistryPort is the port number that the registry is served on.
	RegistryPort *int `json:"registryPort,omitempty"`

	// Certificate is the certificate for the trusted certificate authority associated with the registry.
	Certificate string `json:"certificate"`
}

func (*RegistryCert) DeepCopy

func (in *RegistryCert) DeepCopy() *RegistryCert

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

func (*RegistryCert) DeepCopyInto

func (in *RegistryCert) DeepCopyInto(out *RegistryCert)

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
y or Y : Canonical URL