servicemesh

package
v0.0.0-...-4786a4a Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestinationRule

type DestinationRule struct {
	service.Interface
}

func NewDestinationRule

func NewDestinationRule(svcInterface service.Interface) *DestinationRule

func (*DestinationRule) Apply

func (d *DestinationRule) Apply(namespace, name string, unstructuredExtend *service.UnstructuredExtend) (*service.UnstructuredExtend, bool, error)

func (*DestinationRule) Delete

func (d *DestinationRule) Delete(namespace, name string) error

func (*DestinationRule) Get

func (d *DestinationRule) Get(namespace, name string) (*service.UnstructuredExtend, error)

func (*DestinationRule) List

func (d *DestinationRule) List(namespace string, selector string) (*service.UnstructuredListExtend, error)

type Gateway

type Gateway struct {
	service.Interface
}

func NewGateway

func NewGateway(svcInterface service.Interface) *Gateway

func (*Gateway) Apply

func (g *Gateway) Apply(namespace, name string, unstructuredExtend *service.UnstructuredExtend) (*service.UnstructuredExtend, bool, error)

func (*Gateway) Delete

func (g *Gateway) Delete(namespace, name string) error

func (*Gateway) Get

func (g *Gateway) Get(namespace, name string) (*service.UnstructuredExtend, error)

func (*Gateway) List

func (g *Gateway) List(namespace string, selector string) (*service.UnstructuredListExtend, error)

type ServiceEntry

type ServiceEntry struct {
	service.Interface
}

func NewServiceEntry

func NewServiceEntry(svcInterface service.Interface) *ServiceEntry

func (*ServiceEntry) Apply

func (s *ServiceEntry) Apply(namespace, name string, unstructuredExtend *service.UnstructuredExtend) (*service.UnstructuredExtend, bool, error)

func (*ServiceEntry) Delete

func (s *ServiceEntry) Delete(namespace, name string) error

func (*ServiceEntry) Get

func (s *ServiceEntry) Get(namespace, name string) (*service.UnstructuredExtend, error)

func (*ServiceEntry) List

func (s *ServiceEntry) List(namespace string, selector string) (*service.UnstructuredListExtend, error)

type Sidecar

type Sidecar struct {
	service.Interface
}

func NewSidecar

func NewSidecar(svcInterface service.Interface) *Sidecar

func (*Sidecar) Apply

func (s *Sidecar) Apply(namespace, name string, unstructuredExtend *service.UnstructuredExtend) (*service.UnstructuredExtend, bool, error)

func (*Sidecar) Delete

func (s *Sidecar) Delete(namespace, name string) error

func (*Sidecar) Get

func (s *Sidecar) Get(namespace, name string) (*service.UnstructuredExtend, error)

func (*Sidecar) List

func (s *Sidecar) List(namespace string, selector string) (*service.UnstructuredListExtend, error)

type VirtualService

type VirtualService struct {
	service.Interface
}

func NewVirtualService

func NewVirtualService(svcInterface service.Interface) *VirtualService

func (*VirtualService) Apply

func (v *VirtualService) Apply(namespace, name string, unstructuredExtend *service.UnstructuredExtend) (*service.UnstructuredExtend, bool, error)

func (*VirtualService) Delete

func (v *VirtualService) Delete(namespace, name string) error

func (*VirtualService) Get

func (v *VirtualService) Get(namespace, name string) (*service.UnstructuredExtend, error)

func (*VirtualService) List

func (v *VirtualService) List(namespace string, selector string) (*service.UnstructuredListExtend, error)

type WorkloadEntry

type WorkloadEntry struct {
	service.Interface
}

func NewWorkloadEntry

func NewWorkloadEntry(svcInterface service.Interface) *WorkloadEntry

func (*WorkloadEntry) Apply

func (w *WorkloadEntry) Apply(namespace, name string, unstructuredExtend *service.UnstructuredExtend) (*service.UnstructuredExtend, bool, error)

func (*WorkloadEntry) Delete

func (w *WorkloadEntry) Delete(namespace, name string) error

func (*WorkloadEntry) Get

func (w *WorkloadEntry) Get(namespace, name string) (*service.UnstructuredExtend, error)

func (*WorkloadEntry) List

func (w *WorkloadEntry) List(namespace string, selector string) (*service.UnstructuredListExtend, error)

Jump to

Keyboard shortcuts

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