operations

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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 operations API

func (*Client) DeleteStatus

func (a *Client) DeleteStatus(params *DeleteStatusParams) (*DeleteStatusOK, error)

DeleteStatus deletes the status associated with one or more policies or resources

func (*Client) DescribeOrg

func (a *Client) DescribeOrg(params *DescribeOrgParams) (*DescribeOrgOK, error)

DescribeOrg lists pass fail status for every policy and resource in the org

func (*Client) DescribePolicy

func (a *Client) DescribePolicy(params *DescribePolicyParams) (*DescribePolicyOK, error)

DescribePolicy pages through resources affected by a specific policy

func (*Client) DescribeResource

func (a *Client) DescribeResource(params *DescribeResourceParams) (*DescribeResourceOK, error)

DescribeResource pages through policies which affect this resource

func (*Client) GetOrgOverview

func (a *Client) GetOrgOverview(params *GetOrgOverviewParams) (*GetOrgOverviewOK, error)

GetOrgOverview gets account totals and top failing policies resources

func (*Client) GetStatus

func (a *Client) GetStatus(params *GetStatusParams) (*GetStatusOK, error)

GetStatus gets compliance status for a single policy resource pair

func (*Client) SetStatus

func (a *Client) SetStatus(params *SetStatusParams) (*SetStatusCreated, error)

SetStatus sets the compliance status for a batch of resource policy pairs

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateMetadata

func (a *Client) UpdateMetadata(params *UpdateMetadataParams) (*UpdateMetadataOK, error)

UpdateMetadata updates

type ClientService added in v1.0.0

