Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateServicePolicy(params *CreateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateServicePolicyCreated, error)
- func (a *Client) DeleteServicePolicy(params *DeleteServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteServicePolicyOK, error)
- func (a *Client) DetailServicePolicy(params *DetailServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailServicePolicyOK, error)
- func (a *Client) ListServicePolicies(params *ListServicePoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServicePoliciesOK, error)
- func (a *Client) ListServicePolicyIdentities(params *ListServicePolicyIdentitiesParams, ...) (*ListServicePolicyIdentitiesOK, error)
- func (a *Client) ListServicePolicyPostureChecks(params *ListServicePolicyPostureChecksParams, ...) (*ListServicePolicyPostureChecksOK, error)
- func (a *Client) ListServicePolicyServices(params *ListServicePolicyServicesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServicePolicyServicesOK, error)
- func (a *Client) PatchServicePolicy(params *PatchServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchServicePolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateServicePolicy(params *UpdateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateServicePolicyOK, error)
- type ClientOption
- type ClientService
- type CreateServicePolicyBadRequest
- type CreateServicePolicyCreated
- type CreateServicePolicyParams
- func NewCreateServicePolicyParams() *CreateServicePolicyParams
- func NewCreateServicePolicyParamsWithContext(ctx context.Context) *CreateServicePolicyParams
- func NewCreateServicePolicyParamsWithHTTPClient(client *http.Client) *CreateServicePolicyParams
- func NewCreateServicePolicyParamsWithTimeout(timeout time.Duration) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) SetContext(ctx context.Context)
- func (o *CreateServicePolicyParams) SetDefaults()
- func (o *CreateServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateServicePolicyParams) SetPolicy(policy *rest_model.ServicePolicyCreate)
- func (o *CreateServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateServicePolicyParams) WithContext(ctx context.Context) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WithDefaults() *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WithHTTPClient(client *http.Client) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WithPolicy(policy *rest_model.ServicePolicyCreate) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WithTimeout(timeout time.Duration) *CreateServicePolicyParams
- func (o *CreateServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServicePolicyReader
- type CreateServicePolicyTooManyRequests
- type CreateServicePolicyUnauthorized
- type DeleteServicePolicyBadRequest
- type DeleteServicePolicyConflict
- type DeleteServicePolicyOK
- type DeleteServicePolicyParams
- func NewDeleteServicePolicyParams() *DeleteServicePolicyParams
- func NewDeleteServicePolicyParamsWithContext(ctx context.Context) *DeleteServicePolicyParams
- func NewDeleteServicePolicyParamsWithHTTPClient(client *http.Client) *DeleteServicePolicyParams
- func NewDeleteServicePolicyParamsWithTimeout(timeout time.Duration) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) SetContext(ctx context.Context)
- func (o *DeleteServicePolicyParams) SetDefaults()
- func (o *DeleteServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServicePolicyParams) SetID(id string)
- func (o *DeleteServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServicePolicyParams) WithContext(ctx context.Context) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WithDefaults() *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WithHTTPClient(client *http.Client) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WithID(id string) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WithTimeout(timeout time.Duration) *DeleteServicePolicyParams
- func (o *DeleteServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServicePolicyReader
- type DeleteServicePolicyTooManyRequests
- type DeleteServicePolicyUnauthorized
- type DetailServicePolicyNotFound
- type DetailServicePolicyOK
- type DetailServicePolicyParams
- func NewDetailServicePolicyParams() *DetailServicePolicyParams
- func NewDetailServicePolicyParamsWithContext(ctx context.Context) *DetailServicePolicyParams
- func NewDetailServicePolicyParamsWithHTTPClient(client *http.Client) *DetailServicePolicyParams
- func NewDetailServicePolicyParamsWithTimeout(timeout time.Duration) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) SetContext(ctx context.Context)
- func (o *DetailServicePolicyParams) SetDefaults()
- func (o *DetailServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DetailServicePolicyParams) SetID(id string)
- func (o *DetailServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DetailServicePolicyParams) WithContext(ctx context.Context) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WithDefaults() *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WithHTTPClient(client *http.Client) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WithID(id string) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WithTimeout(timeout time.Duration) *DetailServicePolicyParams
- func (o *DetailServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailServicePolicyReader
- type DetailServicePolicyTooManyRequests
- type DetailServicePolicyUnauthorized
- type ListServicePoliciesBadRequest
- type ListServicePoliciesOK
- type ListServicePoliciesParams
- func NewListServicePoliciesParams() *ListServicePoliciesParams
- func NewListServicePoliciesParamsWithContext(ctx context.Context) *ListServicePoliciesParams
- func NewListServicePoliciesParamsWithHTTPClient(client *http.Client) *ListServicePoliciesParams
- func NewListServicePoliciesParamsWithTimeout(timeout time.Duration) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) SetContext(ctx context.Context)
- func (o *ListServicePoliciesParams) SetDefaults()
- func (o *ListServicePoliciesParams) SetFilter(filter *string)
- func (o *ListServicePoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePoliciesParams) SetLimit(limit *int64)
- func (o *ListServicePoliciesParams) SetOffset(offset *int64)
- func (o *ListServicePoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePoliciesParams) WithContext(ctx context.Context) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithDefaults() *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithFilter(filter *string) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithHTTPClient(client *http.Client) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithLimit(limit *int64) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithOffset(offset *int64) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WithTimeout(timeout time.Duration) *ListServicePoliciesParams
- func (o *ListServicePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePoliciesReader
- type ListServicePoliciesTooManyRequests
- type ListServicePoliciesUnauthorized
- type ListServicePolicyIdentitiesBadRequest
- type ListServicePolicyIdentitiesOK
- type ListServicePolicyIdentitiesParams
- func NewListServicePolicyIdentitiesParams() *ListServicePolicyIdentitiesParams
- func NewListServicePolicyIdentitiesParamsWithContext(ctx context.Context) *ListServicePolicyIdentitiesParams
- func NewListServicePolicyIdentitiesParamsWithHTTPClient(client *http.Client) *ListServicePolicyIdentitiesParams
- func NewListServicePolicyIdentitiesParamsWithTimeout(timeout time.Duration) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) SetContext(ctx context.Context)
- func (o *ListServicePolicyIdentitiesParams) SetDefaults()
- func (o *ListServicePolicyIdentitiesParams) SetFilter(filter *string)
- func (o *ListServicePolicyIdentitiesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePolicyIdentitiesParams) SetID(id string)
- func (o *ListServicePolicyIdentitiesParams) SetLimit(limit *int64)
- func (o *ListServicePolicyIdentitiesParams) SetOffset(offset *int64)
- func (o *ListServicePolicyIdentitiesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePolicyIdentitiesParams) WithContext(ctx context.Context) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithDefaults() *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithFilter(filter *string) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithHTTPClient(client *http.Client) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithID(id string) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithLimit(limit *int64) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithOffset(offset *int64) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WithTimeout(timeout time.Duration) *ListServicePolicyIdentitiesParams
- func (o *ListServicePolicyIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePolicyIdentitiesReader
- type ListServicePolicyIdentitiesTooManyRequests
- type ListServicePolicyIdentitiesUnauthorized
- type ListServicePolicyPostureChecksBadRequest
- type ListServicePolicyPostureChecksOK
- type ListServicePolicyPostureChecksParams
- func NewListServicePolicyPostureChecksParams() *ListServicePolicyPostureChecksParams
- func NewListServicePolicyPostureChecksParamsWithContext(ctx context.Context) *ListServicePolicyPostureChecksParams
- func NewListServicePolicyPostureChecksParamsWithHTTPClient(client *http.Client) *ListServicePolicyPostureChecksParams
- func NewListServicePolicyPostureChecksParamsWithTimeout(timeout time.Duration) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) SetContext(ctx context.Context)
- func (o *ListServicePolicyPostureChecksParams) SetDefaults()
- func (o *ListServicePolicyPostureChecksParams) SetFilter(filter *string)
- func (o *ListServicePolicyPostureChecksParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePolicyPostureChecksParams) SetID(id string)
- func (o *ListServicePolicyPostureChecksParams) SetLimit(limit *int64)
- func (o *ListServicePolicyPostureChecksParams) SetOffset(offset *int64)
- func (o *ListServicePolicyPostureChecksParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePolicyPostureChecksParams) WithContext(ctx context.Context) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithDefaults() *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithFilter(filter *string) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithHTTPClient(client *http.Client) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithID(id string) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithLimit(limit *int64) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithOffset(offset *int64) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WithTimeout(timeout time.Duration) *ListServicePolicyPostureChecksParams
- func (o *ListServicePolicyPostureChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePolicyPostureChecksReader
- type ListServicePolicyPostureChecksTooManyRequests
- type ListServicePolicyPostureChecksUnauthorized
- type ListServicePolicyServicesBadRequest
- type ListServicePolicyServicesOK
- type ListServicePolicyServicesParams
- func NewListServicePolicyServicesParams() *ListServicePolicyServicesParams
- func NewListServicePolicyServicesParamsWithContext(ctx context.Context) *ListServicePolicyServicesParams
- func NewListServicePolicyServicesParamsWithHTTPClient(client *http.Client) *ListServicePolicyServicesParams
- func NewListServicePolicyServicesParamsWithTimeout(timeout time.Duration) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) SetContext(ctx context.Context)
- func (o *ListServicePolicyServicesParams) SetDefaults()
- func (o *ListServicePolicyServicesParams) SetFilter(filter *string)
- func (o *ListServicePolicyServicesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePolicyServicesParams) SetID(id string)
- func (o *ListServicePolicyServicesParams) SetLimit(limit *int64)
- func (o *ListServicePolicyServicesParams) SetOffset(offset *int64)
- func (o *ListServicePolicyServicesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePolicyServicesParams) WithContext(ctx context.Context) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithDefaults() *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithFilter(filter *string) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithHTTPClient(client *http.Client) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithID(id string) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithLimit(limit *int64) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithOffset(offset *int64) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WithTimeout(timeout time.Duration) *ListServicePolicyServicesParams
- func (o *ListServicePolicyServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePolicyServicesReader
- type ListServicePolicyServicesTooManyRequests
- type ListServicePolicyServicesUnauthorized
- type PatchServicePolicyBadRequest
- type PatchServicePolicyNotFound
- type PatchServicePolicyOK
- type PatchServicePolicyParams
- func NewPatchServicePolicyParams() *PatchServicePolicyParams
- func NewPatchServicePolicyParamsWithContext(ctx context.Context) *PatchServicePolicyParams
- func NewPatchServicePolicyParamsWithHTTPClient(client *http.Client) *PatchServicePolicyParams
- func NewPatchServicePolicyParamsWithTimeout(timeout time.Duration) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) SetContext(ctx context.Context)
- func (o *PatchServicePolicyParams) SetDefaults()
- func (o *PatchServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *PatchServicePolicyParams) SetID(id string)
- func (o *PatchServicePolicyParams) SetPolicy(policy *rest_model.ServicePolicyPatch)
- func (o *PatchServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *PatchServicePolicyParams) WithContext(ctx context.Context) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithDefaults() *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithHTTPClient(client *http.Client) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithID(id string) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithPolicy(policy *rest_model.ServicePolicyPatch) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WithTimeout(timeout time.Duration) *PatchServicePolicyParams
- func (o *PatchServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchServicePolicyReader
- type PatchServicePolicyTooManyRequests
- type PatchServicePolicyUnauthorized
- type UpdateServicePolicyBadRequest
- type UpdateServicePolicyNotFound
- type UpdateServicePolicyOK
- type UpdateServicePolicyParams
- func NewUpdateServicePolicyParams() *UpdateServicePolicyParams
- func NewUpdateServicePolicyParamsWithContext(ctx context.Context) *UpdateServicePolicyParams
- func NewUpdateServicePolicyParamsWithHTTPClient(client *http.Client) *UpdateServicePolicyParams
- func NewUpdateServicePolicyParamsWithTimeout(timeout time.Duration) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) SetContext(ctx context.Context)
- func (o *UpdateServicePolicyParams) SetDefaults()
- func (o *UpdateServicePolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServicePolicyParams) SetID(id string)
- func (o *UpdateServicePolicyParams) SetPolicy(policy *rest_model.ServicePolicyUpdate)
- func (o *UpdateServicePolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServicePolicyParams) WithContext(ctx context.Context) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithDefaults() *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithHTTPClient(client *http.Client) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithID(id string) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithPolicy(policy *rest_model.ServicePolicyUpdate) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WithTimeout(timeout time.Duration) *UpdateServicePolicyParams
- func (o *UpdateServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServicePolicyReader
- type UpdateServicePolicyTooManyRequests
- type UpdateServicePolicyUnauthorized
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 service policy API
func (*Client) CreateServicePolicy ¶
func (a *Client) CreateServicePolicy(params *CreateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServicePolicyCreated, error)
CreateServicePolicy creates a service policy resource
Create a service policy resource. Requires admin access.
func (*Client) DeleteServicePolicy ¶
func (a *Client) DeleteServicePolicy(params *DeleteServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServicePolicyOK, error)
DeleteServicePolicy deletes a service policy
Delete a service policy by id. Requires admin access.
func (*Client) DetailServicePolicy ¶
func (a *Client) DetailServicePolicy(params *DetailServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailServicePolicyOK, error)
DetailServicePolicy retrieves a single service policy
Retrieves a single service policy by id. Requires admin access.
func (*Client) ListServicePolicies ¶
func (a *Client) ListServicePolicies(params *ListServicePoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePoliciesOK, error)
ListServicePolicies lists service policies
Retrieves a list of service policy resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListServicePolicyIdentities ¶
func (a *Client) ListServicePolicyIdentities(params *ListServicePolicyIdentitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePolicyIdentitiesOK, error)
ListServicePolicyIdentities lists identities a service policy affects
Retrieves a list of identity resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListServicePolicyPostureChecks ¶
func (a *Client) ListServicePolicyPostureChecks(params *ListServicePolicyPostureChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePolicyPostureChecksOK, error)
ListServicePolicyPostureChecks lists posture check a service policy includes
Retrieves a list of posture check resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListServicePolicyServices ¶
func (a *Client) ListServicePolicyServices(params *ListServicePolicyServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePolicyServicesOK, error)
ListServicePolicyServices lists services a service policy affects
Retrieves a list of service resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) PatchServicePolicy ¶
func (a *Client) PatchServicePolicy(params *PatchServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchServicePolicyOK, error)
PatchServicePolicy updates the supplied fields on a service policy
Update the supplied fields on a service policy. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateServicePolicy ¶
func (a *Client) UpdateServicePolicy(params *UpdateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServicePolicyOK, error)
UpdateServicePolicy updates all fields on a service policy
Update all fields on a service policy by id. Requires admin access.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateServicePolicy(params *CreateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServicePolicyCreated, error) DeleteServicePolicy(params *DeleteServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServicePolicyOK, error) DetailServicePolicy(params *DetailServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailServicePolicyOK, error) ListServicePolicies(params *ListServicePoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePoliciesOK, error) ListServicePolicyIdentities(params *ListServicePolicyIdentitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePolicyIdentitiesOK, error) ListServicePolicyPostureChecks(params *ListServicePolicyPostureChecksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePolicyPostureChecksOK, error) ListServicePolicyServices(params *ListServicePolicyServicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePolicyServicesOK, error) PatchServicePolicy(params *PatchServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchServicePolicyOK, error) UpdateServicePolicy(params *UpdateServicePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServicePolicyOK, 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 service policy API client.
type CreateServicePolicyBadRequest ¶
type CreateServicePolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateServicePolicyBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateServicePolicyBadRequest ¶
func NewCreateServicePolicyBadRequest() *CreateServicePolicyBadRequest
NewCreateServicePolicyBadRequest creates a CreateServicePolicyBadRequest with default headers values
func (*CreateServicePolicyBadRequest) Error ¶
func (o *CreateServicePolicyBadRequest) Error() string
func (*CreateServicePolicyBadRequest) GetPayload ¶
func (o *CreateServicePolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateServicePolicyCreated ¶
type CreateServicePolicyCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateServicePolicyCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateServicePolicyCreated ¶
func NewCreateServicePolicyCreated() *CreateServicePolicyCreated
NewCreateServicePolicyCreated creates a CreateServicePolicyCreated with default headers values
func (*CreateServicePolicyCreated) Error ¶
func (o *CreateServicePolicyCreated) Error() string
func (*CreateServicePolicyCreated) GetPayload ¶
func (o *CreateServicePolicyCreated) GetPayload() *rest_model.CreateEnvelope
type CreateServicePolicyParams ¶
type CreateServicePolicyParams struct { /* Policy. A service policy to create */ Policy *rest_model.ServicePolicyCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateServicePolicyParams contains all the parameters to send to the API endpoint
for the create service policy operation. Typically these are written to a http.Request.
func NewCreateServicePolicyParams ¶
func NewCreateServicePolicyParams() *CreateServicePolicyParams
NewCreateServicePolicyParams creates a new CreateServicePolicyParams 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 NewCreateServicePolicyParamsWithContext ¶
func NewCreateServicePolicyParamsWithContext(ctx context.Context) *CreateServicePolicyParams
NewCreateServicePolicyParamsWithContext creates a new CreateServicePolicyParams object with the ability to set a context for a request.
func NewCreateServicePolicyParamsWithHTTPClient ¶
func NewCreateServicePolicyParamsWithHTTPClient(client *http.Client) *CreateServicePolicyParams
NewCreateServicePolicyParamsWithHTTPClient creates a new CreateServicePolicyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateServicePolicyParamsWithTimeout ¶
func NewCreateServicePolicyParamsWithTimeout(timeout time.Duration) *CreateServicePolicyParams
NewCreateServicePolicyParamsWithTimeout creates a new CreateServicePolicyParams object with the ability to set a timeout on a request.
func (*CreateServicePolicyParams) SetContext ¶
func (o *CreateServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create service policy params
func (*CreateServicePolicyParams) SetDefaults ¶
func (o *CreateServicePolicyParams) SetDefaults()
SetDefaults hydrates default values in the create service policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServicePolicyParams) SetHTTPClient ¶
func (o *CreateServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create service policy params
func (*CreateServicePolicyParams) SetPolicy ¶
func (o *CreateServicePolicyParams) SetPolicy(policy *rest_model.ServicePolicyCreate)
SetPolicy adds the policy to the create service policy params
func (*CreateServicePolicyParams) SetTimeout ¶
func (o *CreateServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create service policy params
func (*CreateServicePolicyParams) WithContext ¶
func (o *CreateServicePolicyParams) WithContext(ctx context.Context) *CreateServicePolicyParams
WithContext adds the context to the create service policy params
func (*CreateServicePolicyParams) WithDefaults ¶
func (o *CreateServicePolicyParams) WithDefaults() *CreateServicePolicyParams
WithDefaults hydrates default values in the create service policy params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServicePolicyParams) WithHTTPClient ¶
func (o *CreateServicePolicyParams) WithHTTPClient(client *http.Client) *CreateServicePolicyParams
WithHTTPClient adds the HTTPClient to the create service policy params
func (*CreateServicePolicyParams) WithPolicy ¶
func (o *CreateServicePolicyParams) WithPolicy(policy *rest_model.ServicePolicyCreate) *CreateServicePolicyParams
WithPolicy adds the policy to the create service policy params
func (*CreateServicePolicyParams) WithTimeout ¶
func (o *CreateServicePolicyParams) WithTimeout(timeout time.Duration) *CreateServicePolicyParams
WithTimeout adds the timeout to the create service policy params
func (*CreateServicePolicyParams) WriteToRequest ¶
func (o *CreateServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateServicePolicyReader ¶
type CreateServicePolicyReader struct {
// contains filtered or unexported fields
}
CreateServicePolicyReader is a Reader for the CreateServicePolicy structure.
func (*CreateServicePolicyReader) ReadResponse ¶
func (o *CreateServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateServicePolicyTooManyRequests ¶ added in v0.26.0
type CreateServicePolicyTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
CreateServicePolicyTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewCreateServicePolicyTooManyRequests ¶ added in v0.26.0
func NewCreateServicePolicyTooManyRequests() *CreateServicePolicyTooManyRequests
NewCreateServicePolicyTooManyRequests creates a CreateServicePolicyTooManyRequests with default headers values
func (*CreateServicePolicyTooManyRequests) Error ¶ added in v0.26.0
func (o *CreateServicePolicyTooManyRequests) Error() string
func (*CreateServicePolicyTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *CreateServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type CreateServicePolicyUnauthorized ¶
type CreateServicePolicyUnauthorized struct {
}CreateServicePolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateServicePolicyUnauthorized ¶
func NewCreateServicePolicyUnauthorized() *CreateServicePolicyUnauthorized
NewCreateServicePolicyUnauthorized creates a CreateServicePolicyUnauthorized with default headers values
func (*CreateServicePolicyUnauthorized) Error ¶
func (o *CreateServicePolicyUnauthorized) Error() string
func (*CreateServicePolicyUnauthorized) GetPayload ¶
func (o *CreateServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServicePolicyBadRequest ¶
type DeleteServicePolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServicePolicyBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteServicePolicyBadRequest ¶
func NewDeleteServicePolicyBadRequest() *DeleteServicePolicyBadRequest
NewDeleteServicePolicyBadRequest creates a DeleteServicePolicyBadRequest with default headers values
func (*DeleteServicePolicyBadRequest) Error ¶
func (o *DeleteServicePolicyBadRequest) Error() string
func (*DeleteServicePolicyBadRequest) GetPayload ¶
func (o *DeleteServicePolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServicePolicyConflict ¶
type DeleteServicePolicyConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServicePolicyConflict describes a response with status code 409, with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteServicePolicyConflict ¶
func NewDeleteServicePolicyConflict() *DeleteServicePolicyConflict
NewDeleteServicePolicyConflict creates a DeleteServicePolicyConflict with default headers values
func (*DeleteServicePolicyConflict) Error ¶
func (o *DeleteServicePolicyConflict) Error() string
func (*DeleteServicePolicyConflict) GetPayload ¶
func (o *DeleteServicePolicyConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServicePolicyOK ¶
type DeleteServicePolicyOK struct {
Payload *rest_model.Empty
}
DeleteServicePolicyOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteServicePolicyOK ¶
func NewDeleteServicePolicyOK() *DeleteServicePolicyOK
NewDeleteServicePolicyOK creates a DeleteServicePolicyOK with default headers values
func (*DeleteServicePolicyOK) Error ¶
func (o *DeleteServicePolicyOK) Error() string
func (*DeleteServicePolicyOK) GetPayload ¶
func (o *DeleteServicePolicyOK) GetPayload() *rest_model.Empty
type DeleteServicePolicyParams ¶
type DeleteServicePolicyParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServicePolicyParams contains all the parameters to send to the API endpoint
for the delete service policy operation. Typically these are written to a http.Request.
func NewDeleteServicePolicyParams ¶
func NewDeleteServicePolicyParams() *DeleteServicePolicyParams
NewDeleteServicePolicyParams creates a new DeleteServicePolicyParams 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 NewDeleteServicePolicyParamsWithContext ¶
func NewDeleteServicePolicyParamsWithContext(ctx context.Context) *DeleteServicePolicyParams
NewDeleteServicePolicyParamsWithContext creates a new DeleteServicePolicyParams object with the ability to set a context for a request.
func NewDeleteServicePolicyParamsWithHTTPClient ¶
func NewDeleteServicePolicyParamsWithHTTPClient(client *http.Client) *DeleteServicePolicyParams
NewDeleteServicePolicyParamsWithHTTPClient creates a new DeleteServicePolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteServicePolicyParamsWithTimeout ¶
func NewDeleteServicePolicyParamsWithTimeout(timeout time.Duration) *DeleteServicePolicyParams
NewDeleteServicePolicyParamsWithTimeout creates a new DeleteServicePolicyParams object with the ability to set a timeout on a request.
func (*DeleteServicePolicyParams) SetContext ¶
func (o *DeleteServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service policy params
func (*DeleteServicePolicyParams) SetDefaults ¶
func (o *DeleteServicePolicyParams) SetDefaults()
SetDefaults hydrates default values in the delete service policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServicePolicyParams) SetHTTPClient ¶
func (o *DeleteServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service policy params
func (*DeleteServicePolicyParams) SetID ¶
func (o *DeleteServicePolicyParams) SetID(id string)
SetID adds the id to the delete service policy params
func (*DeleteServicePolicyParams) SetTimeout ¶
func (o *DeleteServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete service policy params
func (*DeleteServicePolicyParams) WithContext ¶
func (o *DeleteServicePolicyParams) WithContext(ctx context.Context) *DeleteServicePolicyParams
WithContext adds the context to the delete service policy params
func (*DeleteServicePolicyParams) WithDefaults ¶
func (o *DeleteServicePolicyParams) WithDefaults() *DeleteServicePolicyParams
WithDefaults hydrates default values in the delete service policy params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServicePolicyParams) WithHTTPClient ¶
func (o *DeleteServicePolicyParams) WithHTTPClient(client *http.Client) *DeleteServicePolicyParams
WithHTTPClient adds the HTTPClient to the delete service policy params
func (*DeleteServicePolicyParams) WithID ¶
func (o *DeleteServicePolicyParams) WithID(id string) *DeleteServicePolicyParams
WithID adds the id to the delete service policy params
func (*DeleteServicePolicyParams) WithTimeout ¶
func (o *DeleteServicePolicyParams) WithTimeout(timeout time.Duration) *DeleteServicePolicyParams
WithTimeout adds the timeout to the delete service policy params
func (*DeleteServicePolicyParams) WriteToRequest ¶
func (o *DeleteServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServicePolicyReader ¶
type DeleteServicePolicyReader struct {
// contains filtered or unexported fields
}
DeleteServicePolicyReader is a Reader for the DeleteServicePolicy structure.
func (*DeleteServicePolicyReader) ReadResponse ¶
func (o *DeleteServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteServicePolicyTooManyRequests ¶ added in v0.26.0
type DeleteServicePolicyTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteServicePolicyTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewDeleteServicePolicyTooManyRequests ¶ added in v0.26.0
func NewDeleteServicePolicyTooManyRequests() *DeleteServicePolicyTooManyRequests
NewDeleteServicePolicyTooManyRequests creates a DeleteServicePolicyTooManyRequests with default headers values
func (*DeleteServicePolicyTooManyRequests) Error ¶ added in v0.26.0
func (o *DeleteServicePolicyTooManyRequests) Error() string
func (*DeleteServicePolicyTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *DeleteServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type DeleteServicePolicyUnauthorized ¶
type DeleteServicePolicyUnauthorized struct {
}DeleteServicePolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteServicePolicyUnauthorized ¶
func NewDeleteServicePolicyUnauthorized() *DeleteServicePolicyUnauthorized
NewDeleteServicePolicyUnauthorized creates a DeleteServicePolicyUnauthorized with default headers values
func (*DeleteServicePolicyUnauthorized) Error ¶
func (o *DeleteServicePolicyUnauthorized) Error() string
func (*DeleteServicePolicyUnauthorized) GetPayload ¶
func (o *DeleteServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailServicePolicyNotFound ¶
type DetailServicePolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailServicePolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailServicePolicyNotFound ¶
func NewDetailServicePolicyNotFound() *DetailServicePolicyNotFound
NewDetailServicePolicyNotFound creates a DetailServicePolicyNotFound with default headers values
func (*DetailServicePolicyNotFound) Error ¶
func (o *DetailServicePolicyNotFound) Error() string
func (*DetailServicePolicyNotFound) GetPayload ¶
func (o *DetailServicePolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailServicePolicyOK ¶
type DetailServicePolicyOK struct {
Payload *rest_model.DetailServicePolicyEnvelop
}
DetailServicePolicyOK describes a response with status code 200, with default header values.
A single service policy
func NewDetailServicePolicyOK ¶
func NewDetailServicePolicyOK() *DetailServicePolicyOK
NewDetailServicePolicyOK creates a DetailServicePolicyOK with default headers values
func (*DetailServicePolicyOK) Error ¶
func (o *DetailServicePolicyOK) Error() string
func (*DetailServicePolicyOK) GetPayload ¶
func (o *DetailServicePolicyOK) GetPayload() *rest_model.DetailServicePolicyEnvelop
type DetailServicePolicyParams ¶
type DetailServicePolicyParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailServicePolicyParams contains all the parameters to send to the API endpoint
for the detail service policy operation. Typically these are written to a http.Request.
func NewDetailServicePolicyParams ¶
func NewDetailServicePolicyParams() *DetailServicePolicyParams
NewDetailServicePolicyParams creates a new DetailServicePolicyParams 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 NewDetailServicePolicyParamsWithContext ¶
func NewDetailServicePolicyParamsWithContext(ctx context.Context) *DetailServicePolicyParams
NewDetailServicePolicyParamsWithContext creates a new DetailServicePolicyParams object with the ability to set a context for a request.
func NewDetailServicePolicyParamsWithHTTPClient ¶
func NewDetailServicePolicyParamsWithHTTPClient(client *http.Client) *DetailServicePolicyParams
NewDetailServicePolicyParamsWithHTTPClient creates a new DetailServicePolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDetailServicePolicyParamsWithTimeout ¶
func NewDetailServicePolicyParamsWithTimeout(timeout time.Duration) *DetailServicePolicyParams
NewDetailServicePolicyParamsWithTimeout creates a new DetailServicePolicyParams object with the ability to set a timeout on a request.
func (*DetailServicePolicyParams) SetContext ¶
func (o *DetailServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the detail service policy params
func (*DetailServicePolicyParams) SetDefaults ¶
func (o *DetailServicePolicyParams) SetDefaults()
SetDefaults hydrates default values in the detail service policy params (not the query body).
All values with no default are reset to their zero value.
func (*DetailServicePolicyParams) SetHTTPClient ¶
func (o *DetailServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail service policy params
func (*DetailServicePolicyParams) SetID ¶
func (o *DetailServicePolicyParams) SetID(id string)
SetID adds the id to the detail service policy params
func (*DetailServicePolicyParams) SetTimeout ¶
func (o *DetailServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail service policy params
func (*DetailServicePolicyParams) WithContext ¶
func (o *DetailServicePolicyParams) WithContext(ctx context.Context) *DetailServicePolicyParams
WithContext adds the context to the detail service policy params
func (*DetailServicePolicyParams) WithDefaults ¶
func (o *DetailServicePolicyParams) WithDefaults() *DetailServicePolicyParams
WithDefaults hydrates default values in the detail service policy params (not the query body).
All values with no default are reset to their zero value.
func (*DetailServicePolicyParams) WithHTTPClient ¶
func (o *DetailServicePolicyParams) WithHTTPClient(client *http.Client) *DetailServicePolicyParams
WithHTTPClient adds the HTTPClient to the detail service policy params
func (*DetailServicePolicyParams) WithID ¶
func (o *DetailServicePolicyParams) WithID(id string) *DetailServicePolicyParams
WithID adds the id to the detail service policy params
func (*DetailServicePolicyParams) WithTimeout ¶
func (o *DetailServicePolicyParams) WithTimeout(timeout time.Duration) *DetailServicePolicyParams
WithTimeout adds the timeout to the detail service policy params
func (*DetailServicePolicyParams) WriteToRequest ¶
func (o *DetailServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailServicePolicyReader ¶
type DetailServicePolicyReader struct {
// contains filtered or unexported fields
}
DetailServicePolicyReader is a Reader for the DetailServicePolicy structure.
func (*DetailServicePolicyReader) ReadResponse ¶
func (o *DetailServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailServicePolicyTooManyRequests ¶ added in v0.26.0
type DetailServicePolicyTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
DetailServicePolicyTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewDetailServicePolicyTooManyRequests ¶ added in v0.26.0
func NewDetailServicePolicyTooManyRequests() *DetailServicePolicyTooManyRequests
NewDetailServicePolicyTooManyRequests creates a DetailServicePolicyTooManyRequests with default headers values
func (*DetailServicePolicyTooManyRequests) Error ¶ added in v0.26.0
func (o *DetailServicePolicyTooManyRequests) Error() string
func (*DetailServicePolicyTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *DetailServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type DetailServicePolicyUnauthorized ¶
type DetailServicePolicyUnauthorized struct {
}DetailServicePolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailServicePolicyUnauthorized ¶
func NewDetailServicePolicyUnauthorized() *DetailServicePolicyUnauthorized
NewDetailServicePolicyUnauthorized creates a DetailServicePolicyUnauthorized with default headers values
func (*DetailServicePolicyUnauthorized) Error ¶
func (o *DetailServicePolicyUnauthorized) Error() string
func (*DetailServicePolicyUnauthorized) GetPayload ¶
func (o *DetailServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePoliciesBadRequest ¶
type ListServicePoliciesBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePoliciesBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewListServicePoliciesBadRequest ¶
func NewListServicePoliciesBadRequest() *ListServicePoliciesBadRequest
NewListServicePoliciesBadRequest creates a ListServicePoliciesBadRequest with default headers values
func (*ListServicePoliciesBadRequest) Error ¶
func (o *ListServicePoliciesBadRequest) Error() string
func (*ListServicePoliciesBadRequest) GetPayload ¶
func (o *ListServicePoliciesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePoliciesOK ¶
type ListServicePoliciesOK struct {
Payload *rest_model.ListServicePoliciesEnvelope
}
ListServicePoliciesOK describes a response with status code 200, with default header values.
A list of service policies
func NewListServicePoliciesOK ¶
func NewListServicePoliciesOK() *ListServicePoliciesOK
NewListServicePoliciesOK creates a ListServicePoliciesOK with default headers values
func (*ListServicePoliciesOK) Error ¶
func (o *ListServicePoliciesOK) Error() string
func (*ListServicePoliciesOK) GetPayload ¶
func (o *ListServicePoliciesOK) GetPayload() *rest_model.ListServicePoliciesEnvelope
type ListServicePoliciesParams ¶
type ListServicePoliciesParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePoliciesParams contains all the parameters to send to the API endpoint
for the list service policies operation. Typically these are written to a http.Request.
func NewListServicePoliciesParams ¶
func NewListServicePoliciesParams() *ListServicePoliciesParams
NewListServicePoliciesParams creates a new ListServicePoliciesParams 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 NewListServicePoliciesParamsWithContext ¶
func NewListServicePoliciesParamsWithContext(ctx context.Context) *ListServicePoliciesParams
NewListServicePoliciesParamsWithContext creates a new ListServicePoliciesParams object with the ability to set a context for a request.
func NewListServicePoliciesParamsWithHTTPClient ¶
func NewListServicePoliciesParamsWithHTTPClient(client *http.Client) *ListServicePoliciesParams
NewListServicePoliciesParamsWithHTTPClient creates a new ListServicePoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewListServicePoliciesParamsWithTimeout ¶
func NewListServicePoliciesParamsWithTimeout(timeout time.Duration) *ListServicePoliciesParams
NewListServicePoliciesParamsWithTimeout creates a new ListServicePoliciesParams object with the ability to set a timeout on a request.
func (*ListServicePoliciesParams) SetContext ¶
func (o *ListServicePoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service policies params
func (*ListServicePoliciesParams) SetDefaults ¶
func (o *ListServicePoliciesParams) SetDefaults()
SetDefaults hydrates default values in the list service policies params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePoliciesParams) SetFilter ¶
func (o *ListServicePoliciesParams) SetFilter(filter *string)
SetFilter adds the filter to the list service policies params
func (*ListServicePoliciesParams) SetHTTPClient ¶
func (o *ListServicePoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service policies params
func (*ListServicePoliciesParams) SetLimit ¶
func (o *ListServicePoliciesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service policies params
func (*ListServicePoliciesParams) SetOffset ¶
func (o *ListServicePoliciesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service policies params
func (*ListServicePoliciesParams) SetTimeout ¶
func (o *ListServicePoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service policies params
func (*ListServicePoliciesParams) WithContext ¶
func (o *ListServicePoliciesParams) WithContext(ctx context.Context) *ListServicePoliciesParams
WithContext adds the context to the list service policies params
func (*ListServicePoliciesParams) WithDefaults ¶
func (o *ListServicePoliciesParams) WithDefaults() *ListServicePoliciesParams
WithDefaults hydrates default values in the list service policies params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePoliciesParams) WithFilter ¶
func (o *ListServicePoliciesParams) WithFilter(filter *string) *ListServicePoliciesParams
WithFilter adds the filter to the list service policies params
func (*ListServicePoliciesParams) WithHTTPClient ¶
func (o *ListServicePoliciesParams) WithHTTPClient(client *http.Client) *ListServicePoliciesParams
WithHTTPClient adds the HTTPClient to the list service policies params
func (*ListServicePoliciesParams) WithLimit ¶
func (o *ListServicePoliciesParams) WithLimit(limit *int64) *ListServicePoliciesParams
WithLimit adds the limit to the list service policies params
func (*ListServicePoliciesParams) WithOffset ¶
func (o *ListServicePoliciesParams) WithOffset(offset *int64) *ListServicePoliciesParams
WithOffset adds the offset to the list service policies params
func (*ListServicePoliciesParams) WithTimeout ¶
func (o *ListServicePoliciesParams) WithTimeout(timeout time.Duration) *ListServicePoliciesParams
WithTimeout adds the timeout to the list service policies params
func (*ListServicePoliciesParams) WriteToRequest ¶
func (o *ListServicePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePoliciesReader ¶
type ListServicePoliciesReader struct {
// contains filtered or unexported fields
}
ListServicePoliciesReader is a Reader for the ListServicePolicies structure.
func (*ListServicePoliciesReader) ReadResponse ¶
func (o *ListServicePoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicePoliciesTooManyRequests ¶ added in v0.26.0
type ListServicePoliciesTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePoliciesTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewListServicePoliciesTooManyRequests ¶ added in v0.26.0
func NewListServicePoliciesTooManyRequests() *ListServicePoliciesTooManyRequests
NewListServicePoliciesTooManyRequests creates a ListServicePoliciesTooManyRequests with default headers values
func (*ListServicePoliciesTooManyRequests) Error ¶ added in v0.26.0
func (o *ListServicePoliciesTooManyRequests) Error() string
func (*ListServicePoliciesTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *ListServicePoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePoliciesUnauthorized ¶
type ListServicePoliciesUnauthorized struct {
}ListServicePoliciesUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicePoliciesUnauthorized ¶
func NewListServicePoliciesUnauthorized() *ListServicePoliciesUnauthorized
NewListServicePoliciesUnauthorized creates a ListServicePoliciesUnauthorized with default headers values
func (*ListServicePoliciesUnauthorized) Error ¶
func (o *ListServicePoliciesUnauthorized) Error() string
func (*ListServicePoliciesUnauthorized) GetPayload ¶
func (o *ListServicePoliciesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyIdentitiesBadRequest ¶
type ListServicePolicyIdentitiesBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyIdentitiesBadRequest describes a response with status code 400, with default header values.
The requested resource does not exist
func NewListServicePolicyIdentitiesBadRequest ¶
func NewListServicePolicyIdentitiesBadRequest() *ListServicePolicyIdentitiesBadRequest
NewListServicePolicyIdentitiesBadRequest creates a ListServicePolicyIdentitiesBadRequest with default headers values
func (*ListServicePolicyIdentitiesBadRequest) Error ¶
func (o *ListServicePolicyIdentitiesBadRequest) Error() string
func (*ListServicePolicyIdentitiesBadRequest) GetPayload ¶
func (o *ListServicePolicyIdentitiesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyIdentitiesOK ¶
type ListServicePolicyIdentitiesOK struct {
Payload *rest_model.ListIdentitiesEnvelope
}
ListServicePolicyIdentitiesOK describes a response with status code 200, with default header values.
A list of identities
func NewListServicePolicyIdentitiesOK ¶
func NewListServicePolicyIdentitiesOK() *ListServicePolicyIdentitiesOK
NewListServicePolicyIdentitiesOK creates a ListServicePolicyIdentitiesOK with default headers values
func (*ListServicePolicyIdentitiesOK) Error ¶
func (o *ListServicePolicyIdentitiesOK) Error() string
func (*ListServicePolicyIdentitiesOK) GetPayload ¶
func (o *ListServicePolicyIdentitiesOK) GetPayload() *rest_model.ListIdentitiesEnvelope
type ListServicePolicyIdentitiesParams ¶
type ListServicePolicyIdentitiesParams struct { // Filter. Filter *string /* ID. The id of the requested resource */ ID string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePolicyIdentitiesParams contains all the parameters to send to the API endpoint
for the list service policy identities operation. Typically these are written to a http.Request.
func NewListServicePolicyIdentitiesParams ¶
func NewListServicePolicyIdentitiesParams() *ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParams creates a new ListServicePolicyIdentitiesParams 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 NewListServicePolicyIdentitiesParamsWithContext ¶
func NewListServicePolicyIdentitiesParamsWithContext(ctx context.Context) *ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParamsWithContext creates a new ListServicePolicyIdentitiesParams object with the ability to set a context for a request.
func NewListServicePolicyIdentitiesParamsWithHTTPClient ¶
func NewListServicePolicyIdentitiesParamsWithHTTPClient(client *http.Client) *ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParamsWithHTTPClient creates a new ListServicePolicyIdentitiesParams object with the ability to set a custom HTTPClient for a request.
func NewListServicePolicyIdentitiesParamsWithTimeout ¶
func NewListServicePolicyIdentitiesParamsWithTimeout(timeout time.Duration) *ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParamsWithTimeout creates a new ListServicePolicyIdentitiesParams object with the ability to set a timeout on a request.
func (*ListServicePolicyIdentitiesParams) SetContext ¶
func (o *ListServicePolicyIdentitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetDefaults ¶
func (o *ListServicePolicyIdentitiesParams) SetDefaults()
SetDefaults hydrates default values in the list service policy identities params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePolicyIdentitiesParams) SetFilter ¶
func (o *ListServicePolicyIdentitiesParams) SetFilter(filter *string)
SetFilter adds the filter to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetHTTPClient ¶
func (o *ListServicePolicyIdentitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetID ¶
func (o *ListServicePolicyIdentitiesParams) SetID(id string)
SetID adds the id to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetLimit ¶
func (o *ListServicePolicyIdentitiesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetOffset ¶
func (o *ListServicePolicyIdentitiesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) SetTimeout ¶
func (o *ListServicePolicyIdentitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithContext ¶
func (o *ListServicePolicyIdentitiesParams) WithContext(ctx context.Context) *ListServicePolicyIdentitiesParams
WithContext adds the context to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithDefaults ¶
func (o *ListServicePolicyIdentitiesParams) WithDefaults() *ListServicePolicyIdentitiesParams
WithDefaults hydrates default values in the list service policy identities params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePolicyIdentitiesParams) WithFilter ¶
func (o *ListServicePolicyIdentitiesParams) WithFilter(filter *string) *ListServicePolicyIdentitiesParams
WithFilter adds the filter to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithHTTPClient ¶
func (o *ListServicePolicyIdentitiesParams) WithHTTPClient(client *http.Client) *ListServicePolicyIdentitiesParams
WithHTTPClient adds the HTTPClient to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithID ¶
func (o *ListServicePolicyIdentitiesParams) WithID(id string) *ListServicePolicyIdentitiesParams
WithID adds the id to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithLimit ¶
func (o *ListServicePolicyIdentitiesParams) WithLimit(limit *int64) *ListServicePolicyIdentitiesParams
WithLimit adds the limit to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithOffset ¶
func (o *ListServicePolicyIdentitiesParams) WithOffset(offset *int64) *ListServicePolicyIdentitiesParams
WithOffset adds the offset to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WithTimeout ¶
func (o *ListServicePolicyIdentitiesParams) WithTimeout(timeout time.Duration) *ListServicePolicyIdentitiesParams
WithTimeout adds the timeout to the list service policy identities params
func (*ListServicePolicyIdentitiesParams) WriteToRequest ¶
func (o *ListServicePolicyIdentitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePolicyIdentitiesReader ¶
type ListServicePolicyIdentitiesReader struct {
// contains filtered or unexported fields
}
ListServicePolicyIdentitiesReader is a Reader for the ListServicePolicyIdentities structure.
func (*ListServicePolicyIdentitiesReader) ReadResponse ¶
func (o *ListServicePolicyIdentitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicePolicyIdentitiesTooManyRequests ¶ added in v0.26.0
type ListServicePolicyIdentitiesTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyIdentitiesTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewListServicePolicyIdentitiesTooManyRequests ¶ added in v0.26.0
func NewListServicePolicyIdentitiesTooManyRequests() *ListServicePolicyIdentitiesTooManyRequests
NewListServicePolicyIdentitiesTooManyRequests creates a ListServicePolicyIdentitiesTooManyRequests with default headers values
func (*ListServicePolicyIdentitiesTooManyRequests) Error ¶ added in v0.26.0
func (o *ListServicePolicyIdentitiesTooManyRequests) Error() string
func (*ListServicePolicyIdentitiesTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *ListServicePolicyIdentitiesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyIdentitiesUnauthorized ¶
type ListServicePolicyIdentitiesUnauthorized struct {
}ListServicePolicyIdentitiesUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicePolicyIdentitiesUnauthorized ¶
func NewListServicePolicyIdentitiesUnauthorized() *ListServicePolicyIdentitiesUnauthorized
NewListServicePolicyIdentitiesUnauthorized creates a ListServicePolicyIdentitiesUnauthorized with default headers values
func (*ListServicePolicyIdentitiesUnauthorized) Error ¶
func (o *ListServicePolicyIdentitiesUnauthorized) Error() string
func (*ListServicePolicyIdentitiesUnauthorized) GetPayload ¶
func (o *ListServicePolicyIdentitiesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyPostureChecksBadRequest ¶
type ListServicePolicyPostureChecksBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyPostureChecksBadRequest describes a response with status code 400, with default header values.
The requested resource does not exist
func NewListServicePolicyPostureChecksBadRequest ¶
func NewListServicePolicyPostureChecksBadRequest() *ListServicePolicyPostureChecksBadRequest
NewListServicePolicyPostureChecksBadRequest creates a ListServicePolicyPostureChecksBadRequest with default headers values
func (*ListServicePolicyPostureChecksBadRequest) Error ¶
func (o *ListServicePolicyPostureChecksBadRequest) Error() string
func (*ListServicePolicyPostureChecksBadRequest) GetPayload ¶
func (o *ListServicePolicyPostureChecksBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyPostureChecksOK ¶
type ListServicePolicyPostureChecksOK struct {
Payload *rest_model.ListPostureCheckEnvelope
}
ListServicePolicyPostureChecksOK describes a response with status code 200, with default header values.
A list of posture checks
func NewListServicePolicyPostureChecksOK ¶
func NewListServicePolicyPostureChecksOK() *ListServicePolicyPostureChecksOK
NewListServicePolicyPostureChecksOK creates a ListServicePolicyPostureChecksOK with default headers values
func (*ListServicePolicyPostureChecksOK) Error ¶
func (o *ListServicePolicyPostureChecksOK) Error() string
func (*ListServicePolicyPostureChecksOK) GetPayload ¶
func (o *ListServicePolicyPostureChecksOK) GetPayload() *rest_model.ListPostureCheckEnvelope
type ListServicePolicyPostureChecksParams ¶
type ListServicePolicyPostureChecksParams struct { // Filter. Filter *string /* ID. The id of the requested resource */ ID string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePolicyPostureChecksParams contains all the parameters to send to the API endpoint
for the list service policy posture checks operation. Typically these are written to a http.Request.
func NewListServicePolicyPostureChecksParams ¶
func NewListServicePolicyPostureChecksParams() *ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParams creates a new ListServicePolicyPostureChecksParams 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 NewListServicePolicyPostureChecksParamsWithContext ¶
func NewListServicePolicyPostureChecksParamsWithContext(ctx context.Context) *ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParamsWithContext creates a new ListServicePolicyPostureChecksParams object with the ability to set a context for a request.
func NewListServicePolicyPostureChecksParamsWithHTTPClient ¶
func NewListServicePolicyPostureChecksParamsWithHTTPClient(client *http.Client) *ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParamsWithHTTPClient creates a new ListServicePolicyPostureChecksParams object with the ability to set a custom HTTPClient for a request.
func NewListServicePolicyPostureChecksParamsWithTimeout ¶
func NewListServicePolicyPostureChecksParamsWithTimeout(timeout time.Duration) *ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParamsWithTimeout creates a new ListServicePolicyPostureChecksParams object with the ability to set a timeout on a request.
func (*ListServicePolicyPostureChecksParams) SetContext ¶
func (o *ListServicePolicyPostureChecksParams) SetContext(ctx context.Context)
SetContext adds the context to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetDefaults ¶
func (o *ListServicePolicyPostureChecksParams) SetDefaults()
SetDefaults hydrates default values in the list service policy posture checks params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePolicyPostureChecksParams) SetFilter ¶
func (o *ListServicePolicyPostureChecksParams) SetFilter(filter *string)
SetFilter adds the filter to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetHTTPClient ¶
func (o *ListServicePolicyPostureChecksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetID ¶
func (o *ListServicePolicyPostureChecksParams) SetID(id string)
SetID adds the id to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetLimit ¶
func (o *ListServicePolicyPostureChecksParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetOffset ¶
func (o *ListServicePolicyPostureChecksParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) SetTimeout ¶
func (o *ListServicePolicyPostureChecksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithContext ¶
func (o *ListServicePolicyPostureChecksParams) WithContext(ctx context.Context) *ListServicePolicyPostureChecksParams
WithContext adds the context to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithDefaults ¶
func (o *ListServicePolicyPostureChecksParams) WithDefaults() *ListServicePolicyPostureChecksParams
WithDefaults hydrates default values in the list service policy posture checks params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePolicyPostureChecksParams) WithFilter ¶
func (o *ListServicePolicyPostureChecksParams) WithFilter(filter *string) *ListServicePolicyPostureChecksParams
WithFilter adds the filter to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithHTTPClient ¶
func (o *ListServicePolicyPostureChecksParams) WithHTTPClient(client *http.Client) *ListServicePolicyPostureChecksParams
WithHTTPClient adds the HTTPClient to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithID ¶
func (o *ListServicePolicyPostureChecksParams) WithID(id string) *ListServicePolicyPostureChecksParams
WithID adds the id to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithLimit ¶
func (o *ListServicePolicyPostureChecksParams) WithLimit(limit *int64) *ListServicePolicyPostureChecksParams
WithLimit adds the limit to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithOffset ¶
func (o *ListServicePolicyPostureChecksParams) WithOffset(offset *int64) *ListServicePolicyPostureChecksParams
WithOffset adds the offset to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WithTimeout ¶
func (o *ListServicePolicyPostureChecksParams) WithTimeout(timeout time.Duration) *ListServicePolicyPostureChecksParams
WithTimeout adds the timeout to the list service policy posture checks params
func (*ListServicePolicyPostureChecksParams) WriteToRequest ¶
func (o *ListServicePolicyPostureChecksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePolicyPostureChecksReader ¶
type ListServicePolicyPostureChecksReader struct {
// contains filtered or unexported fields
}
ListServicePolicyPostureChecksReader is a Reader for the ListServicePolicyPostureChecks structure.
func (*ListServicePolicyPostureChecksReader) ReadResponse ¶
func (o *ListServicePolicyPostureChecksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicePolicyPostureChecksTooManyRequests ¶ added in v0.26.0
type ListServicePolicyPostureChecksTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyPostureChecksTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewListServicePolicyPostureChecksTooManyRequests ¶ added in v0.26.0
func NewListServicePolicyPostureChecksTooManyRequests() *ListServicePolicyPostureChecksTooManyRequests
NewListServicePolicyPostureChecksTooManyRequests creates a ListServicePolicyPostureChecksTooManyRequests with default headers values
func (*ListServicePolicyPostureChecksTooManyRequests) Error ¶ added in v0.26.0
func (o *ListServicePolicyPostureChecksTooManyRequests) Error() string
func (*ListServicePolicyPostureChecksTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *ListServicePolicyPostureChecksTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyPostureChecksUnauthorized ¶
type ListServicePolicyPostureChecksUnauthorized struct {
}ListServicePolicyPostureChecksUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicePolicyPostureChecksUnauthorized ¶
func NewListServicePolicyPostureChecksUnauthorized() *ListServicePolicyPostureChecksUnauthorized
NewListServicePolicyPostureChecksUnauthorized creates a ListServicePolicyPostureChecksUnauthorized with default headers values
func (*ListServicePolicyPostureChecksUnauthorized) Error ¶
func (o *ListServicePolicyPostureChecksUnauthorized) Error() string
func (*ListServicePolicyPostureChecksUnauthorized) GetPayload ¶
func (o *ListServicePolicyPostureChecksUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyServicesBadRequest ¶
type ListServicePolicyServicesBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyServicesBadRequest describes a response with status code 400, with default header values.
The requested resource does not exist
func NewListServicePolicyServicesBadRequest ¶
func NewListServicePolicyServicesBadRequest() *ListServicePolicyServicesBadRequest
NewListServicePolicyServicesBadRequest creates a ListServicePolicyServicesBadRequest with default headers values
func (*ListServicePolicyServicesBadRequest) Error ¶
func (o *ListServicePolicyServicesBadRequest) Error() string
func (*ListServicePolicyServicesBadRequest) GetPayload ¶
func (o *ListServicePolicyServicesBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyServicesOK ¶
type ListServicePolicyServicesOK struct {
Payload *rest_model.ListServicesEnvelope
}
ListServicePolicyServicesOK describes a response with status code 200, with default header values.
A list of services
func NewListServicePolicyServicesOK ¶
func NewListServicePolicyServicesOK() *ListServicePolicyServicesOK
NewListServicePolicyServicesOK creates a ListServicePolicyServicesOK with default headers values
func (*ListServicePolicyServicesOK) Error ¶
func (o *ListServicePolicyServicesOK) Error() string
func (*ListServicePolicyServicesOK) GetPayload ¶
func (o *ListServicePolicyServicesOK) GetPayload() *rest_model.ListServicesEnvelope
type ListServicePolicyServicesParams ¶
type ListServicePolicyServicesParams struct { // Filter. Filter *string /* ID. The id of the requested resource */ ID string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePolicyServicesParams contains all the parameters to send to the API endpoint
for the list service policy services operation. Typically these are written to a http.Request.
func NewListServicePolicyServicesParams ¶
func NewListServicePolicyServicesParams() *ListServicePolicyServicesParams
NewListServicePolicyServicesParams creates a new ListServicePolicyServicesParams 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 NewListServicePolicyServicesParamsWithContext ¶
func NewListServicePolicyServicesParamsWithContext(ctx context.Context) *ListServicePolicyServicesParams
NewListServicePolicyServicesParamsWithContext creates a new ListServicePolicyServicesParams object with the ability to set a context for a request.
func NewListServicePolicyServicesParamsWithHTTPClient ¶
func NewListServicePolicyServicesParamsWithHTTPClient(client *http.Client) *ListServicePolicyServicesParams
NewListServicePolicyServicesParamsWithHTTPClient creates a new ListServicePolicyServicesParams object with the ability to set a custom HTTPClient for a request.
func NewListServicePolicyServicesParamsWithTimeout ¶
func NewListServicePolicyServicesParamsWithTimeout(timeout time.Duration) *ListServicePolicyServicesParams
NewListServicePolicyServicesParamsWithTimeout creates a new ListServicePolicyServicesParams object with the ability to set a timeout on a request.
func (*ListServicePolicyServicesParams) SetContext ¶
func (o *ListServicePolicyServicesParams) SetContext(ctx context.Context)
SetContext adds the context to the list service policy services params
func (*ListServicePolicyServicesParams) SetDefaults ¶
func (o *ListServicePolicyServicesParams) SetDefaults()
SetDefaults hydrates default values in the list service policy services params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePolicyServicesParams) SetFilter ¶
func (o *ListServicePolicyServicesParams) SetFilter(filter *string)
SetFilter adds the filter to the list service policy services params
func (*ListServicePolicyServicesParams) SetHTTPClient ¶
func (o *ListServicePolicyServicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service policy services params
func (*ListServicePolicyServicesParams) SetID ¶
func (o *ListServicePolicyServicesParams) SetID(id string)
SetID adds the id to the list service policy services params
func (*ListServicePolicyServicesParams) SetLimit ¶
func (o *ListServicePolicyServicesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list service policy services params
func (*ListServicePolicyServicesParams) SetOffset ¶
func (o *ListServicePolicyServicesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list service policy services params
func (*ListServicePolicyServicesParams) SetTimeout ¶
func (o *ListServicePolicyServicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service policy services params
func (*ListServicePolicyServicesParams) WithContext ¶
func (o *ListServicePolicyServicesParams) WithContext(ctx context.Context) *ListServicePolicyServicesParams
WithContext adds the context to the list service policy services params
func (*ListServicePolicyServicesParams) WithDefaults ¶
func (o *ListServicePolicyServicesParams) WithDefaults() *ListServicePolicyServicesParams
WithDefaults hydrates default values in the list service policy services params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePolicyServicesParams) WithFilter ¶
func (o *ListServicePolicyServicesParams) WithFilter(filter *string) *ListServicePolicyServicesParams
WithFilter adds the filter to the list service policy services params
func (*ListServicePolicyServicesParams) WithHTTPClient ¶
func (o *ListServicePolicyServicesParams) WithHTTPClient(client *http.Client) *ListServicePolicyServicesParams
WithHTTPClient adds the HTTPClient to the list service policy services params
func (*ListServicePolicyServicesParams) WithID ¶
func (o *ListServicePolicyServicesParams) WithID(id string) *ListServicePolicyServicesParams
WithID adds the id to the list service policy services params
func (*ListServicePolicyServicesParams) WithLimit ¶
func (o *ListServicePolicyServicesParams) WithLimit(limit *int64) *ListServicePolicyServicesParams
WithLimit adds the limit to the list service policy services params
func (*ListServicePolicyServicesParams) WithOffset ¶
func (o *ListServicePolicyServicesParams) WithOffset(offset *int64) *ListServicePolicyServicesParams
WithOffset adds the offset to the list service policy services params
func (*ListServicePolicyServicesParams) WithTimeout ¶
func (o *ListServicePolicyServicesParams) WithTimeout(timeout time.Duration) *ListServicePolicyServicesParams
WithTimeout adds the timeout to the list service policy services params
func (*ListServicePolicyServicesParams) WriteToRequest ¶
func (o *ListServicePolicyServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePolicyServicesReader ¶
type ListServicePolicyServicesReader struct {
// contains filtered or unexported fields
}
ListServicePolicyServicesReader is a Reader for the ListServicePolicyServices structure.
func (*ListServicePolicyServicesReader) ReadResponse ¶
func (o *ListServicePolicyServicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicePolicyServicesTooManyRequests ¶ added in v0.26.0
type ListServicePolicyServicesTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
ListServicePolicyServicesTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewListServicePolicyServicesTooManyRequests ¶ added in v0.26.0
func NewListServicePolicyServicesTooManyRequests() *ListServicePolicyServicesTooManyRequests
NewListServicePolicyServicesTooManyRequests creates a ListServicePolicyServicesTooManyRequests with default headers values
func (*ListServicePolicyServicesTooManyRequests) Error ¶ added in v0.26.0
func (o *ListServicePolicyServicesTooManyRequests) Error() string
func (*ListServicePolicyServicesTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *ListServicePolicyServicesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type ListServicePolicyServicesUnauthorized ¶
type ListServicePolicyServicesUnauthorized struct {
}ListServicePolicyServicesUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListServicePolicyServicesUnauthorized ¶
func NewListServicePolicyServicesUnauthorized() *ListServicePolicyServicesUnauthorized
NewListServicePolicyServicesUnauthorized creates a ListServicePolicyServicesUnauthorized with default headers values
func (*ListServicePolicyServicesUnauthorized) Error ¶
func (o *ListServicePolicyServicesUnauthorized) Error() string
func (*ListServicePolicyServicesUnauthorized) GetPayload ¶
func (o *ListServicePolicyServicesUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchServicePolicyBadRequest ¶
type PatchServicePolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServicePolicyBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchServicePolicyBadRequest ¶
func NewPatchServicePolicyBadRequest() *PatchServicePolicyBadRequest
NewPatchServicePolicyBadRequest creates a PatchServicePolicyBadRequest with default headers values
func (*PatchServicePolicyBadRequest) Error ¶
func (o *PatchServicePolicyBadRequest) Error() string
func (*PatchServicePolicyBadRequest) GetPayload ¶
func (o *PatchServicePolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchServicePolicyNotFound ¶
type PatchServicePolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServicePolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchServicePolicyNotFound ¶
func NewPatchServicePolicyNotFound() *PatchServicePolicyNotFound
NewPatchServicePolicyNotFound creates a PatchServicePolicyNotFound with default headers values
func (*PatchServicePolicyNotFound) Error ¶
func (o *PatchServicePolicyNotFound) Error() string
func (*PatchServicePolicyNotFound) GetPayload ¶
func (o *PatchServicePolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchServicePolicyOK ¶
type PatchServicePolicyOK struct {
Payload *rest_model.Empty
}
PatchServicePolicyOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchServicePolicyOK ¶
func NewPatchServicePolicyOK() *PatchServicePolicyOK
NewPatchServicePolicyOK creates a PatchServicePolicyOK with default headers values
func (*PatchServicePolicyOK) Error ¶
func (o *PatchServicePolicyOK) Error() string
func (*PatchServicePolicyOK) GetPayload ¶
func (o *PatchServicePolicyOK) GetPayload() *rest_model.Empty
type PatchServicePolicyParams ¶
type PatchServicePolicyParams struct { /* ID. The id of the requested resource */ ID string /* Policy. A service policy patch object */ Policy *rest_model.ServicePolicyPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchServicePolicyParams contains all the parameters to send to the API endpoint
for the patch service policy operation. Typically these are written to a http.Request.
func NewPatchServicePolicyParams ¶
func NewPatchServicePolicyParams() *PatchServicePolicyParams
NewPatchServicePolicyParams creates a new PatchServicePolicyParams 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 NewPatchServicePolicyParamsWithContext ¶
func NewPatchServicePolicyParamsWithContext(ctx context.Context) *PatchServicePolicyParams
NewPatchServicePolicyParamsWithContext creates a new PatchServicePolicyParams object with the ability to set a context for a request.
func NewPatchServicePolicyParamsWithHTTPClient ¶
func NewPatchServicePolicyParamsWithHTTPClient(client *http.Client) *PatchServicePolicyParams
NewPatchServicePolicyParamsWithHTTPClient creates a new PatchServicePolicyParams object with the ability to set a custom HTTPClient for a request.
func NewPatchServicePolicyParamsWithTimeout ¶
func NewPatchServicePolicyParamsWithTimeout(timeout time.Duration) *PatchServicePolicyParams
NewPatchServicePolicyParamsWithTimeout creates a new PatchServicePolicyParams object with the ability to set a timeout on a request.
func (*PatchServicePolicyParams) SetContext ¶
func (o *PatchServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the patch service policy params
func (*PatchServicePolicyParams) SetDefaults ¶
func (o *PatchServicePolicyParams) SetDefaults()
SetDefaults hydrates default values in the patch service policy params (not the query body).
All values with no default are reset to their zero value.
func (*PatchServicePolicyParams) SetHTTPClient ¶
func (o *PatchServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch service policy params
func (*PatchServicePolicyParams) SetID ¶
func (o *PatchServicePolicyParams) SetID(id string)
SetID adds the id to the patch service policy params
func (*PatchServicePolicyParams) SetPolicy ¶
func (o *PatchServicePolicyParams) SetPolicy(policy *rest_model.ServicePolicyPatch)
SetPolicy adds the policy to the patch service policy params
func (*PatchServicePolicyParams) SetTimeout ¶
func (o *PatchServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch service policy params
func (*PatchServicePolicyParams) WithContext ¶
func (o *PatchServicePolicyParams) WithContext(ctx context.Context) *PatchServicePolicyParams
WithContext adds the context to the patch service policy params
func (*PatchServicePolicyParams) WithDefaults ¶
func (o *PatchServicePolicyParams) WithDefaults() *PatchServicePolicyParams
WithDefaults hydrates default values in the patch service policy params (not the query body).
All values with no default are reset to their zero value.
func (*PatchServicePolicyParams) WithHTTPClient ¶
func (o *PatchServicePolicyParams) WithHTTPClient(client *http.Client) *PatchServicePolicyParams
WithHTTPClient adds the HTTPClient to the patch service policy params
func (*PatchServicePolicyParams) WithID ¶
func (o *PatchServicePolicyParams) WithID(id string) *PatchServicePolicyParams
WithID adds the id to the patch service policy params
func (*PatchServicePolicyParams) WithPolicy ¶
func (o *PatchServicePolicyParams) WithPolicy(policy *rest_model.ServicePolicyPatch) *PatchServicePolicyParams
WithPolicy adds the policy to the patch service policy params
func (*PatchServicePolicyParams) WithTimeout ¶
func (o *PatchServicePolicyParams) WithTimeout(timeout time.Duration) *PatchServicePolicyParams
WithTimeout adds the timeout to the patch service policy params
func (*PatchServicePolicyParams) WriteToRequest ¶
func (o *PatchServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchServicePolicyReader ¶
type PatchServicePolicyReader struct {
// contains filtered or unexported fields
}
PatchServicePolicyReader is a Reader for the PatchServicePolicy structure.
func (*PatchServicePolicyReader) ReadResponse ¶
func (o *PatchServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchServicePolicyTooManyRequests ¶ added in v0.26.0
type PatchServicePolicyTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
PatchServicePolicyTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewPatchServicePolicyTooManyRequests ¶ added in v0.26.0
func NewPatchServicePolicyTooManyRequests() *PatchServicePolicyTooManyRequests
NewPatchServicePolicyTooManyRequests creates a PatchServicePolicyTooManyRequests with default headers values
func (*PatchServicePolicyTooManyRequests) Error ¶ added in v0.26.0
func (o *PatchServicePolicyTooManyRequests) Error() string
func (*PatchServicePolicyTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *PatchServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type PatchServicePolicyUnauthorized ¶
type PatchServicePolicyUnauthorized struct {
}PatchServicePolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchServicePolicyUnauthorized ¶
func NewPatchServicePolicyUnauthorized() *PatchServicePolicyUnauthorized
NewPatchServicePolicyUnauthorized creates a PatchServicePolicyUnauthorized with default headers values
func (*PatchServicePolicyUnauthorized) Error ¶
func (o *PatchServicePolicyUnauthorized) Error() string
func (*PatchServicePolicyUnauthorized) GetPayload ¶
func (o *PatchServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServicePolicyBadRequest ¶
type UpdateServicePolicyBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServicePolicyBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateServicePolicyBadRequest ¶
func NewUpdateServicePolicyBadRequest() *UpdateServicePolicyBadRequest
NewUpdateServicePolicyBadRequest creates a UpdateServicePolicyBadRequest with default headers values
func (*UpdateServicePolicyBadRequest) Error ¶
func (o *UpdateServicePolicyBadRequest) Error() string
func (*UpdateServicePolicyBadRequest) GetPayload ¶
func (o *UpdateServicePolicyBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServicePolicyNotFound ¶
type UpdateServicePolicyNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServicePolicyNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateServicePolicyNotFound ¶
func NewUpdateServicePolicyNotFound() *UpdateServicePolicyNotFound
NewUpdateServicePolicyNotFound creates a UpdateServicePolicyNotFound with default headers values
func (*UpdateServicePolicyNotFound) Error ¶
func (o *UpdateServicePolicyNotFound) Error() string
func (*UpdateServicePolicyNotFound) GetPayload ¶
func (o *UpdateServicePolicyNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServicePolicyOK ¶
type UpdateServicePolicyOK struct {
Payload *rest_model.Empty
}
UpdateServicePolicyOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateServicePolicyOK ¶
func NewUpdateServicePolicyOK() *UpdateServicePolicyOK
NewUpdateServicePolicyOK creates a UpdateServicePolicyOK with default headers values
func (*UpdateServicePolicyOK) Error ¶
func (o *UpdateServicePolicyOK) Error() string
func (*UpdateServicePolicyOK) GetPayload ¶
func (o *UpdateServicePolicyOK) GetPayload() *rest_model.Empty
type UpdateServicePolicyParams ¶
type UpdateServicePolicyParams struct { /* ID. The id of the requested resource */ ID string /* Policy. A service policy update object */ Policy *rest_model.ServicePolicyUpdate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServicePolicyParams contains all the parameters to send to the API endpoint
for the update service policy operation. Typically these are written to a http.Request.
func NewUpdateServicePolicyParams ¶
func NewUpdateServicePolicyParams() *UpdateServicePolicyParams
NewUpdateServicePolicyParams creates a new UpdateServicePolicyParams 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 NewUpdateServicePolicyParamsWithContext ¶
func NewUpdateServicePolicyParamsWithContext(ctx context.Context) *UpdateServicePolicyParams
NewUpdateServicePolicyParamsWithContext creates a new UpdateServicePolicyParams object with the ability to set a context for a request.
func NewUpdateServicePolicyParamsWithHTTPClient ¶
func NewUpdateServicePolicyParamsWithHTTPClient(client *http.Client) *UpdateServicePolicyParams
NewUpdateServicePolicyParamsWithHTTPClient creates a new UpdateServicePolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateServicePolicyParamsWithTimeout ¶
func NewUpdateServicePolicyParamsWithTimeout(timeout time.Duration) *UpdateServicePolicyParams
NewUpdateServicePolicyParamsWithTimeout creates a new UpdateServicePolicyParams object with the ability to set a timeout on a request.
func (*UpdateServicePolicyParams) SetContext ¶
func (o *UpdateServicePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update service policy params
func (*UpdateServicePolicyParams) SetDefaults ¶
func (o *UpdateServicePolicyParams) SetDefaults()
SetDefaults hydrates default values in the update service policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServicePolicyParams) SetHTTPClient ¶
func (o *UpdateServicePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update service policy params
func (*UpdateServicePolicyParams) SetID ¶
func (o *UpdateServicePolicyParams) SetID(id string)
SetID adds the id to the update service policy params
func (*UpdateServicePolicyParams) SetPolicy ¶
func (o *UpdateServicePolicyParams) SetPolicy(policy *rest_model.ServicePolicyUpdate)
SetPolicy adds the policy to the update service policy params
func (*UpdateServicePolicyParams) SetTimeout ¶
func (o *UpdateServicePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update service policy params
func (*UpdateServicePolicyParams) WithContext ¶
func (o *UpdateServicePolicyParams) WithContext(ctx context.Context) *UpdateServicePolicyParams
WithContext adds the context to the update service policy params
func (*UpdateServicePolicyParams) WithDefaults ¶
func (o *UpdateServicePolicyParams) WithDefaults() *UpdateServicePolicyParams
WithDefaults hydrates default values in the update service policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServicePolicyParams) WithHTTPClient ¶
func (o *UpdateServicePolicyParams) WithHTTPClient(client *http.Client) *UpdateServicePolicyParams
WithHTTPClient adds the HTTPClient to the update service policy params
func (*UpdateServicePolicyParams) WithID ¶
func (o *UpdateServicePolicyParams) WithID(id string) *UpdateServicePolicyParams
WithID adds the id to the update service policy params
func (*UpdateServicePolicyParams) WithPolicy ¶
func (o *UpdateServicePolicyParams) WithPolicy(policy *rest_model.ServicePolicyUpdate) *UpdateServicePolicyParams
WithPolicy adds the policy to the update service policy params
func (*UpdateServicePolicyParams) WithTimeout ¶
func (o *UpdateServicePolicyParams) WithTimeout(timeout time.Duration) *UpdateServicePolicyParams
WithTimeout adds the timeout to the update service policy params
func (*UpdateServicePolicyParams) WriteToRequest ¶
func (o *UpdateServicePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServicePolicyReader ¶
type UpdateServicePolicyReader struct {
// contains filtered or unexported fields
}
UpdateServicePolicyReader is a Reader for the UpdateServicePolicy structure.
func (*UpdateServicePolicyReader) ReadResponse ¶
func (o *UpdateServicePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateServicePolicyTooManyRequests ¶ added in v0.26.0
type UpdateServicePolicyTooManyRequests struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateServicePolicyTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewUpdateServicePolicyTooManyRequests ¶ added in v0.26.0
func NewUpdateServicePolicyTooManyRequests() *UpdateServicePolicyTooManyRequests
NewUpdateServicePolicyTooManyRequests creates a UpdateServicePolicyTooManyRequests with default headers values
func (*UpdateServicePolicyTooManyRequests) Error ¶ added in v0.26.0
func (o *UpdateServicePolicyTooManyRequests) Error() string
func (*UpdateServicePolicyTooManyRequests) GetPayload ¶ added in v0.26.0
func (o *UpdateServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
type UpdateServicePolicyUnauthorized ¶
type UpdateServicePolicyUnauthorized struct {
}UpdateServicePolicyUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateServicePolicyUnauthorized ¶
func NewUpdateServicePolicyUnauthorized() *UpdateServicePolicyUnauthorized
NewUpdateServicePolicyUnauthorized creates a UpdateServicePolicyUnauthorized with default headers values
func (*UpdateServicePolicyUnauthorized) Error ¶
func (o *UpdateServicePolicyUnauthorized) Error() string
func (*UpdateServicePolicyUnauthorized) GetPayload ¶
func (o *UpdateServicePolicyUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- create_service_policy_parameters.go
- create_service_policy_responses.go
- delete_service_policy_parameters.go
- delete_service_policy_responses.go
- detail_service_policy_parameters.go
- detail_service_policy_responses.go
- list_service_policies_parameters.go
- list_service_policies_responses.go
- list_service_policy_identities_parameters.go
- list_service_policy_identities_responses.go
- list_service_policy_posture_checks_parameters.go
- list_service_policy_posture_checks_responses.go
- list_service_policy_services_parameters.go
- list_service_policy_services_responses.go
- patch_service_policy_parameters.go
- patch_service_policy_responses.go
- service_policy_client.go
- update_service_policy_parameters.go
- update_service_policy_responses.go