v1alpha1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: EUPL-1.2 Imports: 6 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=libre.sh

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "config.libre.sh", Version: "v1alpha1"}

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

type KeycloakConfig struct {
	Providers []KeycloakProvider `json:"providers"`
	Default   string             `json:"default,omitempty"`
}

func (*KeycloakConfig) DeepCopy

func (in *KeycloakConfig) DeepCopy() *KeycloakConfig

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

func (*KeycloakConfig) DeepCopyInto

func (in *KeycloakConfig) DeepCopyInto(out *KeycloakConfig)

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

type KeycloakProvider

type KeycloakProvider struct {
	Name          string `json:"name"`
	Host          string `json:"host"`
	InClusterHost string `json:"inClusterHost"`
	Port          int64  `json:"port,omitempty"`
	Insecure      bool   `json:"insecure,omitempty"`
	Username      string `json:"username"`
	Password      string `json:"password"`
	Legacy        bool   `json:"legacy,omitempty"`
}

func (*KeycloakProvider) DeepCopy

func (in *KeycloakProvider) DeepCopy() *KeycloakProvider

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

func (*KeycloakProvider) DeepCopyInto

func (in *KeycloakProvider) DeepCopyInto(out *KeycloakProvider)

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

func (*KeycloakProvider) URL

func (p *KeycloakProvider) URL() string

type MailboxConfig

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

	Spec MailboxConfigSpec `json:"spec,omitempty"`
}

MailboxConfig is the Schema for the mailboxconfigs API

func (*MailboxConfig) DeepCopy

func (in *MailboxConfig) DeepCopy() *MailboxConfig

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

func (*MailboxConfig) DeepCopyInto

func (in *MailboxConfig) DeepCopyInto(out *MailboxConfig)

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

func (*MailboxConfig) DeepCopyObject

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

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

type MailboxConfigSpec

type MailboxConfigSpec struct {
	Providers []MailboxProvider `json:"providers"`
}

MailboxConfigSpec defines the desired state of MailboxConfig

func (*MailboxConfigSpec) DeepCopy

func (in *MailboxConfigSpec) DeepCopy() *MailboxConfigSpec

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

func (*MailboxConfigSpec) DeepCopyInto

func (in *MailboxConfigSpec) DeepCopyInto(out *MailboxConfigSpec)

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

type MailboxProvider

type MailboxProvider struct {
	//+required
	Type MailboxProviderType `json:"type"`
	//+required
	Name string `json:"name"`
	//+required
	Endpoint string `json:"endpoint"`
	//+optional
	Insecure bool `json:"insecure,omitempty"`
	//+required
	Username string `json:"username"`
	//+required
	Password string `json:"password"`
	//+required
	SMTP MailboxProviderSMTP `json:"smtp"`
}

func (*MailboxProvider) DeepCopy

func (in *MailboxProvider) DeepCopy() *MailboxProvider

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

func (*MailboxProvider) DeepCopyInto

func (in *MailboxProvider) DeepCopyInto(out *MailboxProvider)

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

type MailboxProviderSMTP

type MailboxProviderSMTP struct {
	//+required
	Host string `json:"host"`
	//+required
	Port int `json:"port"`
}

func (*MailboxProviderSMTP) DeepCopy

func (in *MailboxProviderSMTP) DeepCopy() *MailboxProviderSMTP

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

func (*MailboxProviderSMTP) DeepCopyInto

func (in *MailboxProviderSMTP) DeepCopyInto(out *MailboxProviderSMTP)

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

type MailboxProviderType

type MailboxProviderType string
var (
	ViMbAdmin MailboxProviderType = "ViMbAdmin"
	MailHog   MailboxProviderType = "MailHog"
)

type MinIOBucketDNS

type MinIOBucketDNS struct {
	//+requierd
	Namespace string `json:"namespace"`
	//+requierd
	ServiceBackend networkingv1.IngressServiceBackend `json:"serviceBackend"`
	//+optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*MinIOBucketDNS) DeepCopy

func (in *MinIOBucketDNS) DeepCopy() *MinIOBucketDNS

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

func (*MinIOBucketDNS) DeepCopyInto

func (in *MinIOBucketDNS) DeepCopyInto(out *MinIOBucketDNS)

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

type MinIOProvider

type MinIOProvider struct {
	//+required
	Name string `json:"name"`
	//+required
	Host string `json:"host"`
	//+optional
	Insecure bool `json:"insecure,omitempty"`
	//+required
	AccessKey string `json:"accessKey"`
	//+required
	SecretKey string `json:"secretKey"`
	//+required
	//+kubebuilder:default="eu"
	Region string `json:"region"`
	//+optional
	BucketDNS *MinIOBucketDNS `json:"bucketDNS,omitempty"`
}

func (*MinIOProvider) DeepCopy

func (in *MinIOProvider) DeepCopy() *MinIOProvider

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

func (*MinIOProvider) DeepCopyInto

func (in *MinIOProvider) DeepCopyInto(out *MinIOProvider)

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

type ObjectStorageConfig

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

	//+required
	Mapping map[string]string `json:"mapping"`
	//+required
	Providers []MinIOProvider `json:"providers"`
}

LibreConfig is the Schema for the libreconfigs API

func (*ObjectStorageConfig) DeepCopy

func (in *ObjectStorageConfig) DeepCopy() *ObjectStorageConfig

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

func (*ObjectStorageConfig) DeepCopyInto

func (in *ObjectStorageConfig) DeepCopyInto(out *ObjectStorageConfig)

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

func (*ObjectStorageConfig) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL