Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateIPFilterRuleset(params *CreateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateIPFilterRulesetCreated, error)
- func (a *Client) CreateIPFilterRulesetAssociation(params *CreateIPFilterRulesetAssociationParams, ...) (*CreateIPFilterRulesetAssociationCreated, error)
- func (a *Client) DeleteIPFilterRuleset(params *DeleteIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteIPFilterRulesetOK, error)
- func (a *Client) DeleteIPFilterRulesetAssociation(params *DeleteIPFilterRulesetAssociationParams, ...) (*DeleteIPFilterRulesetAssociationOK, error)
- func (a *Client) GetIPFilterDeploymentRulesetAssociations(params *GetIPFilterDeploymentRulesetAssociationsParams, ...) (*GetIPFilterDeploymentRulesetAssociationsOK, error)
- func (a *Client) GetIPFilterRuleset(params *GetIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetIPFilterRulesetOK, error)
- func (a *Client) GetIPFilterRulesetDeploymentAssociations(params *GetIPFilterRulesetDeploymentAssociationsParams, ...) (*GetIPFilterRulesetDeploymentAssociationsOK, error)
- func (a *Client) GetIPFilterRulesets(params *GetIPFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetIPFilterRulesetsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateIPFilterRuleset(params *UpdateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateIPFilterRulesetOK, error)
- type ClientOption
- type ClientService
- type CreateIPFilterRulesetAssociationCreated
- type CreateIPFilterRulesetAssociationInternalServerError
- type CreateIPFilterRulesetAssociationNotFound
- type CreateIPFilterRulesetAssociationParams
- func NewCreateIPFilterRulesetAssociationParams() *CreateIPFilterRulesetAssociationParams
- func NewCreateIPFilterRulesetAssociationParamsWithContext(ctx context.Context) *CreateIPFilterRulesetAssociationParams
- func NewCreateIPFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *CreateIPFilterRulesetAssociationParams
- func NewCreateIPFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *CreateIPFilterRulesetAssociationParams
- func (o *CreateIPFilterRulesetAssociationParams) SetBody(body *models.FilterAssociation)
- func (o *CreateIPFilterRulesetAssociationParams) SetContext(ctx context.Context)
- func (o *CreateIPFilterRulesetAssociationParams) SetDefaults()
- func (o *CreateIPFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)
- func (o *CreateIPFilterRulesetAssociationParams) SetRulesetID(rulesetID string)
- func (o *CreateIPFilterRulesetAssociationParams) SetTimeout(timeout time.Duration)
- func (o *CreateIPFilterRulesetAssociationParams) WithBody(body *models.FilterAssociation) *CreateIPFilterRulesetAssociationParams
- func (o *CreateIPFilterRulesetAssociationParams) WithContext(ctx context.Context) *CreateIPFilterRulesetAssociationParams
- func (o *CreateIPFilterRulesetAssociationParams) WithDefaults() *CreateIPFilterRulesetAssociationParams
- func (o *CreateIPFilterRulesetAssociationParams) WithHTTPClient(client *http.Client) *CreateIPFilterRulesetAssociationParams
- func (o *CreateIPFilterRulesetAssociationParams) WithRulesetID(rulesetID string) *CreateIPFilterRulesetAssociationParams
- func (o *CreateIPFilterRulesetAssociationParams) WithTimeout(timeout time.Duration) *CreateIPFilterRulesetAssociationParams
- func (o *CreateIPFilterRulesetAssociationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateIPFilterRulesetAssociationReader
- type CreateIPFilterRulesetAssociationRetryWith
- type CreateIPFilterRulesetBadRequest
- type CreateIPFilterRulesetCreated
- type CreateIPFilterRulesetInternalServerError
- type CreateIPFilterRulesetParams
- func NewCreateIPFilterRulesetParams() *CreateIPFilterRulesetParams
- func NewCreateIPFilterRulesetParamsWithContext(ctx context.Context) *CreateIPFilterRulesetParams
- func NewCreateIPFilterRulesetParamsWithHTTPClient(client *http.Client) *CreateIPFilterRulesetParams
- func NewCreateIPFilterRulesetParamsWithTimeout(timeout time.Duration) *CreateIPFilterRulesetParams
- func (o *CreateIPFilterRulesetParams) SetBody(body *models.IPFilterRuleset)
- func (o *CreateIPFilterRulesetParams) SetContext(ctx context.Context)
- func (o *CreateIPFilterRulesetParams) SetDefaults()
- func (o *CreateIPFilterRulesetParams) SetHTTPClient(client *http.Client)
- func (o *CreateIPFilterRulesetParams) SetTimeout(timeout time.Duration)
- func (o *CreateIPFilterRulesetParams) WithBody(body *models.IPFilterRuleset) *CreateIPFilterRulesetParams
- func (o *CreateIPFilterRulesetParams) WithContext(ctx context.Context) *CreateIPFilterRulesetParams
- func (o *CreateIPFilterRulesetParams) WithDefaults() *CreateIPFilterRulesetParams
- func (o *CreateIPFilterRulesetParams) WithHTTPClient(client *http.Client) *CreateIPFilterRulesetParams
- func (o *CreateIPFilterRulesetParams) WithTimeout(timeout time.Duration) *CreateIPFilterRulesetParams
- func (o *CreateIPFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateIPFilterRulesetReader
- type CreateIPFilterRulesetRetryWith
- type DeleteIPFilterRulesetAssociationInternalServerError
- type DeleteIPFilterRulesetAssociationOK
- type DeleteIPFilterRulesetAssociationParams
- func NewDeleteIPFilterRulesetAssociationParams() *DeleteIPFilterRulesetAssociationParams
- func NewDeleteIPFilterRulesetAssociationParamsWithContext(ctx context.Context) *DeleteIPFilterRulesetAssociationParams
- func NewDeleteIPFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *DeleteIPFilterRulesetAssociationParams
- func NewDeleteIPFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *DeleteIPFilterRulesetAssociationParams
- func (o *DeleteIPFilterRulesetAssociationParams) SetAssociatedEntityID(associatedEntityID string)
- func (o *DeleteIPFilterRulesetAssociationParams) SetAssociationType(associationType string)
- func (o *DeleteIPFilterRulesetAssociationParams) SetContext(ctx context.Context)
- func (o *DeleteIPFilterRulesetAssociationParams) SetDefaults()
- func (o *DeleteIPFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIPFilterRulesetAssociationParams) SetRulesetID(rulesetID string)
- func (o *DeleteIPFilterRulesetAssociationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIPFilterRulesetAssociationParams) WithAssociatedEntityID(associatedEntityID string) *DeleteIPFilterRulesetAssociationParams
- func (o *DeleteIPFilterRulesetAssociationParams) WithAssociationType(associationType string) *DeleteIPFilterRulesetAssociationParams
- func (o *DeleteIPFilterRulesetAssociationParams) WithContext(ctx context.Context) *DeleteIPFilterRulesetAssociationParams
- func (o *DeleteIPFilterRulesetAssociationParams) WithDefaults() *DeleteIPFilterRulesetAssociationParams
- func (o *DeleteIPFilterRulesetAssociationParams) WithHTTPClient(client *http.Client) *DeleteIPFilterRulesetAssociationParams
- func (o *DeleteIPFilterRulesetAssociationParams) WithRulesetID(rulesetID string) *DeleteIPFilterRulesetAssociationParams
- func (o *DeleteIPFilterRulesetAssociationParams) WithTimeout(timeout time.Duration) *DeleteIPFilterRulesetAssociationParams
- func (o *DeleteIPFilterRulesetAssociationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIPFilterRulesetAssociationReader
- type DeleteIPFilterRulesetAssociationRetryWith
- type DeleteIPFilterRulesetInternalServerError
- type DeleteIPFilterRulesetNotFound
- type DeleteIPFilterRulesetOK
- type DeleteIPFilterRulesetParams
- func NewDeleteIPFilterRulesetParams() *DeleteIPFilterRulesetParams
- func NewDeleteIPFilterRulesetParamsWithContext(ctx context.Context) *DeleteIPFilterRulesetParams
- func NewDeleteIPFilterRulesetParamsWithHTTPClient(client *http.Client) *DeleteIPFilterRulesetParams
- func NewDeleteIPFilterRulesetParamsWithTimeout(timeout time.Duration) *DeleteIPFilterRulesetParams
- func (o *DeleteIPFilterRulesetParams) SetContext(ctx context.Context)
- func (o *DeleteIPFilterRulesetParams) SetDefaults()
- func (o *DeleteIPFilterRulesetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIPFilterRulesetParams) SetIgnoreAssociations(ignoreAssociations *bool)
- func (o *DeleteIPFilterRulesetParams) SetRulesetID(rulesetID string)
- func (o *DeleteIPFilterRulesetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIPFilterRulesetParams) WithContext(ctx context.Context) *DeleteIPFilterRulesetParams
- func (o *DeleteIPFilterRulesetParams) WithDefaults() *DeleteIPFilterRulesetParams
- func (o *DeleteIPFilterRulesetParams) WithHTTPClient(client *http.Client) *DeleteIPFilterRulesetParams
- func (o *DeleteIPFilterRulesetParams) WithIgnoreAssociations(ignoreAssociations *bool) *DeleteIPFilterRulesetParams
- func (o *DeleteIPFilterRulesetParams) WithRulesetID(rulesetID string) *DeleteIPFilterRulesetParams
- func (o *DeleteIPFilterRulesetParams) WithTimeout(timeout time.Duration) *DeleteIPFilterRulesetParams
- func (o *DeleteIPFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIPFilterRulesetReader
- type DeleteIPFilterRulesetRetryWith
- type GetIPFilterDeploymentRulesetAssociationsInternalServerError
- type GetIPFilterDeploymentRulesetAssociationsOK
- type GetIPFilterDeploymentRulesetAssociationsParams
- func NewGetIPFilterDeploymentRulesetAssociationsParams() *GetIPFilterDeploymentRulesetAssociationsParams
- func NewGetIPFilterDeploymentRulesetAssociationsParamsWithContext(ctx context.Context) *GetIPFilterDeploymentRulesetAssociationsParams
- func NewGetIPFilterDeploymentRulesetAssociationsParamsWithHTTPClient(client *http.Client) *GetIPFilterDeploymentRulesetAssociationsParams
- func NewGetIPFilterDeploymentRulesetAssociationsParamsWithTimeout(timeout time.Duration) *GetIPFilterDeploymentRulesetAssociationsParams
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID(associatedEntityID string)
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetAssociationType(associationType string)
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetContext(ctx context.Context)
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetDefaults()
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetHTTPClient(client *http.Client)
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetTimeout(timeout time.Duration)
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID(associatedEntityID string) *GetIPFilterDeploymentRulesetAssociationsParams
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithAssociationType(associationType string) *GetIPFilterDeploymentRulesetAssociationsParams
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithContext(ctx context.Context) *GetIPFilterDeploymentRulesetAssociationsParams
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithDefaults() *GetIPFilterDeploymentRulesetAssociationsParams
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithHTTPClient(client *http.Client) *GetIPFilterDeploymentRulesetAssociationsParams
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithTimeout(timeout time.Duration) *GetIPFilterDeploymentRulesetAssociationsParams
- func (o *GetIPFilterDeploymentRulesetAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIPFilterDeploymentRulesetAssociationsReader
- type GetIPFilterRulesetDeploymentAssociationsInternalServerError
- type GetIPFilterRulesetDeploymentAssociationsOK
- type GetIPFilterRulesetDeploymentAssociationsParams
- func NewGetIPFilterRulesetDeploymentAssociationsParams() *GetIPFilterRulesetDeploymentAssociationsParams
- func NewGetIPFilterRulesetDeploymentAssociationsParamsWithContext(ctx context.Context) *GetIPFilterRulesetDeploymentAssociationsParams
- func NewGetIPFilterRulesetDeploymentAssociationsParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetDeploymentAssociationsParams
- func NewGetIPFilterRulesetDeploymentAssociationsParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetDeploymentAssociationsParams
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetContext(ctx context.Context)
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetDefaults()
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetHTTPClient(client *http.Client)
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetRulesetID(rulesetID string)
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetTimeout(timeout time.Duration)
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithContext(ctx context.Context) *GetIPFilterRulesetDeploymentAssociationsParams
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithDefaults() *GetIPFilterRulesetDeploymentAssociationsParams
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithHTTPClient(client *http.Client) *GetIPFilterRulesetDeploymentAssociationsParams
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithRulesetID(rulesetID string) *GetIPFilterRulesetDeploymentAssociationsParams
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithTimeout(timeout time.Duration) *GetIPFilterRulesetDeploymentAssociationsParams
- func (o *GetIPFilterRulesetDeploymentAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIPFilterRulesetDeploymentAssociationsReader
- type GetIPFilterRulesetInternalServerError
- type GetIPFilterRulesetNotFound
- type GetIPFilterRulesetOK
- type GetIPFilterRulesetParams
- func NewGetIPFilterRulesetParams() *GetIPFilterRulesetParams
- func NewGetIPFilterRulesetParamsWithContext(ctx context.Context) *GetIPFilterRulesetParams
- func NewGetIPFilterRulesetParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetParams
- func NewGetIPFilterRulesetParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetParams
- func (o *GetIPFilterRulesetParams) SetContext(ctx context.Context)
- func (o *GetIPFilterRulesetParams) SetDefaults()
- func (o *GetIPFilterRulesetParams) SetHTTPClient(client *http.Client)
- func (o *GetIPFilterRulesetParams) SetIncludeAssociations(includeAssociations *bool)
- func (o *GetIPFilterRulesetParams) SetRulesetID(rulesetID string)
- func (o *GetIPFilterRulesetParams) SetTimeout(timeout time.Duration)
- func (o *GetIPFilterRulesetParams) WithContext(ctx context.Context) *GetIPFilterRulesetParams
- func (o *GetIPFilterRulesetParams) WithDefaults() *GetIPFilterRulesetParams
- func (o *GetIPFilterRulesetParams) WithHTTPClient(client *http.Client) *GetIPFilterRulesetParams
- func (o *GetIPFilterRulesetParams) WithIncludeAssociations(includeAssociations *bool) *GetIPFilterRulesetParams
- func (o *GetIPFilterRulesetParams) WithRulesetID(rulesetID string) *GetIPFilterRulesetParams
- func (o *GetIPFilterRulesetParams) WithTimeout(timeout time.Duration) *GetIPFilterRulesetParams
- func (o *GetIPFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIPFilterRulesetReader
- type GetIPFilterRulesetsInternalServerError
- type GetIPFilterRulesetsOK
- type GetIPFilterRulesetsParams
- func NewGetIPFilterRulesetsParams() *GetIPFilterRulesetsParams
- func NewGetIPFilterRulesetsParamsWithContext(ctx context.Context) *GetIPFilterRulesetsParams
- func NewGetIPFilterRulesetsParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetsParams
- func NewGetIPFilterRulesetsParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetsParams
- func (o *GetIPFilterRulesetsParams) SetContext(ctx context.Context)
- func (o *GetIPFilterRulesetsParams) SetDefaults()
- func (o *GetIPFilterRulesetsParams) SetHTTPClient(client *http.Client)
- func (o *GetIPFilterRulesetsParams) SetIncludeAssociations(includeAssociations *bool)
- func (o *GetIPFilterRulesetsParams) SetTimeout(timeout time.Duration)
- func (o *GetIPFilterRulesetsParams) WithContext(ctx context.Context) *GetIPFilterRulesetsParams
- func (o *GetIPFilterRulesetsParams) WithDefaults() *GetIPFilterRulesetsParams
- func (o *GetIPFilterRulesetsParams) WithHTTPClient(client *http.Client) *GetIPFilterRulesetsParams
- func (o *GetIPFilterRulesetsParams) WithIncludeAssociations(includeAssociations *bool) *GetIPFilterRulesetsParams
- func (o *GetIPFilterRulesetsParams) WithTimeout(timeout time.Duration) *GetIPFilterRulesetsParams
- func (o *GetIPFilterRulesetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIPFilterRulesetsReader
- type UpdateIPFilterRulesetBadRequest
- type UpdateIPFilterRulesetInternalServerError
- type UpdateIPFilterRulesetOK
- type UpdateIPFilterRulesetParams
- func NewUpdateIPFilterRulesetParams() *UpdateIPFilterRulesetParams
- func NewUpdateIPFilterRulesetParamsWithContext(ctx context.Context) *UpdateIPFilterRulesetParams
- func NewUpdateIPFilterRulesetParamsWithHTTPClient(client *http.Client) *UpdateIPFilterRulesetParams
- func NewUpdateIPFilterRulesetParamsWithTimeout(timeout time.Duration) *UpdateIPFilterRulesetParams
- func (o *UpdateIPFilterRulesetParams) SetBody(body *models.IPFilterRuleset)
- func (o *UpdateIPFilterRulesetParams) SetContext(ctx context.Context)
- func (o *UpdateIPFilterRulesetParams) SetDefaults()
- func (o *UpdateIPFilterRulesetParams) SetHTTPClient(client *http.Client)
- func (o *UpdateIPFilterRulesetParams) SetRulesetID(rulesetID string)
- func (o *UpdateIPFilterRulesetParams) SetTimeout(timeout time.Duration)
- func (o *UpdateIPFilterRulesetParams) WithBody(body *models.IPFilterRuleset) *UpdateIPFilterRulesetParams
- func (o *UpdateIPFilterRulesetParams) WithContext(ctx context.Context) *UpdateIPFilterRulesetParams
- func (o *UpdateIPFilterRulesetParams) WithDefaults() *UpdateIPFilterRulesetParams
- func (o *UpdateIPFilterRulesetParams) WithHTTPClient(client *http.Client) *UpdateIPFilterRulesetParams
- func (o *UpdateIPFilterRulesetParams) WithRulesetID(rulesetID string) *UpdateIPFilterRulesetParams
- func (o *UpdateIPFilterRulesetParams) WithTimeout(timeout time.Duration) *UpdateIPFilterRulesetParams
- func (o *UpdateIPFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateIPFilterRulesetReader
- type UpdateIPFilterRulesetRetryWith
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 deployments ip filtering API
func (*Client) CreateIPFilterRuleset ¶
func (a *Client) CreateIPFilterRuleset(params *CreateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPFilterRulesetCreated, error)
CreateIPFilterRuleset creates a ruleset
DEPRECATED: Creates a ruleset that combines a set of rules. Deprecated in favor of traffic-filter endpoints.
func (*Client) CreateIPFilterRulesetAssociation ¶
func (a *Client) CreateIPFilterRulesetAssociation(params *CreateIPFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPFilterRulesetAssociationCreated, error)
CreateIPFilterRulesetAssociation creates ruleset association
DEPRECATED: Applies the ruleset to the specified deployment.
func (*Client) DeleteIPFilterRuleset ¶
func (a *Client) DeleteIPFilterRuleset(params *DeleteIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPFilterRulesetOK, error)
DeleteIPFilterRuleset deletes a ruleset
DEPRECATED: Deletes the ruleset by ID. Deprecated in favor of traffic-filter endpoints.
func (*Client) DeleteIPFilterRulesetAssociation ¶
func (a *Client) DeleteIPFilterRulesetAssociation(params *DeleteIPFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPFilterRulesetAssociationOK, error)
DeleteIPFilterRulesetAssociation deletes ruleset association
DEPRECATED: Deletes the traffic rules in the ruleset from the deployment.
func (*Client) GetIPFilterDeploymentRulesetAssociations ¶
func (a *Client) GetIPFilterDeploymentRulesetAssociations(params *GetIPFilterDeploymentRulesetAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterDeploymentRulesetAssociationsOK, error)
GetIPFilterDeploymentRulesetAssociations gets associated rulesets
DEPRECATED: Retrieves the rulesets associated with a deployment.
func (*Client) GetIPFilterRuleset ¶
func (a *Client) GetIPFilterRuleset(params *GetIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetOK, error)
GetIPFilterRuleset gets a ruleset
DEPRECATED: Retrieves the ruleset by ID. Deprecated in favor of traffic-filter endpoints.
func (*Client) GetIPFilterRulesetDeploymentAssociations ¶
func (a *Client) GetIPFilterRulesetDeploymentAssociations(params *GetIPFilterRulesetDeploymentAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetDeploymentAssociationsOK, error)
GetIPFilterRulesetDeploymentAssociations gets associated deployments
DEPRECATED: Retrieves a list of deployments that are associated to the specified ruleset.
func (*Client) GetIPFilterRulesets ¶
func (a *Client) GetIPFilterRulesets(params *GetIPFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetsOK, error)
GetIPFilterRulesets gets all rulesets
DEPRECATED: Retrieves all of the user rulesets. Deprecated in favor of traffic-filter endpoints.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateIPFilterRuleset ¶
func (a *Client) UpdateIPFilterRuleset(params *UpdateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIPFilterRulesetOK, error)
UpdateIPFilterRuleset updates a ruleset
DEPRECATED: Updates the ruleset with the definition. Deprecated in favor of traffic-filter endpoints.
type ClientOption ¶ added in v1.3.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
CreateIPFilterRuleset(params *CreateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPFilterRulesetCreated, error)
CreateIPFilterRulesetAssociation(params *CreateIPFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPFilterRulesetAssociationCreated, error)
DeleteIPFilterRuleset(params *DeleteIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPFilterRulesetOK, error)
DeleteIPFilterRulesetAssociation(params *DeleteIPFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPFilterRulesetAssociationOK, error)
GetIPFilterDeploymentRulesetAssociations(params *GetIPFilterDeploymentRulesetAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterDeploymentRulesetAssociationsOK, error)
GetIPFilterRuleset(params *GetIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetOK, error)
GetIPFilterRulesetDeploymentAssociations(params *GetIPFilterRulesetDeploymentAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetDeploymentAssociationsOK, error)
GetIPFilterRulesets(params *GetIPFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetsOK, error)
UpdateIPFilterRuleset(params *UpdateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIPFilterRulesetOK, 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 deployments ip filtering API client.
type CreateIPFilterRulesetAssociationCreated ¶
type CreateIPFilterRulesetAssociationCreated struct {
Payload models.EmptyResponse
}
CreateIPFilterRulesetAssociationCreated describes a response with status code 201, with default header values.
Create association request was valid and the association has been created
func NewCreateIPFilterRulesetAssociationCreated ¶
func NewCreateIPFilterRulesetAssociationCreated() *CreateIPFilterRulesetAssociationCreated
NewCreateIPFilterRulesetAssociationCreated creates a CreateIPFilterRulesetAssociationCreated with default headers values
func (*CreateIPFilterRulesetAssociationCreated) Error ¶
func (o *CreateIPFilterRulesetAssociationCreated) Error() string
func (*CreateIPFilterRulesetAssociationCreated) GetPayload ¶
func (o *CreateIPFilterRulesetAssociationCreated) GetPayload() models.EmptyResponse
type CreateIPFilterRulesetAssociationInternalServerError ¶
type CreateIPFilterRulesetAssociationInternalServerError struct {
Payload *models.BasicFailedReply
}
CreateIPFilterRulesetAssociationInternalServerError describes a response with status code 500, with default header values.
Request execution failed (code: 'ip_filtering.request_execution_failed')
func NewCreateIPFilterRulesetAssociationInternalServerError ¶
func NewCreateIPFilterRulesetAssociationInternalServerError() *CreateIPFilterRulesetAssociationInternalServerError
NewCreateIPFilterRulesetAssociationInternalServerError creates a CreateIPFilterRulesetAssociationInternalServerError with default headers values
func (*CreateIPFilterRulesetAssociationInternalServerError) Error ¶
func (o *CreateIPFilterRulesetAssociationInternalServerError) Error() string
func (*CreateIPFilterRulesetAssociationInternalServerError) GetPayload ¶
func (o *CreateIPFilterRulesetAssociationInternalServerError) GetPayload() *models.BasicFailedReply
type CreateIPFilterRulesetAssociationNotFound ¶
type CreateIPFilterRulesetAssociationNotFound struct {
Payload *models.BasicFailedReply
}
CreateIPFilterRulesetAssociationNotFound describes a response with status code 404, with default header values.
Associated entity specified by {id} cannot be found (code: 'ip_filtering.associated_entity_not_found')
func NewCreateIPFilterRulesetAssociationNotFound ¶
func NewCreateIPFilterRulesetAssociationNotFound() *CreateIPFilterRulesetAssociationNotFound
NewCreateIPFilterRulesetAssociationNotFound creates a CreateIPFilterRulesetAssociationNotFound with default headers values
func (*CreateIPFilterRulesetAssociationNotFound) Error ¶
func (o *CreateIPFilterRulesetAssociationNotFound) Error() string
func (*CreateIPFilterRulesetAssociationNotFound) GetPayload ¶
func (o *CreateIPFilterRulesetAssociationNotFound) GetPayload() *models.BasicFailedReply
type CreateIPFilterRulesetAssociationParams ¶
type CreateIPFilterRulesetAssociationParams struct {
/* Body.
Mandatory ruleset association description
*/
Body *models.FilterAssociation
/* RulesetID.
Mandatory ruleset ID
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateIPFilterRulesetAssociationParams contains all the parameters to send to the API endpoint
for the create ip filter ruleset association operation. Typically these are written to a http.Request.
func NewCreateIPFilterRulesetAssociationParams ¶
func NewCreateIPFilterRulesetAssociationParams() *CreateIPFilterRulesetAssociationParams
NewCreateIPFilterRulesetAssociationParams creates a new CreateIPFilterRulesetAssociationParams 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 NewCreateIPFilterRulesetAssociationParamsWithContext ¶
func NewCreateIPFilterRulesetAssociationParamsWithContext(ctx context.Context) *CreateIPFilterRulesetAssociationParams
NewCreateIPFilterRulesetAssociationParamsWithContext creates a new CreateIPFilterRulesetAssociationParams object with the ability to set a context for a request.
func NewCreateIPFilterRulesetAssociationParamsWithHTTPClient ¶
func NewCreateIPFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *CreateIPFilterRulesetAssociationParams
NewCreateIPFilterRulesetAssociationParamsWithHTTPClient creates a new CreateIPFilterRulesetAssociationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateIPFilterRulesetAssociationParamsWithTimeout ¶
func NewCreateIPFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *CreateIPFilterRulesetAssociationParams
NewCreateIPFilterRulesetAssociationParamsWithTimeout creates a new CreateIPFilterRulesetAssociationParams object with the ability to set a timeout on a request.
func (*CreateIPFilterRulesetAssociationParams) SetBody ¶
func (o *CreateIPFilterRulesetAssociationParams) SetBody(body *models.FilterAssociation)
SetBody adds the body to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) SetContext ¶
func (o *CreateIPFilterRulesetAssociationParams) SetContext(ctx context.Context)
SetContext adds the context to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) SetDefaults ¶ added in v1.3.0
func (o *CreateIPFilterRulesetAssociationParams) SetDefaults()
SetDefaults hydrates default values in the create ip filter ruleset association params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIPFilterRulesetAssociationParams) SetHTTPClient ¶
func (o *CreateIPFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) SetRulesetID ¶
func (o *CreateIPFilterRulesetAssociationParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) SetTimeout ¶
func (o *CreateIPFilterRulesetAssociationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) WithBody ¶
func (o *CreateIPFilterRulesetAssociationParams) WithBody(body *models.FilterAssociation) *CreateIPFilterRulesetAssociationParams
WithBody adds the body to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) WithContext ¶
func (o *CreateIPFilterRulesetAssociationParams) WithContext(ctx context.Context) *CreateIPFilterRulesetAssociationParams
WithContext adds the context to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) WithDefaults ¶ added in v1.3.0
func (o *CreateIPFilterRulesetAssociationParams) WithDefaults() *CreateIPFilterRulesetAssociationParams
WithDefaults hydrates default values in the create ip filter ruleset association params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIPFilterRulesetAssociationParams) WithHTTPClient ¶
func (o *CreateIPFilterRulesetAssociationParams) WithHTTPClient(client *http.Client) *CreateIPFilterRulesetAssociationParams
WithHTTPClient adds the HTTPClient to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) WithRulesetID ¶
func (o *CreateIPFilterRulesetAssociationParams) WithRulesetID(rulesetID string) *CreateIPFilterRulesetAssociationParams
WithRulesetID adds the rulesetID to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) WithTimeout ¶
func (o *CreateIPFilterRulesetAssociationParams) WithTimeout(timeout time.Duration) *CreateIPFilterRulesetAssociationParams
WithTimeout adds the timeout to the create ip filter ruleset association params
func (*CreateIPFilterRulesetAssociationParams) WriteToRequest ¶
func (o *CreateIPFilterRulesetAssociationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateIPFilterRulesetAssociationReader ¶
type CreateIPFilterRulesetAssociationReader struct {
// contains filtered or unexported fields
}
CreateIPFilterRulesetAssociationReader is a Reader for the CreateIPFilterRulesetAssociation structure.
func (*CreateIPFilterRulesetAssociationReader) ReadResponse ¶
func (o *CreateIPFilterRulesetAssociationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateIPFilterRulesetAssociationRetryWith ¶
type CreateIPFilterRulesetAssociationRetryWith struct {
Payload *models.BasicFailedReply
}
CreateIPFilterRulesetAssociationRetryWith describes a response with status code 449, with default header values.
Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
func NewCreateIPFilterRulesetAssociationRetryWith ¶
func NewCreateIPFilterRulesetAssociationRetryWith() *CreateIPFilterRulesetAssociationRetryWith
NewCreateIPFilterRulesetAssociationRetryWith creates a CreateIPFilterRulesetAssociationRetryWith with default headers values
func (*CreateIPFilterRulesetAssociationRetryWith) Error ¶
func (o *CreateIPFilterRulesetAssociationRetryWith) Error() string
func (*CreateIPFilterRulesetAssociationRetryWith) GetPayload ¶
func (o *CreateIPFilterRulesetAssociationRetryWith) GetPayload() *models.BasicFailedReply
type CreateIPFilterRulesetBadRequest ¶
type CreateIPFilterRulesetBadRequest struct {
Payload *models.BasicFailedReply
}
CreateIPFilterRulesetBadRequest describes a response with status code 400, with default header values.
The ruleset definition contains errors (code: 'ip_filtering.ruleset_invalid')
func NewCreateIPFilterRulesetBadRequest ¶
func NewCreateIPFilterRulesetBadRequest() *CreateIPFilterRulesetBadRequest
NewCreateIPFilterRulesetBadRequest creates a CreateIPFilterRulesetBadRequest with default headers values
func (*CreateIPFilterRulesetBadRequest) Error ¶
func (o *CreateIPFilterRulesetBadRequest) Error() string
func (*CreateIPFilterRulesetBadRequest) GetPayload ¶
func (o *CreateIPFilterRulesetBadRequest) GetPayload() *models.BasicFailedReply
type CreateIPFilterRulesetCreated ¶
type CreateIPFilterRulesetCreated struct {
Payload *models.RuleSetResponse
}
CreateIPFilterRulesetCreated describes a response with status code 201, with default header values.
The ruleset definition is valid and the creation has started
func NewCreateIPFilterRulesetCreated ¶
func NewCreateIPFilterRulesetCreated() *CreateIPFilterRulesetCreated
NewCreateIPFilterRulesetCreated creates a CreateIPFilterRulesetCreated with default headers values
func (*CreateIPFilterRulesetCreated) Error ¶
func (o *CreateIPFilterRulesetCreated) Error() string
func (*CreateIPFilterRulesetCreated) GetPayload ¶
func (o *CreateIPFilterRulesetCreated) GetPayload() *models.RuleSetResponse
type CreateIPFilterRulesetInternalServerError ¶
type CreateIPFilterRulesetInternalServerError struct {
Payload *models.BasicFailedReply
}
CreateIPFilterRulesetInternalServerError describes a response with status code 500, with default header values.
The request execution failed (code: 'ip_filtering.request_execution_failed')
func NewCreateIPFilterRulesetInternalServerError ¶
func NewCreateIPFilterRulesetInternalServerError() *CreateIPFilterRulesetInternalServerError
NewCreateIPFilterRulesetInternalServerError creates a CreateIPFilterRulesetInternalServerError with default headers values
func (*CreateIPFilterRulesetInternalServerError) Error ¶
func (o *CreateIPFilterRulesetInternalServerError) Error() string
func (*CreateIPFilterRulesetInternalServerError) GetPayload ¶
func (o *CreateIPFilterRulesetInternalServerError) GetPayload() *models.BasicFailedReply
type CreateIPFilterRulesetParams ¶
type CreateIPFilterRulesetParams struct {
/* Body.
The ruleset definition
*/
Body *models.IPFilterRuleset
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateIPFilterRulesetParams contains all the parameters to send to the API endpoint
for the create ip filter ruleset operation. Typically these are written to a http.Request.
func NewCreateIPFilterRulesetParams ¶
func NewCreateIPFilterRulesetParams() *CreateIPFilterRulesetParams
NewCreateIPFilterRulesetParams creates a new CreateIPFilterRulesetParams 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 NewCreateIPFilterRulesetParamsWithContext ¶
func NewCreateIPFilterRulesetParamsWithContext(ctx context.Context) *CreateIPFilterRulesetParams
NewCreateIPFilterRulesetParamsWithContext creates a new CreateIPFilterRulesetParams object with the ability to set a context for a request.
func NewCreateIPFilterRulesetParamsWithHTTPClient ¶
func NewCreateIPFilterRulesetParamsWithHTTPClient(client *http.Client) *CreateIPFilterRulesetParams
NewCreateIPFilterRulesetParamsWithHTTPClient creates a new CreateIPFilterRulesetParams object with the ability to set a custom HTTPClient for a request.
func NewCreateIPFilterRulesetParamsWithTimeout ¶
func NewCreateIPFilterRulesetParamsWithTimeout(timeout time.Duration) *CreateIPFilterRulesetParams
NewCreateIPFilterRulesetParamsWithTimeout creates a new CreateIPFilterRulesetParams object with the ability to set a timeout on a request.
func (*CreateIPFilterRulesetParams) SetBody ¶
func (o *CreateIPFilterRulesetParams) SetBody(body *models.IPFilterRuleset)
SetBody adds the body to the create ip filter ruleset params
func (*CreateIPFilterRulesetParams) SetContext ¶
func (o *CreateIPFilterRulesetParams) SetContext(ctx context.Context)
SetContext adds the context to the create ip filter ruleset params
func (*CreateIPFilterRulesetParams) SetDefaults ¶ added in v1.3.0
func (o *CreateIPFilterRulesetParams) SetDefaults()
SetDefaults hydrates default values in the create ip filter ruleset params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIPFilterRulesetParams) SetHTTPClient ¶
func (o *CreateIPFilterRulesetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create ip filter ruleset params
func (*CreateIPFilterRulesetParams) SetTimeout ¶
func (o *CreateIPFilterRulesetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create ip filter ruleset params
func (*CreateIPFilterRulesetParams) WithBody ¶
func (o *CreateIPFilterRulesetParams) WithBody(body *models.IPFilterRuleset) *CreateIPFilterRulesetParams
WithBody adds the body to the create ip filter ruleset params
func (*CreateIPFilterRulesetParams) WithContext ¶
func (o *CreateIPFilterRulesetParams) WithContext(ctx context.Context) *CreateIPFilterRulesetParams
WithContext adds the context to the create ip filter ruleset params
func (*CreateIPFilterRulesetParams) WithDefaults ¶ added in v1.3.0
func (o *CreateIPFilterRulesetParams) WithDefaults() *CreateIPFilterRulesetParams
WithDefaults hydrates default values in the create ip filter ruleset params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIPFilterRulesetParams) WithHTTPClient ¶
func (o *CreateIPFilterRulesetParams) WithHTTPClient(client *http.Client) *CreateIPFilterRulesetParams
WithHTTPClient adds the HTTPClient to the create ip filter ruleset params
func (*CreateIPFilterRulesetParams) WithTimeout ¶
func (o *CreateIPFilterRulesetParams) WithTimeout(timeout time.Duration) *CreateIPFilterRulesetParams
WithTimeout adds the timeout to the create ip filter ruleset params
func (*CreateIPFilterRulesetParams) WriteToRequest ¶
func (o *CreateIPFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateIPFilterRulesetReader ¶
type CreateIPFilterRulesetReader struct {
// contains filtered or unexported fields
}
CreateIPFilterRulesetReader is a Reader for the CreateIPFilterRuleset structure.
func (*CreateIPFilterRulesetReader) ReadResponse ¶
func (o *CreateIPFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateIPFilterRulesetRetryWith ¶
type CreateIPFilterRulesetRetryWith struct {
Payload *models.BasicFailedReply
}
CreateIPFilterRulesetRetryWith describes a response with status code 449, with default header values.
elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
func NewCreateIPFilterRulesetRetryWith ¶
func NewCreateIPFilterRulesetRetryWith() *CreateIPFilterRulesetRetryWith
NewCreateIPFilterRulesetRetryWith creates a CreateIPFilterRulesetRetryWith with default headers values
func (*CreateIPFilterRulesetRetryWith) Error ¶
func (o *CreateIPFilterRulesetRetryWith) Error() string
func (*CreateIPFilterRulesetRetryWith) GetPayload ¶
func (o *CreateIPFilterRulesetRetryWith) GetPayload() *models.BasicFailedReply
type DeleteIPFilterRulesetAssociationInternalServerError ¶
type DeleteIPFilterRulesetAssociationInternalServerError struct {
Payload *models.BasicFailedReply
}
DeleteIPFilterRulesetAssociationInternalServerError describes a response with status code 500, with default header values.
Request execution failed (code: 'ip_filtering.request_execution_failed')
func NewDeleteIPFilterRulesetAssociationInternalServerError ¶
func NewDeleteIPFilterRulesetAssociationInternalServerError() *DeleteIPFilterRulesetAssociationInternalServerError
NewDeleteIPFilterRulesetAssociationInternalServerError creates a DeleteIPFilterRulesetAssociationInternalServerError with default headers values
func (*DeleteIPFilterRulesetAssociationInternalServerError) Error ¶
func (o *DeleteIPFilterRulesetAssociationInternalServerError) Error() string
func (*DeleteIPFilterRulesetAssociationInternalServerError) GetPayload ¶
func (o *DeleteIPFilterRulesetAssociationInternalServerError) GetPayload() *models.BasicFailedReply
type DeleteIPFilterRulesetAssociationOK ¶
type DeleteIPFilterRulesetAssociationOK struct {
Payload models.EmptyResponse
}
DeleteIPFilterRulesetAssociationOK describes a response with status code 200, with default header values.
Delete association request was valid and the association has been deleted
func NewDeleteIPFilterRulesetAssociationOK ¶
func NewDeleteIPFilterRulesetAssociationOK() *DeleteIPFilterRulesetAssociationOK
NewDeleteIPFilterRulesetAssociationOK creates a DeleteIPFilterRulesetAssociationOK with default headers values
func (*DeleteIPFilterRulesetAssociationOK) Error ¶
func (o *DeleteIPFilterRulesetAssociationOK) Error() string
func (*DeleteIPFilterRulesetAssociationOK) GetPayload ¶
func (o *DeleteIPFilterRulesetAssociationOK) GetPayload() models.EmptyResponse
type DeleteIPFilterRulesetAssociationParams ¶
type DeleteIPFilterRulesetAssociationParams struct {
/* AssociatedEntityID.
Mandatory associated entity ID
*/
AssociatedEntityID string
/* AssociationType.
Mandatory association type ID
*/
AssociationType string
/* RulesetID.
Mandatory ruleset ID
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteIPFilterRulesetAssociationParams contains all the parameters to send to the API endpoint
for the delete ip filter ruleset association operation. Typically these are written to a http.Request.
func NewDeleteIPFilterRulesetAssociationParams ¶
func NewDeleteIPFilterRulesetAssociationParams() *DeleteIPFilterRulesetAssociationParams
NewDeleteIPFilterRulesetAssociationParams creates a new DeleteIPFilterRulesetAssociationParams 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 NewDeleteIPFilterRulesetAssociationParamsWithContext ¶
func NewDeleteIPFilterRulesetAssociationParamsWithContext(ctx context.Context) *DeleteIPFilterRulesetAssociationParams
NewDeleteIPFilterRulesetAssociationParamsWithContext creates a new DeleteIPFilterRulesetAssociationParams object with the ability to set a context for a request.
func NewDeleteIPFilterRulesetAssociationParamsWithHTTPClient ¶
func NewDeleteIPFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *DeleteIPFilterRulesetAssociationParams
NewDeleteIPFilterRulesetAssociationParamsWithHTTPClient creates a new DeleteIPFilterRulesetAssociationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteIPFilterRulesetAssociationParamsWithTimeout ¶
func NewDeleteIPFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *DeleteIPFilterRulesetAssociationParams
NewDeleteIPFilterRulesetAssociationParamsWithTimeout creates a new DeleteIPFilterRulesetAssociationParams object with the ability to set a timeout on a request.
func (*DeleteIPFilterRulesetAssociationParams) SetAssociatedEntityID ¶
func (o *DeleteIPFilterRulesetAssociationParams) SetAssociatedEntityID(associatedEntityID string)
SetAssociatedEntityID adds the associatedEntityId to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) SetAssociationType ¶
func (o *DeleteIPFilterRulesetAssociationParams) SetAssociationType(associationType string)
SetAssociationType adds the associationType to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) SetContext ¶
func (o *DeleteIPFilterRulesetAssociationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) SetDefaults ¶ added in v1.3.0
func (o *DeleteIPFilterRulesetAssociationParams) SetDefaults()
SetDefaults hydrates default values in the delete ip filter ruleset association params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIPFilterRulesetAssociationParams) SetHTTPClient ¶
func (o *DeleteIPFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) SetRulesetID ¶
func (o *DeleteIPFilterRulesetAssociationParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) SetTimeout ¶
func (o *DeleteIPFilterRulesetAssociationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) WithAssociatedEntityID ¶
func (o *DeleteIPFilterRulesetAssociationParams) WithAssociatedEntityID(associatedEntityID string) *DeleteIPFilterRulesetAssociationParams
WithAssociatedEntityID adds the associatedEntityID to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) WithAssociationType ¶
func (o *DeleteIPFilterRulesetAssociationParams) WithAssociationType(associationType string) *DeleteIPFilterRulesetAssociationParams
WithAssociationType adds the associationType to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) WithContext ¶
func (o *DeleteIPFilterRulesetAssociationParams) WithContext(ctx context.Context) *DeleteIPFilterRulesetAssociationParams
WithContext adds the context to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) WithDefaults ¶ added in v1.3.0
func (o *DeleteIPFilterRulesetAssociationParams) WithDefaults() *DeleteIPFilterRulesetAssociationParams
WithDefaults hydrates default values in the delete ip filter ruleset association params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIPFilterRulesetAssociationParams) WithHTTPClient ¶
func (o *DeleteIPFilterRulesetAssociationParams) WithHTTPClient(client *http.Client) *DeleteIPFilterRulesetAssociationParams
WithHTTPClient adds the HTTPClient to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) WithRulesetID ¶
func (o *DeleteIPFilterRulesetAssociationParams) WithRulesetID(rulesetID string) *DeleteIPFilterRulesetAssociationParams
WithRulesetID adds the rulesetID to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) WithTimeout ¶
func (o *DeleteIPFilterRulesetAssociationParams) WithTimeout(timeout time.Duration) *DeleteIPFilterRulesetAssociationParams
WithTimeout adds the timeout to the delete ip filter ruleset association params
func (*DeleteIPFilterRulesetAssociationParams) WriteToRequest ¶
func (o *DeleteIPFilterRulesetAssociationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIPFilterRulesetAssociationReader ¶
type DeleteIPFilterRulesetAssociationReader struct {
// contains filtered or unexported fields
}
DeleteIPFilterRulesetAssociationReader is a Reader for the DeleteIPFilterRulesetAssociation structure.
func (*DeleteIPFilterRulesetAssociationReader) ReadResponse ¶
func (o *DeleteIPFilterRulesetAssociationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteIPFilterRulesetAssociationRetryWith ¶
type DeleteIPFilterRulesetAssociationRetryWith struct {
Payload *models.BasicFailedReply
}
DeleteIPFilterRulesetAssociationRetryWith describes a response with status code 449, with default header values.
Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
func NewDeleteIPFilterRulesetAssociationRetryWith ¶
func NewDeleteIPFilterRulesetAssociationRetryWith() *DeleteIPFilterRulesetAssociationRetryWith
NewDeleteIPFilterRulesetAssociationRetryWith creates a DeleteIPFilterRulesetAssociationRetryWith with default headers values
func (*DeleteIPFilterRulesetAssociationRetryWith) Error ¶
func (o *DeleteIPFilterRulesetAssociationRetryWith) Error() string
func (*DeleteIPFilterRulesetAssociationRetryWith) GetPayload ¶
func (o *DeleteIPFilterRulesetAssociationRetryWith) GetPayload() *models.BasicFailedReply
type DeleteIPFilterRulesetInternalServerError ¶
type DeleteIPFilterRulesetInternalServerError struct {
Payload *models.BasicFailedReply
}
DeleteIPFilterRulesetInternalServerError describes a response with status code 500, with default header values.
The request execution failed (code: 'ip_filtering.request_execution_failed')
func NewDeleteIPFilterRulesetInternalServerError ¶
func NewDeleteIPFilterRulesetInternalServerError() *DeleteIPFilterRulesetInternalServerError
NewDeleteIPFilterRulesetInternalServerError creates a DeleteIPFilterRulesetInternalServerError with default headers values
func (*DeleteIPFilterRulesetInternalServerError) Error ¶
func (o *DeleteIPFilterRulesetInternalServerError) Error() string
func (*DeleteIPFilterRulesetInternalServerError) GetPayload ¶
func (o *DeleteIPFilterRulesetInternalServerError) GetPayload() *models.BasicFailedReply
type DeleteIPFilterRulesetNotFound ¶
type DeleteIPFilterRulesetNotFound struct {
Payload *models.BasicFailedReply
}
DeleteIPFilterRulesetNotFound describes a response with status code 404, with default header values.
The IP filter ruleset specified by {ruleset_id} cannot be found (code: 'ip_filtering.ruleset_not_found')
func NewDeleteIPFilterRulesetNotFound ¶
func NewDeleteIPFilterRulesetNotFound() *DeleteIPFilterRulesetNotFound
NewDeleteIPFilterRulesetNotFound creates a DeleteIPFilterRulesetNotFound with default headers values
func (*DeleteIPFilterRulesetNotFound) Error ¶
func (o *DeleteIPFilterRulesetNotFound) Error() string
func (*DeleteIPFilterRulesetNotFound) GetPayload ¶
func (o *DeleteIPFilterRulesetNotFound) GetPayload() *models.BasicFailedReply
type DeleteIPFilterRulesetOK ¶
type DeleteIPFilterRulesetOK struct {
Payload models.EmptyResponse
}
DeleteIPFilterRulesetOK describes a response with status code 200, with default header values.
The IP filter ruleset was successfully deleted
func NewDeleteIPFilterRulesetOK ¶
func NewDeleteIPFilterRulesetOK() *DeleteIPFilterRulesetOK
NewDeleteIPFilterRulesetOK creates a DeleteIPFilterRulesetOK with default headers values
func (*DeleteIPFilterRulesetOK) Error ¶
func (o *DeleteIPFilterRulesetOK) Error() string
func (*DeleteIPFilterRulesetOK) GetPayload ¶
func (o *DeleteIPFilterRulesetOK) GetPayload() models.EmptyResponse
type DeleteIPFilterRulesetParams ¶
type DeleteIPFilterRulesetParams struct {
/* IgnoreAssociations.
When true, ignores the associations and deletes the rule set. When false, recognizes the associations, which prevents the deletion of the rule set.
*/
IgnoreAssociations *bool
/* RulesetID.
The mandatory ruleset ID
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteIPFilterRulesetParams contains all the parameters to send to the API endpoint
for the delete ip filter ruleset operation. Typically these are written to a http.Request.
func NewDeleteIPFilterRulesetParams ¶
func NewDeleteIPFilterRulesetParams() *DeleteIPFilterRulesetParams
NewDeleteIPFilterRulesetParams creates a new DeleteIPFilterRulesetParams 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 NewDeleteIPFilterRulesetParamsWithContext ¶
func NewDeleteIPFilterRulesetParamsWithContext(ctx context.Context) *DeleteIPFilterRulesetParams
NewDeleteIPFilterRulesetParamsWithContext creates a new DeleteIPFilterRulesetParams object with the ability to set a context for a request.
func NewDeleteIPFilterRulesetParamsWithHTTPClient ¶
func NewDeleteIPFilterRulesetParamsWithHTTPClient(client *http.Client) *DeleteIPFilterRulesetParams
NewDeleteIPFilterRulesetParamsWithHTTPClient creates a new DeleteIPFilterRulesetParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteIPFilterRulesetParamsWithTimeout ¶
func NewDeleteIPFilterRulesetParamsWithTimeout(timeout time.Duration) *DeleteIPFilterRulesetParams
NewDeleteIPFilterRulesetParamsWithTimeout creates a new DeleteIPFilterRulesetParams object with the ability to set a timeout on a request.
func (*DeleteIPFilterRulesetParams) SetContext ¶
func (o *DeleteIPFilterRulesetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) SetDefaults ¶ added in v1.3.0
func (o *DeleteIPFilterRulesetParams) SetDefaults()
SetDefaults hydrates default values in the delete ip filter ruleset params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIPFilterRulesetParams) SetHTTPClient ¶
func (o *DeleteIPFilterRulesetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) SetIgnoreAssociations ¶
func (o *DeleteIPFilterRulesetParams) SetIgnoreAssociations(ignoreAssociations *bool)
SetIgnoreAssociations adds the ignoreAssociations to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) SetRulesetID ¶
func (o *DeleteIPFilterRulesetParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) SetTimeout ¶
func (o *DeleteIPFilterRulesetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) WithContext ¶
func (o *DeleteIPFilterRulesetParams) WithContext(ctx context.Context) *DeleteIPFilterRulesetParams
WithContext adds the context to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) WithDefaults ¶ added in v1.3.0
func (o *DeleteIPFilterRulesetParams) WithDefaults() *DeleteIPFilterRulesetParams
WithDefaults hydrates default values in the delete ip filter ruleset params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIPFilterRulesetParams) WithHTTPClient ¶
func (o *DeleteIPFilterRulesetParams) WithHTTPClient(client *http.Client) *DeleteIPFilterRulesetParams
WithHTTPClient adds the HTTPClient to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) WithIgnoreAssociations ¶
func (o *DeleteIPFilterRulesetParams) WithIgnoreAssociations(ignoreAssociations *bool) *DeleteIPFilterRulesetParams
WithIgnoreAssociations adds the ignoreAssociations to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) WithRulesetID ¶
func (o *DeleteIPFilterRulesetParams) WithRulesetID(rulesetID string) *DeleteIPFilterRulesetParams
WithRulesetID adds the rulesetID to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) WithTimeout ¶
func (o *DeleteIPFilterRulesetParams) WithTimeout(timeout time.Duration) *DeleteIPFilterRulesetParams
WithTimeout adds the timeout to the delete ip filter ruleset params
func (*DeleteIPFilterRulesetParams) WriteToRequest ¶
func (o *DeleteIPFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIPFilterRulesetReader ¶
type DeleteIPFilterRulesetReader struct {
// contains filtered or unexported fields
}
DeleteIPFilterRulesetReader is a Reader for the DeleteIPFilterRuleset structure.
func (*DeleteIPFilterRulesetReader) ReadResponse ¶
func (o *DeleteIPFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteIPFilterRulesetRetryWith ¶
type DeleteIPFilterRulesetRetryWith struct {
Payload *models.BasicFailedReply
}
DeleteIPFilterRulesetRetryWith describes a response with status code 449, with default header values.
elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
func NewDeleteIPFilterRulesetRetryWith ¶
func NewDeleteIPFilterRulesetRetryWith() *DeleteIPFilterRulesetRetryWith
NewDeleteIPFilterRulesetRetryWith creates a DeleteIPFilterRulesetRetryWith with default headers values
func (*DeleteIPFilterRulesetRetryWith) Error ¶
func (o *DeleteIPFilterRulesetRetryWith) Error() string
func (*DeleteIPFilterRulesetRetryWith) GetPayload ¶
func (o *DeleteIPFilterRulesetRetryWith) GetPayload() *models.BasicFailedReply
type GetIPFilterDeploymentRulesetAssociationsInternalServerError ¶
type GetIPFilterDeploymentRulesetAssociationsInternalServerError struct {
Payload *models.BasicFailedReply
}
GetIPFilterDeploymentRulesetAssociationsInternalServerError describes a response with status code 500, with default header values.
Request execution failed (code: 'ip_filtering.request_execution_failed')
func NewGetIPFilterDeploymentRulesetAssociationsInternalServerError ¶
func NewGetIPFilterDeploymentRulesetAssociationsInternalServerError() *GetIPFilterDeploymentRulesetAssociationsInternalServerError
NewGetIPFilterDeploymentRulesetAssociationsInternalServerError creates a GetIPFilterDeploymentRulesetAssociationsInternalServerError with default headers values
func (*GetIPFilterDeploymentRulesetAssociationsInternalServerError) Error ¶
func (o *GetIPFilterDeploymentRulesetAssociationsInternalServerError) Error() string
func (*GetIPFilterDeploymentRulesetAssociationsInternalServerError) GetPayload ¶
func (o *GetIPFilterDeploymentRulesetAssociationsInternalServerError) GetPayload() *models.BasicFailedReply
type GetIPFilterDeploymentRulesetAssociationsOK ¶
type GetIPFilterDeploymentRulesetAssociationsOK struct {
Payload *models.IPFilteringSettings
}
GetIPFilterDeploymentRulesetAssociationsOK describes a response with status code 200, with default header values.
Rulesets in the deployment were successfully returned
func NewGetIPFilterDeploymentRulesetAssociationsOK ¶
func NewGetIPFilterDeploymentRulesetAssociationsOK() *GetIPFilterDeploymentRulesetAssociationsOK
NewGetIPFilterDeploymentRulesetAssociationsOK creates a GetIPFilterDeploymentRulesetAssociationsOK with default headers values
func (*GetIPFilterDeploymentRulesetAssociationsOK) Error ¶
func (o *GetIPFilterDeploymentRulesetAssociationsOK) Error() string
func (*GetIPFilterDeploymentRulesetAssociationsOK) GetPayload ¶
func (o *GetIPFilterDeploymentRulesetAssociationsOK) GetPayload() *models.IPFilteringSettings
type GetIPFilterDeploymentRulesetAssociationsParams ¶
type GetIPFilterDeploymentRulesetAssociationsParams struct {
/* AssociatedEntityID.
Mandatory associated entity ID
*/
AssociatedEntityID string
/* AssociationType.
Mandatory association type ID
*/
AssociationType string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetIPFilterDeploymentRulesetAssociationsParams contains all the parameters to send to the API endpoint
for the get ip filter deployment ruleset associations operation. Typically these are written to a http.Request.
func NewGetIPFilterDeploymentRulesetAssociationsParams ¶
func NewGetIPFilterDeploymentRulesetAssociationsParams() *GetIPFilterDeploymentRulesetAssociationsParams
NewGetIPFilterDeploymentRulesetAssociationsParams creates a new GetIPFilterDeploymentRulesetAssociationsParams 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 NewGetIPFilterDeploymentRulesetAssociationsParamsWithContext ¶
func NewGetIPFilterDeploymentRulesetAssociationsParamsWithContext(ctx context.Context) *GetIPFilterDeploymentRulesetAssociationsParams
NewGetIPFilterDeploymentRulesetAssociationsParamsWithContext creates a new GetIPFilterDeploymentRulesetAssociationsParams object with the ability to set a context for a request.
func NewGetIPFilterDeploymentRulesetAssociationsParamsWithHTTPClient ¶
func NewGetIPFilterDeploymentRulesetAssociationsParamsWithHTTPClient(client *http.Client) *GetIPFilterDeploymentRulesetAssociationsParams
NewGetIPFilterDeploymentRulesetAssociationsParamsWithHTTPClient creates a new GetIPFilterDeploymentRulesetAssociationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetIPFilterDeploymentRulesetAssociationsParamsWithTimeout ¶
func NewGetIPFilterDeploymentRulesetAssociationsParamsWithTimeout(timeout time.Duration) *GetIPFilterDeploymentRulesetAssociationsParams
NewGetIPFilterDeploymentRulesetAssociationsParamsWithTimeout creates a new GetIPFilterDeploymentRulesetAssociationsParams object with the ability to set a timeout on a request.
func (*GetIPFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID(associatedEntityID string)
SetAssociatedEntityID adds the associatedEntityId to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) SetAssociationType ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetAssociationType(associationType string)
SetAssociationType adds the associationType to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) SetContext ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) SetDefaults ¶ added in v1.3.0
func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetDefaults()
SetDefaults hydrates default values in the get ip filter deployment ruleset associations params (not the query body).
All values with no default are reset to their zero value.
func (*GetIPFilterDeploymentRulesetAssociationsParams) SetHTTPClient ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) SetTimeout ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID(associatedEntityID string) *GetIPFilterDeploymentRulesetAssociationsParams
WithAssociatedEntityID adds the associatedEntityID to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) WithAssociationType ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithAssociationType(associationType string) *GetIPFilterDeploymentRulesetAssociationsParams
WithAssociationType adds the associationType to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) WithContext ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithContext(ctx context.Context) *GetIPFilterDeploymentRulesetAssociationsParams
WithContext adds the context to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) WithDefaults ¶ added in v1.3.0
func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithDefaults() *GetIPFilterDeploymentRulesetAssociationsParams
WithDefaults hydrates default values in the get ip filter deployment ruleset associations params (not the query body).
All values with no default are reset to their zero value.
func (*GetIPFilterDeploymentRulesetAssociationsParams) WithHTTPClient ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithHTTPClient(client *http.Client) *GetIPFilterDeploymentRulesetAssociationsParams
WithHTTPClient adds the HTTPClient to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) WithTimeout ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) WithTimeout(timeout time.Duration) *GetIPFilterDeploymentRulesetAssociationsParams
WithTimeout adds the timeout to the get ip filter deployment ruleset associations params
func (*GetIPFilterDeploymentRulesetAssociationsParams) WriteToRequest ¶
func (o *GetIPFilterDeploymentRulesetAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIPFilterDeploymentRulesetAssociationsReader ¶
type GetIPFilterDeploymentRulesetAssociationsReader struct {
// contains filtered or unexported fields
}
GetIPFilterDeploymentRulesetAssociationsReader is a Reader for the GetIPFilterDeploymentRulesetAssociations structure.
func (*GetIPFilterDeploymentRulesetAssociationsReader) ReadResponse ¶
func (o *GetIPFilterDeploymentRulesetAssociationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIPFilterRulesetDeploymentAssociationsInternalServerError ¶
type GetIPFilterRulesetDeploymentAssociationsInternalServerError struct {
Payload *models.BasicFailedReply
}
GetIPFilterRulesetDeploymentAssociationsInternalServerError describes a response with status code 500, with default header values.
Request execution failed (code: 'ip_filtering.request_execution_failed')
func NewGetIPFilterRulesetDeploymentAssociationsInternalServerError ¶
func NewGetIPFilterRulesetDeploymentAssociationsInternalServerError() *GetIPFilterRulesetDeploymentAssociationsInternalServerError
NewGetIPFilterRulesetDeploymentAssociationsInternalServerError creates a GetIPFilterRulesetDeploymentAssociationsInternalServerError with default headers values
func (*GetIPFilterRulesetDeploymentAssociationsInternalServerError) Error ¶
func (o *GetIPFilterRulesetDeploymentAssociationsInternalServerError) Error() string
func (*GetIPFilterRulesetDeploymentAssociationsInternalServerError) GetPayload ¶
func (o *GetIPFilterRulesetDeploymentAssociationsInternalServerError) GetPayload() *models.BasicFailedReply
type GetIPFilterRulesetDeploymentAssociationsOK ¶
type GetIPFilterRulesetDeploymentAssociationsOK struct {
Payload *models.RulesetAssociations
}
GetIPFilterRulesetDeploymentAssociationsOK describes a response with status code 200, with default header values.
Associations referred by IP filter rulesets were successfully returned
func NewGetIPFilterRulesetDeploymentAssociationsOK ¶
func NewGetIPFilterRulesetDeploymentAssociationsOK() *GetIPFilterRulesetDeploymentAssociationsOK
NewGetIPFilterRulesetDeploymentAssociationsOK creates a GetIPFilterRulesetDeploymentAssociationsOK with default headers values
func (*GetIPFilterRulesetDeploymentAssociationsOK) Error ¶
func (o *GetIPFilterRulesetDeploymentAssociationsOK) Error() string
func (*GetIPFilterRulesetDeploymentAssociationsOK) GetPayload ¶
func (o *GetIPFilterRulesetDeploymentAssociationsOK) GetPayload() *models.RulesetAssociations
type GetIPFilterRulesetDeploymentAssociationsParams ¶
type GetIPFilterRulesetDeploymentAssociationsParams struct {
/* RulesetID.
Mandatory ruleset ID
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetIPFilterRulesetDeploymentAssociationsParams contains all the parameters to send to the API endpoint
for the get ip filter ruleset deployment associations operation. Typically these are written to a http.Request.
func NewGetIPFilterRulesetDeploymentAssociationsParams ¶
func NewGetIPFilterRulesetDeploymentAssociationsParams() *GetIPFilterRulesetDeploymentAssociationsParams
NewGetIPFilterRulesetDeploymentAssociationsParams creates a new GetIPFilterRulesetDeploymentAssociationsParams 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 NewGetIPFilterRulesetDeploymentAssociationsParamsWithContext ¶
func NewGetIPFilterRulesetDeploymentAssociationsParamsWithContext(ctx context.Context) *GetIPFilterRulesetDeploymentAssociationsParams
NewGetIPFilterRulesetDeploymentAssociationsParamsWithContext creates a new GetIPFilterRulesetDeploymentAssociationsParams object with the ability to set a context for a request.
func NewGetIPFilterRulesetDeploymentAssociationsParamsWithHTTPClient ¶
func NewGetIPFilterRulesetDeploymentAssociationsParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetDeploymentAssociationsParams
NewGetIPFilterRulesetDeploymentAssociationsParamsWithHTTPClient creates a new GetIPFilterRulesetDeploymentAssociationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetIPFilterRulesetDeploymentAssociationsParamsWithTimeout ¶
func NewGetIPFilterRulesetDeploymentAssociationsParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetDeploymentAssociationsParams
NewGetIPFilterRulesetDeploymentAssociationsParamsWithTimeout creates a new GetIPFilterRulesetDeploymentAssociationsParams object with the ability to set a timeout on a request.
func (*GetIPFilterRulesetDeploymentAssociationsParams) SetContext ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get ip filter ruleset deployment associations params
func (*GetIPFilterRulesetDeploymentAssociationsParams) SetDefaults ¶ added in v1.3.0
func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetDefaults()
SetDefaults hydrates default values in the get ip filter ruleset deployment associations params (not the query body).
All values with no default are reset to their zero value.
func (*GetIPFilterRulesetDeploymentAssociationsParams) SetHTTPClient ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ip filter ruleset deployment associations params
func (*GetIPFilterRulesetDeploymentAssociationsParams) SetRulesetID ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the get ip filter ruleset deployment associations params
func (*GetIPFilterRulesetDeploymentAssociationsParams) SetTimeout ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ip filter ruleset deployment associations params
func (*GetIPFilterRulesetDeploymentAssociationsParams) WithContext ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithContext(ctx context.Context) *GetIPFilterRulesetDeploymentAssociationsParams
WithContext adds the context to the get ip filter ruleset deployment associations params
func (*GetIPFilterRulesetDeploymentAssociationsParams) WithDefaults ¶ added in v1.3.0
func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithDefaults() *GetIPFilterRulesetDeploymentAssociationsParams
WithDefaults hydrates default values in the get ip filter ruleset deployment associations params (not the query body).
All values with no default are reset to their zero value.
func (*GetIPFilterRulesetDeploymentAssociationsParams) WithHTTPClient ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithHTTPClient(client *http.Client) *GetIPFilterRulesetDeploymentAssociationsParams
WithHTTPClient adds the HTTPClient to the get ip filter ruleset deployment associations params
func (*GetIPFilterRulesetDeploymentAssociationsParams) WithRulesetID ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithRulesetID(rulesetID string) *GetIPFilterRulesetDeploymentAssociationsParams
WithRulesetID adds the rulesetID to the get ip filter ruleset deployment associations params
func (*GetIPFilterRulesetDeploymentAssociationsParams) WithTimeout ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) WithTimeout(timeout time.Duration) *GetIPFilterRulesetDeploymentAssociationsParams
WithTimeout adds the timeout to the get ip filter ruleset deployment associations params
func (*GetIPFilterRulesetDeploymentAssociationsParams) WriteToRequest ¶
func (o *GetIPFilterRulesetDeploymentAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIPFilterRulesetDeploymentAssociationsReader ¶
type GetIPFilterRulesetDeploymentAssociationsReader struct {
// contains filtered or unexported fields
}
GetIPFilterRulesetDeploymentAssociationsReader is a Reader for the GetIPFilterRulesetDeploymentAssociations structure.
func (*GetIPFilterRulesetDeploymentAssociationsReader) ReadResponse ¶
func (o *GetIPFilterRulesetDeploymentAssociationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIPFilterRulesetInternalServerError ¶
type GetIPFilterRulesetInternalServerError struct {
Payload *models.BasicFailedReply
}
GetIPFilterRulesetInternalServerError describes a response with status code 500, with default header values.
The request execution failed (code: 'ip_filtering.request_execution_failed')
func NewGetIPFilterRulesetInternalServerError ¶
func NewGetIPFilterRulesetInternalServerError() *GetIPFilterRulesetInternalServerError
NewGetIPFilterRulesetInternalServerError creates a GetIPFilterRulesetInternalServerError with default headers values
func (*GetIPFilterRulesetInternalServerError) Error ¶
func (o *GetIPFilterRulesetInternalServerError) Error() string
func (*GetIPFilterRulesetInternalServerError) GetPayload ¶
func (o *GetIPFilterRulesetInternalServerError) GetPayload() *models.BasicFailedReply
type GetIPFilterRulesetNotFound ¶
type GetIPFilterRulesetNotFound struct {
Payload *models.BasicFailedReply
}
GetIPFilterRulesetNotFound describes a response with status code 404, with default header values.
The IP filter ruleset specified by {ruleset_id} cannot be found (code: 'ip_filtering.ruleset_not_found')
func NewGetIPFilterRulesetNotFound ¶
func NewGetIPFilterRulesetNotFound() *GetIPFilterRulesetNotFound
NewGetIPFilterRulesetNotFound creates a GetIPFilterRulesetNotFound with default headers values
func (*GetIPFilterRulesetNotFound) Error ¶
func (o *GetIPFilterRulesetNotFound) Error() string
func (*GetIPFilterRulesetNotFound) GetPayload ¶
func (o *GetIPFilterRulesetNotFound) GetPayload() *models.BasicFailedReply
type GetIPFilterRulesetOK ¶
type GetIPFilterRulesetOK struct {
/* The date-time when the resource was created (ISO format relative to UTC)
*/
XCloudResourceCreated string
/* The date-time when the resource was last modified (ISO format relative to UTC)
*/
XCloudResourceLastModified string
/* The resource version, which is used to avoid update conflicts with concurrent operations
*/
XCloudResourceVersion string
Payload *models.IPFilterRuleset
}
GetIPFilterRulesetOK describes a response with status code 200, with default header values.
The IP filter ruleset was successfully returned
func NewGetIPFilterRulesetOK ¶
func NewGetIPFilterRulesetOK() *GetIPFilterRulesetOK
NewGetIPFilterRulesetOK creates a GetIPFilterRulesetOK with default headers values
func (*GetIPFilterRulesetOK) Error ¶
func (o *GetIPFilterRulesetOK) Error() string
func (*GetIPFilterRulesetOK) GetPayload ¶
func (o *GetIPFilterRulesetOK) GetPayload() *models.IPFilterRuleset
type GetIPFilterRulesetParams ¶
type GetIPFilterRulesetParams struct {
/* IncludeAssociations.
Retrieves a list of resources that are associated to the specified ruleset.
*/
IncludeAssociations *bool
/* RulesetID.
The mandatory ruleset ID
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetIPFilterRulesetParams contains all the parameters to send to the API endpoint
for the get ip filter ruleset operation. Typically these are written to a http.Request.
func NewGetIPFilterRulesetParams ¶
func NewGetIPFilterRulesetParams() *GetIPFilterRulesetParams
NewGetIPFilterRulesetParams creates a new GetIPFilterRulesetParams 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 NewGetIPFilterRulesetParamsWithContext ¶
func NewGetIPFilterRulesetParamsWithContext(ctx context.Context) *GetIPFilterRulesetParams
NewGetIPFilterRulesetParamsWithContext creates a new GetIPFilterRulesetParams object with the ability to set a context for a request.
func NewGetIPFilterRulesetParamsWithHTTPClient ¶
func NewGetIPFilterRulesetParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetParams
NewGetIPFilterRulesetParamsWithHTTPClient creates a new GetIPFilterRulesetParams object with the ability to set a custom HTTPClient for a request.
func NewGetIPFilterRulesetParamsWithTimeout ¶
func NewGetIPFilterRulesetParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetParams
NewGetIPFilterRulesetParamsWithTimeout creates a new GetIPFilterRulesetParams object with the ability to set a timeout on a request.
func (*GetIPFilterRulesetParams) SetContext ¶
func (o *GetIPFilterRulesetParams) SetContext(ctx context.Context)
SetContext adds the context to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) SetDefaults ¶ added in v1.3.0
func (o *GetIPFilterRulesetParams) SetDefaults()
SetDefaults hydrates default values in the get ip filter ruleset params (not the query body).
All values with no default are reset to their zero value.
func (*GetIPFilterRulesetParams) SetHTTPClient ¶
func (o *GetIPFilterRulesetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) SetIncludeAssociations ¶
func (o *GetIPFilterRulesetParams) SetIncludeAssociations(includeAssociations *bool)
SetIncludeAssociations adds the includeAssociations to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) SetRulesetID ¶
func (o *GetIPFilterRulesetParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) SetTimeout ¶
func (o *GetIPFilterRulesetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) WithContext ¶
func (o *GetIPFilterRulesetParams) WithContext(ctx context.Context) *GetIPFilterRulesetParams
WithContext adds the context to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) WithDefaults ¶ added in v1.3.0
func (o *GetIPFilterRulesetParams) WithDefaults() *GetIPFilterRulesetParams
WithDefaults hydrates default values in the get ip filter ruleset params (not the query body).
All values with no default are reset to their zero value.
func (*GetIPFilterRulesetParams) WithHTTPClient ¶
func (o *GetIPFilterRulesetParams) WithHTTPClient(client *http.Client) *GetIPFilterRulesetParams
WithHTTPClient adds the HTTPClient to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) WithIncludeAssociations ¶
func (o *GetIPFilterRulesetParams) WithIncludeAssociations(includeAssociations *bool) *GetIPFilterRulesetParams
WithIncludeAssociations adds the includeAssociations to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) WithRulesetID ¶
func (o *GetIPFilterRulesetParams) WithRulesetID(rulesetID string) *GetIPFilterRulesetParams
WithRulesetID adds the rulesetID to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) WithTimeout ¶
func (o *GetIPFilterRulesetParams) WithTimeout(timeout time.Duration) *GetIPFilterRulesetParams
WithTimeout adds the timeout to the get ip filter ruleset params
func (*GetIPFilterRulesetParams) WriteToRequest ¶
func (o *GetIPFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIPFilterRulesetReader ¶
type GetIPFilterRulesetReader struct {
// contains filtered or unexported fields
}
GetIPFilterRulesetReader is a Reader for the GetIPFilterRuleset structure.
func (*GetIPFilterRulesetReader) ReadResponse ¶
func (o *GetIPFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIPFilterRulesetsInternalServerError ¶
type GetIPFilterRulesetsInternalServerError struct {
Payload *models.BasicFailedReply
}
GetIPFilterRulesetsInternalServerError describes a response with status code 500, with default header values.
The request execution failed (code: 'ip_filtering.request_execution_failed')
func NewGetIPFilterRulesetsInternalServerError ¶
func NewGetIPFilterRulesetsInternalServerError() *GetIPFilterRulesetsInternalServerError
NewGetIPFilterRulesetsInternalServerError creates a GetIPFilterRulesetsInternalServerError with default headers values
func (*GetIPFilterRulesetsInternalServerError) Error ¶
func (o *GetIPFilterRulesetsInternalServerError) Error() string
func (*GetIPFilterRulesetsInternalServerError) GetPayload ¶
func (o *GetIPFilterRulesetsInternalServerError) GetPayload() *models.BasicFailedReply
type GetIPFilterRulesetsOK ¶
type GetIPFilterRulesetsOK struct {
Payload *models.IPFilterRulesets
}
GetIPFilterRulesetsOK describes a response with status code 200, with default header values.
The IP filter rulesets for the user were successfully returned
func NewGetIPFilterRulesetsOK ¶
func NewGetIPFilterRulesetsOK() *GetIPFilterRulesetsOK
NewGetIPFilterRulesetsOK creates a GetIPFilterRulesetsOK with default headers values
func (*GetIPFilterRulesetsOK) Error ¶
func (o *GetIPFilterRulesetsOK) Error() string
func (*GetIPFilterRulesetsOK) GetPayload ¶
func (o *GetIPFilterRulesetsOK) GetPayload() *models.IPFilterRulesets
type GetIPFilterRulesetsParams ¶
type GetIPFilterRulesetsParams struct {
/* IncludeAssociations.
Retrieves a list of resources that are associated to the specified ruleset.
*/
IncludeAssociations *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetIPFilterRulesetsParams contains all the parameters to send to the API endpoint
for the get ip filter rulesets operation. Typically these are written to a http.Request.
func NewGetIPFilterRulesetsParams ¶
func NewGetIPFilterRulesetsParams() *GetIPFilterRulesetsParams
NewGetIPFilterRulesetsParams creates a new GetIPFilterRulesetsParams 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 NewGetIPFilterRulesetsParamsWithContext ¶
func NewGetIPFilterRulesetsParamsWithContext(ctx context.Context) *GetIPFilterRulesetsParams
NewGetIPFilterRulesetsParamsWithContext creates a new GetIPFilterRulesetsParams object with the ability to set a context for a request.
func NewGetIPFilterRulesetsParamsWithHTTPClient ¶
func NewGetIPFilterRulesetsParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetsParams
NewGetIPFilterRulesetsParamsWithHTTPClient creates a new GetIPFilterRulesetsParams object with the ability to set a custom HTTPClient for a request.
func NewGetIPFilterRulesetsParamsWithTimeout ¶
func NewGetIPFilterRulesetsParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetsParams
NewGetIPFilterRulesetsParamsWithTimeout creates a new GetIPFilterRulesetsParams object with the ability to set a timeout on a request.
func (*GetIPFilterRulesetsParams) SetContext ¶
func (o *GetIPFilterRulesetsParams) SetContext(ctx context.Context)
SetContext adds the context to the get ip filter rulesets params
func (*GetIPFilterRulesetsParams) SetDefaults ¶ added in v1.3.0
func (o *GetIPFilterRulesetsParams) SetDefaults()
SetDefaults hydrates default values in the get ip filter rulesets params (not the query body).
All values with no default are reset to their zero value.
func (*GetIPFilterRulesetsParams) SetHTTPClient ¶
func (o *GetIPFilterRulesetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ip filter rulesets params
func (*GetIPFilterRulesetsParams) SetIncludeAssociations ¶
func (o *GetIPFilterRulesetsParams) SetIncludeAssociations(includeAssociations *bool)
SetIncludeAssociations adds the includeAssociations to the get ip filter rulesets params
func (*GetIPFilterRulesetsParams) SetTimeout ¶
func (o *GetIPFilterRulesetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ip filter rulesets params
func (*GetIPFilterRulesetsParams) WithContext ¶
func (o *GetIPFilterRulesetsParams) WithContext(ctx context.Context) *GetIPFilterRulesetsParams
WithContext adds the context to the get ip filter rulesets params
func (*GetIPFilterRulesetsParams) WithDefaults ¶ added in v1.3.0
func (o *GetIPFilterRulesetsParams) WithDefaults() *GetIPFilterRulesetsParams
WithDefaults hydrates default values in the get ip filter rulesets params (not the query body).
All values with no default are reset to their zero value.
func (*GetIPFilterRulesetsParams) WithHTTPClient ¶
func (o *GetIPFilterRulesetsParams) WithHTTPClient(client *http.Client) *GetIPFilterRulesetsParams
WithHTTPClient adds the HTTPClient to the get ip filter rulesets params
func (*GetIPFilterRulesetsParams) WithIncludeAssociations ¶
func (o *GetIPFilterRulesetsParams) WithIncludeAssociations(includeAssociations *bool) *GetIPFilterRulesetsParams
WithIncludeAssociations adds the includeAssociations to the get ip filter rulesets params
func (*GetIPFilterRulesetsParams) WithTimeout ¶
func (o *GetIPFilterRulesetsParams) WithTimeout(timeout time.Duration) *GetIPFilterRulesetsParams
WithTimeout adds the timeout to the get ip filter rulesets params
func (*GetIPFilterRulesetsParams) WriteToRequest ¶
func (o *GetIPFilterRulesetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIPFilterRulesetsReader ¶
type GetIPFilterRulesetsReader struct {
// contains filtered or unexported fields
}
GetIPFilterRulesetsReader is a Reader for the GetIPFilterRulesets structure.
func (*GetIPFilterRulesetsReader) ReadResponse ¶
func (o *GetIPFilterRulesetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateIPFilterRulesetBadRequest ¶
type UpdateIPFilterRulesetBadRequest struct {
Payload *models.BasicFailedReply
}
UpdateIPFilterRulesetBadRequest describes a response with status code 400, with default header values.
The ruleset definition contains errors (code: 'ip_filtering.ruleset_invalid')
func NewUpdateIPFilterRulesetBadRequest ¶
func NewUpdateIPFilterRulesetBadRequest() *UpdateIPFilterRulesetBadRequest
NewUpdateIPFilterRulesetBadRequest creates a UpdateIPFilterRulesetBadRequest with default headers values
func (*UpdateIPFilterRulesetBadRequest) Error ¶
func (o *UpdateIPFilterRulesetBadRequest) Error() string
func (*UpdateIPFilterRulesetBadRequest) GetPayload ¶
func (o *UpdateIPFilterRulesetBadRequest) GetPayload() *models.BasicFailedReply
type UpdateIPFilterRulesetInternalServerError ¶
type UpdateIPFilterRulesetInternalServerError struct {
Payload *models.BasicFailedReply
}
UpdateIPFilterRulesetInternalServerError describes a response with status code 500, with default header values.
The request execution failed (code: 'ip_filtering.request_execution_failed')
func NewUpdateIPFilterRulesetInternalServerError ¶
func NewUpdateIPFilterRulesetInternalServerError() *UpdateIPFilterRulesetInternalServerError
NewUpdateIPFilterRulesetInternalServerError creates a UpdateIPFilterRulesetInternalServerError with default headers values
func (*UpdateIPFilterRulesetInternalServerError) Error ¶
func (o *UpdateIPFilterRulesetInternalServerError) Error() string
func (*UpdateIPFilterRulesetInternalServerError) GetPayload ¶
func (o *UpdateIPFilterRulesetInternalServerError) GetPayload() *models.BasicFailedReply
type UpdateIPFilterRulesetOK ¶
type UpdateIPFilterRulesetOK struct {
Payload *models.RuleSetResponse
}
UpdateIPFilterRulesetOK describes a response with status code 200, with default header values.
The ruleset definition was valid and the update has started
func NewUpdateIPFilterRulesetOK ¶
func NewUpdateIPFilterRulesetOK() *UpdateIPFilterRulesetOK
NewUpdateIPFilterRulesetOK creates a UpdateIPFilterRulesetOK with default headers values
func (*UpdateIPFilterRulesetOK) Error ¶
func (o *UpdateIPFilterRulesetOK) Error() string
func (*UpdateIPFilterRulesetOK) GetPayload ¶
func (o *UpdateIPFilterRulesetOK) GetPayload() *models.RuleSetResponse
type UpdateIPFilterRulesetParams ¶
type UpdateIPFilterRulesetParams struct {
/* Body.
The ruleset definition
*/
Body *models.IPFilterRuleset
/* RulesetID.
The mandatory ruleset ID
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateIPFilterRulesetParams contains all the parameters to send to the API endpoint
for the update ip filter ruleset operation. Typically these are written to a http.Request.
func NewUpdateIPFilterRulesetParams ¶
func NewUpdateIPFilterRulesetParams() *UpdateIPFilterRulesetParams
NewUpdateIPFilterRulesetParams creates a new UpdateIPFilterRulesetParams 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 NewUpdateIPFilterRulesetParamsWithContext ¶
func NewUpdateIPFilterRulesetParamsWithContext(ctx context.Context) *UpdateIPFilterRulesetParams
NewUpdateIPFilterRulesetParamsWithContext creates a new UpdateIPFilterRulesetParams object with the ability to set a context for a request.
func NewUpdateIPFilterRulesetParamsWithHTTPClient ¶
func NewUpdateIPFilterRulesetParamsWithHTTPClient(client *http.Client) *UpdateIPFilterRulesetParams
NewUpdateIPFilterRulesetParamsWithHTTPClient creates a new UpdateIPFilterRulesetParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateIPFilterRulesetParamsWithTimeout ¶
func NewUpdateIPFilterRulesetParamsWithTimeout(timeout time.Duration) *UpdateIPFilterRulesetParams
NewUpdateIPFilterRulesetParamsWithTimeout creates a new UpdateIPFilterRulesetParams object with the ability to set a timeout on a request.
func (*UpdateIPFilterRulesetParams) SetBody ¶
func (o *UpdateIPFilterRulesetParams) SetBody(body *models.IPFilterRuleset)
SetBody adds the body to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) SetContext ¶
func (o *UpdateIPFilterRulesetParams) SetContext(ctx context.Context)
SetContext adds the context to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) SetDefaults ¶ added in v1.3.0
func (o *UpdateIPFilterRulesetParams) SetDefaults()
SetDefaults hydrates default values in the update ip filter ruleset params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIPFilterRulesetParams) SetHTTPClient ¶
func (o *UpdateIPFilterRulesetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) SetRulesetID ¶
func (o *UpdateIPFilterRulesetParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) SetTimeout ¶
func (o *UpdateIPFilterRulesetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) WithBody ¶
func (o *UpdateIPFilterRulesetParams) WithBody(body *models.IPFilterRuleset) *UpdateIPFilterRulesetParams
WithBody adds the body to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) WithContext ¶
func (o *UpdateIPFilterRulesetParams) WithContext(ctx context.Context) *UpdateIPFilterRulesetParams
WithContext adds the context to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) WithDefaults ¶ added in v1.3.0
func (o *UpdateIPFilterRulesetParams) WithDefaults() *UpdateIPFilterRulesetParams
WithDefaults hydrates default values in the update ip filter ruleset params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIPFilterRulesetParams) WithHTTPClient ¶
func (o *UpdateIPFilterRulesetParams) WithHTTPClient(client *http.Client) *UpdateIPFilterRulesetParams
WithHTTPClient adds the HTTPClient to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) WithRulesetID ¶
func (o *UpdateIPFilterRulesetParams) WithRulesetID(rulesetID string) *UpdateIPFilterRulesetParams
WithRulesetID adds the rulesetID to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) WithTimeout ¶
func (o *UpdateIPFilterRulesetParams) WithTimeout(timeout time.Duration) *UpdateIPFilterRulesetParams
WithTimeout adds the timeout to the update ip filter ruleset params
func (*UpdateIPFilterRulesetParams) WriteToRequest ¶
func (o *UpdateIPFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateIPFilterRulesetReader ¶
type UpdateIPFilterRulesetReader struct {
// contains filtered or unexported fields
}
UpdateIPFilterRulesetReader is a Reader for the UpdateIPFilterRuleset structure.
func (*UpdateIPFilterRulesetReader) ReadResponse ¶
func (o *UpdateIPFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateIPFilterRulesetRetryWith ¶
type UpdateIPFilterRulesetRetryWith struct {
Payload *models.BasicFailedReply
}
UpdateIPFilterRulesetRetryWith describes a response with status code 449, with default header values.
elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
func NewUpdateIPFilterRulesetRetryWith ¶
func NewUpdateIPFilterRulesetRetryWith() *UpdateIPFilterRulesetRetryWith
NewUpdateIPFilterRulesetRetryWith creates a UpdateIPFilterRulesetRetryWith with default headers values
func (*UpdateIPFilterRulesetRetryWith) Error ¶
func (o *UpdateIPFilterRulesetRetryWith) Error() string
func (*UpdateIPFilterRulesetRetryWith) GetPayload ¶
func (o *UpdateIPFilterRulesetRetryWith) GetPayload() *models.BasicFailedReply
Source Files
¶
- create_ip_filter_ruleset_association_parameters.go
- create_ip_filter_ruleset_association_responses.go
- create_ip_filter_ruleset_parameters.go
- create_ip_filter_ruleset_responses.go
- delete_ip_filter_ruleset_association_parameters.go
- delete_ip_filter_ruleset_association_responses.go
- delete_ip_filter_ruleset_parameters.go
- delete_ip_filter_ruleset_responses.go
- deployments_ip_filtering_client.go
- get_ip_filter_deployment_ruleset_associations_parameters.go
- get_ip_filter_deployment_ruleset_associations_responses.go
- get_ip_filter_ruleset_deployment_associations_parameters.go
- get_ip_filter_ruleset_deployment_associations_responses.go
- get_ip_filter_ruleset_parameters.go
- get_ip_filter_ruleset_responses.go
- get_ip_filter_rulesets_parameters.go
- get_ip_filter_rulesets_responses.go
- update_ip_filter_ruleset_parameters.go
- update_ip_filter_ruleset_responses.go