Documentation ¶
Index ¶
Constants ¶
const (
OpensearchFinalizer = "opni.io/opensearch"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtraVolumeMount ¶ added in v0.5.0
type ExtraVolumeMount struct { Name string `json:"name,omitempty"` MountPath string `json:"mountPath,omitempty"` ReadOnly bool `json:"readOnly,omitempty"` corev1.VolumeSource `json:",inline"` }
func (*ExtraVolumeMount) DeepCopy ¶ added in v0.5.0
func (in *ExtraVolumeMount) DeepCopy() *ExtraVolumeMount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraVolumeMount.
func (*ExtraVolumeMount) DeepCopyInto ¶ added in v0.5.0
func (in *ExtraVolumeMount) DeepCopyInto(out *ExtraVolumeMount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ImageSpec) GetImagePullPolicy ¶
func (s ImageSpec) GetImagePullPolicy() (_ corev1.PullPolicy)
func (*ImageSpec) GetImageWithDefault ¶ added in v0.6.0
type OpensearchClusterRef ¶
type OpensearchClusterRef struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*OpensearchClusterRef) DeepCopy ¶
func (in *OpensearchClusterRef) DeepCopy() *OpensearchClusterRef
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.