v1alpha1

package
v0.2.3-0...-3c83fdf Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 7 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() (*Client, error)

NewClient returns a client to make calls to the system API group version v1alpha1. It's the caller's responsibility to Close the client when done.

func (*Client) Close

func (w *Client) Close() error

Close closes the client. It must be called before the client gets GC-ed.

func (*Client) GetBIOSSerialNumber

func (w *Client) GetBIOSSerialNumber(context context.Context, request *v1alpha1.GetBIOSSerialNumberRequest, opts ...grpc.CallOption) (*v1alpha1.GetBIOSSerialNumberResponse, error)

func (*Client) GetService

func (w *Client) GetService(context context.Context, request *v1alpha1.GetServiceRequest, opts ...grpc.CallOption) (*v1alpha1.GetServiceResponse, error)

func (*Client) StartService

func (w *Client) StartService(context context.Context, request *v1alpha1.StartServiceRequest, opts ...grpc.CallOption) (*v1alpha1.StartServiceResponse, error)

func (*Client) StopService

func (w *Client) StopService(context context.Context, request *v1alpha1.StopServiceRequest, opts ...grpc.CallOption) (*v1alpha1.StopServiceResponse, error)

Jump to

Keyboard shortcuts

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