v1

package
v0.0.0-...-8a3981d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.ibm.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "operator.ibm.com", Version: "v1"}

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

type CACertificate struct {
	CertName  string `json:"certName"`
	Namespace string `json:"namespace"`
}

CACertificate describes a CA Certfiicate's name and namespace

func (*CACertificate) DeepCopy

func (in *CACertificate) DeepCopy() *CACertificate

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

func (*CACertificate) DeepCopyInto

func (in *CACertificate) DeepCopyInto(out *CACertificate)

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

type CertManagerConfig

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

	Spec   CertManagerConfigSpec   `json:"spec,omitempty"`
	Status CertManagerConfigStatus `json:"status,omitempty"`
}

CertManagerConfig is the Schema for the certmanagerconfigs API. Documentation For additional details regarding install parameters check: https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license.

func (*CertManagerConfig) DeepCopy

func (in *CertManagerConfig) DeepCopy() *CertManagerConfig

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

func (*CertManagerConfig) DeepCopyInto

func (in *CertManagerConfig) DeepCopyInto(out *CertManagerConfig)

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

func (*CertManagerConfig) DeepCopyObject

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

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

type CertManagerConfigList

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

CertManagerList contains a list of CertManager

func (*CertManagerConfigList) DeepCopy

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

func (*CertManagerConfigList) DeepCopyInto

func (in *CertManagerConfigList) DeepCopyInto(out *CertManagerConfigList)

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

func (*CertManagerConfigList) DeepCopyObject

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

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

type CertManagerConfigSpec

type CertManagerConfigSpec struct {
	// ImageRegistry describes the image registry for the operands, e.g.
	// cert-manager-controller
	ImageRegistry string `json:"imageRegistry,omitempty"`
	// ImagePostFix describes a string that will be appended to the end of the
	// fully qualified image, e.g. imageRegistry/imageName:imageTagAndPostFix
	ImagePostFix string `json:"imagePostFix,omitempty"`
	// Webhook enables the cert-manager-webhook operand
	Webhook bool `json:"enableWebhook,omitempty"`
	// ResourceNS describes the cluster-resource-namespace flag for
	// cert-manager-controller operand, which is used to configure the namespace
	// the operand will use for ClusterIssuer secretReferences
	ResourceNS string `json:"resourceNamespace,omitempty"`
	// DisableHostNetwork disables
	DisableHostNetwork *bool `json:"disableHostNetwork,omitempty"`
	// Version descibes the version of cert-manager-operator. Changing the value
	// does not change the cert-manager-operator version
	Version string `json:"version,omitempty"`
	//CertManagerController describes spec for cert-manager-controller workload
	CertManagerController CertManagerContainerSpec `json:"certManagerController,omitempty"`
	//CertManagerWebhook describes spec for cert-manager-webhook workload
	CertManagerWebhook CertManagerContainerSpec `json:"certManagerWebhook,omitempty"`
	//CertManagerCAInjector describes spec for cert-manager-cainjector workload
	CertManagerCAInjector CertManagerContainerSpec `json:"certManagerCAInjector,omitempty"`
	//ConfigMapWatcher is not used
	ConfigMapWatcher CertManagerContainerSpec `json:"configMapWatcher,omitempty"`

	// EnableCertRefresh enables the refresh of leaf certificates based on a CA
	// certificate
	EnableCertRefresh *bool `json:"enableCertRefresh,omitempty"`

	// RefreshCertsBasedOnCA is a list of CA certificate names. Leaf
	// certificates created from any of the listed CA will be refreshed when
	// the CA is refreshed
	RefreshCertsBasedOnCA []CACertificate `json:"refreshCertsBasedOnCA,omitempty"`

	// Labels describes  foundational services will use this
	// labels to labels their corresponding resources
	Labels map[string]string `json:"labels,omitempty"`

	// +optional
	License LicenseAcceptance `json:"license,omitempty"`
}

CertManagerConfigSpec defines the desired state of CertManager

func (*CertManagerConfigSpec) DeepCopy

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

func (*CertManagerConfigSpec) DeepCopyInto

func (in *CertManagerConfigSpec) DeepCopyInto(out *CertManagerConfigSpec)

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

type CertManagerConfigStatus

type CertManagerConfigStatus struct {
	// OverallStatus describes whether cert-manager operands have been
	// successfully deployed or not.
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="CertManagerConfig Status"
	OverallStatus string `json:"certManagerConfigStatus"`
}

CertManagerConfigStatus defines the observed state of CertManagerConfig

func (*CertManagerConfigStatus) DeepCopy

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

func (*CertManagerConfigStatus) DeepCopyInto

func (in *CertManagerConfigStatus) DeepCopyInto(out *CertManagerConfigStatus)

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

type CertManagerContainerSpec

type CertManagerContainerSpec struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
}

func (*CertManagerContainerSpec) DeepCopy

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

func (*CertManagerContainerSpec) DeepCopyInto

func (in *CertManagerContainerSpec) DeepCopyInto(out *CertManagerContainerSpec)

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

type LicenseAcceptance

type LicenseAcceptance struct {
	// Accepting the license - URL: https://ibm.biz/integration-licenses
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:hidden"
	// +optional
	Accept bool `json:"accept"`
	// The type of license being accepted.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:hidden"
	Use string `json:"use,omitempty"`
	// The license being accepted where the component has multiple.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:hidden"
	License string `json:"license,omitempty"`
	// The license key for this deployment.
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:hidden"
	Key string `json:"key,omitempty"`
}

LicenseAcceptance defines the license specification in CSV

func (*LicenseAcceptance) DeepCopy

func (in *LicenseAcceptance) DeepCopy() *LicenseAcceptance

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

func (*LicenseAcceptance) DeepCopyInto

func (in *LicenseAcceptance) DeepCopyInto(out *LicenseAcceptance)

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