mainchannel

package
v1.11.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = sb.Options{
	RequestBatchMaxCount:      types.DefaultConfig.RequestBatchMaxCount,
	RequestBatchMaxBytes:      types.DefaultConfig.RequestBatchMaxBytes,
	RequestBatchMaxInterval:   types.DefaultConfig.RequestBatchMaxInterval.String(),
	IncomingMessageBufferSize: types.DefaultConfig.IncomingMessageBufferSize,
	RequestPoolSize:           types.DefaultConfig.RequestPoolSize,
	RequestForwardTimeout:     types.DefaultConfig.RequestForwardTimeout.String(),
	RequestComplainTimeout:    types.DefaultConfig.RequestComplainTimeout.String(),
	RequestAutoRemoveTimeout:  types.DefaultConfig.RequestAutoRemoveTimeout.String(),
	ViewChangeResendInterval:  types.DefaultConfig.ViewChangeResendInterval.String(),
	ViewChangeTimeout:         types.DefaultConfig.ViewChangeTimeout.String(),
	LeaderHeartbeatTimeout:    types.DefaultConfig.LeaderHeartbeatTimeout.String(),
	LeaderHeartbeatCount:      types.DefaultConfig.LeaderHeartbeatCount,
	CollectTimeout:            types.DefaultConfig.CollectTimeout.String(),
	SyncOnStart:               types.DefaultConfig.SyncOnStart,
	SpeedUpViewChange:         types.DefaultConfig.SpeedUpViewChange,
	LeaderRotation:            sb.Options_ROTATION_ON,
	DecisionsPerLeader:        3,
	RequestMaxBytes:           10 * 1024,
}
View Source
var (
	ErrClientK8s = errors.New("k8sAPIClientError")
)

Functions

func CreateConfigUpdateEnvelope

func CreateConfigUpdateEnvelope(channelID string, configUpdate *common.ConfigUpdate) ([]byte, error)

Types

type FabricMainChannelReconciler

type FabricMainChannelReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Config *rest.Config
}

FabricMainChannelReconciler reconciles a FabricMainChannel object

func (*FabricMainChannelReconciler) Reconcile

+kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricmainchannels,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricmainchannels/status,verbs=get;update;patch +kubebuilder:rbac:groups=hlf.kungfusoftware.es,resources=fabricmainchannels/finalizers,verbs=get;update;patch

func (*FabricMainChannelReconciler) SetupWithManager

func (r *FabricMainChannelReconciler) SetupWithManager(mgr ctrl.Manager) error

type Pem

type Pem struct {
	Pem string
}

Jump to

Keyboard shortcuts

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