Documentation
¶
Index ¶
- type Client
- func (w *Client) Close() error
- func (w *Client) GetBIOSSerialNumber(context context.Context, request *v1alpha1.GetBIOSSerialNumberRequest, ...) (*v1alpha1.GetBIOSSerialNumberResponse, error)
- func (w *Client) GetService(context context.Context, request *v1alpha1.GetServiceRequest, ...) (*v1alpha1.GetServiceResponse, error)
- func (w *Client) StartService(context context.Context, request *v1alpha1.StartServiceRequest, ...) (*v1alpha1.StartServiceResponse, error)
- func (w *Client) StopService(context context.Context, request *v1alpha1.StopServiceRequest, ...) (*v1alpha1.StopServiceResponse, error)
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 ¶
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) 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)
Click to show internal directories.
Click to hide internal directories.