storage

package
v0.0.0-...-6e3bcc9 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

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

func NewRedis

func NewRedis(ctx context.Context, opts *redis.Options) (*Redis, error)

func (*Redis) DeleteDeployByName

func (r *Redis) DeleteDeployByName(ctx context.Context, name string) error

func (*Redis) GetDeployByName

func (r *Redis) GetDeployByName(ctx context.Context, name string) (*domain.Deploy, error)

func (*Redis) IsPortBusy

func (r *Redis) IsPortBusy(ctx context.Context, port int) (bool, error)

func (*Redis) MarkPortAsBusy

func (r *Redis) MarkPortAsBusy(ctx context.Context, port int) error

func (*Redis) UpsertDeploy

func (r *Redis) UpsertDeploy(ctx context.Context, deploy domain.Deploy) error

Jump to

Keyboard shortcuts

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