service

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 Service

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

func NewService

func NewService(client client.Client) *Service

func (*Service) Create

func (s *Service) Create(ctx context.Context, service *v1.Service) (string, error)

func (*Service) DelCheck

func (s *Service) DelCheck(name string) (*response.Response, error)

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, name string) error

func (*Service) Get

func (s *Service) Get(ctx context.Context, name string) (*v1.Service, error)

func (*Service) List

func (s *Service) List(ctx context.Context) ([]*response.Response, error)

func (*Service) Update

func (s *Service) Update(ctx context.Context, service *v1.Service) (string, error)

func (*Service) UpdateCheck

func (s *Service) 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