package
2.0.1+incompatible
Repository: https://github.com/practical-coder/hdc.git
Documentation: pkg.go.dev

# Functions

New creates a new server switching rule API client.
NewCreateServerSwitchingRuleAccepted creates a CreateServerSwitchingRuleAccepted with default headers values.
NewCreateServerSwitchingRuleBadRequest creates a CreateServerSwitchingRuleBadRequest with default headers values.
NewCreateServerSwitchingRuleConflict creates a CreateServerSwitchingRuleConflict with default headers values.
NewCreateServerSwitchingRuleCreated creates a CreateServerSwitchingRuleCreated with default headers values.
NewCreateServerSwitchingRuleDefault creates a CreateServerSwitchingRuleDefault with default headers values.
NewCreateServerSwitchingRuleParams creates a new CreateServerSwitchingRuleParams object, with the default timeout for this client.
NewCreateServerSwitchingRuleParamsWithContext creates a new CreateServerSwitchingRuleParams object with the ability to set a context for a request.
NewCreateServerSwitchingRuleParamsWithHTTPClient creates a new CreateServerSwitchingRuleParams object with the ability to set a custom HTTPClient for a request.
NewCreateServerSwitchingRuleParamsWithTimeout creates a new CreateServerSwitchingRuleParams object with the ability to set a timeout on a request.
NewDeleteServerSwitchingRuleAccepted creates a DeleteServerSwitchingRuleAccepted with default headers values.
NewDeleteServerSwitchingRuleDefault creates a DeleteServerSwitchingRuleDefault with default headers values.
NewDeleteServerSwitchingRuleNoContent creates a DeleteServerSwitchingRuleNoContent with default headers values.
NewDeleteServerSwitchingRuleNotFound creates a DeleteServerSwitchingRuleNotFound with default headers values.
NewDeleteServerSwitchingRuleParams creates a new DeleteServerSwitchingRuleParams object, with the default timeout for this client.
NewDeleteServerSwitchingRuleParamsWithContext creates a new DeleteServerSwitchingRuleParams object with the ability to set a context for a request.
NewDeleteServerSwitchingRuleParamsWithHTTPClient creates a new DeleteServerSwitchingRuleParams object with the ability to set a custom HTTPClient for a request.
NewDeleteServerSwitchingRuleParamsWithTimeout creates a new DeleteServerSwitchingRuleParams object with the ability to set a timeout on a request.
NewGetServerSwitchingRuleDefault creates a GetServerSwitchingRuleDefault with default headers values.
NewGetServerSwitchingRuleNotFound creates a GetServerSwitchingRuleNotFound with default headers values.
NewGetServerSwitchingRuleOK creates a GetServerSwitchingRuleOK with default headers values.
NewGetServerSwitchingRuleParams creates a new GetServerSwitchingRuleParams object, with the default timeout for this client.
NewGetServerSwitchingRuleParamsWithContext creates a new GetServerSwitchingRuleParams object with the ability to set a context for a request.
NewGetServerSwitchingRuleParamsWithHTTPClient creates a new GetServerSwitchingRuleParams object with the ability to set a custom HTTPClient for a request.
NewGetServerSwitchingRuleParamsWithTimeout creates a new GetServerSwitchingRuleParams object with the ability to set a timeout on a request.
NewGetServerSwitchingRulesDefault creates a GetServerSwitchingRulesDefault with default headers values.
NewGetServerSwitchingRulesOK creates a GetServerSwitchingRulesOK with default headers values.
NewGetServerSwitchingRulesParams creates a new GetServerSwitchingRulesParams object, with the default timeout for this client.
NewGetServerSwitchingRulesParamsWithContext creates a new GetServerSwitchingRulesParams object with the ability to set a context for a request.
NewGetServerSwitchingRulesParamsWithHTTPClient creates a new GetServerSwitchingRulesParams object with the ability to set a custom HTTPClient for a request.
NewGetServerSwitchingRulesParamsWithTimeout creates a new GetServerSwitchingRulesParams object with the ability to set a timeout on a request.
NewReplaceServerSwitchingRuleAccepted creates a ReplaceServerSwitchingRuleAccepted with default headers values.
NewReplaceServerSwitchingRuleBadRequest creates a ReplaceServerSwitchingRuleBadRequest with default headers values.
NewReplaceServerSwitchingRuleDefault creates a ReplaceServerSwitchingRuleDefault with default headers values.
NewReplaceServerSwitchingRuleNotFound creates a ReplaceServerSwitchingRuleNotFound with default headers values.
NewReplaceServerSwitchingRuleOK creates a ReplaceServerSwitchingRuleOK with default headers values.
NewReplaceServerSwitchingRuleParams creates a new ReplaceServerSwitchingRuleParams object, with the default timeout for this client.
NewReplaceServerSwitchingRuleParamsWithContext creates a new ReplaceServerSwitchingRuleParams object with the ability to set a context for a request.
NewReplaceServerSwitchingRuleParamsWithHTTPClient creates a new ReplaceServerSwitchingRuleParams object with the ability to set a custom HTTPClient for a request.
NewReplaceServerSwitchingRuleParamsWithTimeout creates a new ReplaceServerSwitchingRuleParams object with the ability to set a timeout on a request.

