v1alpha1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: EUPL-1.2 Imports: 6 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the config v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.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: "objectstorage.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 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"`

	// ControllerManagerConfigurationSpec returns the contfigurations for controllers
	cfg.ControllerManagerConfigurationSpec `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