Documentation
¶
Index ¶
- type Client
- func (a *Client) ServerCreatePkgPasteServer(params *ServerCreatePkgPasteServerParams, ...) (*ServerCreatePkgPasteServerOK, error)
- func (a *Client) ServerDeleteServer(params *ServerDeleteServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServerDeleteServerOK, error)
- func (a *Client) ServerGetServerDetail(params *ServerGetServerDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServerGetServerDetailOK, error)
- func (a *Client) ServerGetServerDetailByUUID(params *ServerGetServerDetailByUUIDParams, ...) (*ServerGetServerDetailByUUIDOK, error)
- func (a *Client) ServerGetServerList(params *ServerGetServerListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServerGetServerListOK, error)
- func (a *Client) ServerUpdatePkgPasteServer(params *ServerUpdatePkgPasteServerParams, ...) (*ServerUpdatePkgPasteServerOK, error)
- func (a *Client) ServerUpdateServer(params *ServerUpdateServerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServerUpdateServerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ServerCreatePkgPasteServerOK
- type ServerCreatePkgPasteServerParams
- func NewServerCreatePkgPasteServerParams() *ServerCreatePkgPasteServerParams
- func NewServerCreatePkgPasteServerParamsWithContext(ctx context.Context) *ServerCreatePkgPasteServerParams
- func NewServerCreatePkgPasteServerParamsWithHTTPClient(client *http.Client) *ServerCreatePkgPasteServerParams
- func NewServerCreatePkgPasteServerParamsWithTimeout(timeout time.Duration) *ServerCreatePkgPasteServerParams
- func (o *ServerCreatePkgPasteServerParams) SetAuthorization(authorization *string)
- func (o *ServerCreatePkgPasteServerParams) SetContext(ctx context.Context)
- func (o *ServerCreatePkgPasteServerParams) SetCreatePkgPasteServerRequestBody(createPkgPasteServerRequestBody *models.ServerCreatePkgPasteServerRequestBody)
- func (o *ServerCreatePkgPasteServerParams) SetDefaults()
- func (o *ServerCreatePkgPasteServerParams) SetHTTPClient(client *http.Client)
- func (o *ServerCreatePkgPasteServerParams) SetTimeout(timeout time.Duration)
- func (o *ServerCreatePkgPasteServerParams) WithAuthorization(authorization *string) *ServerCreatePkgPasteServerParams
- func (o *ServerCreatePkgPasteServerParams) WithContext(ctx context.Context) *ServerCreatePkgPasteServerParams
- func (o *ServerCreatePkgPasteServerParams) WithCreatePkgPasteServerRequestBody(createPkgPasteServerRequestBody *models.ServerCreatePkgPasteServerRequestBody) *ServerCreatePkgPasteServerParams
- func (o *ServerCreatePkgPasteServerParams) WithDefaults() *ServerCreatePkgPasteServerParams
- func (o *ServerCreatePkgPasteServerParams) WithHTTPClient(client *http.Client) *ServerCreatePkgPasteServerParams
- func (o *ServerCreatePkgPasteServerParams) WithTimeout(timeout time.Duration) *ServerCreatePkgPasteServerParams
- func (o *ServerCreatePkgPasteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerCreatePkgPasteServerReader
- type ServerDeleteServerOK
- type ServerDeleteServerParams
- func NewServerDeleteServerParams() *ServerDeleteServerParams
- func NewServerDeleteServerParamsWithContext(ctx context.Context) *ServerDeleteServerParams
- func NewServerDeleteServerParamsWithHTTPClient(client *http.Client) *ServerDeleteServerParams
- func NewServerDeleteServerParamsWithTimeout(timeout time.Duration) *ServerDeleteServerParams
- func (o *ServerDeleteServerParams) SetAuthorization(authorization *string)
- func (o *ServerDeleteServerParams) SetContext(ctx context.Context)
- func (o *ServerDeleteServerParams) SetDefaults()
- func (o *ServerDeleteServerParams) SetHTTPClient(client *http.Client)
- func (o *ServerDeleteServerParams) SetServerID(serverID int64)
- func (o *ServerDeleteServerParams) SetTimeout(timeout time.Duration)
- func (o *ServerDeleteServerParams) WithAuthorization(authorization *string) *ServerDeleteServerParams
- func (o *ServerDeleteServerParams) WithContext(ctx context.Context) *ServerDeleteServerParams
- func (o *ServerDeleteServerParams) WithDefaults() *ServerDeleteServerParams
- func (o *ServerDeleteServerParams) WithHTTPClient(client *http.Client) *ServerDeleteServerParams
- func (o *ServerDeleteServerParams) WithServerID(serverID int64) *ServerDeleteServerParams
- func (o *ServerDeleteServerParams) WithTimeout(timeout time.Duration) *ServerDeleteServerParams
- func (o *ServerDeleteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerDeleteServerReader
- type ServerGetServerDetailByUUIDOK
- type ServerGetServerDetailByUUIDParams
- func NewServerGetServerDetailByUUIDParams() *ServerGetServerDetailByUUIDParams
- func NewServerGetServerDetailByUUIDParamsWithContext(ctx context.Context) *ServerGetServerDetailByUUIDParams
- func NewServerGetServerDetailByUUIDParamsWithHTTPClient(client *http.Client) *ServerGetServerDetailByUUIDParams
- func NewServerGetServerDetailByUUIDParamsWithTimeout(timeout time.Duration) *ServerGetServerDetailByUUIDParams
- func (o *ServerGetServerDetailByUUIDParams) SetAuthorization(authorization *string)
- func (o *ServerGetServerDetailByUUIDParams) SetContext(ctx context.Context)
- func (o *ServerGetServerDetailByUUIDParams) SetDefaults()
- func (o *ServerGetServerDetailByUUIDParams) SetHTTPClient(client *http.Client)
- func (o *ServerGetServerDetailByUUIDParams) SetServerUUID(serverUUID string)
- func (o *ServerGetServerDetailByUUIDParams) SetTimeout(timeout time.Duration)
- func (o *ServerGetServerDetailByUUIDParams) WithAuthorization(authorization *string) *ServerGetServerDetailByUUIDParams
- func (o *ServerGetServerDetailByUUIDParams) WithContext(ctx context.Context) *ServerGetServerDetailByUUIDParams
- func (o *ServerGetServerDetailByUUIDParams) WithDefaults() *ServerGetServerDetailByUUIDParams
- func (o *ServerGetServerDetailByUUIDParams) WithHTTPClient(client *http.Client) *ServerGetServerDetailByUUIDParams
- func (o *ServerGetServerDetailByUUIDParams) WithServerUUID(serverUUID string) *ServerGetServerDetailByUUIDParams
- func (o *ServerGetServerDetailByUUIDParams) WithTimeout(timeout time.Duration) *ServerGetServerDetailByUUIDParams
- func (o *ServerGetServerDetailByUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerGetServerDetailByUUIDReader
- type ServerGetServerDetailOK
- type ServerGetServerDetailParams
- func NewServerGetServerDetailParams() *ServerGetServerDetailParams
- func NewServerGetServerDetailParamsWithContext(ctx context.Context) *ServerGetServerDetailParams
- func NewServerGetServerDetailParamsWithHTTPClient(client *http.Client) *ServerGetServerDetailParams
- func NewServerGetServerDetailParamsWithTimeout(timeout time.Duration) *ServerGetServerDetailParams
- func (o *ServerGetServerDetailParams) SetAuthorization(authorization *string)
- func (o *ServerGetServerDetailParams) SetContext(ctx context.Context)
- func (o *ServerGetServerDetailParams) SetDefaults()
- func (o *ServerGetServerDetailParams) SetHTTPClient(client *http.Client)
- func (o *ServerGetServerDetailParams) SetServerID(serverID int64)
- func (o *ServerGetServerDetailParams) SetTimeout(timeout time.Duration)
- func (o *ServerGetServerDetailParams) WithAuthorization(authorization *string) *ServerGetServerDetailParams
- func (o *ServerGetServerDetailParams) WithContext(ctx context.Context) *ServerGetServerDetailParams
- func (o *ServerGetServerDetailParams) WithDefaults() *ServerGetServerDetailParams
- func (o *ServerGetServerDetailParams) WithHTTPClient(client *http.Client) *ServerGetServerDetailParams
- func (o *ServerGetServerDetailParams) WithServerID(serverID int64) *ServerGetServerDetailParams
- func (o *ServerGetServerDetailParams) WithTimeout(timeout time.Duration) *ServerGetServerDetailParams
- func (o *ServerGetServerDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerGetServerDetailReader
- type ServerGetServerListOK
- type ServerGetServerListParams
- func NewServerGetServerListParams() *ServerGetServerListParams
- func NewServerGetServerListParamsWithContext(ctx context.Context) *ServerGetServerListParams
- func NewServerGetServerListParamsWithHTTPClient(client *http.Client) *ServerGetServerListParams
- func NewServerGetServerListParamsWithTimeout(timeout time.Duration) *ServerGetServerListParams
- func (o *ServerGetServerListParams) SetAuthorization(authorization *string)
- func (o *ServerGetServerListParams) SetContext(ctx context.Context)
- func (o *ServerGetServerListParams) SetDefaults()
- func (o *ServerGetServerListParams) SetFilterCveID(filterCveID *string)
- func (o *ServerGetServerListParams) SetFilterRoleID(filterRoleID *int64)
- func (o *ServerGetServerListParams) SetFilterTagName(filterTagName *string)
- func (o *ServerGetServerListParams) SetHTTPClient(client *http.Client)
- func (o *ServerGetServerListParams) SetLimit(limit *int64)
- func (o *ServerGetServerListParams) SetOffset(offset *int64)
- func (o *ServerGetServerListParams) SetPage(page *int64)
- func (o *ServerGetServerListParams) SetTimeout(timeout time.Duration)
- func (o *ServerGetServerListParams) WithAuthorization(authorization *string) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithContext(ctx context.Context) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithDefaults() *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithFilterCveID(filterCveID *string) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithFilterRoleID(filterRoleID *int64) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithFilterTagName(filterTagName *string) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithHTTPClient(client *http.Client) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithLimit(limit *int64) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithOffset(offset *int64) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithPage(page *int64) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WithTimeout(timeout time.Duration) *ServerGetServerListParams
- func (o *ServerGetServerListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerGetServerListReader
- type ServerUpdatePkgPasteServerOK
- type ServerUpdatePkgPasteServerParams
- func NewServerUpdatePkgPasteServerParams() *ServerUpdatePkgPasteServerParams
- func NewServerUpdatePkgPasteServerParamsWithContext(ctx context.Context) *ServerUpdatePkgPasteServerParams
- func NewServerUpdatePkgPasteServerParamsWithHTTPClient(client *http.Client) *ServerUpdatePkgPasteServerParams
- func NewServerUpdatePkgPasteServerParamsWithTimeout(timeout time.Duration) *ServerUpdatePkgPasteServerParams
- func (o *ServerUpdatePkgPasteServerParams) SetAuthorization(authorization *string)
- func (o *ServerUpdatePkgPasteServerParams) SetContext(ctx context.Context)
- func (o *ServerUpdatePkgPasteServerParams) SetDefaults()
- func (o *ServerUpdatePkgPasteServerParams) SetHTTPClient(client *http.Client)
- func (o *ServerUpdatePkgPasteServerParams) SetServerID(serverID int64)
- func (o *ServerUpdatePkgPasteServerParams) SetTimeout(timeout time.Duration)
- func (o *ServerUpdatePkgPasteServerParams) SetUpdatePkgPasteServerRequestBody(updatePkgPasteServerRequestBody *models.ServerUpdatePkgPasteServerRequestBody)
- func (o *ServerUpdatePkgPasteServerParams) WithAuthorization(authorization *string) *ServerUpdatePkgPasteServerParams
- func (o *ServerUpdatePkgPasteServerParams) WithContext(ctx context.Context) *ServerUpdatePkgPasteServerParams
- func (o *ServerUpdatePkgPasteServerParams) WithDefaults() *ServerUpdatePkgPasteServerParams
- func (o *ServerUpdatePkgPasteServerParams) WithHTTPClient(client *http.Client) *ServerUpdatePkgPasteServerParams
- func (o *ServerUpdatePkgPasteServerParams) WithServerID(serverID int64) *ServerUpdatePkgPasteServerParams
- func (o *ServerUpdatePkgPasteServerParams) WithTimeout(timeout time.Duration) *ServerUpdatePkgPasteServerParams
- func (o *ServerUpdatePkgPasteServerParams) WithUpdatePkgPasteServerRequestBody(updatePkgPasteServerRequestBody *models.ServerUpdatePkgPasteServerRequestBody) *ServerUpdatePkgPasteServerParams
- func (o *ServerUpdatePkgPasteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerUpdatePkgPasteServerReader
- type ServerUpdateServerOK
- type ServerUpdateServerParams
- func NewServerUpdateServerParams() *ServerUpdateServerParams
- func NewServerUpdateServerParamsWithContext(ctx context.Context) *ServerUpdateServerParams
- func NewServerUpdateServerParamsWithHTTPClient(client *http.Client) *ServerUpdateServerParams
- func NewServerUpdateServerParamsWithTimeout(timeout time.Duration) *ServerUpdateServerParams
- func (o *ServerUpdateServerParams) SetAuthorization(authorization *string)
- func (o *ServerUpdateServerParams) SetContext(ctx context.Context)
- func (o *ServerUpdateServerParams) SetDefaults()
- func (o *ServerUpdateServerParams) SetHTTPClient(client *http.Client)
- func (o *ServerUpdateServerParams) SetServerID(serverID int64)
- func (o *ServerUpdateServerParams) SetTimeout(timeout time.Duration)
- func (o *ServerUpdateServerParams) SetUpdateServerRequestBody(updateServerRequestBody *models.ServerUpdateServerRequestBody)
- func (o *ServerUpdateServerParams) WithAuthorization(authorization *string) *ServerUpdateServerParams
- func (o *ServerUpdateServerParams) WithContext(ctx context.Context) *ServerUpdateServerParams
- func (o *ServerUpdateServerParams) WithDefaults() *ServerUpdateServerParams
- func (o *ServerUpdateServerParams) WithHTTPClient(client *http.Client) *ServerUpdateServerParams
- func (o *ServerUpdateServerParams) WithServerID(serverID int64) *ServerUpdateServerParams
- func (o *ServerUpdateServerParams) WithTimeout(timeout time.Duration) *ServerUpdateServerParams
- func (o *ServerUpdateServerParams) WithUpdateServerRequestBody(updateServerRequestBody *models.ServerUpdateServerRequestBody) *ServerUpdateServerParams
- func (o *ServerUpdateServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerUpdateServerReader
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
}
Client for server API
func (*Client) ServerCreatePkgPasteServer ¶
func (a *Client) ServerCreatePkgPasteServer(params *ServerCreatePkgPasteServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerCreatePkgPasteServerOK, error)
ServerCreatePkgPasteServer creates pkg paste server server
create paste server
func (*Client) ServerDeleteServer ¶
func (a *Client) ServerDeleteServer(params *ServerDeleteServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerDeleteServerOK, error)
ServerDeleteServer deletes server server
server delete
func (*Client) ServerGetServerDetail ¶
func (a *Client) ServerGetServerDetail(params *ServerGetServerDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerGetServerDetailOK, error)
ServerGetServerDetail gets server detail server
server detail
func (*Client) ServerGetServerDetailByUUID ¶
func (a *Client) ServerGetServerDetailByUUID(params *ServerGetServerDetailByUUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerGetServerDetailByUUIDOK, error)
ServerGetServerDetailByUUID gets server detail by UUID server
server detail by UUID
func (*Client) ServerGetServerList ¶
func (a *Client) ServerGetServerList(params *ServerGetServerListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerGetServerListOK, error)
ServerGetServerList gets server list server
server list
func (*Client) ServerUpdatePkgPasteServer ¶
func (a *Client) ServerUpdatePkgPasteServer(params *ServerUpdatePkgPasteServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerUpdatePkgPasteServerOK, error)
ServerUpdatePkgPasteServer updates pkg paste server server
update paste server
func (*Client) ServerUpdateServer ¶
func (a *Client) ServerUpdateServer(params *ServerUpdateServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerUpdateServerOK, error)
ServerUpdateServer updates server server
update server
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
ServerCreatePkgPasteServer(params *ServerCreatePkgPasteServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerCreatePkgPasteServerOK, error)
ServerDeleteServer(params *ServerDeleteServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerDeleteServerOK, error)
ServerGetServerDetail(params *ServerGetServerDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerGetServerDetailOK, error)
ServerGetServerDetailByUUID(params *ServerGetServerDetailByUUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerGetServerDetailByUUIDOK, error)
ServerGetServerList(params *ServerGetServerListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerGetServerListOK, error)
ServerUpdatePkgPasteServer(params *ServerUpdatePkgPasteServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerUpdatePkgPasteServerOK, error)
ServerUpdateServer(params *ServerUpdateServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerUpdateServerOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new server API client.
type ServerCreatePkgPasteServerOK ¶
type ServerCreatePkgPasteServerOK struct {
Payload *models.ServerCreatePkgPasteServerResponseBody
}
ServerCreatePkgPasteServerOK describes a response with status code 200, with default header values.
OK response.
func NewServerCreatePkgPasteServerOK ¶
func NewServerCreatePkgPasteServerOK() *ServerCreatePkgPasteServerOK
NewServerCreatePkgPasteServerOK creates a ServerCreatePkgPasteServerOK with default headers values
func (*ServerCreatePkgPasteServerOK) Error ¶
func (o *ServerCreatePkgPasteServerOK) Error() string
func (*ServerCreatePkgPasteServerOK) GetPayload ¶
func (o *ServerCreatePkgPasteServerOK) GetPayload() *models.ServerCreatePkgPasteServerResponseBody
type ServerCreatePkgPasteServerParams ¶
type ServerCreatePkgPasteServerParams struct {
/* Authorization.
api key auth
*/
Authorization *string
// CreatePkgPasteServerRequestBody.
CreatePkgPasteServerRequestBody *models.ServerCreatePkgPasteServerRequestBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ServerCreatePkgPasteServerParams contains all the parameters to send to the API endpoint
for the server create pkg paste server operation. Typically these are written to a http.Request.
func NewServerCreatePkgPasteServerParams ¶
func NewServerCreatePkgPasteServerParams() *ServerCreatePkgPasteServerParams
NewServerCreatePkgPasteServerParams creates a new ServerCreatePkgPasteServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewServerCreatePkgPasteServerParamsWithContext ¶
func NewServerCreatePkgPasteServerParamsWithContext(ctx context.Context) *ServerCreatePkgPasteServerParams
NewServerCreatePkgPasteServerParamsWithContext creates a new ServerCreatePkgPasteServerParams object with the ability to set a context for a request.
func NewServerCreatePkgPasteServerParamsWithHTTPClient ¶
func NewServerCreatePkgPasteServerParamsWithHTTPClient(client *http.Client) *ServerCreatePkgPasteServerParams
NewServerCreatePkgPasteServerParamsWithHTTPClient creates a new ServerCreatePkgPasteServerParams object with the ability to set a custom HTTPClient for a request.
func NewServerCreatePkgPasteServerParamsWithTimeout ¶
func NewServerCreatePkgPasteServerParamsWithTimeout(timeout time.Duration) *ServerCreatePkgPasteServerParams
NewServerCreatePkgPasteServerParamsWithTimeout creates a new ServerCreatePkgPasteServerParams object with the ability to set a timeout on a request.
func (*ServerCreatePkgPasteServerParams) SetAuthorization ¶
func (o *ServerCreatePkgPasteServerParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) SetContext ¶
func (o *ServerCreatePkgPasteServerParams) SetContext(ctx context.Context)
SetContext adds the context to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) SetCreatePkgPasteServerRequestBody ¶
func (o *ServerCreatePkgPasteServerParams) SetCreatePkgPasteServerRequestBody(createPkgPasteServerRequestBody *models.ServerCreatePkgPasteServerRequestBody)
SetCreatePkgPasteServerRequestBody adds the createPkgPasteServerRequestBody to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) SetDefaults ¶
func (o *ServerCreatePkgPasteServerParams) SetDefaults()
SetDefaults hydrates default values in the server create pkg paste server params (not the query body).
All values with no default are reset to their zero value.
func (*ServerCreatePkgPasteServerParams) SetHTTPClient ¶
func (o *ServerCreatePkgPasteServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) SetTimeout ¶
func (o *ServerCreatePkgPasteServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) WithAuthorization ¶
func (o *ServerCreatePkgPasteServerParams) WithAuthorization(authorization *string) *ServerCreatePkgPasteServerParams
WithAuthorization adds the authorization to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) WithContext ¶
func (o *ServerCreatePkgPasteServerParams) WithContext(ctx context.Context) *ServerCreatePkgPasteServerParams
WithContext adds the context to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) WithCreatePkgPasteServerRequestBody ¶
func (o *ServerCreatePkgPasteServerParams) WithCreatePkgPasteServerRequestBody(createPkgPasteServerRequestBody *models.ServerCreatePkgPasteServerRequestBody) *ServerCreatePkgPasteServerParams
WithCreatePkgPasteServerRequestBody adds the createPkgPasteServerRequestBody to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) WithDefaults ¶
func (o *ServerCreatePkgPasteServerParams) WithDefaults() *ServerCreatePkgPasteServerParams
WithDefaults hydrates default values in the server create pkg paste server params (not the query body).
All values with no default are reset to their zero value.
func (*ServerCreatePkgPasteServerParams) WithHTTPClient ¶
func (o *ServerCreatePkgPasteServerParams) WithHTTPClient(client *http.Client) *ServerCreatePkgPasteServerParams
WithHTTPClient adds the HTTPClient to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) WithTimeout ¶
func (o *ServerCreatePkgPasteServerParams) WithTimeout(timeout time.Duration) *ServerCreatePkgPasteServerParams
WithTimeout adds the timeout to the server create pkg paste server params
func (*ServerCreatePkgPasteServerParams) WriteToRequest ¶
func (o *ServerCreatePkgPasteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerCreatePkgPasteServerReader ¶
type ServerCreatePkgPasteServerReader struct {
// contains filtered or unexported fields
}
ServerCreatePkgPasteServerReader is a Reader for the ServerCreatePkgPasteServer structure.
func (*ServerCreatePkgPasteServerReader) ReadResponse ¶
func (o *ServerCreatePkgPasteServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerDeleteServerOK ¶
type ServerDeleteServerOK struct {
}
ServerDeleteServerOK describes a response with status code 200, with default header values.
OK response.
func NewServerDeleteServerOK ¶
func NewServerDeleteServerOK() *ServerDeleteServerOK
NewServerDeleteServerOK creates a ServerDeleteServerOK with default headers values
func (*ServerDeleteServerOK) Error ¶
func (o *ServerDeleteServerOK) Error() string
type ServerDeleteServerParams ¶
type ServerDeleteServerParams struct {
/* Authorization.
api key auth
*/
Authorization *string
/* ServerID.
Server ID
Format: int64
*/
ServerID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ServerDeleteServerParams contains all the parameters to send to the API endpoint
for the server delete server operation. Typically these are written to a http.Request.
func NewServerDeleteServerParams ¶
func NewServerDeleteServerParams() *ServerDeleteServerParams
NewServerDeleteServerParams creates a new ServerDeleteServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewServerDeleteServerParamsWithContext ¶
func NewServerDeleteServerParamsWithContext(ctx context.Context) *ServerDeleteServerParams
NewServerDeleteServerParamsWithContext creates a new ServerDeleteServerParams object with the ability to set a context for a request.
func NewServerDeleteServerParamsWithHTTPClient ¶
func NewServerDeleteServerParamsWithHTTPClient(client *http.Client) *ServerDeleteServerParams
NewServerDeleteServerParamsWithHTTPClient creates a new ServerDeleteServerParams object with the ability to set a custom HTTPClient for a request.
func NewServerDeleteServerParamsWithTimeout ¶
func NewServerDeleteServerParamsWithTimeout(timeout time.Duration) *ServerDeleteServerParams
NewServerDeleteServerParamsWithTimeout creates a new ServerDeleteServerParams object with the ability to set a timeout on a request.
func (*ServerDeleteServerParams) SetAuthorization ¶
func (o *ServerDeleteServerParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the server delete server params
func (*ServerDeleteServerParams) SetContext ¶
func (o *ServerDeleteServerParams) SetContext(ctx context.Context)
SetContext adds the context to the server delete server params
func (*ServerDeleteServerParams) SetDefaults ¶
func (o *ServerDeleteServerParams) SetDefaults()
SetDefaults hydrates default values in the server delete server params (not the query body).
All values with no default are reset to their zero value.
func (*ServerDeleteServerParams) SetHTTPClient ¶
func (o *ServerDeleteServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server delete server params
func (*ServerDeleteServerParams) SetServerID ¶
func (o *ServerDeleteServerParams) SetServerID(serverID int64)
SetServerID adds the serverId to the server delete server params
func (*ServerDeleteServerParams) SetTimeout ¶
func (o *ServerDeleteServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server delete server params
func (*ServerDeleteServerParams) WithAuthorization ¶
func (o *ServerDeleteServerParams) WithAuthorization(authorization *string) *ServerDeleteServerParams
WithAuthorization adds the authorization to the server delete server params
func (*ServerDeleteServerParams) WithContext ¶
func (o *ServerDeleteServerParams) WithContext(ctx context.Context) *ServerDeleteServerParams
WithContext adds the context to the server delete server params
func (*ServerDeleteServerParams) WithDefaults ¶
func (o *ServerDeleteServerParams) WithDefaults() *ServerDeleteServerParams
WithDefaults hydrates default values in the server delete server params (not the query body).
All values with no default are reset to their zero value.
func (*ServerDeleteServerParams) WithHTTPClient ¶
func (o *ServerDeleteServerParams) WithHTTPClient(client *http.Client) *ServerDeleteServerParams
WithHTTPClient adds the HTTPClient to the server delete server params
func (*ServerDeleteServerParams) WithServerID ¶
func (o *ServerDeleteServerParams) WithServerID(serverID int64) *ServerDeleteServerParams
WithServerID adds the serverID to the server delete server params
func (*ServerDeleteServerParams) WithTimeout ¶
func (o *ServerDeleteServerParams) WithTimeout(timeout time.Duration) *ServerDeleteServerParams
WithTimeout adds the timeout to the server delete server params
func (*ServerDeleteServerParams) WriteToRequest ¶
func (o *ServerDeleteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerDeleteServerReader ¶
type ServerDeleteServerReader struct {
// contains filtered or unexported fields
}
ServerDeleteServerReader is a Reader for the ServerDeleteServer structure.
func (*ServerDeleteServerReader) ReadResponse ¶
func (o *ServerDeleteServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerGetServerDetailByUUIDOK ¶
type ServerGetServerDetailByUUIDOK struct {
Payload *models.ServerGetServerDetailByUUIDResponseBody
}
ServerGetServerDetailByUUIDOK describes a response with status code 200, with default header values.
OK response.
func NewServerGetServerDetailByUUIDOK ¶
func NewServerGetServerDetailByUUIDOK() *ServerGetServerDetailByUUIDOK
NewServerGetServerDetailByUUIDOK creates a ServerGetServerDetailByUUIDOK with default headers values
func (*ServerGetServerDetailByUUIDOK) Error ¶
func (o *ServerGetServerDetailByUUIDOK) Error() string
func (*ServerGetServerDetailByUUIDOK) GetPayload ¶
func (o *ServerGetServerDetailByUUIDOK) GetPayload() *models.ServerGetServerDetailByUUIDResponseBody
type ServerGetServerDetailByUUIDParams ¶
type ServerGetServerDetailByUUIDParams struct {
/* Authorization.
api key auth
*/
Authorization *string
/* ServerUUID.
Server UUID
*/
ServerUUID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ServerGetServerDetailByUUIDParams contains all the parameters to send to the API endpoint
for the server get server detail by UUID operation. Typically these are written to a http.Request.
func NewServerGetServerDetailByUUIDParams ¶
func NewServerGetServerDetailByUUIDParams() *ServerGetServerDetailByUUIDParams
NewServerGetServerDetailByUUIDParams creates a new ServerGetServerDetailByUUIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewServerGetServerDetailByUUIDParamsWithContext ¶
func NewServerGetServerDetailByUUIDParamsWithContext(ctx context.Context) *ServerGetServerDetailByUUIDParams
NewServerGetServerDetailByUUIDParamsWithContext creates a new ServerGetServerDetailByUUIDParams object with the ability to set a context for a request.
func NewServerGetServerDetailByUUIDParamsWithHTTPClient ¶
func NewServerGetServerDetailByUUIDParamsWithHTTPClient(client *http.Client) *ServerGetServerDetailByUUIDParams
NewServerGetServerDetailByUUIDParamsWithHTTPClient creates a new ServerGetServerDetailByUUIDParams object with the ability to set a custom HTTPClient for a request.
func NewServerGetServerDetailByUUIDParamsWithTimeout ¶
func NewServerGetServerDetailByUUIDParamsWithTimeout(timeout time.Duration) *ServerGetServerDetailByUUIDParams
NewServerGetServerDetailByUUIDParamsWithTimeout creates a new ServerGetServerDetailByUUIDParams object with the ability to set a timeout on a request.
func (*ServerGetServerDetailByUUIDParams) SetAuthorization ¶
func (o *ServerGetServerDetailByUUIDParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) SetContext ¶
func (o *ServerGetServerDetailByUUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) SetDefaults ¶
func (o *ServerGetServerDetailByUUIDParams) SetDefaults()
SetDefaults hydrates default values in the server get server detail by UUID params (not the query body).
All values with no default are reset to their zero value.
func (*ServerGetServerDetailByUUIDParams) SetHTTPClient ¶
func (o *ServerGetServerDetailByUUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) SetServerUUID ¶
func (o *ServerGetServerDetailByUUIDParams) SetServerUUID(serverUUID string)
SetServerUUID adds the serverUuid to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) SetTimeout ¶
func (o *ServerGetServerDetailByUUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) WithAuthorization ¶
func (o *ServerGetServerDetailByUUIDParams) WithAuthorization(authorization *string) *ServerGetServerDetailByUUIDParams
WithAuthorization adds the authorization to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) WithContext ¶
func (o *ServerGetServerDetailByUUIDParams) WithContext(ctx context.Context) *ServerGetServerDetailByUUIDParams
WithContext adds the context to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) WithDefaults ¶
func (o *ServerGetServerDetailByUUIDParams) WithDefaults() *ServerGetServerDetailByUUIDParams
WithDefaults hydrates default values in the server get server detail by UUID params (not the query body).
All values with no default are reset to their zero value.
func (*ServerGetServerDetailByUUIDParams) WithHTTPClient ¶
func (o *ServerGetServerDetailByUUIDParams) WithHTTPClient(client *http.Client) *ServerGetServerDetailByUUIDParams
WithHTTPClient adds the HTTPClient to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) WithServerUUID ¶
func (o *ServerGetServerDetailByUUIDParams) WithServerUUID(serverUUID string) *ServerGetServerDetailByUUIDParams
WithServerUUID adds the serverUUID to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) WithTimeout ¶
func (o *ServerGetServerDetailByUUIDParams) WithTimeout(timeout time.Duration) *ServerGetServerDetailByUUIDParams
WithTimeout adds the timeout to the server get server detail by UUID params
func (*ServerGetServerDetailByUUIDParams) WriteToRequest ¶
func (o *ServerGetServerDetailByUUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerGetServerDetailByUUIDReader ¶
type ServerGetServerDetailByUUIDReader struct {
// contains filtered or unexported fields
}
ServerGetServerDetailByUUIDReader is a Reader for the ServerGetServerDetailByUUID structure.
func (*ServerGetServerDetailByUUIDReader) ReadResponse ¶
func (o *ServerGetServerDetailByUUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerGetServerDetailOK ¶
type ServerGetServerDetailOK struct {
Payload *models.ServerGetServerDetailResponseBody
}
ServerGetServerDetailOK describes a response with status code 200, with default header values.
OK response.
func NewServerGetServerDetailOK ¶
func NewServerGetServerDetailOK() *ServerGetServerDetailOK
NewServerGetServerDetailOK creates a ServerGetServerDetailOK with default headers values
func (*ServerGetServerDetailOK) Error ¶
func (o *ServerGetServerDetailOK) Error() string
func (*ServerGetServerDetailOK) GetPayload ¶
func (o *ServerGetServerDetailOK) GetPayload() *models.ServerGetServerDetailResponseBody
type ServerGetServerDetailParams ¶
type ServerGetServerDetailParams struct {
/* Authorization.
api key auth
*/
Authorization *string
/* ServerID.
Server ID
Format: int64
*/
ServerID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ServerGetServerDetailParams contains all the parameters to send to the API endpoint
for the server get server detail operation. Typically these are written to a http.Request.
func NewServerGetServerDetailParams ¶
func NewServerGetServerDetailParams() *ServerGetServerDetailParams
NewServerGetServerDetailParams creates a new ServerGetServerDetailParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewServerGetServerDetailParamsWithContext ¶
func NewServerGetServerDetailParamsWithContext(ctx context.Context) *ServerGetServerDetailParams
NewServerGetServerDetailParamsWithContext creates a new ServerGetServerDetailParams object with the ability to set a context for a request.
func NewServerGetServerDetailParamsWithHTTPClient ¶
func NewServerGetServerDetailParamsWithHTTPClient(client *http.Client) *ServerGetServerDetailParams
NewServerGetServerDetailParamsWithHTTPClient creates a new ServerGetServerDetailParams object with the ability to set a custom HTTPClient for a request.
func NewServerGetServerDetailParamsWithTimeout ¶
func NewServerGetServerDetailParamsWithTimeout(timeout time.Duration) *ServerGetServerDetailParams
NewServerGetServerDetailParamsWithTimeout creates a new ServerGetServerDetailParams object with the ability to set a timeout on a request.
func (*ServerGetServerDetailParams) SetAuthorization ¶
func (o *ServerGetServerDetailParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the server get server detail params
func (*ServerGetServerDetailParams) SetContext ¶
func (o *ServerGetServerDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the server get server detail params
func (*ServerGetServerDetailParams) SetDefaults ¶
func (o *ServerGetServerDetailParams) SetDefaults()
SetDefaults hydrates default values in the server get server detail params (not the query body).
All values with no default are reset to their zero value.
func (*ServerGetServerDetailParams) SetHTTPClient ¶
func (o *ServerGetServerDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server get server detail params
func (*ServerGetServerDetailParams) SetServerID ¶
func (o *ServerGetServerDetailParams) SetServerID(serverID int64)
SetServerID adds the serverId to the server get server detail params
func (*ServerGetServerDetailParams) SetTimeout ¶
func (o *ServerGetServerDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server get server detail params
func (*ServerGetServerDetailParams) WithAuthorization ¶
func (o *ServerGetServerDetailParams) WithAuthorization(authorization *string) *ServerGetServerDetailParams
WithAuthorization adds the authorization to the server get server detail params
func (*ServerGetServerDetailParams) WithContext ¶
func (o *ServerGetServerDetailParams) WithContext(ctx context.Context) *ServerGetServerDetailParams
WithContext adds the context to the server get server detail params
func (*ServerGetServerDetailParams) WithDefaults ¶
func (o *ServerGetServerDetailParams) WithDefaults() *ServerGetServerDetailParams
WithDefaults hydrates default values in the server get server detail params (not the query body).
All values with no default are reset to their zero value.
func (*ServerGetServerDetailParams) WithHTTPClient ¶
func (o *ServerGetServerDetailParams) WithHTTPClient(client *http.Client) *ServerGetServerDetailParams
WithHTTPClient adds the HTTPClient to the server get server detail params
func (*ServerGetServerDetailParams) WithServerID ¶
func (o *ServerGetServerDetailParams) WithServerID(serverID int64) *ServerGetServerDetailParams
WithServerID adds the serverID to the server get server detail params
func (*ServerGetServerDetailParams) WithTimeout ¶
func (o *ServerGetServerDetailParams) WithTimeout(timeout time.Duration) *ServerGetServerDetailParams
WithTimeout adds the timeout to the server get server detail params
func (*ServerGetServerDetailParams) WriteToRequest ¶
func (o *ServerGetServerDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerGetServerDetailReader ¶
type ServerGetServerDetailReader struct {
// contains filtered or unexported fields
}
ServerGetServerDetailReader is a Reader for the ServerGetServerDetail structure.
func (*ServerGetServerDetailReader) ReadResponse ¶
func (o *ServerGetServerDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerGetServerListOK ¶
type ServerGetServerListOK struct {
Payload *models.ServerGetServerListResponseBody
}
ServerGetServerListOK describes a response with status code 200, with default header values.
OK response.
func NewServerGetServerListOK ¶
func NewServerGetServerListOK() *ServerGetServerListOK
NewServerGetServerListOK creates a ServerGetServerListOK with default headers values
func (*ServerGetServerListOK) Error ¶
func (o *ServerGetServerListOK) Error() string
func (*ServerGetServerListOK) GetPayload ¶
func (o *ServerGetServerListOK) GetPayload() *models.ServerGetServerListResponseBody
type ServerGetServerListParams ¶
type ServerGetServerListParams struct {
/* Authorization.
api key auth
*/
Authorization *string
/* FilterCveID.
CveID filter
*/
FilterCveID *string
/* FilterRoleID.
ServerRoleID filter
*/
FilterRoleID *int64
/* FilterTagName.
ServerTagName filter
*/
FilterTagName *string
/* Limit.
Limit
Default: 20
*/
Limit *int64
/* Offset.
Offset
*/
Offset *int64
/* Page.
Page Number
Default: 1
*/
Page *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ServerGetServerListParams contains all the parameters to send to the API endpoint
for the server get server list operation. Typically these are written to a http.Request.
func NewServerGetServerListParams ¶
func NewServerGetServerListParams() *ServerGetServerListParams
NewServerGetServerListParams creates a new ServerGetServerListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewServerGetServerListParamsWithContext ¶
func NewServerGetServerListParamsWithContext(ctx context.Context) *ServerGetServerListParams
NewServerGetServerListParamsWithContext creates a new ServerGetServerListParams object with the ability to set a context for a request.
func NewServerGetServerListParamsWithHTTPClient ¶
func NewServerGetServerListParamsWithHTTPClient(client *http.Client) *ServerGetServerListParams
NewServerGetServerListParamsWithHTTPClient creates a new ServerGetServerListParams object with the ability to set a custom HTTPClient for a request.
func NewServerGetServerListParamsWithTimeout ¶
func NewServerGetServerListParamsWithTimeout(timeout time.Duration) *ServerGetServerListParams
NewServerGetServerListParamsWithTimeout creates a new ServerGetServerListParams object with the ability to set a timeout on a request.
func (*ServerGetServerListParams) SetAuthorization ¶
func (o *ServerGetServerListParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the server get server list params
func (*ServerGetServerListParams) SetContext ¶
func (o *ServerGetServerListParams) SetContext(ctx context.Context)
SetContext adds the context to the server get server list params
func (*ServerGetServerListParams) SetDefaults ¶
func (o *ServerGetServerListParams) SetDefaults()
SetDefaults hydrates default values in the server get server list params (not the query body).
All values with no default are reset to their zero value.
func (*ServerGetServerListParams) SetFilterCveID ¶
func (o *ServerGetServerListParams) SetFilterCveID(filterCveID *string)
SetFilterCveID adds the filterCveId to the server get server list params
func (*ServerGetServerListParams) SetFilterRoleID ¶
func (o *ServerGetServerListParams) SetFilterRoleID(filterRoleID *int64)
SetFilterRoleID adds the filterRoleId to the server get server list params
func (*ServerGetServerListParams) SetFilterTagName ¶
func (o *ServerGetServerListParams) SetFilterTagName(filterTagName *string)
SetFilterTagName adds the filterTagName to the server get server list params
func (*ServerGetServerListParams) SetHTTPClient ¶
func (o *ServerGetServerListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server get server list params
func (*ServerGetServerListParams) SetLimit ¶
func (o *ServerGetServerListParams) SetLimit(limit *int64)
SetLimit adds the limit to the server get server list params
func (*ServerGetServerListParams) SetOffset ¶
func (o *ServerGetServerListParams) SetOffset(offset *int64)
SetOffset adds the offset to the server get server list params
func (*ServerGetServerListParams) SetPage ¶
func (o *ServerGetServerListParams) SetPage(page *int64)
SetPage adds the page to the server get server list params
func (*ServerGetServerListParams) SetTimeout ¶
func (o *ServerGetServerListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server get server list params
func (*ServerGetServerListParams) WithAuthorization ¶
func (o *ServerGetServerListParams) WithAuthorization(authorization *string) *ServerGetServerListParams
WithAuthorization adds the authorization to the server get server list params
func (*ServerGetServerListParams) WithContext ¶
func (o *ServerGetServerListParams) WithContext(ctx context.Context) *ServerGetServerListParams
WithContext adds the context to the server get server list params
func (*ServerGetServerListParams) WithDefaults ¶
func (o *ServerGetServerListParams) WithDefaults() *ServerGetServerListParams
WithDefaults hydrates default values in the server get server list params (not the query body).
All values with no default are reset to their zero value.
func (*ServerGetServerListParams) WithFilterCveID ¶
func (o *ServerGetServerListParams) WithFilterCveID(filterCveID *string) *ServerGetServerListParams
WithFilterCveID adds the filterCveID to the server get server list params
func (*ServerGetServerListParams) WithFilterRoleID ¶
func (o *ServerGetServerListParams) WithFilterRoleID(filterRoleID *int64) *ServerGetServerListParams
WithFilterRoleID adds the filterRoleID to the server get server list params
func (*ServerGetServerListParams) WithFilterTagName ¶
func (o *ServerGetServerListParams) WithFilterTagName(filterTagName *string) *ServerGetServerListParams
WithFilterTagName adds the filterTagName to the server get server list params
func (*ServerGetServerListParams) WithHTTPClient ¶
func (o *ServerGetServerListParams) WithHTTPClient(client *http.Client) *ServerGetServerListParams
WithHTTPClient adds the HTTPClient to the server get server list params
func (*ServerGetServerListParams) WithLimit ¶
func (o *ServerGetServerListParams) WithLimit(limit *int64) *ServerGetServerListParams
WithLimit adds the limit to the server get server list params
func (*ServerGetServerListParams) WithOffset ¶
func (o *ServerGetServerListParams) WithOffset(offset *int64) *ServerGetServerListParams
WithOffset adds the offset to the server get server list params
func (*ServerGetServerListParams) WithPage ¶
func (o *ServerGetServerListParams) WithPage(page *int64) *ServerGetServerListParams
WithPage adds the page to the server get server list params
func (*ServerGetServerListParams) WithTimeout ¶
func (o *ServerGetServerListParams) WithTimeout(timeout time.Duration) *ServerGetServerListParams
WithTimeout adds the timeout to the server get server list params
func (*ServerGetServerListParams) WriteToRequest ¶
func (o *ServerGetServerListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerGetServerListReader ¶
type ServerGetServerListReader struct {
// contains filtered or unexported fields
}
ServerGetServerListReader is a Reader for the ServerGetServerList structure.
func (*ServerGetServerListReader) ReadResponse ¶
func (o *ServerGetServerListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerUpdatePkgPasteServerOK ¶
type ServerUpdatePkgPasteServerOK struct {
}
ServerUpdatePkgPasteServerOK describes a response with status code 200, with default header values.
OK response.
func NewServerUpdatePkgPasteServerOK ¶
func NewServerUpdatePkgPasteServerOK() *ServerUpdatePkgPasteServerOK
NewServerUpdatePkgPasteServerOK creates a ServerUpdatePkgPasteServerOK with default headers values
func (*ServerUpdatePkgPasteServerOK) Error ¶
func (o *ServerUpdatePkgPasteServerOK) Error() string
type ServerUpdatePkgPasteServerParams ¶
type ServerUpdatePkgPasteServerParams struct {
/* Authorization.
api key auth
*/
Authorization *string
// UpdatePkgPasteServerRequestBody.
UpdatePkgPasteServerRequestBody *models.ServerUpdatePkgPasteServerRequestBody
/* ServerID.
Server ID
Format: int64
*/
ServerID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ServerUpdatePkgPasteServerParams contains all the parameters to send to the API endpoint
for the server update pkg paste server operation. Typically these are written to a http.Request.
func NewServerUpdatePkgPasteServerParams ¶
func NewServerUpdatePkgPasteServerParams() *ServerUpdatePkgPasteServerParams
NewServerUpdatePkgPasteServerParams creates a new ServerUpdatePkgPasteServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewServerUpdatePkgPasteServerParamsWithContext ¶
func NewServerUpdatePkgPasteServerParamsWithContext(ctx context.Context) *ServerUpdatePkgPasteServerParams
NewServerUpdatePkgPasteServerParamsWithContext creates a new ServerUpdatePkgPasteServerParams object with the ability to set a context for a request.
func NewServerUpdatePkgPasteServerParamsWithHTTPClient ¶
func NewServerUpdatePkgPasteServerParamsWithHTTPClient(client *http.Client) *ServerUpdatePkgPasteServerParams
NewServerUpdatePkgPasteServerParamsWithHTTPClient creates a new ServerUpdatePkgPasteServerParams object with the ability to set a custom HTTPClient for a request.
func NewServerUpdatePkgPasteServerParamsWithTimeout ¶
func NewServerUpdatePkgPasteServerParamsWithTimeout(timeout time.Duration) *ServerUpdatePkgPasteServerParams
NewServerUpdatePkgPasteServerParamsWithTimeout creates a new ServerUpdatePkgPasteServerParams object with the ability to set a timeout on a request.
func (*ServerUpdatePkgPasteServerParams) SetAuthorization ¶
func (o *ServerUpdatePkgPasteServerParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) SetContext ¶
func (o *ServerUpdatePkgPasteServerParams) SetContext(ctx context.Context)
SetContext adds the context to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) SetDefaults ¶
func (o *ServerUpdatePkgPasteServerParams) SetDefaults()
SetDefaults hydrates default values in the server update pkg paste server params (not the query body).
All values with no default are reset to their zero value.
func (*ServerUpdatePkgPasteServerParams) SetHTTPClient ¶
func (o *ServerUpdatePkgPasteServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) SetServerID ¶
func (o *ServerUpdatePkgPasteServerParams) SetServerID(serverID int64)
SetServerID adds the serverId to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) SetTimeout ¶
func (o *ServerUpdatePkgPasteServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) SetUpdatePkgPasteServerRequestBody ¶
func (o *ServerUpdatePkgPasteServerParams) SetUpdatePkgPasteServerRequestBody(updatePkgPasteServerRequestBody *models.ServerUpdatePkgPasteServerRequestBody)
SetUpdatePkgPasteServerRequestBody adds the updatePkgPasteServerRequestBody to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) WithAuthorization ¶
func (o *ServerUpdatePkgPasteServerParams) WithAuthorization(authorization *string) *ServerUpdatePkgPasteServerParams
WithAuthorization adds the authorization to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) WithContext ¶
func (o *ServerUpdatePkgPasteServerParams) WithContext(ctx context.Context) *ServerUpdatePkgPasteServerParams
WithContext adds the context to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) WithDefaults ¶
func (o *ServerUpdatePkgPasteServerParams) WithDefaults() *ServerUpdatePkgPasteServerParams
WithDefaults hydrates default values in the server update pkg paste server params (not the query body).
All values with no default are reset to their zero value.
func (*ServerUpdatePkgPasteServerParams) WithHTTPClient ¶
func (o *ServerUpdatePkgPasteServerParams) WithHTTPClient(client *http.Client) *ServerUpdatePkgPasteServerParams
WithHTTPClient adds the HTTPClient to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) WithServerID ¶
func (o *ServerUpdatePkgPasteServerParams) WithServerID(serverID int64) *ServerUpdatePkgPasteServerParams
WithServerID adds the serverID to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) WithTimeout ¶
func (o *ServerUpdatePkgPasteServerParams) WithTimeout(timeout time.Duration) *ServerUpdatePkgPasteServerParams
WithTimeout adds the timeout to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) WithUpdatePkgPasteServerRequestBody ¶
func (o *ServerUpdatePkgPasteServerParams) WithUpdatePkgPasteServerRequestBody(updatePkgPasteServerRequestBody *models.ServerUpdatePkgPasteServerRequestBody) *ServerUpdatePkgPasteServerParams
WithUpdatePkgPasteServerRequestBody adds the updatePkgPasteServerRequestBody to the server update pkg paste server params
func (*ServerUpdatePkgPasteServerParams) WriteToRequest ¶
func (o *ServerUpdatePkgPasteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerUpdatePkgPasteServerReader ¶
type ServerUpdatePkgPasteServerReader struct {
// contains filtered or unexported fields
}
ServerUpdatePkgPasteServerReader is a Reader for the ServerUpdatePkgPasteServer structure.
func (*ServerUpdatePkgPasteServerReader) ReadResponse ¶
func (o *ServerUpdatePkgPasteServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerUpdateServerOK ¶
type ServerUpdateServerOK struct {
Payload *models.ServerUpdateServerResponseBody
}
ServerUpdateServerOK describes a response with status code 200, with default header values.
OK response.
func NewServerUpdateServerOK ¶
func NewServerUpdateServerOK() *ServerUpdateServerOK
NewServerUpdateServerOK creates a ServerUpdateServerOK with default headers values
func (*ServerUpdateServerOK) Error ¶
func (o *ServerUpdateServerOK) Error() string
func (*ServerUpdateServerOK) GetPayload ¶
func (o *ServerUpdateServerOK) GetPayload() *models.ServerUpdateServerResponseBody
type ServerUpdateServerParams ¶
type ServerUpdateServerParams struct {
/* Authorization.
api key auth
*/
Authorization *string
// UpdateServerRequestBody.
UpdateServerRequestBody *models.ServerUpdateServerRequestBody
/* ServerID.
Server ID
Format: int64
*/
ServerID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ServerUpdateServerParams contains all the parameters to send to the API endpoint
for the server update server operation. Typically these are written to a http.Request.
func NewServerUpdateServerParams ¶
func NewServerUpdateServerParams() *ServerUpdateServerParams
NewServerUpdateServerParams creates a new ServerUpdateServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewServerUpdateServerParamsWithContext ¶
func NewServerUpdateServerParamsWithContext(ctx context.Context) *ServerUpdateServerParams
NewServerUpdateServerParamsWithContext creates a new ServerUpdateServerParams object with the ability to set a context for a request.
func NewServerUpdateServerParamsWithHTTPClient ¶
func NewServerUpdateServerParamsWithHTTPClient(client *http.Client) *ServerUpdateServerParams
NewServerUpdateServerParamsWithHTTPClient creates a new ServerUpdateServerParams object with the ability to set a custom HTTPClient for a request.
func NewServerUpdateServerParamsWithTimeout ¶
func NewServerUpdateServerParamsWithTimeout(timeout time.Duration) *ServerUpdateServerParams
NewServerUpdateServerParamsWithTimeout creates a new ServerUpdateServerParams object with the ability to set a timeout on a request.
func (*ServerUpdateServerParams) SetAuthorization ¶
func (o *ServerUpdateServerParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the server update server params
func (*ServerUpdateServerParams) SetContext ¶
func (o *ServerUpdateServerParams) SetContext(ctx context.Context)
SetContext adds the context to the server update server params
func (*ServerUpdateServerParams) SetDefaults ¶
func (o *ServerUpdateServerParams) SetDefaults()
SetDefaults hydrates default values in the server update server params (not the query body).
All values with no default are reset to their zero value.
func (*ServerUpdateServerParams) SetHTTPClient ¶
func (o *ServerUpdateServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server update server params
func (*ServerUpdateServerParams) SetServerID ¶
func (o *ServerUpdateServerParams) SetServerID(serverID int64)
SetServerID adds the serverId to the server update server params
func (*ServerUpdateServerParams) SetTimeout ¶
func (o *ServerUpdateServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server update server params
func (*ServerUpdateServerParams) SetUpdateServerRequestBody ¶
func (o *ServerUpdateServerParams) SetUpdateServerRequestBody(updateServerRequestBody *models.ServerUpdateServerRequestBody)
SetUpdateServerRequestBody adds the updateServerRequestBody to the server update server params
func (*ServerUpdateServerParams) WithAuthorization ¶
func (o *ServerUpdateServerParams) WithAuthorization(authorization *string) *ServerUpdateServerParams
WithAuthorization adds the authorization to the server update server params
func (*ServerUpdateServerParams) WithContext ¶
func (o *ServerUpdateServerParams) WithContext(ctx context.Context) *ServerUpdateServerParams
WithContext adds the context to the server update server params
func (*ServerUpdateServerParams) WithDefaults ¶
func (o *ServerUpdateServerParams) WithDefaults() *ServerUpdateServerParams
WithDefaults hydrates default values in the server update server params (not the query body).
All values with no default are reset to their zero value.
func (*ServerUpdateServerParams) WithHTTPClient ¶
func (o *ServerUpdateServerParams) WithHTTPClient(client *http.Client) *ServerUpdateServerParams
WithHTTPClient adds the HTTPClient to the server update server params
func (*ServerUpdateServerParams) WithServerID ¶
func (o *ServerUpdateServerParams) WithServerID(serverID int64) *ServerUpdateServerParams
WithServerID adds the serverID to the server update server params
func (*ServerUpdateServerParams) WithTimeout ¶
func (o *ServerUpdateServerParams) WithTimeout(timeout time.Duration) *ServerUpdateServerParams
WithTimeout adds the timeout to the server update server params
func (*ServerUpdateServerParams) WithUpdateServerRequestBody ¶
func (o *ServerUpdateServerParams) WithUpdateServerRequestBody(updateServerRequestBody *models.ServerUpdateServerRequestBody) *ServerUpdateServerParams
WithUpdateServerRequestBody adds the updateServerRequestBody to the server update server params
func (*ServerUpdateServerParams) WriteToRequest ¶
func (o *ServerUpdateServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerUpdateServerReader ¶
type ServerUpdateServerReader struct {
// contains filtered or unexported fields
}
ServerUpdateServerReader is a Reader for the ServerUpdateServer structure.
func (*ServerUpdateServerReader) ReadResponse ¶
func (o *ServerUpdateServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- server_client.go
- server_create_pkg_paste_server_parameters.go
- server_create_pkg_paste_server_responses.go
- server_delete_server_parameters.go
- server_delete_server_responses.go
- server_get_server_detail_by_uuid_parameters.go
- server_get_server_detail_by_uuid_responses.go
- server_get_server_detail_parameters.go
- server_get_server_detail_responses.go
- server_get_server_list_parameters.go
- server_get_server_list_responses.go
- server_update_pkg_paste_server_parameters.go
- server_update_pkg_paste_server_responses.go
- server_update_server_parameters.go
- server_update_server_responses.go