k8s_api

package
v3.0.0-rc4-1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName    = "service.dubbo.apache.org"
	GroupVersion = "v1alpha1"
	Namespace    = "dubbo-workplace"
)
View Source
const (
	VirtualServiceEventKey  = "virtualServiceEventKey"
	DestinationRuleEventKey = "destinationRuleEventKey"

	VirtualServiceResource = "virtualservices"
	DestRuleResource       = "destinationrules"
)

Variables

This section is empty.

Functions

func SetK8sEventListener

func SetK8sEventListener(listener config_center.ConfigurationListener) error

Types

type DestRuleListenerHandler

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

nolint

func (*DestRuleListenerHandler) AddFunc

func (r *DestRuleListenerHandler) AddFunc(obj interface{})

nolint

func (*DestRuleListenerHandler) DeleteFunc

func (r *DestRuleListenerHandler) DeleteFunc(obj interface{})

nolint

func (*DestRuleListenerHandler) GetObject

func (r *DestRuleListenerHandler) GetObject() runtime.Object

nolint

func (*DestRuleListenerHandler) List

nolint

func (*DestRuleListenerHandler) UpdateFunc

func (r *DestRuleListenerHandler) UpdateFunc(oldObj, newObj interface{})

nolint

func (*DestRuleListenerHandler) Watch

func (r *DestRuleListenerHandler) Watch(opts metav.ListOptions, restClient *rest.RESTClient, ns string) (watch.Interface, error)

nolint

type VirtualServiceListenerHandler

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

nolint

func (*VirtualServiceListenerHandler) AddFunc

func (r *VirtualServiceListenerHandler) AddFunc(obj interface{})

nolint

func (*VirtualServiceListenerHandler) DeleteFunc

func (r *VirtualServiceListenerHandler) DeleteFunc(obj interface{})

nolint

func (*VirtualServiceListenerHandler) GetObject

nolint

func (*VirtualServiceListenerHandler) List

nolint

func (*VirtualServiceListenerHandler) UpdateFunc

func (r *VirtualServiceListenerHandler) UpdateFunc(oldObj, newObj interface{})

nolint

func (*VirtualServiceListenerHandler) Watch

nolint

Jump to

Keyboard shortcuts

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