containers

package
v0.0.0-...-e4271f9 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CREATE = iota
	DELETE
	UPDATE
)

Variables

This section is empty.

Functions

func Create

func Create(request Request, client *client.Client, ctx context.Context) error

func Delete

func Delete(request Request, client *client.Client) error

func Tick

func Tick(client *client.Client, ctx context.Context) error

func Update

func Update(request Request, client *client.Client) error

func WriteCache

func WriteCache(toWrite []Request) error

Types

type Request

type Request struct {
	Type     int    `json:"type"`
	Name     string `json:"name"`
	Image    string `json:"image_name"`
	ImageURL string `json:"image"`
}

func GetCache

func GetCache() ([]Request, error)

Jump to

Keyboard shortcuts

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