deployer

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleRequest added in v1.0.1

func HandleRequest(bc *f5_bigip.BIGIPContext, r DeployRequest) error

Types

type CtxKeyType

type CtxKeyType string
const (
	CtxKey_DeletePartition CtxKeyType = "delete_partition"
	CtxKey_CreatePartition CtxKeyType = "create_partition"
	CtxKey_SpecifiedBIGIP  CtxKeyType = "specified_bigip"
)

type DeployRequest

type DeployRequest struct {
	Meta      string
	From      *map[string]interface{}
	To        *map[string]interface{}
	Partition string
	Context   context.Context
}

type DeployResponse added in v1.0.2

type DeployResponse struct {
	DeployRequest
	Status error
}

type DeployResponses added in v1.0.2

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

func Deployer

func Deployer(stopCh chan struct{}, bigips []*f5_bigip.BIGIP) (chan DeployRequest, *DeployResponses)

func (*DeployResponses) Append added in v1.0.2

func (dr *DeployResponses) Append(r *DeployResponse)

func (*DeployResponses) Empty added in v1.0.2

func (dr *DeployResponses) Empty() bool

func (*DeployResponses) Shift added in v1.0.2

func (dr *DeployResponses) Shift() *DeployResponse

Jump to

Keyboard shortcuts

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