Documentation ¶
Index ¶
- type RethinkDBCluster
- func (c *RethinkDBCluster) AddOwnerRefToObject(obj metav1.Object, ownerRef metav1.OwnerReference)
- func (c *RethinkDBCluster) AsOwner() metav1.OwnerReference
- func (c *RethinkDBCluster) ConstructContainerResources() v1.ResourceRequirements
- func (c *RethinkDBCluster) ConstructContainers() []v1.Container
- func (c *RethinkDBCluster) ConstructEmptyDirVolume(name string) v1.Volume
- func (c *RethinkDBCluster) ConstructInitContainers() []v1.Container
- func (c *RethinkDBCluster) ConstructPVCs() []v1.PersistentVolumeClaim
- func (c *RethinkDBCluster) ConstructVolumes() []v1.Volume
- func (c RethinkDBCluster) CreateOrUpdateClusterService() error
- func (c RethinkDBCluster) CreateOrUpdateDriverService() error
- func (c RethinkDBCluster) CreateOrUpdateStatefulSet() error
- func (c RethinkDBCluster) LabelsForCluster() map[string]string
- func (c RethinkDBCluster) SetDefaults() bool
- func (c RethinkDBCluster) UpdateStatus() error
- type RethinkDBController
- type RethinkDBHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RethinkDBCluster ¶ added in v0.0.2
type RethinkDBCluster struct { Resource *v1alpha1.RethinkDB RethinkDBController }
func NewRethinkDBCluster ¶ added in v0.0.2
func NewRethinkDBCluster(r *v1alpha1.RethinkDB) *RethinkDBCluster
func (*RethinkDBCluster) AddOwnerRefToObject ¶ added in v0.0.2
func (c *RethinkDBCluster) AddOwnerRefToObject(obj metav1.Object, ownerRef metav1.OwnerReference)
func (*RethinkDBCluster) AsOwner ¶ added in v0.0.2
func (c *RethinkDBCluster) AsOwner() metav1.OwnerReference
asOwner returns an OwnerReference set as the rethinkdb CR
func (*RethinkDBCluster) ConstructContainerResources ¶ added in v0.0.2
func (c *RethinkDBCluster) ConstructContainerResources() v1.ResourceRequirements
func (*RethinkDBCluster) ConstructContainers ¶ added in v0.0.2
func (c *RethinkDBCluster) ConstructContainers() []v1.Container
func (*RethinkDBCluster) ConstructEmptyDirVolume ¶ added in v0.0.2
func (c *RethinkDBCluster) ConstructEmptyDirVolume(name string) v1.Volume
func (*RethinkDBCluster) ConstructInitContainers ¶ added in v0.0.2
func (c *RethinkDBCluster) ConstructInitContainers() []v1.Container
func (*RethinkDBCluster) ConstructPVCs ¶ added in v0.0.2
func (c *RethinkDBCluster) ConstructPVCs() []v1.PersistentVolumeClaim
func (*RethinkDBCluster) ConstructVolumes ¶ added in v0.0.2
func (c *RethinkDBCluster) ConstructVolumes() []v1.Volume
func (RethinkDBCluster) CreateOrUpdateClusterService ¶ added in v0.0.2
func (c RethinkDBCluster) CreateOrUpdateClusterService() error
func (RethinkDBCluster) CreateOrUpdateDriverService ¶ added in v0.0.2
func (c RethinkDBCluster) CreateOrUpdateDriverService() error
func (RethinkDBCluster) CreateOrUpdateStatefulSet ¶ added in v0.0.2
func (c RethinkDBCluster) CreateOrUpdateStatefulSet() error
func (RethinkDBCluster) LabelsForCluster ¶ added in v0.0.2
func (c RethinkDBCluster) LabelsForCluster() map[string]string
func (RethinkDBCluster) SetDefaults ¶ added in v0.0.2
func (c RethinkDBCluster) SetDefaults() bool
func (RethinkDBCluster) UpdateStatus ¶ added in v0.0.2
func (c RethinkDBCluster) UpdateStatus() error
type RethinkDBController ¶ added in v0.0.2
type RethinkDBHandler ¶
func NewRethinkDBHandler ¶
func NewRethinkDBHandler() *RethinkDBHandler
func (*RethinkDBHandler) HandleRethinkDB ¶ added in v0.0.2
func (h *RethinkDBHandler) HandleRethinkDB(c RethinkDBController) error
Click to show internal directories.
Click to hide internal directories.