v1

package
v0.0.0-...-b480dc8 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.dremiorestserver.com

Index

Constants

This section is empty.

Variables

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

type ConnectionProperties struct {
	Host     string `json:"host,omitempty"`
	Port     int    `json:"port,omitempty"`
	User     string `json:"user,omitempty"`
	Password string `json:"password,omitempty"`
	// Additional JDBC options supported by the Arrow Flight SQL JDBC driver that will be passed as query parameters (e.g.: useEncryption=false&disableCertificateVerification=true)
	JdbcProperties string `json:"jdbcProperties,omitempty"`
	// Alternative to user and password properties; secret will have to contain USER and PASSWORD
	SecretName string `json:"secretName,omitempty"`
}

func (*ConnectionProperties) DeepCopy

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

func (*ConnectionProperties) DeepCopyInto

func (in *ConnectionProperties) DeepCopyInto(out *ConnectionProperties)

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

type DremioRestServer

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

	Spec   DremioRestServerSpec   `json:"spec,omitempty"`
	Status DremioRestServerStatus `json:"status,omitempty"`
}

Schema for the dremiorestservers API

func (*DremioRestServer) DeepCopy

func (in *DremioRestServer) DeepCopy() *DremioRestServer

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

func (*DremioRestServer) DeepCopyInto

func (in *DremioRestServer) DeepCopyInto(out *DremioRestServer)

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

func (*DremioRestServer) DeepCopyObject

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

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

type DremioRestServerList

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

List of DremioRestServer

func (*DremioRestServerList) DeepCopy

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

func (*DremioRestServerList) DeepCopyInto

func (in *DremioRestServerList) DeepCopyInto(out *DremioRestServerList)

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

func (*DremioRestServerList) DeepCopyObject

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

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

type DremioRestServerSpec

type DremioRestServerSpec struct {
	// Comma-separated list of tables to expose
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Tables string `json:"tables,omitempty"` // DREMIO_TABLES (comma-separated)

	// Properties to connect to Dremio
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Connection ConnectionProperties `json:"connection,omitempty"`
}

Dremio REST Server properties

func (*DremioRestServerSpec) DeepCopy

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

func (*DremioRestServerSpec) DeepCopyInto

func (in *DremioRestServerSpec) DeepCopyInto(out *DremioRestServerSpec)

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

type DremioRestServerStatus

type DremioRestServerStatus struct {
	// +operator-sdk:csv:customresourcedefinitions:type=status
	State string `json:"state,omitempty" patchStrategy:"merge"`
}

Dremio REST Server status

func (*DremioRestServerStatus) DeepCopy

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

func (*DremioRestServerStatus) DeepCopyInto

func (in *DremioRestServerStatus) DeepCopyInto(out *DremioRestServerStatus)

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