meta

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	OpensearchFinalizer = "opni.io/opensearch"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageResolver

type ImageResolver struct {
	Version             string
	ImageName           string
	DefaultRepo         string
	DefaultRepoOverride *string
	ImageOverride       *ImageSpec
}

func (*ImageResolver) DeepCopy

func (in *ImageResolver) DeepCopy() *ImageResolver

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

func (*ImageResolver) DeepCopyInto

func (in *ImageResolver) DeepCopyInto(out *ImageResolver)

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

func (ImageResolver) Resolve

func (r ImageResolver) Resolve() (result ImageSpec)

type ImageSpec

type ImageSpec struct {
	Image            *string                       `json:"image,omitempty"`
	ImagePullPolicy  *corev1.PullPolicy            `json:"imagePullPolicy,omitempty"`
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*ImageSpec) DeepCopy

func (in *ImageSpec) DeepCopy() *ImageSpec

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

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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

func (ImageSpec) GetImage

func (s ImageSpec) GetImage() string

func (ImageSpec) GetImagePullPolicy

func (s ImageSpec) GetImagePullPolicy() (_ corev1.PullPolicy)

type LogLevel

type LogLevel string
const (
	LogLevelDebug LogLevel = "debug"
	LogLevelInfo  LogLevel = "info"
	LogLevelWarn  LogLevel = "warn"
	LogLevelError LogLevel = "error"
)

type OpensearchClusterRef

type OpensearchClusterRef struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*OpensearchClusterRef) DeepCopy

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

func (*OpensearchClusterRef) DeepCopyInto

func (in *OpensearchClusterRef) DeepCopyInto(out *OpensearchClusterRef)

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

func (*OpensearchClusterRef) ObjectKeyFromRef

func (o *OpensearchClusterRef) ObjectKeyFromRef() types.NamespacedName

type PersistenceSpec

type PersistenceSpec struct {
	Enabled          bool                                `json:"enabled,omitempty"`
	StorageClassName *string                             `json:"storageClass,omitempty"`
	AccessModes      []corev1.PersistentVolumeAccessMode `json:"accessModes,omitempty"`
	// Storage size request. Defaults to 10Gi.
	Request resource.Quantity `json:"request,omitempty"`
}

func (*PersistenceSpec) DeepCopy

func (in *PersistenceSpec) DeepCopy() *PersistenceSpec

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

func (*PersistenceSpec) DeepCopyInto

func (in *PersistenceSpec) DeepCopyInto(out *PersistenceSpec)

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

type PrometheusReference

type PrometheusReference struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*PrometheusReference) DeepCopy

func (in *PrometheusReference) DeepCopy() *PrometheusReference

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

func (*PrometheusReference) DeepCopyInto

func (in *PrometheusReference) DeepCopyInto(out *PrometheusReference)

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