service

package
v0.0.0-...-79dbfb0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function struct {
	FuncRepo repository.FunctionRepository
}

Function todo

func NewFunctionService

func NewFunctionService(funcRepo repository.FunctionRepository) *Function

NewFunctionService todo

func (*Function) Create

func (s *Function) Create(namespace, functionName string)

Create todo

func (*Function) Delete

func (s *Function) Delete(namespace, functionName string)

Delete todo

func (*Function) Get

func (s *Function) Get(namespace, functionName string) *crd.Function

Get todo

func (*Function) List

func (s *Function) List(namespace, continueBase64 string, limit int64) *crd.FunctionList

List todo

func (*Function) Update

func (s *Function) Update(namespace, functionName string)

Update todo

type Scale

type Scale struct {
	RestClient rest.Interface
}

Scale todo

func NewScaleService

func NewScaleService(restClientBuildFunc func(*schema.GroupVersion, bool) (*rest.RESTClient, error)) (*Scale, error)

NewScaleService todo

func (*Scale) Get

func (s *Scale) Get(namespace, functionName string) (*v1beta1.Scale, error)

Get todo

func (*Scale) Inc

func (s *Scale) Inc(namespace, functionName string, scaleInc int) (*v1beta1.Scale, error)

Inc todo

Jump to

Keyboard shortcuts

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