postmanager

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	F5RouterName = "F5 BIG-IP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	BIGIPUsername string
	BIGIPPassword string
	BIGIPURL      string
	TrustedCerts  string
	SSLInsecure   bool
	AS3PostDelay  int
	//Log the AS3 response body in Controller logs
	LogResponse   bool
	RouteClientV1 routeclient.RouteV1Interface
}

type PostManager

type PostManager struct {
	Params
	// contains filtered or unexported fields
}

func NewPostManager

func NewPostManager(params Params) *PostManager

func (*PostManager) Write

func (postMgr *PostManager) Write(
	data string,
	partitions []string,
	routesMap map[string][]string,
)

Write sets activeConfig with the latest config received, so that configWorker can use latest configuration Write enqueues postChan to unblock configWorker, which gets blocked on postChan

Jump to

Keyboard shortcuts

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