Documentation
¶
Index ¶
- Constants
- func ClusterPlaceholder(name string) *api.CrdbCluster
- type Builder
- type Cluster
- func (cluster Cluster) ClientTLSSecretName() string
- func (cluster Cluster) DiscoveryServiceName() string
- func (cluster Cluster) Domain() string
- func (cluster Cluster) InitTime() metav1.Time
- func (cluster Cluster) IsFresh(fetcher Fetcher) (bool, error)
- func (cluster Cluster) Name() string
- func (cluster Cluster) Namespace() string
- func (cluster Cluster) NodeTLSSecretName() string
- func (cluster Cluster) ObjectKey() types.NamespacedName
- func (cluster Cluster) PublicServiceName() string
- func (cluster Cluster) SecureMode() string
- func (cluster Cluster) SetFalse(ctype api.ClusterConditionType)
- func (cluster Cluster) SetTrue(ctype api.ClusterConditionType)
- func (cluster Cluster) Spec() *api.CrdbClusterSpec
- func (cluster Cluster) StatefulSetName() string
- func (cluster Cluster) Status() *api.CrdbClusterStatus
- func (cluster Cluster) Unwrap() *api.CrdbCluster
- type DiscoveryServiceBuilder
- type Fetcher
- type KubeFetcher
- type KubePersister
- type ManagedResource
- type Persister
- type PublicServiceBuilder
- type Reconciler
- type Resource
- type StatefulSetBuilder
- type TLSSecret
Constants ¶
View Source
const (
DbContainerName = "db"
)
Variables ¶
This section is empty.
Functions ¶
func ClusterPlaceholder ¶
func ClusterPlaceholder(name string) *api.CrdbCluster
Types ¶
type Cluster ¶
type Cluster struct { Fetcher // contains filtered or unexported fields }
func NewCluster ¶
func NewCluster(original *api.CrdbCluster) Cluster
func (Cluster) ClientTLSSecretName ¶
func (Cluster) DiscoveryServiceName ¶
func (Cluster) NodeTLSSecretName ¶
func (Cluster) ObjectKey ¶
func (cluster Cluster) ObjectKey() types.NamespacedName
func (Cluster) PublicServiceName ¶
func (Cluster) SecureMode ¶
func (Cluster) SetFalse ¶
func (cluster Cluster) SetFalse(ctype api.ClusterConditionType)
func (Cluster) SetTrue ¶
func (cluster Cluster) SetTrue(ctype api.ClusterConditionType)
func (Cluster) Spec ¶
func (cluster Cluster) Spec() *api.CrdbClusterSpec
func (Cluster) StatefulSetName ¶
func (Cluster) Status ¶
func (cluster Cluster) Status() *api.CrdbClusterStatus
func (Cluster) Unwrap ¶
func (cluster Cluster) Unwrap() *api.CrdbCluster
type DiscoveryServiceBuilder ¶
This service only exists to create DNS entries for each pod in the StatefulSet such that they can resolve each other's IP addresses. It does not create a load-balanced ClusterIP and should not be used directly by clients in most circumstances.
func (DiscoveryServiceBuilder) Build ¶
func (b DiscoveryServiceBuilder) Build(obj runtime.Object) error
func (DiscoveryServiceBuilder) Placeholder ¶
func (b DiscoveryServiceBuilder) Placeholder() runtime.Object
type KubeFetcher ¶
func NewKubeFetcher ¶
type KubePersister ¶
func NewKubePersister ¶
type ManagedResource ¶
func NewManagedKubeResource ¶
type PublicServiceBuilder ¶
func (PublicServiceBuilder) Placeholder ¶
func (b PublicServiceBuilder) Placeholder() runtime.Object
type Reconciler ¶
func (Reconciler) Reconcile ¶
func (r Reconciler) Reconcile() (upserted bool, err error)
type StatefulSetBuilder ¶
func (StatefulSetBuilder) Placeholder ¶
func (b StatefulSetBuilder) Placeholder() runtime.Object
type TLSSecret ¶
type TLSSecret struct { Resource // contains filtered or unexported fields }
func (*TLSSecret) UpdateCertAndCA ¶
Click to show internal directories.
Click to hide internal directories.