package
0.40.5
Repository: https://github.com/metal-stack/metal-go.git
Documentation: pkg.go.dev

# Functions

New creates a new switch operations API client.
New creates a new switch operations API client with basic auth credentials.
New creates a new switch operations API client with a bearer token for authentication.
NewDeleteSwitchDefault creates a DeleteSwitchDefault with default headers values.
NewDeleteSwitchOK creates a DeleteSwitchOK with default headers values.
NewDeleteSwitchParams creates a new DeleteSwitchParams object, with the default timeout for this client.
NewDeleteSwitchParamsWithContext creates a new DeleteSwitchParams object with the ability to set a context for a request.
NewDeleteSwitchParamsWithHTTPClient creates a new DeleteSwitchParams object with the ability to set a custom HTTPClient for a request.
NewDeleteSwitchParamsWithTimeout creates a new DeleteSwitchParams object with the ability to set a timeout on a request.
NewFindSwitchDefault creates a FindSwitchDefault with default headers values.
NewFindSwitchesDefault creates a FindSwitchesDefault with default headers values.
NewFindSwitchesOK creates a FindSwitchesOK with default headers values.
NewFindSwitchesParams creates a new FindSwitchesParams object, with the default timeout for this client.
NewFindSwitchesParamsWithContext creates a new FindSwitchesParams object with the ability to set a context for a request.
NewFindSwitchesParamsWithHTTPClient creates a new FindSwitchesParams object with the ability to set a custom HTTPClient for a request.
NewFindSwitchesParamsWithTimeout creates a new FindSwitchesParams object with the ability to set a timeout on a request.
NewFindSwitchOK creates a FindSwitchOK with default headers values.
NewFindSwitchParams creates a new FindSwitchParams object, with the default timeout for this client.
NewFindSwitchParamsWithContext creates a new FindSwitchParams object with the ability to set a context for a request.
NewFindSwitchParamsWithHTTPClient creates a new FindSwitchParams object with the ability to set a custom HTTPClient for a request.
NewFindSwitchParamsWithTimeout creates a new FindSwitchParams object with the ability to set a timeout on a request.
NewListSwitchesDefault creates a ListSwitchesDefault with default headers values.
NewListSwitchesOK creates a ListSwitchesOK with default headers values.
NewListSwitchesParams creates a new ListSwitchesParams object, with the default timeout for this client.
NewListSwitchesParamsWithContext creates a new ListSwitchesParams object with the ability to set a context for a request.
NewListSwitchesParamsWithHTTPClient creates a new ListSwitchesParams object with the ability to set a custom HTTPClient for a request.
NewListSwitchesParamsWithTimeout creates a new ListSwitchesParams object with the ability to set a timeout on a request.
NewMigrateSwitchDefault creates a MigrateSwitchDefault with default headers values.
NewMigrateSwitchOK creates a MigrateSwitchOK with default headers values.
NewMigrateSwitchParams creates a new MigrateSwitchParams object, with the default timeout for this client.
NewMigrateSwitchParamsWithContext creates a new MigrateSwitchParams object with the ability to set a context for a request.
NewMigrateSwitchParamsWithHTTPClient creates a new MigrateSwitchParams object with the ability to set a custom HTTPClient for a request.
NewMigrateSwitchParamsWithTimeout creates a new MigrateSwitchParams object with the ability to set a timeout on a request.
NewNotifySwitchDefault creates a NotifySwitchDefault with default headers values.
NewNotifySwitchOK creates a NotifySwitchOK with default headers values.
NewNotifySwitchParams creates a new NotifySwitchParams object, with the default timeout for this client.
NewNotifySwitchParamsWithContext creates a new NotifySwitchParams object with the ability to set a context for a request.
NewNotifySwitchParamsWithHTTPClient creates a new NotifySwitchParams object with the ability to set a custom HTTPClient for a request.
NewNotifySwitchParamsWithTimeout creates a new NotifySwitchParams object with the ability to set a timeout on a request.
NewRegisterSwitchCreated creates a RegisterSwitchCreated with default headers values.
NewRegisterSwitchDefault creates a RegisterSwitchDefault with default headers values.
NewRegisterSwitchOK creates a RegisterSwitchOK with default headers values.
NewRegisterSwitchParams creates a new RegisterSwitchParams object, with the default timeout for this client.
NewRegisterSwitchParamsWithContext creates a new RegisterSwitchParams object with the ability to set a context for a request.
NewRegisterSwitchParamsWithHTTPClient creates a new RegisterSwitchParams object with the ability to set a custom HTTPClient for a request.
NewRegisterSwitchParamsWithTimeout creates a new RegisterSwitchParams object with the ability to set a timeout on a request.
NewToggleSwitchPortBadRequest creates a ToggleSwitchPortBadRequest with default headers values.
NewToggleSwitchPortConflict creates a ToggleSwitchPortConflict with default headers values.
NewToggleSwitchPortDefault creates a ToggleSwitchPortDefault with default headers values.
NewToggleSwitchPortOK creates a ToggleSwitchPortOK with default headers values.
NewToggleSwitchPortParams creates a new ToggleSwitchPortParams object, with the default timeout for this client.
NewToggleSwitchPortParamsWithContext creates a new ToggleSwitchPortParams object with the ability to set a context for a request.
NewToggleSwitchPortParamsWithHTTPClient creates a new ToggleSwitchPortParams object with the ability to set a custom HTTPClient for a request.
NewToggleSwitchPortParamsWithTimeout creates a new ToggleSwitchPortParams object with the ability to set a timeout on a request.
NewUpdateSwitchConflict creates a UpdateSwitchConflict with default headers values.
NewUpdateSwitchDefault creates a UpdateSwitchDefault with default headers values.
NewUpdateSwitchOK creates a UpdateSwitchOK with default headers values.
NewUpdateSwitchParams creates a new UpdateSwitchParams object, with the default timeout for this client.
NewUpdateSwitchParamsWithContext creates a new UpdateSwitchParams object with the ability to set a context for a request.
NewUpdateSwitchParamsWithHTTPClient creates a new UpdateSwitchParams object with the ability to set a custom HTTPClient for a request.
NewUpdateSwitchParamsWithTimeout creates a new UpdateSwitchParams object with the ability to set a timeout on a request.

