router

package
v0.0.0-...-88ad6e2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

func NewRouter

func NewRouter(client client.Client) *Router

func (*Router) Create

func (r *Router) Create(ctx context.Context, router *v1.Router) (string, error)

func (*Router) DelCheck

func (r *Router) DelCheck(name string) (*response.Response, error)

func (*Router) Delete

func (r *Router) Delete(ctx context.Context, name string) error

func (*Router) Get

func (r *Router) Get(ctx context.Context, name string) (*v1.Router, error)

func (*Router) List

func (r *Router) List(ctx context.Context) ([]*response.Response, error)

func (*Router) Update

func (r *Router) Update(ctx context.Context, router *v1.Router) (string, error)

func (*Router) UpdateCheck

func (r *Router) UpdateCheck(name string, value interface{}) (*response.Response, error)

Jump to

Keyboard shortcuts

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