Documentation
¶
Index ¶
- type SLSClient
- func (sc *SLSClient) GetAllHardware(ctx context.Context) ([]sls_common.GenericHardware, error)
- func (sc *SLSClient) GetDumpState(ctx context.Context) (sls_common.SLSState, error)
- func (sc *SLSClient) GetNetwork(ctx context.Context, networkName string) (sls_common.Network, error)
- func (sc *SLSClient) GetNetworks(ctx context.Context) ([]sls_common.Network, error)
- func (sc *SLSClient) PutHardware(ctx context.Context, hardware sls_common.GenericHardware) error
- func (sc *SLSClient) PutNetwork(ctx context.Context, network sls_common.Network) error
- func (sc *SLSClient) WithAPIToken(apiToken string) *SLSClient
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 (*SLSClient) GetAllHardware ¶
func (sc *SLSClient) GetAllHardware(ctx context.Context) ([]sls_common.GenericHardware, error)
func (*SLSClient) GetDumpState ¶
func (*SLSClient) GetNetwork ¶ added in v2.2.0
func (*SLSClient) GetNetworks ¶ added in v2.2.0
func (*SLSClient) PutHardware ¶
func (sc *SLSClient) PutHardware(ctx context.Context, hardware sls_common.GenericHardware) error
func (*SLSClient) PutNetwork ¶
func (*SLSClient) WithAPIToken ¶
Click to show internal directories.
Click to hide internal directories.