v1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 5 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 CertificateIssuerRef

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

CertificateIssuerRef uniquely describes a certificate issuer in Kubernetes.

func (*CertificateIssuerRef) DeepCopy

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

func (*CertificateIssuerRef) DeepCopyInto

func (in *CertificateIssuerRef) DeepCopyInto(out *CertificateIssuerRef)

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

	IngressConfig IngressSet `json:"ingressConfig"`
}

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

type IngressSet struct {
	TargetService ServiceRef           `json:"targetService"`
	Issuer        CertificateIssuerRef `json:"certificateIssuer"`
	Selector      IngressSelector      `json:"selector,omitempty"`
}

IngressSet represents the configuration for a set of ingress resources.

func (*IngressSet) DeepCopy

func (in *IngressSet) DeepCopy() *IngressSet

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

func (*IngressSet) DeepCopyInto

func (in *IngressSet) DeepCopyInto(out *IngressSet)

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