Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetAssessmentV1BadRequest
- type GetAssessmentV1Default
- type GetAssessmentV1Forbidden
- type GetAssessmentV1NotFound
- type GetAssessmentV1OK
- type GetAssessmentV1Params
- func NewGetAssessmentV1Params() *GetAssessmentV1Params
- func NewGetAssessmentV1ParamsWithContext(ctx context.Context) *GetAssessmentV1Params
- func NewGetAssessmentV1ParamsWithHTTPClient(client *http.Client) *GetAssessmentV1Params
- func NewGetAssessmentV1ParamsWithTimeout(timeout time.Duration) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) SetContext(ctx context.Context)
- func (o *GetAssessmentV1Params) SetDefaults()
- func (o *GetAssessmentV1Params) SetHTTPClient(client *http.Client)
- func (o *GetAssessmentV1Params) SetIds(ids []string)
- func (o *GetAssessmentV1Params) SetTimeout(timeout time.Duration)
- func (o *GetAssessmentV1Params) WithContext(ctx context.Context) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WithDefaults() *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WithHTTPClient(client *http.Client) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WithIds(ids []string) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WithTimeout(timeout time.Duration) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAssessmentV1Reader
- type GetAssessmentV1TooManyRequests
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 zero trust assessment API
func (*Client) GetAssessmentV1 ¶
func (a *Client) GetAssessmentV1(params *GetAssessmentV1Params, opts ...ClientOption) (*GetAssessmentV1OK, error)
GetAssessmentV1 gets zero trust assessment data for one or more hosts by providing agent i ds a ID and a customer ID c ID
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 { GetAssessmentV1(params *GetAssessmentV1Params, opts ...ClientOption) (*GetAssessmentV1OK, 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 zero trust assessment API client.
type GetAssessmentV1BadRequest ¶
type GetAssessmentV1BadRequest struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainAssessmentsResponse }
GetAssessmentV1BadRequest describes a response with status code 400, with default header values.
Number of agent IDs exceeds the limit of 1000.
func NewGetAssessmentV1BadRequest ¶
func NewGetAssessmentV1BadRequest() *GetAssessmentV1BadRequest
NewGetAssessmentV1BadRequest creates a GetAssessmentV1BadRequest with default headers values
func (*GetAssessmentV1BadRequest) Error ¶
func (o *GetAssessmentV1BadRequest) Error() string
func (*GetAssessmentV1BadRequest) GetPayload ¶
func (o *GetAssessmentV1BadRequest) GetPayload() *models.DomainAssessmentsResponse
type GetAssessmentV1Default ¶
type GetAssessmentV1Default struct { Payload *models.DomainAssessmentsResponse // contains filtered or unexported fields }
GetAssessmentV1Default describes a response with status code -1, with default header values.
OK
func NewGetAssessmentV1Default ¶
func NewGetAssessmentV1Default(code int) *GetAssessmentV1Default
NewGetAssessmentV1Default creates a GetAssessmentV1Default with default headers values
func (*GetAssessmentV1Default) Code ¶
func (o *GetAssessmentV1Default) Code() int
Code gets the status code for the get assessment v1 default response
func (*GetAssessmentV1Default) Error ¶
func (o *GetAssessmentV1Default) Error() string
func (*GetAssessmentV1Default) GetPayload ¶
func (o *GetAssessmentV1Default) GetPayload() *models.DomainAssessmentsResponse
type GetAssessmentV1Forbidden ¶
type GetAssessmentV1Forbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetAssessmentV1Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAssessmentV1Forbidden ¶
func NewGetAssessmentV1Forbidden() *GetAssessmentV1Forbidden
NewGetAssessmentV1Forbidden creates a GetAssessmentV1Forbidden with default headers values
func (*GetAssessmentV1Forbidden) Error ¶
func (o *GetAssessmentV1Forbidden) Error() string
func (*GetAssessmentV1Forbidden) GetPayload ¶
func (o *GetAssessmentV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
type GetAssessmentV1NotFound ¶
type GetAssessmentV1NotFound struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainAssessmentsResponse }
GetAssessmentV1NotFound describes a response with status code 404, with default header values.
One or more of the specified agent IDs is not found.
func NewGetAssessmentV1NotFound ¶
func NewGetAssessmentV1NotFound() *GetAssessmentV1NotFound
NewGetAssessmentV1NotFound creates a GetAssessmentV1NotFound with default headers values
func (*GetAssessmentV1NotFound) Error ¶
func (o *GetAssessmentV1NotFound) Error() string
func (*GetAssessmentV1NotFound) GetPayload ¶
func (o *GetAssessmentV1NotFound) GetPayload() *models.DomainAssessmentsResponse
type GetAssessmentV1OK ¶
type GetAssessmentV1OK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.DomainAssessmentsResponse }
GetAssessmentV1OK describes a response with status code 200, with default header values.
OK
func NewGetAssessmentV1OK ¶
func NewGetAssessmentV1OK() *GetAssessmentV1OK
NewGetAssessmentV1OK creates a GetAssessmentV1OK with default headers values
func (*GetAssessmentV1OK) Error ¶
func (o *GetAssessmentV1OK) Error() string
func (*GetAssessmentV1OK) GetPayload ¶
func (o *GetAssessmentV1OK) GetPayload() *models.DomainAssessmentsResponse
type GetAssessmentV1Params ¶
type GetAssessmentV1Params struct { /* Ids. One or more agent IDs, which you can find in the data.zta file, or the Falcon console. */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAssessmentV1Params contains all the parameters to send to the API endpoint
for the get assessment v1 operation. Typically these are written to a http.Request.
func NewGetAssessmentV1Params ¶
func NewGetAssessmentV1Params() *GetAssessmentV1Params
NewGetAssessmentV1Params creates a new GetAssessmentV1Params 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 NewGetAssessmentV1ParamsWithContext ¶
func NewGetAssessmentV1ParamsWithContext(ctx context.Context) *GetAssessmentV1Params
NewGetAssessmentV1ParamsWithContext creates a new GetAssessmentV1Params object with the ability to set a context for a request.
func NewGetAssessmentV1ParamsWithHTTPClient ¶
func NewGetAssessmentV1ParamsWithHTTPClient(client *http.Client) *GetAssessmentV1Params
NewGetAssessmentV1ParamsWithHTTPClient creates a new GetAssessmentV1Params object with the ability to set a custom HTTPClient for a request.
func NewGetAssessmentV1ParamsWithTimeout ¶
func NewGetAssessmentV1ParamsWithTimeout(timeout time.Duration) *GetAssessmentV1Params
NewGetAssessmentV1ParamsWithTimeout creates a new GetAssessmentV1Params object with the ability to set a timeout on a request.
func (*GetAssessmentV1Params) SetContext ¶
func (o *GetAssessmentV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get assessment v1 params
func (*GetAssessmentV1Params) SetDefaults ¶
func (o *GetAssessmentV1Params) SetDefaults()
SetDefaults hydrates default values in the get assessment v1 params (not the query body).
All values with no default are reset to their zero value.
func (*GetAssessmentV1Params) SetHTTPClient ¶
func (o *GetAssessmentV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get assessment v1 params
func (*GetAssessmentV1Params) SetIds ¶
func (o *GetAssessmentV1Params) SetIds(ids []string)
SetIds adds the ids to the get assessment v1 params
func (*GetAssessmentV1Params) SetTimeout ¶
func (o *GetAssessmentV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get assessment v1 params
func (*GetAssessmentV1Params) WithContext ¶
func (o *GetAssessmentV1Params) WithContext(ctx context.Context) *GetAssessmentV1Params
WithContext adds the context to the get assessment v1 params
func (*GetAssessmentV1Params) WithDefaults ¶
func (o *GetAssessmentV1Params) WithDefaults() *GetAssessmentV1Params
WithDefaults hydrates default values in the get assessment v1 params (not the query body).
All values with no default are reset to their zero value.
func (*GetAssessmentV1Params) WithHTTPClient ¶
func (o *GetAssessmentV1Params) WithHTTPClient(client *http.Client) *GetAssessmentV1Params
WithHTTPClient adds the HTTPClient to the get assessment v1 params
func (*GetAssessmentV1Params) WithIds ¶
func (o *GetAssessmentV1Params) WithIds(ids []string) *GetAssessmentV1Params
WithIds adds the ids to the get assessment v1 params
func (*GetAssessmentV1Params) WithTimeout ¶
func (o *GetAssessmentV1Params) WithTimeout(timeout time.Duration) *GetAssessmentV1Params
WithTimeout adds the timeout to the get assessment v1 params
func (*GetAssessmentV1Params) WriteToRequest ¶
func (o *GetAssessmentV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAssessmentV1Reader ¶
type GetAssessmentV1Reader struct {
// contains filtered or unexported fields
}
GetAssessmentV1Reader is a Reader for the GetAssessmentV1 structure.
func (*GetAssessmentV1Reader) ReadResponse ¶
func (o *GetAssessmentV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAssessmentV1TooManyRequests ¶
type GetAssessmentV1TooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
GetAssessmentV1TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetAssessmentV1TooManyRequests ¶
func NewGetAssessmentV1TooManyRequests() *GetAssessmentV1TooManyRequests
NewGetAssessmentV1TooManyRequests creates a GetAssessmentV1TooManyRequests with default headers values
func (*GetAssessmentV1TooManyRequests) Error ¶
func (o *GetAssessmentV1TooManyRequests) Error() string
func (*GetAssessmentV1TooManyRequests) GetPayload ¶
func (o *GetAssessmentV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly