grpc

package
v4.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	pb.UnimplementedImageServiceServer
	pb.UnimplementedNotifServiceServer
	// contains filtered or unexported fields
}

Client represents an active grpc object

func New

func New(authority string, db *db.Client, notif *notif.Client) (*Client, error)

New creates a new grpc instance

func (*Client) ImageInspect

func (c *Client) ImageInspect(_ context.Context, request *pb.ImageInspectRequest) (*pb.ImageInspectResponse, error)

func (*Client) ImageList

func (*Client) ImagePrune added in v4.21.0

func (*Client) ImageRemove

func (c *Client) ImageRemove(_ context.Context, request *pb.ImageRemoveRequest) (*pb.ImageRemoveResponse, error)

func (*Client) NotifTest

func (*Client) Start

func (c *Client) Start() error

Start runs the grpc server

func (*Client) Stop

func (c *Client) Stop()

Stop stops the grpc server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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