type ClientService interface {
	DeleteStatus(params *DeleteStatusParams) (*DeleteStatusOK, error)

	DescribeOrg(params *DescribeOrgParams) (*DescribeOrgOK, error)

	DescribePolicy(params *DescribePolicyParams) (*DescribePolicyOK, error)

	DescribeResource(params *DescribeResourceParams) (*DescribeResourceOK, error)

	GetOrgOverview(params *GetOrgOverviewParams) (*GetOrgOverviewOK, error)

	GetStatus(params *GetStatusParams) (*GetStatusOK, error)

	SetStatus(params *SetStatusParams) (*SetStatusCreated, error)

	UpdateMetadata(params *UpdateMetadataParams) (*UpdateMetadataOK, 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 operations API client.

type DeleteStatusBadRequest

type DeleteStatusBadRequest struct {
	Payload *models.Error
}

DeleteStatusBadRequest handles this case with default header values.

Bad request

func NewDeleteStatusBadRequest

func NewDeleteStatusBadRequest() *DeleteStatusBadRequest

NewDeleteStatusBadRequest creates a DeleteStatusBadRequest with default headers values

func (*DeleteStatusBadRequest) Error

func (o *DeleteStatusBadRequest) Error() string

func (*DeleteStatusBadRequest) GetPayload

func (o *DeleteStatusBadRequest) GetPayload() *models.Error

type DeleteStatusInternalServerError

type DeleteStatusInternalServerError struct {
}

DeleteStatusInternalServerError handles this case with default header values.

Internal server error

func NewDeleteStatusInternalServerError

func NewDeleteStatusInternalServerError() *DeleteStatusInternalServerError

NewDeleteStatusInternalServerError creates a DeleteStatusInternalServerError with default headers values

func (*DeleteStatusInternalServerError) Error

type DeleteStatusOK

type DeleteStatusOK struct {
}

DeleteStatusOK handles this case with default header values.

OK

func NewDeleteStatusOK

func NewDeleteStatusOK() *DeleteStatusOK

NewDeleteStatusOK creates a DeleteStatusOK with default headers values

func (*DeleteStatusOK) Error

func (o *DeleteStatusOK) Error() string

type DeleteStatusParams

type DeleteStatusParams struct {

	/*Body*/
	Body *models.DeleteStatusBatch

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteStatusParams contains all the parameters to send to the API endpoint for the delete status operation typically these are written to a http.Request

func NewDeleteStatusParams

func NewDeleteStatusParams() *DeleteStatusParams

NewDeleteStatusParams creates a new DeleteStatusParams object with the default values initialized.

func NewDeleteStatusParamsWithContext

func NewDeleteStatusParamsWithContext(ctx context.Context) *DeleteStatusParams

NewDeleteStatusParamsWithContext creates a new DeleteStatusParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteStatusParamsWithHTTPClient

func NewDeleteStatusParamsWithHTTPClient(client *http.Client) *DeleteStatusParams

NewDeleteStatusParamsWithHTTPClient creates a new DeleteStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteStatusParamsWithTimeout

func NewDeleteStatusParamsWithTimeout(timeout time.Duration) *DeleteStatusParams

NewDeleteStatusParamsWithTimeout creates a new DeleteStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteStatusParams) SetBody

func (o *DeleteStatusParams) SetBody(body *models.DeleteStatusBatch)

SetBody adds the body to the delete status params

func (*DeleteStatusParams) SetContext

func (o *DeleteStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the delete status params

func (*DeleteStatusParams) SetHTTPClient

func (o *DeleteStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete status params

func (*DeleteStatusParams) SetTimeout

func (o *DeleteStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete status params

func (*DeleteStatusParams) WithBody

WithBody adds the body to the delete status params

func (*DeleteStatusParams) WithContext

WithContext adds the context to the delete status params

func (*DeleteStatusParams) WithHTTPClient

func (o *DeleteStatusParams) WithHTTPClient(client *http.Client) *DeleteStatusParams

WithHTTPClient adds the HTTPClient to the delete status params

func (*DeleteStatusParams) WithTimeout

func (o *DeleteStatusParams) WithTimeout(timeout time.Duration) *DeleteStatusParams

WithTimeout adds the timeout to the delete status params

func (*DeleteStatusParams) WriteToRequest

func (o *DeleteStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteStatusReader

type DeleteStatusReader struct {
	// contains filtered or unexported fields
}

DeleteStatusReader is a Reader for the DeleteStatus structure.

func (*DeleteStatusReader) ReadResponse

func (o *DeleteStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DescribeOrgBadRequest

type DescribeOrgBadRequest struct {
	Payload *models.Error
}

DescribeOrgBadRequest handles this case with default header values.

Bad request

func NewDescribeOrgBadRequest

func NewDescribeOrgBadRequest() *DescribeOrgBadRequest

NewDescribeOrgBadRequest creates a DescribeOrgBadRequest with default headers values

func (*DescribeOrgBadRequest) Error

func (o *DescribeOrgBadRequest) Error() string

func (*DescribeOrgBadRequest) GetPayload

func (o *DescribeOrgBadRequest) GetPayload() *models.Error

type DescribeOrgInternalServerError

type DescribeOrgInternalServerError struct {
}

DescribeOrgInternalServerError handles this case with default header values.

Internal server error

func NewDescribeOrgInternalServerError

func NewDescribeOrgInternalServerError() *DescribeOrgInternalServerError

NewDescribeOrgInternalServerError creates a DescribeOrgInternalServerError with default headers values

func (*DescribeOrgInternalServerError) Error

type DescribeOrgOK

type DescribeOrgOK struct {
	Payload *models.EntireOrg
}

DescribeOrgOK handles this case with default header values.

OK

func NewDescribeOrgOK

func NewDescribeOrgOK() *DescribeOrgOK

NewDescribeOrgOK creates a DescribeOrgOK with default headers values

func (*DescribeOrgOK) Error

func (o *DescribeOrgOK) Error() string

func (*DescribeOrgOK) GetPayload

func (o *DescribeOrgOK) GetPayload() *models.EntireOrg

type DescribeOrgParams

type DescribeOrgParams struct {

	/*Type
	  Which type of information is returned

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeOrgParams contains all the parameters to send to the API endpoint for the describe org operation typically these are written to a http.Request

func NewDescribeOrgParams

func NewDescribeOrgParams() *DescribeOrgParams

NewDescribeOrgParams creates a new DescribeOrgParams object with the default values initialized.

func NewDescribeOrgParamsWithContext

func NewDescribeOrgParamsWithContext(ctx context.Context) *DescribeOrgParams

NewDescribeOrgParamsWithContext creates a new DescribeOrgParams object with the default values initialized, and the ability to set a context for a request

func NewDescribeOrgParamsWithHTTPClient

func NewDescribeOrgParamsWithHTTPClient(client *http.Client) *DescribeOrgParams

NewDescribeOrgParamsWithHTTPClient creates a new DescribeOrgParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribeOrgParamsWithTimeout

func NewDescribeOrgParamsWithTimeout(timeout time.Duration) *DescribeOrgParams

NewDescribeOrgParamsWithTimeout creates a new DescribeOrgParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribeOrgParams) SetContext

func (o *DescribeOrgParams) SetContext(ctx context.Context)

SetContext adds the context to the describe org params

func (*DescribeOrgParams) SetHTTPClient

func (o *DescribeOrgParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the describe org params

func (*DescribeOrgParams) SetTimeout

func (o *DescribeOrgParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the describe org params

func (*DescribeOrgParams) SetType

func (o *DescribeOrgParams) SetType(typeVar string)

SetType adds the type to the describe org params

func (*DescribeOrgParams) WithContext

func (o *DescribeOrgParams) WithContext(ctx context.Context) *DescribeOrgParams

WithContext adds the context to the describe org params

func (*DescribeOrgParams) WithHTTPClient

func (o *DescribeOrgParams) WithHTTPClient(client *http.Client) *DescribeOrgParams

WithHTTPClient adds the HTTPClient to the describe org params

func (*DescribeOrgParams) WithTimeout

func (o *DescribeOrgParams) WithTimeout(timeout time.Duration) *DescribeOrgParams

WithTimeout adds the timeout to the describe org params

func (*DescribeOrgParams) WithType

func (o *DescribeOrgParams) WithType(typeVar string) *DescribeOrgParams

WithType adds the typeVar to the describe org params

func (*DescribeOrgParams) WriteToRequest

func (o *DescribeOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DescribeOrgReader

type DescribeOrgReader struct {
	// contains filtered or unexported fields
}

DescribeOrgReader is a Reader for the DescribeOrg structure.

func (*DescribeOrgReader) ReadResponse

func (o *DescribeOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DescribePolicyBadRequest

type DescribePolicyBadRequest struct {
	Payload *models.Error
}

DescribePolicyBadRequest handles this case with default header values.

Bad request

func NewDescribePolicyBadRequest

func NewDescribePolicyBadRequest() *DescribePolicyBadRequest

NewDescribePolicyBadRequest creates a DescribePolicyBadRequest with default headers values

func (*DescribePolicyBadRequest) Error

func (o *DescribePolicyBadRequest) Error() string

func (*DescribePolicyBadRequest) GetPayload

func (o *DescribePolicyBadRequest) GetPayload() *models.Error

type DescribePolicyInternalServerError

type DescribePolicyInternalServerError struct {
}

DescribePolicyInternalServerError handles this case with default header values.

Internal server error

func NewDescribePolicyInternalServerError

func NewDescribePolicyInternalServerError() *DescribePolicyInternalServerError

NewDescribePolicyInternalServerError creates a DescribePolicyInternalServerError with default headers values

func (*DescribePolicyInternalServerError) Error

type DescribePolicyOK

type DescribePolicyOK struct {
	Payload *models.PolicyResourceDetail
}

DescribePolicyOK handles this case with default header values.

OK

func NewDescribePolicyOK

func NewDescribePolicyOK() *DescribePolicyOK

NewDescribePolicyOK creates a DescribePolicyOK with default headers values

func (*DescribePolicyOK) Error

func (o *DescribePolicyOK) Error() string

func (*DescribePolicyOK) GetPayload

func (o *DescribePolicyOK) GetPayload() *models.PolicyResourceDetail

type DescribePolicyParams

type DescribePolicyParams struct {

	/*Page
	  Which page of results to retrieve

	*/
	Page *int64
	/*PageSize
	  Number of items in each page of results

	*/
	PageSize *int64
	/*PolicyID
	  URL-encoded panther policy ID

	*/
	PolicyID string
	/*Status
	  Limit entries to those with a specific compliance status

	*/
	Status *string
	/*Suppressed
	  Limit entries to those which are/are not suppressed

	*/
	Suppressed *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribePolicyParams contains all the parameters to send to the API endpoint for the describe policy operation typically these are written to a http.Request

func NewDescribePolicyParams

func NewDescribePolicyParams() *DescribePolicyParams

NewDescribePolicyParams creates a new DescribePolicyParams object with the default values initialized.

func NewDescribePolicyParamsWithContext

func NewDescribePolicyParamsWithContext(ctx context.Context) *DescribePolicyParams

NewDescribePolicyParamsWithContext creates a new DescribePolicyParams object with the default values initialized, and the ability to set a context for a request

func NewDescribePolicyParamsWithHTTPClient

func NewDescribePolicyParamsWithHTTPClient(client *http.Client) *DescribePolicyParams

NewDescribePolicyParamsWithHTTPClient creates a new DescribePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribePolicyParamsWithTimeout

func NewDescribePolicyParamsWithTimeout(timeout time.Duration) *DescribePolicyParams

NewDescribePolicyParamsWithTimeout creates a new DescribePolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribePolicyParams) SetContext

func (o *DescribePolicyParams) SetContext(ctx context.Context)

SetContext adds the context to the describe policy params

func (*DescribePolicyParams) SetHTTPClient

func (o *DescribePolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the describe policy params

func (*DescribePolicyParams) SetPage

func (o *DescribePolicyParams) SetPage(page *int64)

SetPage adds the page to the describe policy params

func (*DescribePolicyParams) SetPageSize

func (o *DescribePolicyParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the describe policy params

func (*DescribePolicyParams) SetPolicyID

func (o *DescribePolicyParams) SetPolicyID(policyID string)

SetPolicyID adds the policyId to the describe policy params

func (*DescribePolicyParams) SetStatus

func (o *DescribePolicyParams) SetStatus(status *string)

SetStatus adds the status to the describe policy params

func (*DescribePolicyParams) SetSuppressed

func (o *DescribePolicyParams) SetSuppressed(suppressed *bool)

SetSuppressed adds the suppressed to the describe policy params

func (*DescribePolicyParams) SetTimeout

func (o *DescribePolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the describe policy params

func (*DescribePolicyParams) WithContext

WithContext adds the context to the describe policy params

func (*DescribePolicyParams) WithHTTPClient

func (o *DescribePolicyParams) WithHTTPClient(client *http.Client) *DescribePolicyParams

WithHTTPClient adds the HTTPClient to the describe policy params

func (*DescribePolicyParams) WithPage

func (o *DescribePolicyParams) WithPage(page *int64) *DescribePolicyParams

WithPage adds the page to the describe policy params

func (*DescribePolicyParams) WithPageSize

func (o *DescribePolicyParams) WithPageSize(pageSize *int64) *DescribePolicyParams

WithPageSize adds the pageSize to the describe policy params

func (*DescribePolicyParams) WithPolicyID

func (o *DescribePolicyParams) WithPolicyID(policyID string) *DescribePolicyParams

WithPolicyID adds the policyID to the describe policy params

func (*DescribePolicyParams) WithStatus

func (o *DescribePolicyParams) WithStatus(status *string) *DescribePolicyParams

WithStatus adds the status to the describe policy params

func (*DescribePolicyParams) WithSuppressed

func (o *DescribePolicyParams) WithSuppressed(suppressed *bool) *DescribePolicyParams

WithSuppressed adds the suppressed to the describe policy params

func (*DescribePolicyParams) WithTimeout

func (o *DescribePolicyParams) WithTimeout(timeout time.Duration) *DescribePolicyParams

WithTimeout adds the timeout to the describe policy params

func (*DescribePolicyParams) WriteToRequest

func (o *DescribePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DescribePolicyReader

type DescribePolicyReader struct {
	// contains filtered or unexported fields
}

DescribePolicyReader is a Reader for the DescribePolicy structure.

func (*DescribePolicyReader) ReadResponse

func (o *DescribePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DescribeResourceBadRequest

type DescribeResourceBadRequest struct {
	Payload *models.Error
}

DescribeResourceBadRequest handles this case with default header values.

Bad request

func NewDescribeResourceBadRequest

func NewDescribeResourceBadRequest() *DescribeResourceBadRequest

NewDescribeResourceBadRequest creates a DescribeResourceBadRequest with default headers values

func (*DescribeResourceBadRequest) Error

func (*DescribeResourceBadRequest) GetPayload

func (o *DescribeResourceBadRequest) GetPayload() *models.Error

type DescribeResourceInternalServerError

type DescribeResourceInternalServerError struct {
}

DescribeResourceInternalServerError handles this case with default header values.

Internal server error

func NewDescribeResourceInternalServerError

func NewDescribeResourceInternalServerError() *DescribeResourceInternalServerError

NewDescribeResourceInternalServerError creates a DescribeResourceInternalServerError with default headers values

func (*DescribeResourceInternalServerError) Error

type DescribeResourceOK

type DescribeResourceOK struct {
	Payload *models.PolicyResourceDetail
}

DescribeResourceOK handles this case with default header values.

OK

func NewDescribeResourceOK

func NewDescribeResourceOK() *DescribeResourceOK

NewDescribeResourceOK creates a DescribeResourceOK with default headers values

func (*DescribeResourceOK) Error

func (o *DescribeResourceOK) Error() string

func (*DescribeResourceOK) GetPayload

type DescribeResourceParams

type DescribeResourceParams struct {

	/*Page
	  Which page of results to retrieve

	*/
	Page *int64
	/*PageSize
	  Number of items in each page of results

	*/
	PageSize *int64
	/*ResourceID
	  URL-encoded unique resource ID

	*/
	ResourceID string
	/*Severity
	  Limit entries to those whose policies have this severity

	*/
	Severity *string
	/*Status
	  Limit entries to those with a specific compliance status

	*/
	Status *string
	/*Suppressed
	  Limit entries to those which are/are not suppressed

	*/
	Suppressed *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeResourceParams contains all the parameters to send to the API endpoint for the describe resource operation typically these are written to a http.Request

func NewDescribeResourceParams

func NewDescribeResourceParams() *DescribeResourceParams

NewDescribeResourceParams creates a new DescribeResourceParams object with the default values initialized.

func NewDescribeResourceParamsWithContext

func NewDescribeResourceParamsWithContext(ctx context.Context) *DescribeResourceParams

NewDescribeResourceParamsWithContext creates a new DescribeResourceParams object with the default values initialized, and the ability to set a context for a request

func NewDescribeResourceParamsWithHTTPClient

func NewDescribeResourceParamsWithHTTPClient(client *http.Client) *DescribeResourceParams

NewDescribeResourceParamsWithHTTPClient creates a new DescribeResourceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribeResourceParamsWithTimeout

func NewDescribeResourceParamsWithTimeout(timeout time.Duration) *DescribeResourceParams

NewDescribeResourceParamsWithTimeout creates a new DescribeResourceParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribeResourceParams) SetContext

func (o *DescribeResourceParams) SetContext(ctx context.Context)

SetContext adds the context to the describe resource params

func (*DescribeResourceParams) SetHTTPClient

func (o *DescribeResourceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the describe resource params

func (*DescribeResourceParams) SetPage

func (o *DescribeResourceParams) SetPage(page *int64)

SetPage adds the page to the describe resource params

func (*DescribeResourceParams) SetPageSize

func (o *DescribeResourceParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the describe resource params

func (*DescribeResourceParams) SetResourceID

func (o *DescribeResourceParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the describe resource params

func (*DescribeResourceParams) SetSeverity

func (o *DescribeResourceParams) SetSeverity(severity *string)

SetSeverity adds the severity to the describe resource params

func (*DescribeResourceParams) SetStatus

func (o *DescribeResourceParams) SetStatus(status *string)

SetStatus adds the status to the describe resource params

func (*DescribeResourceParams) SetSuppressed

func (o *DescribeResourceParams) SetSuppressed(suppressed *bool)

SetSuppressed adds the suppressed to the describe resource params

func (*DescribeResourceParams) SetTimeout

func (o *DescribeResourceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the describe resource params

func (*DescribeResourceParams) WithContext

WithContext adds the context to the describe resource params

func (*DescribeResourceParams) WithHTTPClient

func (o *DescribeResourceParams) WithHTTPClient(client *http.Client) *DescribeResourceParams

WithHTTPClient adds the HTTPClient to the describe resource params

func (*DescribeResourceParams) WithPage

WithPage adds the page to the describe resource params

func (*DescribeResourceParams) WithPageSize

func (o *DescribeResourceParams) WithPageSize(pageSize *int64) *DescribeResourceParams

WithPageSize adds the pageSize to the describe resource params

func (*DescribeResourceParams) WithResourceID

func (o *DescribeResourceParams) WithResourceID(resourceID string) *DescribeResourceParams

WithResourceID adds the resourceID to the describe resource params

func (*DescribeResourceParams) WithSeverity

func (o *DescribeResourceParams) WithSeverity(severity *string) *DescribeResourceParams

WithSeverity adds the severity to the describe resource params

func (*DescribeResourceParams) WithStatus

func (o *DescribeResourceParams) WithStatus(status *string) *DescribeResourceParams

WithStatus adds the status to the describe resource params

func (*DescribeResourceParams) WithSuppressed

func (o *DescribeResourceParams) WithSuppressed(suppressed *bool) *DescribeResourceParams

WithSuppressed adds the suppressed to the describe resource params

func (*DescribeResourceParams) WithTimeout

WithTimeout adds the timeout to the describe resource params

func (*DescribeResourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeResourceReader

type DescribeResourceReader struct {
	// contains filtered or unexported fields
}

DescribeResourceReader is a Reader for the DescribeResource structure.

func (*DescribeResourceReader) ReadResponse

func (o *DescribeResourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrgOverviewBadRequest

type GetOrgOverviewBadRequest struct {
	Payload *models.Error
}

GetOrgOverviewBadRequest handles this case with default header values.

Bad request

func NewGetOrgOverviewBadRequest

func NewGetOrgOverviewBadRequest() *GetOrgOverviewBadRequest

NewGetOrgOverviewBadRequest creates a GetOrgOverviewBadRequest with default headers values

func (*GetOrgOverviewBadRequest) Error

func (o *GetOrgOverviewBadRequest) Error() string

func (*GetOrgOverviewBadRequest) GetPayload

func (o *GetOrgOverviewBadRequest) GetPayload() *models.Error

type GetOrgOverviewInternalServerError

type GetOrgOverviewInternalServerError struct {
}

GetOrgOverviewInternalServerError handles this case with default header values.

Internal server error

func NewGetOrgOverviewInternalServerError

func NewGetOrgOverviewInternalServerError() *GetOrgOverviewInternalServerError

NewGetOrgOverviewInternalServerError creates a GetOrgOverviewInternalServerError with default headers values

func (*GetOrgOverviewInternalServerError) Error

type GetOrgOverviewOK

type GetOrgOverviewOK struct {
	Payload *models.OrgSummary
}

GetOrgOverviewOK handles this case with default header values.

OK

func NewGetOrgOverviewOK

func NewGetOrgOverviewOK() *GetOrgOverviewOK

NewGetOrgOverviewOK creates a GetOrgOverviewOK with default headers values

func (*GetOrgOverviewOK) Error

func (o *GetOrgOverviewOK) Error() string

func (*GetOrgOverviewOK) GetPayload

func (o *GetOrgOverviewOK) GetPayload() *models.OrgSummary

type GetOrgOverviewParams

type GetOrgOverviewParams struct {

	/*LimitTopFailing
	  Upper bound on the number of top failing resources and policies returned

	*/
	LimitTopFailing *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrgOverviewParams contains all the parameters to send to the API endpoint for the get org overview operation typically these are written to a http.Request

func NewGetOrgOverviewParams

func NewGetOrgOverviewParams() *GetOrgOverviewParams

NewGetOrgOverviewParams creates a new GetOrgOverviewParams object with the default values initialized.

func NewGetOrgOverviewParamsWithContext

func NewGetOrgOverviewParamsWithContext(ctx context.Context) *GetOrgOverviewParams

NewGetOrgOverviewParamsWithContext creates a new GetOrgOverviewParams object with the default values initialized, and the ability to set a context for a request

func NewGetOrgOverviewParamsWithHTTPClient

func NewGetOrgOverviewParamsWithHTTPClient(client *http.Client) *GetOrgOverviewParams

NewGetOrgOverviewParamsWithHTTPClient creates a new GetOrgOverviewParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetOrgOverviewParamsWithTimeout

func NewGetOrgOverviewParamsWithTimeout(timeout time.Duration) *GetOrgOverviewParams

NewGetOrgOverviewParamsWithTimeout creates a new GetOrgOverviewParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetOrgOverviewParams) SetContext

func (o *GetOrgOverviewParams) SetContext(ctx context.Context)

SetContext adds the context to the get org overview params

func (*GetOrgOverviewParams) SetHTTPClient

func (o *GetOrgOverviewParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get org overview params

func (*GetOrgOverviewParams) SetLimitTopFailing

func (o *GetOrgOverviewParams) SetLimitTopFailing(limitTopFailing *int64)

SetLimitTopFailing adds the limitTopFailing to the get org overview params

func (*GetOrgOverviewParams) SetTimeout

func (o *GetOrgOverviewParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get org overview params

func (*GetOrgOverviewParams) WithContext

WithContext adds the context to the get org overview params

func (*GetOrgOverviewParams) WithHTTPClient

func (o *GetOrgOverviewParams) WithHTTPClient(client *http.Client) *GetOrgOverviewParams

WithHTTPClient adds the HTTPClient to the get org overview params

func (*GetOrgOverviewParams) WithLimitTopFailing

func (o *GetOrgOverviewParams) WithLimitTopFailing(limitTopFailing *int64) *GetOrgOverviewParams

WithLimitTopFailing adds the limitTopFailing to the get org overview params

func (*GetOrgOverviewParams) WithTimeout

func (o *GetOrgOverviewParams) WithTimeout(timeout time.Duration) *GetOrgOverviewParams

WithTimeout adds the timeout to the get org overview params

func (*GetOrgOverviewParams) WriteToRequest

func (o *GetOrgOverviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrgOverviewReader

type GetOrgOverviewReader struct {
	// contains filtered or unexported fields
}

GetOrgOverviewReader is a Reader for the GetOrgOverview structure.

func (*GetOrgOverviewReader) ReadResponse

func (o *GetOrgOverviewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStatusBadRequest

type GetStatusBadRequest struct {
	Payload *models.Error
}

GetStatusBadRequest handles this case with default header values.

Bad request

func NewGetStatusBadRequest

func NewGetStatusBadRequest() *GetStatusBadRequest

NewGetStatusBadRequest creates a GetStatusBadRequest with default headers values

func (*GetStatusBadRequest) Error

func (o *GetStatusBadRequest) Error() string

func (*GetStatusBadRequest) GetPayload

func (o *GetStatusBadRequest) GetPayload() *models.Error

type GetStatusInternalServerError

type GetStatusInternalServerError struct {
}

GetStatusInternalServerError handles this case with default header values.

Internal server error

func NewGetStatusInternalServerError

func NewGetStatusInternalServerError() *GetStatusInternalServerError

NewGetStatusInternalServerError creates a GetStatusInternalServerError with default headers values

func (*GetStatusInternalServerError) Error

type GetStatusNotFound

type GetStatusNotFound struct {
}

GetStatusNotFound handles this case with default header values.

policy-resource pair not found

func NewGetStatusNotFound

func NewGetStatusNotFound() *GetStatusNotFound

NewGetStatusNotFound creates a GetStatusNotFound with default headers values

func (*GetStatusNotFound) Error

func (o *GetStatusNotFound) Error() string

type GetStatusOK

type GetStatusOK struct {
	Payload *models.ComplianceStatus
}

GetStatusOK handles this case with default header values.

OK

func NewGetStatusOK

func NewGetStatusOK() *GetStatusOK

NewGetStatusOK creates a GetStatusOK with default headers values

func (*GetStatusOK) Error

func (o *GetStatusOK) Error() string

func (*GetStatusOK) GetPayload

func (o *GetStatusOK) GetPayload() *models.ComplianceStatus

type GetStatusParams

type GetStatusParams struct {

	/*PolicyID
	  URL-encoded panther policy ID

	*/
	PolicyID string
	/*ResourceID
	  URL-encoded unique resource ID

	*/
	ResourceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStatusParams contains all the parameters to send to the API endpoint for the get status operation typically these are written to a http.Request

func NewGetStatusParams

func NewGetStatusParams() *GetStatusParams

NewGetStatusParams creates a new GetStatusParams object with the default values initialized.

func NewGetStatusParamsWithContext

func NewGetStatusParamsWithContext(ctx context.Context) *GetStatusParams

NewGetStatusParamsWithContext creates a new GetStatusParams object with the default values initialized, and the ability to set a context for a request

func NewGetStatusParamsWithHTTPClient

func NewGetStatusParamsWithHTTPClient(client *http.Client) *GetStatusParams

NewGetStatusParamsWithHTTPClient creates a new GetStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetStatusParamsWithTimeout

func NewGetStatusParamsWithTimeout(timeout time.Duration) *GetStatusParams

NewGetStatusParamsWithTimeout creates a new GetStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetStatusParams) SetContext

func (o *GetStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the get status params

func (*GetStatusParams) SetHTTPClient

func (o *GetStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) SetPolicyID

func (o *GetStatusParams) SetPolicyID(policyID string)

SetPolicyID adds the policyId to the get status params

func (*GetStatusParams) SetResourceID

func (o *GetStatusParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the get status params

func (*GetStatusParams) SetTimeout

func (o *GetStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get status params

func (*GetStatusParams) WithContext

func (o *GetStatusParams) WithContext(ctx context.Context) *GetStatusParams

WithContext adds the context to the get status params

func (*GetStatusParams) WithHTTPClient

func (o *GetStatusParams) WithHTTPClient(client *http.Client) *GetStatusParams

WithHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) WithPolicyID

func (o *GetStatusParams) WithPolicyID(policyID string) *GetStatusParams

WithPolicyID adds the policyID to the get status params

func (*GetStatusParams) WithResourceID

func (o *GetStatusParams) WithResourceID(resourceID string) *GetStatusParams

WithResourceID adds the resourceID to the get status params

func (*GetStatusParams) WithTimeout

func (o *GetStatusParams) WithTimeout(timeout time.Duration) *GetStatusParams

WithTimeout adds the timeout to the get status params

func (*GetStatusParams) WriteToRequest

func (o *GetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStatusReader

type GetStatusReader struct {
	// contains filtered or unexported fields
}

GetStatusReader is a Reader for the GetStatus structure.

func (*GetStatusReader) ReadResponse

func (o *GetStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetStatusBadRequest

type SetStatusBadRequest struct {
	Payload *models.Error
}

SetStatusBadRequest handles this case with default header values.

Bad request

func NewSetStatusBadRequest

func NewSetStatusBadRequest() *SetStatusBadRequest

NewSetStatusBadRequest creates a SetStatusBadRequest with default headers values

func (*SetStatusBadRequest) Error

func (o *SetStatusBadRequest) Error() string

func (*SetStatusBadRequest) GetPayload

func (o *SetStatusBadRequest) GetPayload() *models.Error

type SetStatusCreated

type SetStatusCreated struct {
}

SetStatusCreated handles this case with default header values.

OK

func NewSetStatusCreated

func NewSetStatusCreated() *SetStatusCreated

NewSetStatusCreated creates a SetStatusCreated with default headers values

func (*SetStatusCreated) Error

func (o *SetStatusCreated) Error() string

type SetStatusInternalServerError

type SetStatusInternalServerError struct {
}

SetStatusInternalServerError handles this case with default header values.

Internal server error

func NewSetStatusInternalServerError

func NewSetStatusInternalServerError() *SetStatusInternalServerError

NewSetStatusInternalServerError creates a SetStatusInternalServerError with default headers values

func (*SetStatusInternalServerError) Error

type SetStatusParams

type SetStatusParams struct {

	/*Body*/
	Body *models.SetStatusBatch

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetStatusParams contains all the parameters to send to the API endpoint for the set status operation typically these are written to a http.Request

func NewSetStatusParams

func NewSetStatusParams() *SetStatusParams

NewSetStatusParams creates a new SetStatusParams object with the default values initialized.

func NewSetStatusParamsWithContext

func NewSetStatusParamsWithContext(ctx context.Context) *SetStatusParams

NewSetStatusParamsWithContext creates a new SetStatusParams object with the default values initialized, and the ability to set a context for a request

func NewSetStatusParamsWithHTTPClient

func NewSetStatusParamsWithHTTPClient(client *http.Client) *SetStatusParams

NewSetStatusParamsWithHTTPClient creates a new SetStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSetStatusParamsWithTimeout

func NewSetStatusParamsWithTimeout(timeout time.Duration) *SetStatusParams

NewSetStatusParamsWithTimeout creates a new SetStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*SetStatusParams) SetBody

func (o *SetStatusParams) SetBody(body *models.SetStatusBatch)

SetBody adds the body to the set status params

func (*SetStatusParams) SetContext

func (o *SetStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the set status params

func (*SetStatusParams) SetHTTPClient

func (o *SetStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set status params

func (*SetStatusParams) SetTimeout

func (o *SetStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set status params

func (*SetStatusParams) WithBody

WithBody adds the body to the set status params

func (*SetStatusParams) WithContext

func (o *SetStatusParams) WithContext(ctx context.Context) *SetStatusParams

WithContext adds the context to the set status params

func (*SetStatusParams) WithHTTPClient

func (o *SetStatusParams) WithHTTPClient(client *http.Client) *SetStatusParams

WithHTTPClient adds the HTTPClient to the set status params

func (*SetStatusParams) WithTimeout

func (o *SetStatusParams) WithTimeout(timeout time.Duration) *SetStatusParams

WithTimeout adds the timeout to the set status params

func (*SetStatusParams) WriteToRequest

func (o *SetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SetStatusReader

type SetStatusReader struct {
	// contains filtered or unexported fields
}

SetStatusReader is a Reader for the SetStatus structure.

func (*SetStatusReader) ReadResponse

func (o *SetStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateMetadataBadRequest

type UpdateMetadataBadRequest struct {
	Payload *models.Error
}

UpdateMetadataBadRequest handles this case with default header values.

Bad request

func NewUpdateMetadataBadRequest

func NewUpdateMetadataBadRequest() *UpdateMetadataBadRequest

NewUpdateMetadataBadRequest creates a UpdateMetadataBadRequest with default headers values

func (*UpdateMetadataBadRequest) Error

func (o *UpdateMetadataBadRequest) Error() string

func (*UpdateMetadataBadRequest) GetPayload

func (o *UpdateMetadataBadRequest) GetPayload() *models.Error

type UpdateMetadataInternalServerError

type UpdateMetadataInternalServerError struct {
}

UpdateMetadataInternalServerError handles this case with default header values.

Internal server error

func NewUpdateMetadataInternalServerError

func NewUpdateMetadataInternalServerError() *UpdateMetadataInternalServerError

NewUpdateMetadataInternalServerError creates a UpdateMetadataInternalServerError with default headers values

func (*UpdateMetadataInternalServerError) Error

type UpdateMetadataOK

type UpdateMetadataOK struct {
}

UpdateMetadataOK handles this case with default header values.

OK

func NewUpdateMetadataOK

func NewUpdateMetadataOK() *UpdateMetadataOK

NewUpdateMetadataOK creates a UpdateMetadataOK with default headers values

func (*UpdateMetadataOK) Error

func (o *UpdateMetadataOK) Error() string

type UpdateMetadataParams

type UpdateMetadataParams struct {

	/*Body*/
	Body *models.UpdateMetadata

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateMetadataParams contains all the parameters to send to the API endpoint for the update metadata operation typically these are written to a http.Request

func NewUpdateMetadataParams

func NewUpdateMetadataParams() *UpdateMetadataParams

NewUpdateMetadataParams creates a new UpdateMetadataParams object with the default values initialized.

func NewUpdateMetadataParamsWithContext

func NewUpdateMetadataParamsWithContext(ctx context.Context) *UpdateMetadataParams

NewUpdateMetadataParamsWithContext creates a new UpdateMetadataParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateMetadataParamsWithHTTPClient

func NewUpdateMetadataParamsWithHTTPClient(client *http.Client) *UpdateMetadataParams

NewUpdateMetadataParamsWithHTTPClient creates a new UpdateMetadataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateMetadataParamsWithTimeout

func NewUpdateMetadataParamsWithTimeout(timeout time.Duration) *UpdateMetadataParams

NewUpdateMetadataParamsWithTimeout creates a new UpdateMetadataParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateMetadataParams) SetBody

func (o *UpdateMetadataParams) SetBody(body *models.UpdateMetadata)

SetBody adds the body to the update metadata params

func (*UpdateMetadataParams) SetContext

func (o *UpdateMetadataParams) SetContext(ctx context.Context)

SetContext adds the context to the update metadata params

func (*UpdateMetadataParams) SetHTTPClient

func (o *UpdateMetadataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update metadata params

func (*UpdateMetadataParams) SetTimeout

func (o *UpdateMetadataParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update metadata params

func (*UpdateMetadataParams) WithBody

WithBody adds the body to the update metadata params

func (*UpdateMetadataParams) WithContext

WithContext adds the context to the update metadata params

func (*UpdateMetadataParams) WithHTTPClient

func (o *UpdateMetadataParams) WithHTTPClient(client *http.Client) *UpdateMetadataParams

WithHTTPClient adds the HTTPClient to the update metadata params

func (*UpdateMetadataParams) WithTimeout

func (o *UpdateMetadataParams) WithTimeout(timeout time.Duration) *UpdateMetadataParams

WithTimeout adds the timeout to the update metadata params

func (*UpdateMetadataParams) WriteToRequest

func (o *UpdateMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateMetadataReader

type UpdateMetadataReader struct {
	// contains filtered or unexported fields
}

UpdateMetadataReader is a Reader for the UpdateMetadata structure.

func (*UpdateMetadataReader) ReadResponse

func (o *UpdateMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL