dataplane

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdditionalServices

func AdditionalServices(dataplane *core_mesh.DataplaneResource, mesh *core_mesh.MeshResource) ([]string, error)

func NewDataplaneManager

func NewDataplaneManager(store core_store.ResourceStore, zone string, validator Validator) core_manager.ResourceManager

Types

type DeniedErr added in v1.8.1

type DeniedErr struct {
	Mesh         string
	DpTagSet     mesh_proto.SingleValueTagSet
	DeniedTagSet mesh_proto.SingleValueTagSet
}

func (*DeniedErr) Error added in v1.8.1

func (n *DeniedErr) Error() string

type NotAllowedErr added in v1.8.1

type NotAllowedErr struct {
	Mesh   string
	TagSet mesh_proto.SingleValueTagSet
}

func (*NotAllowedErr) Error added in v1.8.1

func (n *NotAllowedErr) Error() string

type Validator added in v1.8.1

type Validator interface {
	ValidateCreate(ctx context.Context, key model.ResourceKey, newDp *core_mesh.DataplaneResource, mesh *core_mesh.MeshResource) error
	ValidateUpdate(ctx context.Context, newDp *core_mesh.DataplaneResource, mesh *core_mesh.MeshResource) error
}

func NewMembershipValidator added in v1.8.1

func NewMembershipValidator() Validator

Jump to

Keyboard shortcuts

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