Documentation ¶
Index ¶
- type Client
- func (a *Client) GetIsolationPolicies(params *GetIsolationPoliciesParams, opts ...ClientOption) (*GetIsolationPoliciesOK, error)
- func (a *Client) GetIsolationPoliciesConnection(params *GetIsolationPoliciesConnectionParams, opts ...ClientOption) (*GetIsolationPoliciesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetIsolationPoliciesBadRequest
- type GetIsolationPoliciesConnectionBadRequest
- type GetIsolationPoliciesConnectionInternalServerError
- type GetIsolationPoliciesConnectionNotFound
- type GetIsolationPoliciesConnectionOK
- type GetIsolationPoliciesConnectionParams
- func NewGetIsolationPoliciesConnectionParams() *GetIsolationPoliciesConnectionParams
- func NewGetIsolationPoliciesConnectionParamsWithContext(ctx context.Context) *GetIsolationPoliciesConnectionParams
- func NewGetIsolationPoliciesConnectionParamsWithHTTPClient(client *http.Client) *GetIsolationPoliciesConnectionParams
- func NewGetIsolationPoliciesConnectionParamsWithTimeout(timeout time.Duration) *GetIsolationPoliciesConnectionParams
- func (o *GetIsolationPoliciesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIsolationPoliciesConnectionParams) SetContext(ctx context.Context)
- func (o *GetIsolationPoliciesConnectionParams) SetDefaults()
- func (o *GetIsolationPoliciesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetIsolationPoliciesConnectionParams) SetRequestBody(requestBody *models.GetIsolationPoliciesConnectionRequestBody)
- func (o *GetIsolationPoliciesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetIsolationPoliciesConnectionParams) WithContentLanguage(contentLanguage *string) *GetIsolationPoliciesConnectionParams
- func (o *GetIsolationPoliciesConnectionParams) WithContext(ctx context.Context) *GetIsolationPoliciesConnectionParams
- func (o *GetIsolationPoliciesConnectionParams) WithDefaults() *GetIsolationPoliciesConnectionParams
- func (o *GetIsolationPoliciesConnectionParams) WithHTTPClient(client *http.Client) *GetIsolationPoliciesConnectionParams
- func (o *GetIsolationPoliciesConnectionParams) WithRequestBody(requestBody *models.GetIsolationPoliciesConnectionRequestBody) *GetIsolationPoliciesConnectionParams
- func (o *GetIsolationPoliciesConnectionParams) WithTimeout(timeout time.Duration) *GetIsolationPoliciesConnectionParams
- func (o *GetIsolationPoliciesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIsolationPoliciesConnectionReader
- type GetIsolationPoliciesInternalServerError
- type GetIsolationPoliciesNotFound
- type GetIsolationPoliciesOK
- type GetIsolationPoliciesParams
- func NewGetIsolationPoliciesParams() *GetIsolationPoliciesParams
- func NewGetIsolationPoliciesParamsWithContext(ctx context.Context) *GetIsolationPoliciesParams
- func NewGetIsolationPoliciesParamsWithHTTPClient(client *http.Client) *GetIsolationPoliciesParams
- func NewGetIsolationPoliciesParamsWithTimeout(timeout time.Duration) *GetIsolationPoliciesParams
- func (o *GetIsolationPoliciesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIsolationPoliciesParams) SetContext(ctx context.Context)
- func (o *GetIsolationPoliciesParams) SetDefaults()
- func (o *GetIsolationPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetIsolationPoliciesParams) SetRequestBody(requestBody *models.GetIsolationPoliciesRequestBody)
- func (o *GetIsolationPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetIsolationPoliciesParams) WithContentLanguage(contentLanguage *string) *GetIsolationPoliciesParams
- func (o *GetIsolationPoliciesParams) WithContext(ctx context.Context) *GetIsolationPoliciesParams
- func (o *GetIsolationPoliciesParams) WithDefaults() *GetIsolationPoliciesParams
- func (o *GetIsolationPoliciesParams) WithHTTPClient(client *http.Client) *GetIsolationPoliciesParams
- func (o *GetIsolationPoliciesParams) WithRequestBody(requestBody *models.GetIsolationPoliciesRequestBody) *GetIsolationPoliciesParams
- func (o *GetIsolationPoliciesParams) WithTimeout(timeout time.Duration) *GetIsolationPoliciesParams
- func (o *GetIsolationPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIsolationPoliciesReader
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 isolation policy API
func (*Client) GetIsolationPolicies ¶
func (a *Client) GetIsolationPolicies(params *GetIsolationPoliciesParams, opts ...ClientOption) (*GetIsolationPoliciesOK, error)
GetIsolationPolicies get isolation policies API
func (*Client) GetIsolationPoliciesConnection ¶
func (a *Client) GetIsolationPoliciesConnection(params *GetIsolationPoliciesConnectionParams, opts ...ClientOption) (*GetIsolationPoliciesConnectionOK, error)
GetIsolationPoliciesConnection get isolation policies connection API
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 { GetIsolationPolicies(params *GetIsolationPoliciesParams, opts ...ClientOption) (*GetIsolationPoliciesOK, error) GetIsolationPoliciesConnection(params *GetIsolationPoliciesConnectionParams, opts ...ClientOption) (*GetIsolationPoliciesConnectionOK, 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 isolation policy API client.
type GetIsolationPoliciesBadRequest ¶
GetIsolationPoliciesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetIsolationPoliciesBadRequest ¶
func NewGetIsolationPoliciesBadRequest() *GetIsolationPoliciesBadRequest
NewGetIsolationPoliciesBadRequest creates a GetIsolationPoliciesBadRequest with default headers values
func (*GetIsolationPoliciesBadRequest) Error ¶
func (o *GetIsolationPoliciesBadRequest) Error() string
func (*GetIsolationPoliciesBadRequest) GetPayload ¶
func (o *GetIsolationPoliciesBadRequest) GetPayload() *models.ErrorBody
type GetIsolationPoliciesConnectionBadRequest ¶
type GetIsolationPoliciesConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetIsolationPoliciesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetIsolationPoliciesConnectionBadRequest ¶
func NewGetIsolationPoliciesConnectionBadRequest() *GetIsolationPoliciesConnectionBadRequest
NewGetIsolationPoliciesConnectionBadRequest creates a GetIsolationPoliciesConnectionBadRequest with default headers values
func (*GetIsolationPoliciesConnectionBadRequest) Error ¶
func (o *GetIsolationPoliciesConnectionBadRequest) Error() string
func (*GetIsolationPoliciesConnectionBadRequest) GetPayload ¶
func (o *GetIsolationPoliciesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetIsolationPoliciesConnectionInternalServerError ¶
type GetIsolationPoliciesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetIsolationPoliciesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetIsolationPoliciesConnectionInternalServerError ¶
func NewGetIsolationPoliciesConnectionInternalServerError() *GetIsolationPoliciesConnectionInternalServerError
NewGetIsolationPoliciesConnectionInternalServerError creates a GetIsolationPoliciesConnectionInternalServerError with default headers values
func (*GetIsolationPoliciesConnectionInternalServerError) Error ¶
func (o *GetIsolationPoliciesConnectionInternalServerError) Error() string
func (*GetIsolationPoliciesConnectionInternalServerError) GetPayload ¶
func (o *GetIsolationPoliciesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetIsolationPoliciesConnectionNotFound ¶
type GetIsolationPoliciesConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetIsolationPoliciesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetIsolationPoliciesConnectionNotFound ¶
func NewGetIsolationPoliciesConnectionNotFound() *GetIsolationPoliciesConnectionNotFound
NewGetIsolationPoliciesConnectionNotFound creates a GetIsolationPoliciesConnectionNotFound with default headers values
func (*GetIsolationPoliciesConnectionNotFound) Error ¶
func (o *GetIsolationPoliciesConnectionNotFound) Error() string
func (*GetIsolationPoliciesConnectionNotFound) GetPayload ¶
func (o *GetIsolationPoliciesConnectionNotFound) GetPayload() *models.ErrorBody
type GetIsolationPoliciesConnectionOK ¶
type GetIsolationPoliciesConnectionOK struct { XTowerRequestID string Payload *models.IsolationPolicyConnection }
GetIsolationPoliciesConnectionOK describes a response with status code 200, with default header values.
GetIsolationPoliciesConnectionOK get isolation policies connection o k
func NewGetIsolationPoliciesConnectionOK ¶
func NewGetIsolationPoliciesConnectionOK() *GetIsolationPoliciesConnectionOK
NewGetIsolationPoliciesConnectionOK creates a GetIsolationPoliciesConnectionOK with default headers values
func (*GetIsolationPoliciesConnectionOK) Error ¶
func (o *GetIsolationPoliciesConnectionOK) Error() string
func (*GetIsolationPoliciesConnectionOK) GetPayload ¶
func (o *GetIsolationPoliciesConnectionOK) GetPayload() *models.IsolationPolicyConnection
type GetIsolationPoliciesConnectionParams ¶
type GetIsolationPoliciesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetIsolationPoliciesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIsolationPoliciesConnectionParams contains all the parameters to send to the API endpoint
for the get isolation policies connection operation. Typically these are written to a http.Request.
func NewGetIsolationPoliciesConnectionParams ¶
func NewGetIsolationPoliciesConnectionParams() *GetIsolationPoliciesConnectionParams
NewGetIsolationPoliciesConnectionParams creates a new GetIsolationPoliciesConnectionParams 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 NewGetIsolationPoliciesConnectionParamsWithContext ¶
func NewGetIsolationPoliciesConnectionParamsWithContext(ctx context.Context) *GetIsolationPoliciesConnectionParams
NewGetIsolationPoliciesConnectionParamsWithContext creates a new GetIsolationPoliciesConnectionParams object with the ability to set a context for a request.
func NewGetIsolationPoliciesConnectionParamsWithHTTPClient ¶
func NewGetIsolationPoliciesConnectionParamsWithHTTPClient(client *http.Client) *GetIsolationPoliciesConnectionParams
NewGetIsolationPoliciesConnectionParamsWithHTTPClient creates a new GetIsolationPoliciesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetIsolationPoliciesConnectionParamsWithTimeout ¶
func NewGetIsolationPoliciesConnectionParamsWithTimeout(timeout time.Duration) *GetIsolationPoliciesConnectionParams
NewGetIsolationPoliciesConnectionParamsWithTimeout creates a new GetIsolationPoliciesConnectionParams object with the ability to set a timeout on a request.
func (*GetIsolationPoliciesConnectionParams) SetContentLanguage ¶
func (o *GetIsolationPoliciesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) SetContext ¶
func (o *GetIsolationPoliciesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) SetDefaults ¶
func (o *GetIsolationPoliciesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get isolation policies connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetIsolationPoliciesConnectionParams) SetHTTPClient ¶
func (o *GetIsolationPoliciesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) SetRequestBody ¶
func (o *GetIsolationPoliciesConnectionParams) SetRequestBody(requestBody *models.GetIsolationPoliciesConnectionRequestBody)
SetRequestBody adds the requestBody to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) SetTimeout ¶
func (o *GetIsolationPoliciesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) WithContentLanguage ¶
func (o *GetIsolationPoliciesConnectionParams) WithContentLanguage(contentLanguage *string) *GetIsolationPoliciesConnectionParams
WithContentLanguage adds the contentLanguage to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) WithContext ¶
func (o *GetIsolationPoliciesConnectionParams) WithContext(ctx context.Context) *GetIsolationPoliciesConnectionParams
WithContext adds the context to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) WithDefaults ¶
func (o *GetIsolationPoliciesConnectionParams) WithDefaults() *GetIsolationPoliciesConnectionParams
WithDefaults hydrates default values in the get isolation policies connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetIsolationPoliciesConnectionParams) WithHTTPClient ¶
func (o *GetIsolationPoliciesConnectionParams) WithHTTPClient(client *http.Client) *GetIsolationPoliciesConnectionParams
WithHTTPClient adds the HTTPClient to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) WithRequestBody ¶
func (o *GetIsolationPoliciesConnectionParams) WithRequestBody(requestBody *models.GetIsolationPoliciesConnectionRequestBody) *GetIsolationPoliciesConnectionParams
WithRequestBody adds the requestBody to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) WithTimeout ¶
func (o *GetIsolationPoliciesConnectionParams) WithTimeout(timeout time.Duration) *GetIsolationPoliciesConnectionParams
WithTimeout adds the timeout to the get isolation policies connection params
func (*GetIsolationPoliciesConnectionParams) WriteToRequest ¶
func (o *GetIsolationPoliciesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIsolationPoliciesConnectionReader ¶
type GetIsolationPoliciesConnectionReader struct {
// contains filtered or unexported fields
}
GetIsolationPoliciesConnectionReader is a Reader for the GetIsolationPoliciesConnection structure.
func (*GetIsolationPoliciesConnectionReader) ReadResponse ¶
func (o *GetIsolationPoliciesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIsolationPoliciesInternalServerError ¶
type GetIsolationPoliciesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetIsolationPoliciesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetIsolationPoliciesInternalServerError ¶
func NewGetIsolationPoliciesInternalServerError() *GetIsolationPoliciesInternalServerError
NewGetIsolationPoliciesInternalServerError creates a GetIsolationPoliciesInternalServerError with default headers values
func (*GetIsolationPoliciesInternalServerError) Error ¶
func (o *GetIsolationPoliciesInternalServerError) Error() string
func (*GetIsolationPoliciesInternalServerError) GetPayload ¶
func (o *GetIsolationPoliciesInternalServerError) GetPayload() *models.ErrorBody
type GetIsolationPoliciesNotFound ¶
GetIsolationPoliciesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetIsolationPoliciesNotFound ¶
func NewGetIsolationPoliciesNotFound() *GetIsolationPoliciesNotFound
NewGetIsolationPoliciesNotFound creates a GetIsolationPoliciesNotFound with default headers values
func (*GetIsolationPoliciesNotFound) Error ¶
func (o *GetIsolationPoliciesNotFound) Error() string
func (*GetIsolationPoliciesNotFound) GetPayload ¶
func (o *GetIsolationPoliciesNotFound) GetPayload() *models.ErrorBody
type GetIsolationPoliciesOK ¶
type GetIsolationPoliciesOK struct { XTowerRequestID string Payload []*models.IsolationPolicy }
GetIsolationPoliciesOK describes a response with status code 200, with default header values.
GetIsolationPoliciesOK get isolation policies o k
func NewGetIsolationPoliciesOK ¶
func NewGetIsolationPoliciesOK() *GetIsolationPoliciesOK
NewGetIsolationPoliciesOK creates a GetIsolationPoliciesOK with default headers values
func (*GetIsolationPoliciesOK) Error ¶
func (o *GetIsolationPoliciesOK) Error() string
func (*GetIsolationPoliciesOK) GetPayload ¶
func (o *GetIsolationPoliciesOK) GetPayload() []*models.IsolationPolicy
type GetIsolationPoliciesParams ¶
type GetIsolationPoliciesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetIsolationPoliciesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIsolationPoliciesParams contains all the parameters to send to the API endpoint
for the get isolation policies operation. Typically these are written to a http.Request.
func NewGetIsolationPoliciesParams ¶
func NewGetIsolationPoliciesParams() *GetIsolationPoliciesParams
NewGetIsolationPoliciesParams creates a new GetIsolationPoliciesParams 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 NewGetIsolationPoliciesParamsWithContext ¶
func NewGetIsolationPoliciesParamsWithContext(ctx context.Context) *GetIsolationPoliciesParams
NewGetIsolationPoliciesParamsWithContext creates a new GetIsolationPoliciesParams object with the ability to set a context for a request.
func NewGetIsolationPoliciesParamsWithHTTPClient ¶
func NewGetIsolationPoliciesParamsWithHTTPClient(client *http.Client) *GetIsolationPoliciesParams
NewGetIsolationPoliciesParamsWithHTTPClient creates a new GetIsolationPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewGetIsolationPoliciesParamsWithTimeout ¶
func NewGetIsolationPoliciesParamsWithTimeout(timeout time.Duration) *GetIsolationPoliciesParams
NewGetIsolationPoliciesParamsWithTimeout creates a new GetIsolationPoliciesParams object with the ability to set a timeout on a request.
func (*GetIsolationPoliciesParams) SetContentLanguage ¶
func (o *GetIsolationPoliciesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get isolation policies params
func (*GetIsolationPoliciesParams) SetContext ¶
func (o *GetIsolationPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get isolation policies params
func (*GetIsolationPoliciesParams) SetDefaults ¶
func (o *GetIsolationPoliciesParams) SetDefaults()
SetDefaults hydrates default values in the get isolation policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetIsolationPoliciesParams) SetHTTPClient ¶
func (o *GetIsolationPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get isolation policies params
func (*GetIsolationPoliciesParams) SetRequestBody ¶
func (o *GetIsolationPoliciesParams) SetRequestBody(requestBody *models.GetIsolationPoliciesRequestBody)
SetRequestBody adds the requestBody to the get isolation policies params
func (*GetIsolationPoliciesParams) SetTimeout ¶
func (o *GetIsolationPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get isolation policies params
func (*GetIsolationPoliciesParams) WithContentLanguage ¶
func (o *GetIsolationPoliciesParams) WithContentLanguage(contentLanguage *string) *GetIsolationPoliciesParams
WithContentLanguage adds the contentLanguage to the get isolation policies params
func (*GetIsolationPoliciesParams) WithContext ¶
func (o *GetIsolationPoliciesParams) WithContext(ctx context.Context) *GetIsolationPoliciesParams
WithContext adds the context to the get isolation policies params
func (*GetIsolationPoliciesParams) WithDefaults ¶
func (o *GetIsolationPoliciesParams) WithDefaults() *GetIsolationPoliciesParams
WithDefaults hydrates default values in the get isolation policies params (not the query body).
All values with no default are reset to their zero value.
func (*GetIsolationPoliciesParams) WithHTTPClient ¶
func (o *GetIsolationPoliciesParams) WithHTTPClient(client *http.Client) *GetIsolationPoliciesParams
WithHTTPClient adds the HTTPClient to the get isolation policies params
func (*GetIsolationPoliciesParams) WithRequestBody ¶
func (o *GetIsolationPoliciesParams) WithRequestBody(requestBody *models.GetIsolationPoliciesRequestBody) *GetIsolationPoliciesParams
WithRequestBody adds the requestBody to the get isolation policies params
func (*GetIsolationPoliciesParams) WithTimeout ¶
func (o *GetIsolationPoliciesParams) WithTimeout(timeout time.Duration) *GetIsolationPoliciesParams
WithTimeout adds the timeout to the get isolation policies params
func (*GetIsolationPoliciesParams) WriteToRequest ¶
func (o *GetIsolationPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIsolationPoliciesReader ¶
type GetIsolationPoliciesReader struct {
// contains filtered or unexported fields
}
GetIsolationPoliciesReader is a Reader for the GetIsolationPolicies structure.
func (*GetIsolationPoliciesReader) ReadResponse ¶
func (o *GetIsolationPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.