openshiftorderer

package
v1.0.5-3 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	*baseorderer.Node

	RouteManager           resources.Manager
	OperationsRouteManager resources.Manager
	AdminRouteManager      resources.Manager
	GRPCRouteManager       resources.Manager

	Override Override
}

func NewNode

func NewNode(basenode *baseorderer.Node) *Node

func (*Node) CreateManagers

func (n *Node) CreateManagers()

func (*Node) Reconcile

func (n *Node) Reconcile(instance *current.IBPOrderer, update baseorderer.Update) (common.Result, error)

func (*Node) ReconcileManagers

func (n *Node) ReconcileManagers(instance *current.IBPOrderer, updated baseorderer.Update, genesisBlock []byte) error

type Orderer

type Orderer struct {
	*baseorderer.Orderer
}

func New

func New(client k8sclient.Client, scheme *runtime.Scheme, config *config.Config) *Orderer

func (*Orderer) Reconcile

func (o *Orderer) Reconcile(instance *current.IBPOrderer, update baseorderer.Update) (common.Result, error)

func (*Orderer) ReconcileNode

func (o *Orderer) ReconcileNode(instance *current.IBPOrderer, update baseorderer.Update) (common.Result, error)

type Override

type Override interface {
	baseorderer.Override
	OrdererRoute(object v1.Object, route *routev1.Route, action resources.Action) error
	OperationsRoute(object v1.Object, route *routev1.Route, action resources.Action) error
	AdminRoute(object v1.Object, route *routev1.Route, action resources.Action) error
	OrdererGRPCRoute(object v1.Object, route *routev1.Route, action resources.Action) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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