convert

package
v0.0.0-...-7a5359b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToPort

func ToPort(port *types2.Port) *v1.Port

ToPort Convert the port which has been defined in zookeeper library to the one that belongs to CRD.

Types

type DubboConverter

type DubboConverter struct {
	DefaultNamespace string
}

DubboConverter ...

func (*DubboConverter) ToConfiguredService

func (dc *DubboConverter) ToConfiguredService(s *types2.ServiceEvent) *v1.ConfiguredService

ToConfiguredService Convert service between these two formats

func (*DubboConverter) ToServiceConfig

func (dc *DubboConverter) ToServiceConfig(cc *types2.ConfiguratorConfig) *v1.ServiceConfig

ToServiceConfig ...

type Flag

type Flag struct {
	Key    string
	Weight int32
}

Flag ...

type FlagConfigParameter

type FlagConfigParameter struct {
	Flags  []*Flag
	Manual bool
}

FlagConfigParameter just for customized setting of dubbo

Jump to

Keyboard shortcuts

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