v1alpha1

package
v0.0.0-...-9698299 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +kubebuilder:object:generate=true +groupName=cache.lakekeeper.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cache.lakekeeper.io", 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 Lakekeeper

type Lakekeeper struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LakekeeperSpec   `json:"spec,omitempty"`
	Status LakekeeperStatus `json:"status,omitempty"`
}

Lakekeeper is the Schema for the lakekeepers API

func (*Lakekeeper) DeepCopy

func (in *Lakekeeper) DeepCopy() *Lakekeeper

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

func (*Lakekeeper) DeepCopyInto

func (in *Lakekeeper) DeepCopyInto(out *Lakekeeper)

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

func (*Lakekeeper) DeepCopyObject

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

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

type LakekeeperAuth

type LakekeeperAuth struct {
	Oauth2 LakekeeperOauth2 `json:"oauth2,omitempty"`
}

func (*LakekeeperAuth) DeepCopy

func (in *LakekeeperAuth) DeepCopy() *LakekeeperAuth

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

func (*LakekeeperAuth) DeepCopyInto

func (in *LakekeeperAuth) DeepCopyInto(out *LakekeeperAuth)

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

type LakekeeperCatalog

type LakekeeperCatalog struct {
	Image LakekeeperImage `json:"image"`
	// Number of replicas to deploy. Replicas are stateless.
	//+kubebuilder:default=1
	Replicas int32             `json:"replicas"`
	Service  LakekeeperService `json:"service"`
}

func (*LakekeeperCatalog) DeepCopy

func (in *LakekeeperCatalog) DeepCopy() *LakekeeperCatalog

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

func (*LakekeeperCatalog) DeepCopyInto

func (in *LakekeeperCatalog) DeepCopyInto(out *LakekeeperCatalog)

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

type LakekeeperExternalDB

type LakekeeperExternalDB struct {
	//+kubebuilder:default="catalog"
	Database string `json:"database"`
	// hostname to use for read instances of the external database
	//+kubebuilder:default="localhost"
	HostRead string `json:"host_read"`
	// hostname to use for write instances of the external database. For single read/write instances, this should be the same as host_read
	//+kubebuilder:default="localhost"
	HostWrite string `json:"host_write"`
	//+kubebuilder:default=""
	Password string `json:"password"`
	//+kubebuilder:default=""
	PasswordSecret string `json:"passwordSecret"`
	//+kubebuilder:default="postgresql-password"
	PasswordSecretKey string `json:"passwordSecretKey"`
	//+kubebuilder:default=5432
	Port int32 `json:"port"`
	// the type of external database. allowed values: "postgres"
	//+kubebuilder:default="postgres"
	Type string `json:"type"`
	//+kubebuilder:default="catalog"
	User string `json:"user"`
	//+kubebuilder:default=""
	UserSecret string `json:"userSecret"`
	//+kubebuilder:default="postgresql-user"
	UserSecretKey string `json:"userSecretKey"`
}

func (*LakekeeperExternalDB) DeepCopy

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

func (*LakekeeperExternalDB) DeepCopyInto

func (in *LakekeeperExternalDB) DeepCopyInto(out *LakekeeperExternalDB)

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

type LakekeeperImage

type LakekeeperImage struct {
	// 65534 = nobody of google container distroless
	//+kubebuilder:default=65534
	Gid int32 `json:"gid,omitempty"`
	// The image pull policy
	//+kubebuilder:default="IfNotPresent"
	PullPolicy string `json:"pullPolicy"`
	// The image repository to pull from
	//+kubebuilder:default="quay.io/lakekeeper/catalog"
	Repository string `json:"repository"`
	// The image tag to pull
	//+kubebuilder:default="v0.4.3"
	Tag string `json:"tag"`
	// 65532 = nonroot of google container distroless
	//+kubebuilder:default=65532
	Uid int32 `json:"uid"`
}

func (*LakekeeperImage) DeepCopy

func (in *LakekeeperImage) DeepCopy() *LakekeeperImage

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

func (*LakekeeperImage) DeepCopyInto

func (in *LakekeeperImage) DeepCopyInto(out *LakekeeperImage)

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

type LakekeeperList

type LakekeeperList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Lakekeeper `json:"items"`
}

LakekeeperList contains a list of Lakekeeper

func (*LakekeeperList) DeepCopy

func (in *LakekeeperList) DeepCopy() *LakekeeperList

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

func (*LakekeeperList) DeepCopyInto

func (in *LakekeeperList) DeepCopyInto(out *LakekeeperList)

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

func (*LakekeeperList) DeepCopyObject

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

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

type LakekeeperOauth2

type LakekeeperOauth2 struct {
	// The client id of the OIDC App of the catalog. The aud (audience) claim of the JWT token must match this id.
	ClientId string `json:"client_id"`

	// If set, access to rest endpoints is secured via an external OIDC-capable IdP. The IdP must expose {provider_url}/.well-known/openid-configuration and the openid-configuration needs to have the jwks_uri and issuer defined. For keycloak set: https://keycloak.local/realms/test For Entra-ID set: https://login.microsoftonline.com/{your-tenant-id}/v2.0
	ProviderUri string `json:"provider_uri"`
}

