Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationOctetStream(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetDebugLogStatus(params *GetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDebugLogStatusOK, error)
- func (a *Client) SetDebugLogStatus(params *SetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetDebugLogStatusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SupportBundleDownload(params *SupportBundleDownloadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SupportBundleDownloadOK, error)
- type ClientOption
- type ClientService
- type GetDebugLogStatusInternalServerError
- func (o *GetDebugLogStatusInternalServerError) Code() int
- func (o *GetDebugLogStatusInternalServerError) Error() string
- func (o *GetDebugLogStatusInternalServerError) IsClientError() bool
- func (o *GetDebugLogStatusInternalServerError) IsCode(code int) bool
- func (o *GetDebugLogStatusInternalServerError) IsRedirect() bool
- func (o *GetDebugLogStatusInternalServerError) IsServerError() bool
- func (o *GetDebugLogStatusInternalServerError) IsSuccess() bool
- func (o *GetDebugLogStatusInternalServerError) String() string
- type GetDebugLogStatusOK
- func (o *GetDebugLogStatusOK) Code() int
- func (o *GetDebugLogStatusOK) Error() string
- func (o *GetDebugLogStatusOK) GetPayload() *models.SupportDebugLogPayload
- func (o *GetDebugLogStatusOK) IsClientError() bool
- func (o *GetDebugLogStatusOK) IsCode(code int) bool
- func (o *GetDebugLogStatusOK) IsRedirect() bool
- func (o *GetDebugLogStatusOK) IsServerError() bool
- func (o *GetDebugLogStatusOK) IsSuccess() bool
- func (o *GetDebugLogStatusOK) String() string
- type GetDebugLogStatusParams
- func NewGetDebugLogStatusParams() *GetDebugLogStatusParams
- func NewGetDebugLogStatusParamsWithContext(ctx context.Context) *GetDebugLogStatusParams
- func NewGetDebugLogStatusParamsWithHTTPClient(client *http.Client) *GetDebugLogStatusParams
- func NewGetDebugLogStatusParamsWithTimeout(timeout time.Duration) *GetDebugLogStatusParams
- func (o *GetDebugLogStatusParams) SetContext(ctx context.Context)
- func (o *GetDebugLogStatusParams) SetDefaults()
- func (o *GetDebugLogStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetDebugLogStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetDebugLogStatusParams) WithContext(ctx context.Context) *GetDebugLogStatusParams
- func (o *GetDebugLogStatusParams) WithDefaults() *GetDebugLogStatusParams
- func (o *GetDebugLogStatusParams) WithHTTPClient(client *http.Client) *GetDebugLogStatusParams
- func (o *GetDebugLogStatusParams) WithTimeout(timeout time.Duration) *GetDebugLogStatusParams
- func (o *GetDebugLogStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDebugLogStatusReader
- type SetDebugLogStatusBadRequest
- func (o *SetDebugLogStatusBadRequest) Code() int
- func (o *SetDebugLogStatusBadRequest) Error() string
- func (o *SetDebugLogStatusBadRequest) IsClientError() bool
- func (o *SetDebugLogStatusBadRequest) IsCode(code int) bool
- func (o *SetDebugLogStatusBadRequest) IsRedirect() bool
- func (o *SetDebugLogStatusBadRequest) IsServerError() bool
- func (o *SetDebugLogStatusBadRequest) IsSuccess() bool
- func (o *SetDebugLogStatusBadRequest) String() string
- type SetDebugLogStatusInternalServerError
- func (o *SetDebugLogStatusInternalServerError) Code() int
- func (o *SetDebugLogStatusInternalServerError) Error() string
- func (o *SetDebugLogStatusInternalServerError) IsClientError() bool
- func (o *SetDebugLogStatusInternalServerError) IsCode(code int) bool
- func (o *SetDebugLogStatusInternalServerError) IsRedirect() bool
- func (o *SetDebugLogStatusInternalServerError) IsServerError() bool
- func (o *SetDebugLogStatusInternalServerError) IsSuccess() bool
- func (o *SetDebugLogStatusInternalServerError) String() string
- type SetDebugLogStatusOK
- func (o *SetDebugLogStatusOK) Code() int
- func (o *SetDebugLogStatusOK) Error() string
- func (o *SetDebugLogStatusOK) GetPayload() *models.SupportDebugLogPayload
- func (o *SetDebugLogStatusOK) IsClientError() bool
- func (o *SetDebugLogStatusOK) IsCode(code int) bool
- func (o *SetDebugLogStatusOK) IsRedirect() bool
- func (o *SetDebugLogStatusOK) IsServerError() bool
- func (o *SetDebugLogStatusOK) IsSuccess() bool
- func (o *SetDebugLogStatusOK) String() string
- type SetDebugLogStatusParams
- func NewSetDebugLogStatusParams() *SetDebugLogStatusParams
- func NewSetDebugLogStatusParamsWithContext(ctx context.Context) *SetDebugLogStatusParams
- func NewSetDebugLogStatusParamsWithHTTPClient(client *http.Client) *SetDebugLogStatusParams
- func NewSetDebugLogStatusParamsWithTimeout(timeout time.Duration) *SetDebugLogStatusParams
- func (o *SetDebugLogStatusParams) SetBody(body *models.SupportDebugLogPayload)
- func (o *SetDebugLogStatusParams) SetContext(ctx context.Context)
- func (o *SetDebugLogStatusParams) SetDefaults()
- func (o *SetDebugLogStatusParams) SetHTTPClient(client *http.Client)
- func (o *SetDebugLogStatusParams) SetTimeout(timeout time.Duration)
- func (o *SetDebugLogStatusParams) WithBody(body *models.SupportDebugLogPayload) *SetDebugLogStatusParams
- func (o *SetDebugLogStatusParams) WithContext(ctx context.Context) *SetDebugLogStatusParams
- func (o *SetDebugLogStatusParams) WithDefaults() *SetDebugLogStatusParams
- func (o *SetDebugLogStatusParams) WithHTTPClient(client *http.Client) *SetDebugLogStatusParams
- func (o *SetDebugLogStatusParams) WithTimeout(timeout time.Duration) *SetDebugLogStatusParams
- func (o *SetDebugLogStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDebugLogStatusReader
- type SupportBundleDownloadBadRequest
- func (o *SupportBundleDownloadBadRequest) Code() int
- func (o *SupportBundleDownloadBadRequest) Error() string
- func (o *SupportBundleDownloadBadRequest) IsClientError() bool
- func (o *SupportBundleDownloadBadRequest) IsCode(code int) bool
- func (o *SupportBundleDownloadBadRequest) IsRedirect() bool
- func (o *SupportBundleDownloadBadRequest) IsServerError() bool
- func (o *SupportBundleDownloadBadRequest) IsSuccess() bool
- func (o *SupportBundleDownloadBadRequest) String() string
- type SupportBundleDownloadForbidden
- func (o *SupportBundleDownloadForbidden) Code() int
- func (o *SupportBundleDownloadForbidden) Error() string
- func (o *SupportBundleDownloadForbidden) IsClientError() bool
- func (o *SupportBundleDownloadForbidden) IsCode(code int) bool
- func (o *SupportBundleDownloadForbidden) IsRedirect() bool
- func (o *SupportBundleDownloadForbidden) IsServerError() bool
- func (o *SupportBundleDownloadForbidden) IsSuccess() bool
- func (o *SupportBundleDownloadForbidden) String() string
- type SupportBundleDownloadInternalServerError
- func (o *SupportBundleDownloadInternalServerError) Code() int
- func (o *SupportBundleDownloadInternalServerError) Error() string
- func (o *SupportBundleDownloadInternalServerError) IsClientError() bool
- func (o *SupportBundleDownloadInternalServerError) IsCode(code int) bool
- func (o *SupportBundleDownloadInternalServerError) IsRedirect() bool
- func (o *SupportBundleDownloadInternalServerError) IsServerError() bool
- func (o *SupportBundleDownloadInternalServerError) IsSuccess() bool
- func (o *SupportBundleDownloadInternalServerError) String() string
- type SupportBundleDownloadOK
- func (o *SupportBundleDownloadOK) Code() int
- func (o *SupportBundleDownloadOK) Error() string
- func (o *SupportBundleDownloadOK) IsClientError() bool
- func (o *SupportBundleDownloadOK) IsCode(code int) bool
- func (o *SupportBundleDownloadOK) IsRedirect() bool
- func (o *SupportBundleDownloadOK) IsServerError() bool
- func (o *SupportBundleDownloadOK) IsSuccess() bool
- func (o *SupportBundleDownloadOK) String() string
- type SupportBundleDownloadParams
- func NewSupportBundleDownloadParams() *SupportBundleDownloadParams
- func NewSupportBundleDownloadParamsWithContext(ctx context.Context) *SupportBundleDownloadParams
- func NewSupportBundleDownloadParamsWithHTTPClient(client *http.Client) *SupportBundleDownloadParams
- func NewSupportBundleDownloadParamsWithTimeout(timeout time.Duration) *SupportBundleDownloadParams
- func (o *SupportBundleDownloadParams) SetContext(ctx context.Context)
- func (o *SupportBundleDownloadParams) SetDefaults()
- func (o *SupportBundleDownloadParams) SetHTTPClient(client *http.Client)
- func (o *SupportBundleDownloadParams) SetTimeout(timeout time.Duration)
- func (o *SupportBundleDownloadParams) WithContext(ctx context.Context) *SupportBundleDownloadParams
- func (o *SupportBundleDownloadParams) WithDefaults() *SupportBundleDownloadParams
- func (o *SupportBundleDownloadParams) WithHTTPClient(client *http.Client) *SupportBundleDownloadParams
- func (o *SupportBundleDownloadParams) WithTimeout(timeout time.Duration) *SupportBundleDownloadParams
- func (o *SupportBundleDownloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SupportBundleDownloadReader
- type SupportBundleDownloadUnauthorized
- func (o *SupportBundleDownloadUnauthorized) Code() int
- func (o *SupportBundleDownloadUnauthorized) Error() string
- func (o *SupportBundleDownloadUnauthorized) IsClientError() bool
- func (o *SupportBundleDownloadUnauthorized) IsCode(code int) bool
- func (o *SupportBundleDownloadUnauthorized) IsRedirect() bool
- func (o *SupportBundleDownloadUnauthorized) IsServerError() bool
- func (o *SupportBundleDownloadUnauthorized) IsSuccess() bool
- func (o *SupportBundleDownloadUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptApplicationOctetStream ¶
func WithAcceptApplicationOctetStream(r *runtime.ClientOperation)
WithAcceptApplicationOctetStream sets the Accept header to "application/octet-stream".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for support API
func (*Client) GetDebugLogStatus ¶
func (a *Client) GetDebugLogStatus(params *GetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDebugLogStatusOK, error)
GetDebugLogStatus gets status of the global debug log Checks if the global log level is enabled
**Access policy**: administrator
func (*Client) SetDebugLogStatus ¶
func (a *Client) SetDebugLogStatus(params *SetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetDebugLogStatusOK, error)
SetDebugLogStatus enables or disables the global debug log Enables the debug log by setting the global log level to debug or info if disabled
**Access policy**: administrator
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SupportBundleDownload ¶
func (a *Client) SupportBundleDownload(params *SupportBundleDownloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportBundleDownloadOK, error)
SupportBundleDownload downloads a bundle of files to help support diagnose issues
**Access policy**: administrator
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
GetDebugLogStatus(params *GetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDebugLogStatusOK, error)
SetDebugLogStatus(params *SetDebugLogStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetDebugLogStatusOK, error)
SupportBundleDownload(params *SupportBundleDownloadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SupportBundleDownloadOK, 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 support API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new support API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new support API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetDebugLogStatusInternalServerError ¶
type GetDebugLogStatusInternalServerError struct {
}
GetDebugLogStatusInternalServerError describes a response with status code 500, with default header values.
Server error occurred.
func NewGetDebugLogStatusInternalServerError ¶
func NewGetDebugLogStatusInternalServerError() *GetDebugLogStatusInternalServerError
NewGetDebugLogStatusInternalServerError creates a GetDebugLogStatusInternalServerError with default headers values
func (*GetDebugLogStatusInternalServerError) Code ¶
func (o *GetDebugLogStatusInternalServerError) Code() int
Code gets the status code for the get debug log status internal server error response
func (*GetDebugLogStatusInternalServerError) Error ¶
func (o *GetDebugLogStatusInternalServerError) Error() string
func (*GetDebugLogStatusInternalServerError) IsClientError ¶
func (o *GetDebugLogStatusInternalServerError) IsClientError() bool
IsClientError returns true when this get debug log status internal server error response has a 4xx status code
func (*GetDebugLogStatusInternalServerError) IsCode ¶
func (o *GetDebugLogStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get debug log status internal server error response a status code equal to that given
func (*GetDebugLogStatusInternalServerError) IsRedirect ¶
func (o *GetDebugLogStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this get debug log status internal server error response has a 3xx status code
func (*GetDebugLogStatusInternalServerError) IsServerError ¶
func (o *GetDebugLogStatusInternalServerError) IsServerError() bool
IsServerError returns true when this get debug log status internal server error response has a 5xx status code
func (*GetDebugLogStatusInternalServerError) IsSuccess ¶
func (o *GetDebugLogStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get debug log status internal server error response has a 2xx status code
func (*GetDebugLogStatusInternalServerError) String ¶
func (o *GetDebugLogStatusInternalServerError) String() string
type GetDebugLogStatusOK ¶
type GetDebugLogStatusOK struct {
Payload *models.SupportDebugLogPayload
}
GetDebugLogStatusOK describes a response with status code 200, with default header values.
Success
func NewGetDebugLogStatusOK ¶
func NewGetDebugLogStatusOK() *GetDebugLogStatusOK
NewGetDebugLogStatusOK creates a GetDebugLogStatusOK with default headers values
func (*GetDebugLogStatusOK) Code ¶
func (o *GetDebugLogStatusOK) Code() int
Code gets the status code for the get debug log status o k response
func (*GetDebugLogStatusOK) Error ¶
func (o *GetDebugLogStatusOK) Error() string
func (*GetDebugLogStatusOK) GetPayload ¶
func (o *GetDebugLogStatusOK) GetPayload() *models.SupportDebugLogPayload
func (*GetDebugLogStatusOK) IsClientError ¶
func (o *GetDebugLogStatusOK) IsClientError() bool
IsClientError returns true when this get debug log status o k response has a 4xx status code
func (*GetDebugLogStatusOK) IsCode ¶
func (o *GetDebugLogStatusOK) IsCode(code int) bool
IsCode returns true when this get debug log status o k response a status code equal to that given
func (*GetDebugLogStatusOK) IsRedirect ¶
func (o *GetDebugLogStatusOK) IsRedirect() bool
IsRedirect returns true when this get debug log status o k response has a 3xx status code
func (*GetDebugLogStatusOK) IsServerError ¶
func (o *GetDebugLogStatusOK) IsServerError() bool
IsServerError returns true when this get debug log status o k response has a 5xx status code
func (*GetDebugLogStatusOK) IsSuccess ¶
func (o *GetDebugLogStatusOK) IsSuccess() bool
IsSuccess returns true when this get debug log status o k response has a 2xx status code
func (*GetDebugLogStatusOK) String ¶
func (o *GetDebugLogStatusOK) String() string
type GetDebugLogStatusParams ¶
type GetDebugLogStatusParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDebugLogStatusParams contains all the parameters to send to the API endpoint
for the get debug log status operation. Typically these are written to a http.Request.
func NewGetDebugLogStatusParams ¶
func NewGetDebugLogStatusParams() *GetDebugLogStatusParams
NewGetDebugLogStatusParams creates a new GetDebugLogStatusParams 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 NewGetDebugLogStatusParamsWithContext ¶
func NewGetDebugLogStatusParamsWithContext(ctx context.Context) *GetDebugLogStatusParams
NewGetDebugLogStatusParamsWithContext creates a new GetDebugLogStatusParams object with the ability to set a context for a request.
func NewGetDebugLogStatusParamsWithHTTPClient ¶
func NewGetDebugLogStatusParamsWithHTTPClient(client *http.Client) *GetDebugLogStatusParams
NewGetDebugLogStatusParamsWithHTTPClient creates a new GetDebugLogStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetDebugLogStatusParamsWithTimeout ¶
func NewGetDebugLogStatusParamsWithTimeout(timeout time.Duration) *GetDebugLogStatusParams
NewGetDebugLogStatusParamsWithTimeout creates a new GetDebugLogStatusParams object with the ability to set a timeout on a request.
func (*GetDebugLogStatusParams) SetContext ¶
func (o *GetDebugLogStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get debug log status params
func (*GetDebugLogStatusParams) SetDefaults ¶
func (o *GetDebugLogStatusParams) SetDefaults()
SetDefaults hydrates default values in the get debug log status params (not the query body).
All values with no default are reset to their zero value.
func (*GetDebugLogStatusParams) SetHTTPClient ¶
func (o *GetDebugLogStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get debug log status params
func (*GetDebugLogStatusParams) SetTimeout ¶
func (o *GetDebugLogStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get debug log status params
func (*GetDebugLogStatusParams) WithContext ¶
func (o *GetDebugLogStatusParams) WithContext(ctx context.Context) *GetDebugLogStatusParams
WithContext adds the context to the get debug log status params
func (*GetDebugLogStatusParams) WithDefaults ¶
func (o *GetDebugLogStatusParams) WithDefaults() *GetDebugLogStatusParams
WithDefaults hydrates default values in the get debug log status params (not the query body).
All values with no default are reset to their zero value.
func (*GetDebugLogStatusParams) WithHTTPClient ¶
func (o *GetDebugLogStatusParams) WithHTTPClient(client *http.Client) *GetDebugLogStatusParams
WithHTTPClient adds the HTTPClient to the get debug log status params
func (*GetDebugLogStatusParams) WithTimeout ¶
func (o *GetDebugLogStatusParams) WithTimeout(timeout time.Duration) *GetDebugLogStatusParams
WithTimeout adds the timeout to the get debug log status params
func (*GetDebugLogStatusParams) WriteToRequest ¶
func (o *GetDebugLogStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDebugLogStatusReader ¶
type GetDebugLogStatusReader struct {
// contains filtered or unexported fields
}
GetDebugLogStatusReader is a Reader for the GetDebugLogStatus structure.
func (*GetDebugLogStatusReader) ReadResponse ¶
func (o *GetDebugLogStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDebugLogStatusBadRequest ¶
type SetDebugLogStatusBadRequest struct {
}
SetDebugLogStatusBadRequest describes a response with status code 400, with default header values.
Invalid request payload
func NewSetDebugLogStatusBadRequest ¶
func NewSetDebugLogStatusBadRequest() *SetDebugLogStatusBadRequest
NewSetDebugLogStatusBadRequest creates a SetDebugLogStatusBadRequest with default headers values
func (*SetDebugLogStatusBadRequest) Code ¶
func (o *SetDebugLogStatusBadRequest) Code() int
Code gets the status code for the set debug log status bad request response
func (*SetDebugLogStatusBadRequest) Error ¶
func (o *SetDebugLogStatusBadRequest) Error() string
func (*SetDebugLogStatusBadRequest) IsClientError ¶
func (o *SetDebugLogStatusBadRequest) IsClientError() bool
IsClientError returns true when this set debug log status bad request response has a 4xx status code
func (*SetDebugLogStatusBadRequest) IsCode ¶
func (o *SetDebugLogStatusBadRequest) IsCode(code int) bool
IsCode returns true when this set debug log status bad request response a status code equal to that given
func (*SetDebugLogStatusBadRequest) IsRedirect ¶
func (o *SetDebugLogStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this set debug log status bad request response has a 3xx status code
func (*SetDebugLogStatusBadRequest) IsServerError ¶
func (o *SetDebugLogStatusBadRequest) IsServerError() bool
IsServerError returns true when this set debug log status bad request response has a 5xx status code
func (*SetDebugLogStatusBadRequest) IsSuccess ¶
func (o *SetDebugLogStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this set debug log status bad request response has a 2xx status code
func (*SetDebugLogStatusBadRequest) String ¶
func (o *SetDebugLogStatusBadRequest) String() string
type SetDebugLogStatusInternalServerError ¶
type SetDebugLogStatusInternalServerError struct {
}
SetDebugLogStatusInternalServerError describes a response with status code 500, with default header values.
Server error occurred.
func NewSetDebugLogStatusInternalServerError ¶
func NewSetDebugLogStatusInternalServerError() *SetDebugLogStatusInternalServerError
NewSetDebugLogStatusInternalServerError creates a SetDebugLogStatusInternalServerError with default headers values
func (*SetDebugLogStatusInternalServerError) Code ¶
func (o *SetDebugLogStatusInternalServerError) Code() int
Code gets the status code for the set debug log status internal server error response
func (*SetDebugLogStatusInternalServerError) Error ¶
func (o *SetDebugLogStatusInternalServerError) Error() string
func (*SetDebugLogStatusInternalServerError) IsClientError ¶
func (o *SetDebugLogStatusInternalServerError) IsClientError() bool
IsClientError returns true when this set debug log status internal server error response has a 4xx status code
func (*SetDebugLogStatusInternalServerError) IsCode ¶
func (o *SetDebugLogStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this set debug log status internal server error response a status code equal to that given
func (*SetDebugLogStatusInternalServerError) IsRedirect ¶
func (o *SetDebugLogStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this set debug log status internal server error response has a 3xx status code
func (*SetDebugLogStatusInternalServerError) IsServerError ¶
func (o *SetDebugLogStatusInternalServerError) IsServerError() bool
IsServerError returns true when this set debug log status internal server error response has a 5xx status code
func (*SetDebugLogStatusInternalServerError) IsSuccess ¶
func (o *SetDebugLogStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this set debug log status internal server error response has a 2xx status code
func (*SetDebugLogStatusInternalServerError) String ¶
func (o *SetDebugLogStatusInternalServerError) String() string
type SetDebugLogStatusOK ¶
type SetDebugLogStatusOK struct {
Payload *models.SupportDebugLogPayload
}
SetDebugLogStatusOK describes a response with status code 200, with default header values.
Success
func NewSetDebugLogStatusOK ¶
func NewSetDebugLogStatusOK() *SetDebugLogStatusOK
NewSetDebugLogStatusOK creates a SetDebugLogStatusOK with default headers values
func (*SetDebugLogStatusOK) Code ¶
func (o *SetDebugLogStatusOK) Code() int
Code gets the status code for the set debug log status o k response
func (*SetDebugLogStatusOK) Error ¶
func (o *SetDebugLogStatusOK) Error() string
func (*SetDebugLogStatusOK) GetPayload ¶
func (o *SetDebugLogStatusOK) GetPayload() *models.SupportDebugLogPayload
func (*SetDebugLogStatusOK) IsClientError ¶
func (o *SetDebugLogStatusOK) IsClientError() bool
IsClientError returns true when this set debug log status o k response has a 4xx status code
func (*SetDebugLogStatusOK) IsCode ¶
func (o *SetDebugLogStatusOK) IsCode(code int) bool
IsCode returns true when this set debug log status o k response a status code equal to that given
func (*SetDebugLogStatusOK) IsRedirect ¶
func (o *SetDebugLogStatusOK) IsRedirect() bool
IsRedirect returns true when this set debug log status o k response has a 3xx status code
func (*SetDebugLogStatusOK) IsServerError ¶
func (o *SetDebugLogStatusOK) IsServerError() bool
IsServerError returns true when this set debug log status o k response has a 5xx status code
func (*SetDebugLogStatusOK) IsSuccess ¶
func (o *SetDebugLogStatusOK) IsSuccess() bool
IsSuccess returns true when this set debug log status o k response has a 2xx status code
func (*SetDebugLogStatusOK) String ¶
func (o *SetDebugLogStatusOK) String() string
type SetDebugLogStatusParams ¶
type SetDebugLogStatusParams struct {
/* Body.
Debug log should be set to enabled or disabled
*/
Body *models.SupportDebugLogPayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SetDebugLogStatusParams contains all the parameters to send to the API endpoint
for the set debug log status operation. Typically these are written to a http.Request.
func NewSetDebugLogStatusParams ¶
func NewSetDebugLogStatusParams() *SetDebugLogStatusParams
NewSetDebugLogStatusParams creates a new SetDebugLogStatusParams 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 NewSetDebugLogStatusParamsWithContext ¶
func NewSetDebugLogStatusParamsWithContext(ctx context.Context) *SetDebugLogStatusParams
NewSetDebugLogStatusParamsWithContext creates a new SetDebugLogStatusParams object with the ability to set a context for a request.
func NewSetDebugLogStatusParamsWithHTTPClient ¶
func NewSetDebugLogStatusParamsWithHTTPClient(client *http.Client) *SetDebugLogStatusParams
NewSetDebugLogStatusParamsWithHTTPClient creates a new SetDebugLogStatusParams object with the ability to set a custom HTTPClient for a request.
func NewSetDebugLogStatusParamsWithTimeout ¶
func NewSetDebugLogStatusParamsWithTimeout(timeout time.Duration) *SetDebugLogStatusParams
NewSetDebugLogStatusParamsWithTimeout creates a new SetDebugLogStatusParams object with the ability to set a timeout on a request.
func (*SetDebugLogStatusParams) SetBody ¶
func (o *SetDebugLogStatusParams) SetBody(body *models.SupportDebugLogPayload)
SetBody adds the body to the set debug log status params
func (*SetDebugLogStatusParams) SetContext ¶
func (o *SetDebugLogStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the set debug log status params
func (*SetDebugLogStatusParams) SetDefaults ¶
func (o *SetDebugLogStatusParams) SetDefaults()
SetDefaults hydrates default values in the set debug log status params (not the query body).
All values with no default are reset to their zero value.
func (*SetDebugLogStatusParams) SetHTTPClient ¶
func (o *SetDebugLogStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set debug log status params
func (*SetDebugLogStatusParams) SetTimeout ¶
func (o *SetDebugLogStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set debug log status params
func (*SetDebugLogStatusParams) WithBody ¶
func (o *SetDebugLogStatusParams) WithBody(body *models.SupportDebugLogPayload) *SetDebugLogStatusParams
WithBody adds the body to the set debug log status params
func (*SetDebugLogStatusParams) WithContext ¶
func (o *SetDebugLogStatusParams) WithContext(ctx context.Context) *SetDebugLogStatusParams
WithContext adds the context to the set debug log status params
func (*SetDebugLogStatusParams) WithDefaults ¶
func (o *SetDebugLogStatusParams) WithDefaults() *SetDebugLogStatusParams
WithDefaults hydrates default values in the set debug log status params (not the query body).
All values with no default are reset to their zero value.
func (*SetDebugLogStatusParams) WithHTTPClient ¶
func (o *SetDebugLogStatusParams) WithHTTPClient(client *http.Client) *SetDebugLogStatusParams
WithHTTPClient adds the HTTPClient to the set debug log status params
func (*SetDebugLogStatusParams) WithTimeout ¶
func (o *SetDebugLogStatusParams) WithTimeout(timeout time.Duration) *SetDebugLogStatusParams
WithTimeout adds the timeout to the set debug log status params
func (*SetDebugLogStatusParams) WriteToRequest ¶
func (o *SetDebugLogStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetDebugLogStatusReader ¶
type SetDebugLogStatusReader struct {
// contains filtered or unexported fields
}
SetDebugLogStatusReader is a Reader for the SetDebugLogStatus structure.
func (*SetDebugLogStatusReader) ReadResponse ¶
func (o *SetDebugLogStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SupportBundleDownloadBadRequest ¶
type SupportBundleDownloadBadRequest struct {
}
SupportBundleDownloadBadRequest describes a response with status code 400, with default header values.
Invalid request payload, such as missing required fields or fields not meeting validation criteria.
func NewSupportBundleDownloadBadRequest ¶
func NewSupportBundleDownloadBadRequest() *SupportBundleDownloadBadRequest
NewSupportBundleDownloadBadRequest creates a SupportBundleDownloadBadRequest with default headers values
func (*SupportBundleDownloadBadRequest) Code ¶
func (o *SupportBundleDownloadBadRequest) Code() int
Code gets the status code for the support bundle download bad request response
func (*SupportBundleDownloadBadRequest) Error ¶
func (o *SupportBundleDownloadBadRequest) Error() string
func (*SupportBundleDownloadBadRequest) IsClientError ¶
func (o *SupportBundleDownloadBadRequest) IsClientError() bool
IsClientError returns true when this support bundle download bad request response has a 4xx status code
func (*SupportBundleDownloadBadRequest) IsCode ¶
func (o *SupportBundleDownloadBadRequest) IsCode(code int) bool
IsCode returns true when this support bundle download bad request response a status code equal to that given
func (*SupportBundleDownloadBadRequest) IsRedirect ¶
func (o *SupportBundleDownloadBadRequest) IsRedirect() bool
IsRedirect returns true when this support bundle download bad request response has a 3xx status code
func (*SupportBundleDownloadBadRequest) IsServerError ¶
func (o *SupportBundleDownloadBadRequest) IsServerError() bool
IsServerError returns true when this support bundle download bad request response has a 5xx status code
func (*SupportBundleDownloadBadRequest) IsSuccess ¶
func (o *SupportBundleDownloadBadRequest) IsSuccess() bool
IsSuccess returns true when this support bundle download bad request response has a 2xx status code
func (*SupportBundleDownloadBadRequest) String ¶
func (o *SupportBundleDownloadBadRequest) String() string
type SupportBundleDownloadForbidden ¶
type SupportBundleDownloadForbidden struct {
}
SupportBundleDownloadForbidden describes a response with status code 403, with default header values.
Permission denied - the user is authenticated but does not have the necessary permissions to access the requested resource or perform the specified operation. Check your user roles and permissions.
func NewSupportBundleDownloadForbidden ¶
func NewSupportBundleDownloadForbidden() *SupportBundleDownloadForbidden
NewSupportBundleDownloadForbidden creates a SupportBundleDownloadForbidden with default headers values
func (*SupportBundleDownloadForbidden) Code ¶
func (o *SupportBundleDownloadForbidden) Code() int
Code gets the status code for the support bundle download forbidden response
func (*SupportBundleDownloadForbidden) Error ¶
func (o *SupportBundleDownloadForbidden) Error() string
func (*SupportBundleDownloadForbidden) IsClientError ¶
func (o *SupportBundleDownloadForbidden) IsClientError() bool
IsClientError returns true when this support bundle download forbidden response has a 4xx status code
func (*SupportBundleDownloadForbidden) IsCode ¶
func (o *SupportBundleDownloadForbidden) IsCode(code int) bool
IsCode returns true when this support bundle download forbidden response a status code equal to that given
func (*SupportBundleDownloadForbidden) IsRedirect ¶
func (o *SupportBundleDownloadForbidden) IsRedirect() bool
IsRedirect returns true when this support bundle download forbidden response has a 3xx status code
func (*SupportBundleDownloadForbidden) IsServerError ¶
func (o *SupportBundleDownloadForbidden) IsServerError() bool
IsServerError returns true when this support bundle download forbidden response has a 5xx status code
func (*SupportBundleDownloadForbidden) IsSuccess ¶
func (o *SupportBundleDownloadForbidden) IsSuccess() bool
IsSuccess returns true when this support bundle download forbidden response has a 2xx status code
func (*SupportBundleDownloadForbidden) String ¶
func (o *SupportBundleDownloadForbidden) String() string
type SupportBundleDownloadInternalServerError ¶
type SupportBundleDownloadInternalServerError struct {
}
SupportBundleDownloadInternalServerError describes a response with status code 500, with default header values.
Failed to create support archive
func NewSupportBundleDownloadInternalServerError ¶
func NewSupportBundleDownloadInternalServerError() *SupportBundleDownloadInternalServerError
NewSupportBundleDownloadInternalServerError creates a SupportBundleDownloadInternalServerError with default headers values
func (*SupportBundleDownloadInternalServerError) Code ¶
func (o *SupportBundleDownloadInternalServerError) Code() int
Code gets the status code for the support bundle download internal server error response
func (*SupportBundleDownloadInternalServerError) Error ¶
func (o *SupportBundleDownloadInternalServerError) Error() string
func (*SupportBundleDownloadInternalServerError) IsClientError ¶
func (o *SupportBundleDownloadInternalServerError) IsClientError() bool
IsClientError returns true when this support bundle download internal server error response has a 4xx status code
func (*SupportBundleDownloadInternalServerError) IsCode ¶
func (o *SupportBundleDownloadInternalServerError) IsCode(code int) bool
IsCode returns true when this support bundle download internal server error response a status code equal to that given
func (*SupportBundleDownloadInternalServerError) IsRedirect ¶
func (o *SupportBundleDownloadInternalServerError) IsRedirect() bool
IsRedirect returns true when this support bundle download internal server error response has a 3xx status code
func (*SupportBundleDownloadInternalServerError) IsServerError ¶
func (o *SupportBundleDownloadInternalServerError) IsServerError() bool
IsServerError returns true when this support bundle download internal server error response has a 5xx status code
func (*SupportBundleDownloadInternalServerError) IsSuccess ¶
func (o *SupportBundleDownloadInternalServerError) IsSuccess() bool
IsSuccess returns true when this support bundle download internal server error response has a 2xx status code
func (*SupportBundleDownloadInternalServerError) String ¶
func (o *SupportBundleDownloadInternalServerError) String() string
type SupportBundleDownloadOK ¶
type SupportBundleDownloadOK struct {
}
SupportBundleDownloadOK describes a response with status code 200, with default header values.
Success
func NewSupportBundleDownloadOK ¶
func NewSupportBundleDownloadOK() *SupportBundleDownloadOK
NewSupportBundleDownloadOK creates a SupportBundleDownloadOK with default headers values
func (*SupportBundleDownloadOK) Code ¶
func (o *SupportBundleDownloadOK) Code() int
Code gets the status code for the support bundle download o k response
func (*SupportBundleDownloadOK) Error ¶
func (o *SupportBundleDownloadOK) Error() string
func (*SupportBundleDownloadOK) IsClientError ¶
func (o *SupportBundleDownloadOK) IsClientError() bool
IsClientError returns true when this support bundle download o k response has a 4xx status code
func (*SupportBundleDownloadOK) IsCode ¶
func (o *SupportBundleDownloadOK) IsCode(code int) bool
IsCode returns true when this support bundle download o k response a status code equal to that given
func (*SupportBundleDownloadOK) IsRedirect ¶
func (o *SupportBundleDownloadOK) IsRedirect() bool
IsRedirect returns true when this support bundle download o k response has a 3xx status code
func (*SupportBundleDownloadOK) IsServerError ¶
func (o *SupportBundleDownloadOK) IsServerError() bool
IsServerError returns true when this support bundle download o k response has a 5xx status code
func (*SupportBundleDownloadOK) IsSuccess ¶
func (o *SupportBundleDownloadOK) IsSuccess() bool
IsSuccess returns true when this support bundle download o k response has a 2xx status code
func (*SupportBundleDownloadOK) String ¶
func (o *SupportBundleDownloadOK) String() string
type SupportBundleDownloadParams ¶
type SupportBundleDownloadParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SupportBundleDownloadParams contains all the parameters to send to the API endpoint
for the support bundle download operation. Typically these are written to a http.Request.
func NewSupportBundleDownloadParams ¶
func NewSupportBundleDownloadParams() *SupportBundleDownloadParams
NewSupportBundleDownloadParams creates a new SupportBundleDownloadParams 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 NewSupportBundleDownloadParamsWithContext ¶
func NewSupportBundleDownloadParamsWithContext(ctx context.Context) *SupportBundleDownloadParams
NewSupportBundleDownloadParamsWithContext creates a new SupportBundleDownloadParams object with the ability to set a context for a request.
func NewSupportBundleDownloadParamsWithHTTPClient ¶
func NewSupportBundleDownloadParamsWithHTTPClient(client *http.Client) *SupportBundleDownloadParams
NewSupportBundleDownloadParamsWithHTTPClient creates a new SupportBundleDownloadParams object with the ability to set a custom HTTPClient for a request.
func NewSupportBundleDownloadParamsWithTimeout ¶
func NewSupportBundleDownloadParamsWithTimeout(timeout time.Duration) *SupportBundleDownloadParams
NewSupportBundleDownloadParamsWithTimeout creates a new SupportBundleDownloadParams object with the ability to set a timeout on a request.
func (*SupportBundleDownloadParams) SetContext ¶
func (o *SupportBundleDownloadParams) SetContext(ctx context.Context)
SetContext adds the context to the support bundle download params
func (*SupportBundleDownloadParams) SetDefaults ¶
func (o *SupportBundleDownloadParams) SetDefaults()
SetDefaults hydrates default values in the support bundle download params (not the query body).
All values with no default are reset to their zero value.
func (*SupportBundleDownloadParams) SetHTTPClient ¶
func (o *SupportBundleDownloadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the support bundle download params
func (*SupportBundleDownloadParams) SetTimeout ¶
func (o *SupportBundleDownloadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the support bundle download params
func (*SupportBundleDownloadParams) WithContext ¶
func (o *SupportBundleDownloadParams) WithContext(ctx context.Context) *SupportBundleDownloadParams
WithContext adds the context to the support bundle download params
func (*SupportBundleDownloadParams) WithDefaults ¶
func (o *SupportBundleDownloadParams) WithDefaults() *SupportBundleDownloadParams
WithDefaults hydrates default values in the support bundle download params (not the query body).
All values with no default are reset to their zero value.
func (*SupportBundleDownloadParams) WithHTTPClient ¶
func (o *SupportBundleDownloadParams) WithHTTPClient(client *http.Client) *SupportBundleDownloadParams
WithHTTPClient adds the HTTPClient to the support bundle download params
func (*SupportBundleDownloadParams) WithTimeout ¶
func (o *SupportBundleDownloadParams) WithTimeout(timeout time.Duration) *SupportBundleDownloadParams
WithTimeout adds the timeout to the support bundle download params
func (*SupportBundleDownloadParams) WriteToRequest ¶
func (o *SupportBundleDownloadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SupportBundleDownloadReader ¶
type SupportBundleDownloadReader struct {
// contains filtered or unexported fields
}
SupportBundleDownloadReader is a Reader for the SupportBundleDownload structure.
func (*SupportBundleDownloadReader) ReadResponse ¶
func (o *SupportBundleDownloadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SupportBundleDownloadUnauthorized ¶
type SupportBundleDownloadUnauthorized struct {
}
SupportBundleDownloadUnauthorized describes a response with status code 401, with default header values.
Unauthorized access - the user is not authenticated or does not have the necessary permissions. Ensure that you have provided a valid API key or JWT token, and that you have the required permissions.
func NewSupportBundleDownloadUnauthorized ¶
func NewSupportBundleDownloadUnauthorized() *SupportBundleDownloadUnauthorized
NewSupportBundleDownloadUnauthorized creates a SupportBundleDownloadUnauthorized with default headers values
func (*SupportBundleDownloadUnauthorized) Code ¶
func (o *SupportBundleDownloadUnauthorized) Code() int
Code gets the status code for the support bundle download unauthorized response
func (*SupportBundleDownloadUnauthorized) Error ¶
func (o *SupportBundleDownloadUnauthorized) Error() string
func (*SupportBundleDownloadUnauthorized) IsClientError ¶
func (o *SupportBundleDownloadUnauthorized) IsClientError() bool
IsClientError returns true when this support bundle download unauthorized response has a 4xx status code
func (*SupportBundleDownloadUnauthorized) IsCode ¶
func (o *SupportBundleDownloadUnauthorized) IsCode(code int) bool
IsCode returns true when this support bundle download unauthorized response a status code equal to that given
func (*SupportBundleDownloadUnauthorized) IsRedirect ¶
func (o *SupportBundleDownloadUnauthorized) IsRedirect() bool
IsRedirect returns true when this support bundle download unauthorized response has a 3xx status code
func (*SupportBundleDownloadUnauthorized) IsServerError ¶
func (o *SupportBundleDownloadUnauthorized) IsServerError() bool
IsServerError returns true when this support bundle download unauthorized response has a 5xx status code
func (*SupportBundleDownloadUnauthorized) IsSuccess ¶
func (o *SupportBundleDownloadUnauthorized) IsSuccess() bool
IsSuccess returns true when this support bundle download unauthorized response has a 2xx status code
func (*SupportBundleDownloadUnauthorized) String ¶
func (o *SupportBundleDownloadUnauthorized) String() string