# Structs

Client for server switching rule API */.
CreateServerSwitchingRuleAccepted describes a response with status code 202, with default header values.
CreateServerSwitchingRuleBadRequest describes a response with status code 400, with default header values.
CreateServerSwitchingRuleConflict describes a response with status code 409, with default header values.
CreateServerSwitchingRuleCreated describes a response with status code 201, with default header values.
CreateServerSwitchingRuleDefault describes a response with status code -1, with default header values.
CreateServerSwitchingRuleParams contains all the parameters to send to the API endpoint for the create server switching rule operation.
CreateServerSwitchingRuleReader is a Reader for the CreateServerSwitchingRule structure.
DeleteServerSwitchingRuleAccepted describes a response with status code 202, with default header values.
DeleteServerSwitchingRuleDefault describes a response with status code -1, with default header values.
DeleteServerSwitchingRuleNoContent describes a response with status code 204, with default header values.
DeleteServerSwitchingRuleNotFound describes a response with status code 404, with default header values.
DeleteServerSwitchingRuleParams contains all the parameters to send to the API endpoint for the delete server switching rule operation.
DeleteServerSwitchingRuleReader is a Reader for the DeleteServerSwitchingRule structure.
GetServerSwitchingRuleDefault describes a response with status code -1, with default header values.
GetServerSwitchingRuleNotFound describes a response with status code 404, with default header values.
GetServerSwitchingRuleOK describes a response with status code 200, with default header values.
GetServerSwitchingRuleOKBody get server switching rule o k body swagger:model GetServerSwitchingRuleOKBody */.
GetServerSwitchingRuleParams contains all the parameters to send to the API endpoint for the get server switching rule operation.
GetServerSwitchingRuleReader is a Reader for the GetServerSwitchingRule structure.
GetServerSwitchingRulesDefault describes a response with status code -1, with default header values.
GetServerSwitchingRulesOK describes a response with status code 200, with default header values.
GetServerSwitchingRulesOKBody get server switching rules o k body swagger:model GetServerSwitchingRulesOKBody */.
GetServerSwitchingRulesParams contains all the parameters to send to the API endpoint for the get server switching rules operation.
GetServerSwitchingRulesReader is a Reader for the GetServerSwitchingRules structure.
ReplaceServerSwitchingRuleAccepted describes a response with status code 202, with default header values.
ReplaceServerSwitchingRuleBadRequest describes a response with status code 400, with default header values.
ReplaceServerSwitchingRuleDefault describes a response with status code -1, with default header values.
ReplaceServerSwitchingRuleNotFound describes a response with status code 404, with default header values.
ReplaceServerSwitchingRuleOK describes a response with status code 200, with default header values.
ReplaceServerSwitchingRuleParams contains all the parameters to send to the API endpoint for the replace server switching rule operation.
ReplaceServerSwitchingRuleReader is a Reader for the ReplaceServerSwitchingRule structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.