func (*LakekeeperOauth2) DeepCopy

func (in *LakekeeperOauth2) DeepCopy() *LakekeeperOauth2

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

func (*LakekeeperOauth2) DeepCopyInto

func (in *LakekeeperOauth2) DeepCopyInto(out *LakekeeperOauth2)

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

type LakekeeperService

type LakekeeperService struct {
	// Catalog service annotations
	Annotations map[string]string `json:"annotations,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	// catalog service external port
	//+kubebuilder:default=8080
	ExternalPort int32 `json:"externalPort,omitempty"`
	// catalog service ip of the load balancer service. Only used when type: LoadBalancer
	//+kubebuilder:default=""
	LoadBalancerIP string `json:"loadBalancerIP,omitempty"`
	// Source ip ranges for the catalog services. Only used when type: LoadBalancer
	LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty"`
	// catalog service node port Only used when type: NodePort
	NodePort map[string]string `json:"nodePort,omitempty"`
	// catalog service session affinity
	SessionAffinity string `json:"sessionAffinity,omitempty"`
	// catalog service session affinity config
	SessionAffinityConfig string `json:"sessionAffinityConfig,omitempty"`
	// catalog service type
	//+kubebuilder:default="ClusterIP"
	Type string `json:"type,omitempty"`
}

type LakekeeperSpec

type LakekeeperSpec struct {
	Auth             LakekeeperAuth       `json:"auth,omitempty"`
	Catalog          LakekeeperCatalog    `json:"catalog,omitempty"`
	ExternalDatabase LakekeeperExternalDB `json:"externalDatabase,omitempty"`
}

LakekeeperSpec defines the desired state of Lakekeeper

func (*LakekeeperSpec) DeepCopy

func (in *LakekeeperSpec) DeepCopy() *LakekeeperSpec

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

func (*LakekeeperSpec) DeepCopyInto

func (in *LakekeeperSpec) DeepCopyInto(out *LakekeeperSpec)

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

type LakekeeperStatus

type LakekeeperStatus struct {
}

LakekeeperStatus defines the observed state of Lakekeeper

func (*LakekeeperStatus) DeepCopy

func (in *LakekeeperStatus) DeepCopy() *LakekeeperStatus

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

func (*LakekeeperStatus) DeepCopyInto

func (in *LakekeeperStatus) DeepCopyInto(out *LakekeeperStatus)

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

type Project

type Project struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ProjectSpec   `json:"spec,omitempty"`
	Status ProjectStatus `json:"status,omitempty"`
}

Project is the Schema for the projects API

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

type ProjectList

type ProjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Project `json:"items"`
}

ProjectList contains a list of Project

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

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

func (*ProjectList) DeepCopyObject

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

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

type ProjectSpec

type ProjectSpec struct {

	// Foo is an example field of Project. Edit project_types.go to remove/update
	Id string `json:"id,omitempty"`
}

ProjectSpec defines the desired state of Project

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

type ProjectStatus

type ProjectStatus struct {
}

ProjectStatus defines the observed state of Project

func (*ProjectStatus) DeepCopy

func (in *ProjectStatus) DeepCopy() *ProjectStatus

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

func (*ProjectStatus) DeepCopyInto

func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)

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

type Warehouse

type Warehouse struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WarehouseSpec   `json:"spec,omitempty"`
	Status WarehouseStatus `json:"status,omitempty"`
}

Warehouse is the Schema for the warehouses API

func (*Warehouse) DeepCopy

func (in *Warehouse) DeepCopy() *Warehouse

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

func (*Warehouse) DeepCopyInto

func (in *Warehouse) DeepCopyInto(out *Warehouse)

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

func (*Warehouse) DeepCopyObject

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

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

type WarehouseList

type WarehouseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Warehouse `json:"items"`
}

WarehouseList contains a list of Warehouse

func (*WarehouseList) DeepCopy

func (in *WarehouseList) DeepCopy() *WarehouseList

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

func (*WarehouseList) DeepCopyInto

func (in *WarehouseList) DeepCopyInto(out *WarehouseList)

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

func (*WarehouseList) DeepCopyObject

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

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

type WarehouseSpec

type WarehouseSpec struct {

	// Foo is an example field of Warehouse. Edit warehouse_types.go to remove/update
	Name string `json:"name,omitempty"`
}

WarehouseSpec defines the desired state of Warehouse

func (*WarehouseSpec) DeepCopy

func (in *WarehouseSpec) DeepCopy() *WarehouseSpec

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

func (*WarehouseSpec) DeepCopyInto

func (in *WarehouseSpec) DeepCopyInto(out *WarehouseSpec)

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

type WarehouseStatus

type WarehouseStatus struct {
}

WarehouseStatus defines the observed state of Warehouse

func (*WarehouseStatus) DeepCopy

func (in *WarehouseStatus) DeepCopy() *WarehouseStatus

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

func (*WarehouseStatus) DeepCopyInto

func (in *WarehouseStatus) DeepCopyInto(out *WarehouseStatus)

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