etcd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package etcd provides controllers which manage etcd resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvertisedPeerController

type AdvertisedPeerController struct{}

AdvertisedPeerController updates advertised peer list for this instance of etcd.

func (*AdvertisedPeerController) Inputs

func (ctrl *AdvertisedPeerController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*AdvertisedPeerController) Name

func (ctrl *AdvertisedPeerController) Name() string

Name implements controller.Controller interface.

func (*AdvertisedPeerController) Outputs

func (ctrl *AdvertisedPeerController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*AdvertisedPeerController) Run

Run implements controller.Controller interface.

type ConfigController

type ConfigController = transform.Controller[*config.MachineConfig, *etcd.Config]

ConfigController watches v1alpha1.Config, updates etcd config.

func NewConfigController

func NewConfigController() *ConfigController

NewConfigController instanciates the config controller.

type MemberController

type MemberController struct {
	GetLocalMemberIDFunc func(ctx context.Context) (uint64, error)
}

MemberController updates information about the local etcd member.

func (*MemberController) Inputs

func (ctrl *MemberController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*MemberController) Name

func (ctrl *MemberController) Name() string

Name implements controller.Controller interface.

func (*MemberController) Outputs

func (ctrl *MemberController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*MemberController) Run

func (ctrl *MemberController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

type PKIController

type PKIController struct{}

PKIController renders manifests based on templates and config/secrets.

func (*PKIController) Inputs

func (ctrl *PKIController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*PKIController) Name

func (ctrl *PKIController) Name() string

Name implements controller.Controller interface.

func (*PKIController) Outputs

func (ctrl *PKIController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*PKIController) Run

func (ctrl *PKIController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

type SpecController

type SpecController struct{}

SpecController renders manifests based on templates and Spec/secrets.

func (*SpecController) Inputs

func (ctrl *SpecController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*SpecController) Name

func (ctrl *SpecController) Name() string

Name implements controller.Controller interface.

func (*SpecController) Outputs

func (ctrl *SpecController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*SpecController) Run

func (ctrl *SpecController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

Jump to

Keyboard shortcuts

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