# Structs

Client for switch operations API */.
DeleteSwitchDefault describes a response with status code -1, with default header values.
DeleteSwitchOK describes a response with status code 200, with default header values.
DeleteSwitchParams contains all the parameters to send to the API endpoint for the delete switch operation.
DeleteSwitchReader is a Reader for the DeleteSwitch structure.
FindSwitchDefault describes a response with status code -1, with default header values.
FindSwitchesDefault describes a response with status code -1, with default header values.
FindSwitchesOK describes a response with status code 200, with default header values.
FindSwitchesParams contains all the parameters to send to the API endpoint for the find switches operation.
FindSwitchesReader is a Reader for the FindSwitches structure.
FindSwitchOK describes a response with status code 200, with default header values.
FindSwitchParams contains all the parameters to send to the API endpoint for the find switch operation.
FindSwitchReader is a Reader for the FindSwitch structure.
ListSwitchesDefault describes a response with status code -1, with default header values.
ListSwitchesOK describes a response with status code 200, with default header values.
ListSwitchesParams contains all the parameters to send to the API endpoint for the list switches operation.
ListSwitchesReader is a Reader for the ListSwitches structure.
MigrateSwitchDefault describes a response with status code -1, with default header values.
MigrateSwitchOK describes a response with status code 200, with default header values.
MigrateSwitchParams contains all the parameters to send to the API endpoint for the migrate switch operation.
MigrateSwitchReader is a Reader for the MigrateSwitch structure.
NotifySwitchDefault describes a response with status code -1, with default header values.
NotifySwitchOK describes a response with status code 200, with default header values.
NotifySwitchParams contains all the parameters to send to the API endpoint for the notify switch operation.
NotifySwitchReader is a Reader for the NotifySwitch structure.
RegisterSwitchCreated describes a response with status code 201, with default header values.
RegisterSwitchDefault describes a response with status code -1, with default header values.
RegisterSwitchOK describes a response with status code 200, with default header values.
RegisterSwitchParams contains all the parameters to send to the API endpoint for the register switch operation.
RegisterSwitchReader is a Reader for the RegisterSwitch structure.
ToggleSwitchPortBadRequest describes a response with status code 400, with default header values.
ToggleSwitchPortConflict describes a response with status code 409, with default header values.
ToggleSwitchPortDefault describes a response with status code -1, with default header values.
ToggleSwitchPortOK describes a response with status code 200, with default header values.
ToggleSwitchPortParams contains all the parameters to send to the API endpoint for the toggle switch port operation.
ToggleSwitchPortReader is a Reader for the ToggleSwitchPort structure.
UpdateSwitchConflict describes a response with status code 409, with default header values.
UpdateSwitchDefault describes a response with status code -1, with default header values.
UpdateSwitchOK describes a response with status code 200, with default header values.
UpdateSwitchParams contains all the parameters to send to the API endpoint for the update switch operation.
UpdateSwitchReader is a Reader for the UpdateSwitch structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption may be used to customize the behavior of Client methods.