v1alpha1

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the Certificate Shoot Service extension configuration. +groupName=shoot-cert-service.extensions.config.gardener.cloud

Index

Constants

View Source
const GroupName = "shoot-cert-service.extensions.config.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_config_ACME_To_v1alpha1_ACME

func Convert_config_ACME_To_v1alpha1_ACME(in *config.ACME, out *ACME, s conversion.Scope) error

Convert_config_ACME_To_v1alpha1_ACME is an autogenerated conversion function.

func Convert_config_Configuration_To_v1alpha1_Configuration

func Convert_config_Configuration_To_v1alpha1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error

Convert_config_Configuration_To_v1alpha1_Configuration is an autogenerated conversion function.

func Convert_config_PrivateKeyDefaults_To_v1alpha1_PrivateKeyDefaults added in v1.43.0

func Convert_config_PrivateKeyDefaults_To_v1alpha1_PrivateKeyDefaults(in *config.PrivateKeyDefaults, out *PrivateKeyDefaults, s conversion.Scope) error

Convert_config_PrivateKeyDefaults_To_v1alpha1_PrivateKeyDefaults is an autogenerated conversion function.

func Convert_config_ShootIssuers_To_v1alpha1_ShootIssuers added in v1.14.0

func Convert_config_ShootIssuers_To_v1alpha1_ShootIssuers(in *config.ShootIssuers, out *ShootIssuers, s conversion.Scope) error

Convert_config_ShootIssuers_To_v1alpha1_ShootIssuers is an autogenerated conversion function.

func Convert_v1alpha1_ACME_To_config_ACME

func Convert_v1alpha1_ACME_To_config_ACME(in *ACME, out *config.ACME, s conversion.Scope) error

Convert_v1alpha1_ACME_To_config_ACME is an autogenerated conversion function.

func Convert_v1alpha1_Configuration_To_config_Configuration

func Convert_v1alpha1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error

Convert_v1alpha1_Configuration_To_config_Configuration is an autogenerated conversion function.

func Convert_v1alpha1_PrivateKeyDefaults_To_config_PrivateKeyDefaults added in v1.43.0

func Convert_v1alpha1_PrivateKeyDefaults_To_config_PrivateKeyDefaults(in *PrivateKeyDefaults, out *config.PrivateKeyDefaults, s conversion.Scope) error

Convert_v1alpha1_PrivateKeyDefaults_To_config_PrivateKeyDefaults is an autogenerated conversion function.

func Convert_v1alpha1_ShootIssuers_To_config_ShootIssuers added in v1.14.0

func Convert_v1alpha1_ShootIssuers_To_config_ShootIssuers(in *ShootIssuers, out *config.ShootIssuers, s conversion.Scope) error

Convert_v1alpha1_ShootIssuers_To_config_ShootIssuers is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetDefaults_Configuration added in v1.7.0

func SetDefaults_Configuration(obj *Configuration)

SetDefaults_Configuration sets default values for Configuration objects.

func SetObjectDefaults_Configuration added in v1.7.0

func SetObjectDefaults_Configuration(in *Configuration)

Types

type ACME

type ACME struct {
	// Email is the e-mail address used for the ACME issuer.
	Email string `json:"email"`
	// Server is the server address used for the ACME issuer.
	Server string `json:"server"`
	// PrivateKey is the key used for the ACME issuer.
	// +optional
	PrivateKey *string `json:"privateKey,omitempty"`
	// PropagationTimeout is the timeout for DNS01 challenges.
	// +optional
	PropagationTimeout *metav1.Duration `json:"propagationTimeout,omitempty"`
	// PrecheckNameservers is used to specify a comma-separated list of DNS servers for checking availability for DNS
	// challenge before calling ACME CA
	// +optional
	PrecheckNameservers *string `json:"precheckNameservers,omitempty"`
	// CACertificates are custom root certificates to be made available for the cert-controller-manager
	// +optional
	CACertificates *string `json:"caCertificates,omitempty"`
	// DeactivateAuthorizations enables deactivation of authorizations after successful certificate request
	// +optional
	DeactivateAuthorizations *bool `json:"deactivateAuthorizations,omitempty"`
}

ACME holds information about the ACME issuer used for the certificate service.

func (*ACME) DeepCopy

func (in *ACME) DeepCopy() *ACME

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

func (*ACME) DeepCopyInto

func (in *ACME) DeepCopyInto(out *ACME)

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

type Configuration

type Configuration struct {
	metav1.TypeMeta `json:",inline"`

	// IssuerName is the name of the issuer.
	IssuerName string `json:"issuerName"`
	// RestrictIssuer restricts the ACME issuer to shoot related domains.
	// +optional
	RestrictIssuer *bool `json:"restrictIssuer,omitempty"`
	// DefaultRequestsPerDayQuota restricts the certificate requests per issuer (can be overriden in issuer spec)
	// +optional
	DefaultRequestsPerDayQuota *int32 `json:"defaultRequestsPerDayQuota,omitempty"`
	// ShootIssuers contains enablement for issuers on shoot cluster
	// +optional
	ShootIssuers *ShootIssuers `json:"shootIssuers,omitempty"`
	// ACME contains ACME related configuration.
	ACME ACME `json:"acme"`
	// HealthCheckConfig is the config for the health check controller.
	// +optional
	HealthCheckConfig *configv1alpha1.HealthCheckConfig `json:"healthCheckConfig,omitempty"`
	// PrivateKeyDefaults default algorithm and sizes for certificate private keys.
	// +optional
	PrivateKeyDefaults *PrivateKeyDefaults `json:"privateKeyDefaults,omitempty"`
}

Configuration contains information about the certificate service configuration.

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

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

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

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

func (*Configuration) DeepCopyObject

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

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

type PrivateKeyDefaults added in v1.43.0

type PrivateKeyDefaults struct {
	// Algorithm is the default algorithm ('RSA' or 'ECDSA')
	// +optional
	Algorithm *string `json:"algorithm,omitempty"`
	// SizeRSA is the default size for RSA algorithm.
	// +optional
	SizeRSA *int `json:"sizeRSA,omitempty"`
	// SizeECDSA is the default size for ECDSA algorithm.
	// +optional
	SizeECDSA *int `json:"sizeECDSA,omitempty"`
}

PrivateKeyDefaults default algorithm and sizes for certificate private keys.

func (*PrivateKeyDefaults) DeepCopy added in v1.43.0

func (in *PrivateKeyDefaults) DeepCopy() *PrivateKeyDefaults

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

func (*PrivateKeyDefaults) DeepCopyInto added in v1.43.0

func (in *PrivateKeyDefaults) DeepCopyInto(out *PrivateKeyDefaults)

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

type ShootIssuers added in v1.14.0

type ShootIssuers struct {
	Enabled bool `json:"enabled"`
}

ShootIssuers holds enablement for issuers on shoot cluster

func (*ShootIssuers) DeepCopy added in v1.14.0

func (in *ShootIssuers) DeepCopy() *ShootIssuers

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

func (*ShootIssuers) DeepCopyInto added in v1.14.0

func (in *ShootIssuers) DeepCopyInto(out *ShootIssuers)

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