Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the opni.io v1beta1 API group +kubebuilder:object:generate=true +groupName=opni.io
Index ¶
- Constants
- Variables
- type DataPrepper
- type DataPrepperList
- type DataPrepperSpec
- type DataPrepperState
- type DataPrepperStatus
- type ImageResolver
- type ImageSpec
- type IndexUserState
- type LoggingCluster
- type LoggingClusterList
- type LoggingClusterSpec
- type LoggingClusterState
- type LoggingClusterStatus
- type MulticlusterRoleBinding
- type MulticlusterRoleBindingList
- type MulticlusterRoleBindingSpec
- type MulticlusterRoleBindingState
- type MulticlusterRoleBindingStatus
- type OpensearchClusterRef
- type OpensearchSpec
Constants ¶
const (
IDLabel = "opni.io/multiclusterID"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "opni.io", Version: "v2beta1"} // 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 DataPrepper ¶
type DataPrepper struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DataPrepperSpec `json:"spec,omitempty"` Status DataPrepperStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*DataPrepper) DeepCopy ¶
func (in *DataPrepper) DeepCopy() *DataPrepper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPrepper.
func (*DataPrepper) DeepCopyInto ¶
func (in *DataPrepper) DeepCopyInto(out *DataPrepper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataPrepper) DeepCopyObject ¶
func (in *DataPrepper) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataPrepperList ¶
type DataPrepperList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DataPrepper `json:"items"` }
+kubebuilder:object:root=true
func (*DataPrepperList) DeepCopy ¶
func (in *DataPrepperList) DeepCopy() *DataPrepperList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPrepperList.
func (*DataPrepperList) DeepCopyInto ¶
func (in *DataPrepperList) DeepCopyInto(out *DataPrepperList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataPrepperList) DeepCopyObject ¶
func (in *DataPrepperList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataPrepperSpec ¶
type DataPrepperSpec struct { *ImageSpec `json:",inline,omitempty"` // +kubebuilder:default:=latest Version string `json:"version"` // +optional DefaultRepo *string `json:"defaultRepo,omitempty"` Opensearch *OpensearchSpec `json:"opensearch,omitempty"` Username string `json:"username"` PasswordFrom *corev1.SecretKeySelector `json:"passwordFrom,omitempty"` ClusterID string `json:"cluster,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
func (*DataPrepperSpec) DeepCopy ¶
func (in *DataPrepperSpec) DeepCopy() *DataPrepperSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPrepperSpec.
func (*DataPrepperSpec) DeepCopyInto ¶
func (in *DataPrepperSpec) DeepCopyInto(out *DataPrepperSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPrepperState ¶
type DataPrepperState string
const ( DataPrepperStatePending DataPrepperState = "pending" DataPrepperStateReady DataPrepperState = "ready" DataprepperStateError DataPrepperState = "error" )
type DataPrepperStatus ¶
type DataPrepperStatus struct { Conditions []string `json:"conditions,omitempty"` State DataPrepperState `json:"state,omitempty"` }
func (*DataPrepperStatus) DeepCopy ¶
func (in *DataPrepperStatus) DeepCopy() *DataPrepperStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPrepperStatus.
func (*DataPrepperStatus) DeepCopyInto ¶
func (in *DataPrepperStatus) DeepCopyInto(out *DataPrepperStatus)
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)
type IndexUserState ¶
type IndexUserState string
const ( IndexUserStatePending IndexUserState = "pending" IndexUserStateCreated IndexUserState = "created" IndexUserStateError IndexUserState = "error" )
type LoggingCluster ¶
type LoggingCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LoggingClusterSpec `json:"spec,omitempty"` Status LoggingClusterStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +kubebuilder:printcolumn:name="IndexUser",type=boolean,JSONPath=`.status.indexUserState`
func (*LoggingCluster) DeepCopy ¶
func (in *LoggingCluster) DeepCopy() *LoggingCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingCluster.
func (*LoggingCluster) DeepCopyInto ¶
func (in *LoggingCluster) DeepCopyInto(out *LoggingCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoggingCluster) DeepCopyObject ¶
func (in *LoggingCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoggingClusterList ¶
type LoggingClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LoggingCluster `json:"items"` }
+kubebuilder:object:root=true
func (*LoggingClusterList) DeepCopy ¶
func (in *LoggingClusterList) DeepCopy() *LoggingClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingClusterList.
func (*LoggingClusterList) DeepCopyInto ¶
func (in *LoggingClusterList) DeepCopyInto(out *LoggingClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoggingClusterList) DeepCopyObject ¶
func (in *LoggingClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoggingClusterSpec ¶
type LoggingClusterSpec struct { OpensearchClusterRef *OpensearchClusterRef `json:"opensearchCluster,omitempty"` IndexUserSecret *corev1.LocalObjectReference `json:"indexUser,omitempty"` FriendlyName string `json:"friendlyName,omitempty"` }
func (*LoggingClusterSpec) DeepCopy ¶
func (in *LoggingClusterSpec) DeepCopy() *LoggingClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingClusterSpec.
func (*LoggingClusterSpec) DeepCopyInto ¶
func (in *LoggingClusterSpec) DeepCopyInto(out *LoggingClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingClusterState ¶
type LoggingClusterState string
const ( LoggingClusterStateCreated LoggingClusterState = "created" LoggingClusterStateRegistered LoggingClusterState = "registered" LoggingClusterStateError LoggingClusterState = "error" )
type LoggingClusterStatus ¶
type LoggingClusterStatus struct { Conditions []string `json:"conditions,omitempty"` State LoggingClusterState `json:"state,omitempty"` IndexUserState IndexUserState `json:"indexUserState,omitempty"` }
func (*LoggingClusterStatus) DeepCopy ¶
func (in *LoggingClusterStatus) DeepCopy() *LoggingClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingClusterStatus.
func (*LoggingClusterStatus) DeepCopyInto ¶
func (in *LoggingClusterStatus) DeepCopyInto(out *LoggingClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MulticlusterRoleBinding ¶
type MulticlusterRoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MulticlusterRoleBindingSpec `json:"spec,omitempty"` Status MulticlusterRoleBindingStatus `json:"status,omitempty"` }
func (*MulticlusterRoleBinding) DeepCopy ¶
func (in *MulticlusterRoleBinding) DeepCopy() *MulticlusterRoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterRoleBinding.
func (*MulticlusterRoleBinding) DeepCopyInto ¶
func (in *MulticlusterRoleBinding) DeepCopyInto(out *MulticlusterRoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MulticlusterRoleBinding) DeepCopyObject ¶
func (in *MulticlusterRoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MulticlusterRoleBindingList ¶
type MulticlusterRoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MulticlusterRoleBinding `json:"items"` }
MulticlusterRoleBindingList contains a list of MulticlusterRoleBinding
func (*MulticlusterRoleBindingList) DeepCopy ¶
func (in *MulticlusterRoleBindingList) DeepCopy() *MulticlusterRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterRoleBindingList.
func (*MulticlusterRoleBindingList) DeepCopyInto ¶
func (in *MulticlusterRoleBindingList) DeepCopyInto(out *MulticlusterRoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MulticlusterRoleBindingList) DeepCopyObject ¶
func (in *MulticlusterRoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MulticlusterRoleBindingSpec ¶
type MulticlusterRoleBindingSpec struct {
OpensearchCluster *OpensearchClusterRef `json:"opensearch,omitempty"`
}
func (*MulticlusterRoleBindingSpec) DeepCopy ¶
func (in *MulticlusterRoleBindingSpec) DeepCopy() *MulticlusterRoleBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterRoleBindingSpec.
func (*MulticlusterRoleBindingSpec) DeepCopyInto ¶
func (in *MulticlusterRoleBindingSpec) DeepCopyInto(out *MulticlusterRoleBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MulticlusterRoleBindingState ¶
type MulticlusterRoleBindingState string
const ( MulticlusterRoleBindingStateError MulticlusterRoleBindingState = "Error" MulticlusterRoleBindingStateWorking MulticlusterRoleBindingState = "Working" MulticlusterRoleBindingStateReady MulticlusterRoleBindingState = "Ready" )
type MulticlusterRoleBindingStatus ¶
type MulticlusterRoleBindingStatus struct { Conditions []string `json:"conditions,omitempty"` State MulticlusterRoleBindingState `json:"state,omitempty"` }
func (*MulticlusterRoleBindingStatus) DeepCopy ¶
func (in *MulticlusterRoleBindingStatus) DeepCopy() *MulticlusterRoleBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterRoleBindingStatus.
func (*MulticlusterRoleBindingStatus) DeepCopyInto ¶
func (in *MulticlusterRoleBindingStatus) DeepCopyInto(out *MulticlusterRoleBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.
type OpensearchSpec ¶
type OpensearchSpec struct { Endpoint string `json:"endpoint,omitempty"` InsecureDisableSSLVerify bool `json:"insecureDisableSSLVerify,omitempty"` }
func (*OpensearchSpec) DeepCopy ¶
func (in *OpensearchSpec) DeepCopy() *OpensearchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchSpec.
func (*OpensearchSpec) DeepCopyInto ¶
func (in *OpensearchSpec) DeepCopyInto(out *OpensearchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.