sls_client

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SLSClient

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

func NewSLSClient

func NewSLSClient(baseURL string, client *http.Client, instanceName string) *SLSClient

func (*SLSClient) GetAllHardware

func (sc *SLSClient) GetAllHardware(ctx context.Context) ([]sls_common.GenericHardware, error)

func (*SLSClient) GetDumpState added in v1.24.0

func (sc *SLSClient) GetDumpState(ctx context.Context) (sls_common.SLSState, error)

func (*SLSClient) PutHardware

func (sc *SLSClient) PutHardware(ctx context.Context, hardware sls_common.GenericHardware) error

func (*SLSClient) PutNetwork added in v1.24.0

func (sc *SLSClient) PutNetwork(ctx context.Context, network sls_common.Network) error

func (*SLSClient) WithAPIToken added in v1.24.0

func (sc *SLSClient) WithAPIToken(apiToken string) *SLSClient

Jump to

Keyboard shortcuts

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