convert

package
v0.0.0-...-6bd796b Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 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