etcd

package
v0.0.0-...-496005d Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CASecretNameFor

func CASecretNameFor(clusterName string) string

func DefaultPersistentVolumeClaimSpec

func DefaultPersistentVolumeClaimSpec() *v1.PersistentVolumeClaimSpec

func EtcdAPIClientSecretNameFor

func EtcdAPIClientSecretNameFor(clusterName string) string

func PeerSecretNameFor

func PeerSecretNameFor(clusterName string) string

func ServerSecretNameFor

func ServerSecretNameFor(clusterName string) string

func ServiceNameFor

func ServiceNameFor(clusterName string) string

func SvcFQDN

func SvcFQDN(clusterName, namespace string) string

Service name if <clustername>-etcd.<namespace>.svc.cluster.local

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func New

func New(kubeclient *kubeprovider.Client) *Controller

func (*Controller) Finalize

func (c *Controller) Finalize(_ context.Context, _ *v1alpha1.ControlPlane) (err error)

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, controlPlane *v1alpha1.ControlPlane) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL