upstream

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 Upstream

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

func NewUpstream

func NewUpstream(client client.Client) *Upstream

func (*Upstream) Create

func (u *Upstream) Create(ctx context.Context, upstream *v1.Upstream) (string, error)

func (*Upstream) DelCheck

func (u *Upstream) DelCheck(name string) (*response.Response, error)

func (*Upstream) Delete

func (u *Upstream) Delete(ctx context.Context, name string) error

func (*Upstream) Get

func (u *Upstream) Get(ctx context.Context, name string) (*v1.Upstream, error)

func (*Upstream) List

func (u *Upstream) List(ctx context.Context) ([]*response.Response, error)

func (*Upstream) Update

func (u *Upstream) Update(ctx context.Context, upstream *v1.Upstream) (string, error)

func (*Upstream) UpdateCheck

func (u *Upstream) 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