v1

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the config v1 API group +kubebuilder:object:generate=true +groupName=config.switchboard.borchero.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "config.switchboard.borchero.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 CertManagerIntegrationConfig

type CertManagerIntegrationConfig struct {
	Template v1.Certificate `json:"certificateTemplate"`
}

CertManagerIntegrationConfig describes the configuration for the cert-manager integration.

func (*CertManagerIntegrationConfig) DeepCopy

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

func (*CertManagerIntegrationConfig) DeepCopyInto

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

type Config

type Config struct {
	metav1.TypeMeta                        `json:",inline"`
	cfg.ControllerManagerConfigurationSpec `json:",inline"`

	Selector     IngressSelector    `json:"selector"`
	Integrations IntegrationConfigs `json:"integrations"`
}

Config is the Schema for the configs API

func (*Config) DeepCopy

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

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

func (*Config) DeepCopyObject

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

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

type ExternalDNSIntegrationConfig

type ExternalDNSIntegrationConfig struct {
	TargetService *ServiceRef `json:"targetService,omitempty"`
	TargetIPs     []string    `json:"targetIPs,omitempty"`
}

ExternalDNSIntegrationConfig describes the configuration for the external-dns integration. Exactly one of target and target IPs should be set.

func (*ExternalDNSIntegrationConfig) DeepCopy

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

func (*ExternalDNSIntegrationConfig) DeepCopyInto

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

type IngressSelector

type IngressSelector struct {
	IngressClass *string `json:"ingressClass,omitempty"`
}

IngressSelector can be used to limit operations to ingresses with a specific class.

func (*IngressSelector) DeepCopy

func (in *IngressSelector) DeepCopy() *IngressSelector

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

func (*IngressSelector) DeepCopyInto

func (in *IngressSelector) DeepCopyInto(out *IngressSelector)

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

type IntegrationConfigs

type IntegrationConfigs struct {
	ExternalDNS *ExternalDNSIntegrationConfig `json:"externalDNS"`
	CertManager *CertManagerIntegrationConfig `json:"certManager"`
}

IntegrationConfigs describes the configurations for all integrations.

func (*IntegrationConfigs) DeepCopy

func (in *IntegrationConfigs) DeepCopy() *IntegrationConfigs

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

func (*IntegrationConfigs) DeepCopyInto

func (in *IntegrationConfigs) DeepCopyInto(out *IntegrationConfigs)

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

type IssuerRef

type IssuerRef struct {
	Kind string `json:"kind"`
	Name string `json:"name"`
}

IssuerRef uniquely references a cert-manager issuer.

func (*IssuerRef) DeepCopy

func (in *IssuerRef) DeepCopy() *IssuerRef

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

func (*IssuerRef) DeepCopyInto

func (in *IssuerRef) DeepCopyInto(out *IssuerRef)

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

type ServiceRef

type ServiceRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

ServiceRef uniquely describes a Kubernetes service.

func (*ServiceRef) DeepCopy

func (in *ServiceRef) DeepCopy() *ServiceRef

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

func (*ServiceRef) DeepCopyInto

func (in *ServiceRef) DeepCopyInto(out *ServiceRef)

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