client

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewStore

func NewStore(parentLogger logger.Logger,
	platform platform.Platform,
	dockerClient dockerclient.Client,
	imageName string) (*Store, error)

func (*Store) CreateOrUpdateFunction

func (s *Store) CreateOrUpdateFunction(functionConfig *functionconfig.ConfigWithStatus) error

func (*Store) CreateOrUpdateFunctionEvent

func (s *Store) CreateOrUpdateFunctionEvent(functionEventConfig *platform.FunctionEventConfig) error

func (*Store) CreateOrUpdateProject

func (s *Store) CreateOrUpdateProject(projectConfig *platform.ProjectConfig) error

func (*Store) DeleteFunction

func (s *Store) DeleteFunction(ctx context.Context, functionMeta *functionconfig.Meta) error

func (*Store) DeleteFunctionEvent

func (s *Store) DeleteFunctionEvent(functionEventMeta *platform.FunctionEventMeta) error

func (*Store) DeleteProject

func (s *Store) DeleteProject(ctx context.Context, projectMeta *platform.ProjectMeta) error

func (*Store) GetFunctionEvents

func (s *Store) GetFunctionEvents(getFunctionEventsOptions *platform.GetFunctionEventsOptions) ([]platform.FunctionEvent, error)

func (*Store) GetFunctions

func (s *Store) GetFunctions(functionMeta *functionconfig.Meta) ([]platform.Function, error)

func (*Store) GetProjectFunctions

func (s *Store) GetProjectFunctions(getFunctionsOptions *platform.GetFunctionsOptions) ([]platform.Function, error)

func (*Store) GetProjects

func (s *Store) GetProjects(projectMeta *platform.ProjectMeta) ([]platform.Project, error)

Jump to

Keyboard shortcuts

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