Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateTrafficFilterRuleset(params *CreateTrafficFilterRulesetParams, ...) (*CreateTrafficFilterRulesetCreated, error)
- func (a *Client) CreateTrafficFilterRulesetAssociation(params *CreateTrafficFilterRulesetAssociationParams, ...) (*CreateTrafficFilterRulesetAssociationOK, error)
- func (a *Client) DeleteTrafficFilterRuleset(params *DeleteTrafficFilterRulesetParams, ...) (*DeleteTrafficFilterRulesetOK, error)
- func (a *Client) DeleteTrafficFilterRulesetAssociation(params *DeleteTrafficFilterRulesetAssociationParams, ...) (*DeleteTrafficFilterRulesetAssociationOK, error)
- func (a *Client) GetTrafficFilterDeploymentRulesetAssociations(params *GetTrafficFilterDeploymentRulesetAssociationsParams, ...) (*GetTrafficFilterDeploymentRulesetAssociationsOK, error)
- func (a *Client) GetTrafficFilterRuleset(params *GetTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterRulesetOK, error)
- func (a *Client) GetTrafficFilterRulesetDeploymentAssociations(params *GetTrafficFilterRulesetDeploymentAssociationsParams, ...) (*GetTrafficFilterRulesetDeploymentAssociationsOK, error)
- func (a *Client) GetTrafficFilterRulesets(params *GetTrafficFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterRulesetsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTrafficFilterRuleset(params *UpdateTrafficFilterRulesetParams, ...) (*UpdateTrafficFilterRulesetOK, error)
- type ClientService
- type CreateTrafficFilterRulesetAssociationInternalServerError
- type CreateTrafficFilterRulesetAssociationNotFound
- type CreateTrafficFilterRulesetAssociationOK
- type CreateTrafficFilterRulesetAssociationParams
- func NewCreateTrafficFilterRulesetAssociationParams() *CreateTrafficFilterRulesetAssociationParams
- func NewCreateTrafficFilterRulesetAssociationParamsWithContext(ctx context.Context) *CreateTrafficFilterRulesetAssociationParams
- func NewCreateTrafficFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetAssociationParams
- func NewCreateTrafficFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetAssociationParams
- func (o *CreateTrafficFilterRulesetAssociationParams) SetBody(body *models.FilterAssociation)
- func (o *CreateTrafficFilterRulesetAssociationParams) SetContext(ctx context.Context)
- func (o *CreateTrafficFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)
- func (o *CreateTrafficFilterRulesetAssociationParams) SetRulesetID(rulesetID string)
- func (o *CreateTrafficFilterRulesetAssociationParams) SetTimeout(timeout time.Duration)
- func (o *CreateTrafficFilterRulesetAssociationParams) WithBody(body *models.FilterAssociation) *CreateTrafficFilterRulesetAssociationParams
- func (o *CreateTrafficFilterRulesetAssociationParams) WithContext(ctx context.Context) *CreateTrafficFilterRulesetAssociationParams
- func (o *CreateTrafficFilterRulesetAssociationParams) WithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetAssociationParams
- func (o *CreateTrafficFilterRulesetAssociationParams) WithRulesetID(rulesetID string) *CreateTrafficFilterRulesetAssociationParams
- func (o *CreateTrafficFilterRulesetAssociationParams) WithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetAssociationParams
- func (o *CreateTrafficFilterRulesetAssociationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTrafficFilterRulesetAssociationReader
- type CreateTrafficFilterRulesetCreated
- type CreateTrafficFilterRulesetInternalServerError
- type CreateTrafficFilterRulesetParams
- func NewCreateTrafficFilterRulesetParams() *CreateTrafficFilterRulesetParams
- func NewCreateTrafficFilterRulesetParamsWithContext(ctx context.Context) *CreateTrafficFilterRulesetParams
- func NewCreateTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetParams
- func NewCreateTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetParams
- func (o *CreateTrafficFilterRulesetParams) SetBody(body *models.TrafficFilterRulesetRequest)
- func (o *CreateTrafficFilterRulesetParams) SetContext(ctx context.Context)
- func (o *CreateTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)
- func (o *CreateTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)
- func (o *CreateTrafficFilterRulesetParams) WithBody(body *models.TrafficFilterRulesetRequest) *CreateTrafficFilterRulesetParams
- func (o *CreateTrafficFilterRulesetParams) WithContext(ctx context.Context) *CreateTrafficFilterRulesetParams
- func (o *CreateTrafficFilterRulesetParams) WithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetParams
- func (o *CreateTrafficFilterRulesetParams) WithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetParams
- func (o *CreateTrafficFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTrafficFilterRulesetReader
- type DeleteTrafficFilterRulesetAssociationInternalServerError
- type DeleteTrafficFilterRulesetAssociationNotFound
- type DeleteTrafficFilterRulesetAssociationOK
- type DeleteTrafficFilterRulesetAssociationParams
- func NewDeleteTrafficFilterRulesetAssociationParams() *DeleteTrafficFilterRulesetAssociationParams
- func NewDeleteTrafficFilterRulesetAssociationParamsWithContext(ctx context.Context) *DeleteTrafficFilterRulesetAssociationParams
- func NewDeleteTrafficFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetAssociationParams
- func NewDeleteTrafficFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetAssociationParams
- func (o *DeleteTrafficFilterRulesetAssociationParams) SetAssociatedEntityID(associatedEntityID string)
- func (o *DeleteTrafficFilterRulesetAssociationParams) SetAssociationType(associationType string)
- func (o *DeleteTrafficFilterRulesetAssociationParams) SetContext(ctx context.Context)
- func (o *DeleteTrafficFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTrafficFilterRulesetAssociationParams) SetRulesetID(rulesetID string)
- func (o *DeleteTrafficFilterRulesetAssociationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTrafficFilterRulesetAssociationParams) WithAssociatedEntityID(associatedEntityID string) *DeleteTrafficFilterRulesetAssociationParams
- func (o *DeleteTrafficFilterRulesetAssociationParams) WithAssociationType(associationType string) *DeleteTrafficFilterRulesetAssociationParams
- func (o *DeleteTrafficFilterRulesetAssociationParams) WithContext(ctx context.Context) *DeleteTrafficFilterRulesetAssociationParams
- func (o *DeleteTrafficFilterRulesetAssociationParams) WithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetAssociationParams
- func (o *DeleteTrafficFilterRulesetAssociationParams) WithRulesetID(rulesetID string) *DeleteTrafficFilterRulesetAssociationParams
- func (o *DeleteTrafficFilterRulesetAssociationParams) WithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetAssociationParams
- func (o *DeleteTrafficFilterRulesetAssociationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTrafficFilterRulesetAssociationReader
- type DeleteTrafficFilterRulesetInternalServerError
- type DeleteTrafficFilterRulesetNotFound
- type DeleteTrafficFilterRulesetOK
- type DeleteTrafficFilterRulesetParams
- func NewDeleteTrafficFilterRulesetParams() *DeleteTrafficFilterRulesetParams
- func NewDeleteTrafficFilterRulesetParamsWithContext(ctx context.Context) *DeleteTrafficFilterRulesetParams
- func NewDeleteTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetParams
- func NewDeleteTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetParams
- func (o *DeleteTrafficFilterRulesetParams) SetContext(ctx context.Context)
- func (o *DeleteTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTrafficFilterRulesetParams) SetIgnoreAssociations(ignoreAssociations *bool)
- func (o *DeleteTrafficFilterRulesetParams) SetRulesetID(rulesetID string)
- func (o *DeleteTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTrafficFilterRulesetParams) WithContext(ctx context.Context) *DeleteTrafficFilterRulesetParams
- func (o *DeleteTrafficFilterRulesetParams) WithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetParams
- func (o *DeleteTrafficFilterRulesetParams) WithIgnoreAssociations(ignoreAssociations *bool) *DeleteTrafficFilterRulesetParams
- func (o *DeleteTrafficFilterRulesetParams) WithRulesetID(rulesetID string) *DeleteTrafficFilterRulesetParams
- func (o *DeleteTrafficFilterRulesetParams) WithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetParams
- func (o *DeleteTrafficFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTrafficFilterRulesetReader
- type GetTrafficFilterDeploymentRulesetAssociationsBadRequest
- type GetTrafficFilterDeploymentRulesetAssociationsInternalServerError
- type GetTrafficFilterDeploymentRulesetAssociationsOK
- type GetTrafficFilterDeploymentRulesetAssociationsParams
- func NewGetTrafficFilterDeploymentRulesetAssociationsParams() *GetTrafficFilterDeploymentRulesetAssociationsParams
- func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithContext(ctx context.Context) *GetTrafficFilterDeploymentRulesetAssociationsParams
- func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterDeploymentRulesetAssociationsParams
- func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterDeploymentRulesetAssociationsParams
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID(associatedEntityID string)
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociationType(associationType string)
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetContext(ctx context.Context)
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetHTTPClient(client *http.Client)
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetTimeout(timeout time.Duration)
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID(associatedEntityID string) *GetTrafficFilterDeploymentRulesetAssociationsParams
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociationType(associationType string) *GetTrafficFilterDeploymentRulesetAssociationsParams
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithContext(ctx context.Context) *GetTrafficFilterDeploymentRulesetAssociationsParams
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithHTTPClient(client *http.Client) *GetTrafficFilterDeploymentRulesetAssociationsParams
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithTimeout(timeout time.Duration) *GetTrafficFilterDeploymentRulesetAssociationsParams
- func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrafficFilterDeploymentRulesetAssociationsReader
- type GetTrafficFilterRulesetDeploymentAssociationsInternalServerError
- type GetTrafficFilterRulesetDeploymentAssociationsOK
- type GetTrafficFilterRulesetDeploymentAssociationsParams
- func NewGetTrafficFilterRulesetDeploymentAssociationsParams() *GetTrafficFilterRulesetDeploymentAssociationsParams
- func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetDeploymentAssociationsParams
- func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetDeploymentAssociationsParams
- func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetDeploymentAssociationsParams
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) SetContext(ctx context.Context)
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) SetHTTPClient(client *http.Client)
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) SetRulesetID(rulesetID string)
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) SetTimeout(timeout time.Duration)
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WithContext(ctx context.Context) *GetTrafficFilterRulesetDeploymentAssociationsParams
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WithHTTPClient(client *http.Client) *GetTrafficFilterRulesetDeploymentAssociationsParams
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WithRulesetID(rulesetID string) *GetTrafficFilterRulesetDeploymentAssociationsParams
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WithTimeout(timeout time.Duration) *GetTrafficFilterRulesetDeploymentAssociationsParams
- func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrafficFilterRulesetDeploymentAssociationsReader
- type GetTrafficFilterRulesetInternalServerError
- type GetTrafficFilterRulesetNotFound
- type GetTrafficFilterRulesetOK
- type GetTrafficFilterRulesetParams
- func NewGetTrafficFilterRulesetParams() *GetTrafficFilterRulesetParams
- func NewGetTrafficFilterRulesetParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetParams
- func NewGetTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetParams
- func NewGetTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetParams
- func (o *GetTrafficFilterRulesetParams) SetContext(ctx context.Context)
- func (o *GetTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)
- func (o *GetTrafficFilterRulesetParams) SetIncludeAssociations(includeAssociations *bool)
- func (o *GetTrafficFilterRulesetParams) SetRulesetID(rulesetID string)
- func (o *GetTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)
- func (o *GetTrafficFilterRulesetParams) WithContext(ctx context.Context) *GetTrafficFilterRulesetParams
- func (o *GetTrafficFilterRulesetParams) WithHTTPClient(client *http.Client) *GetTrafficFilterRulesetParams
- func (o *GetTrafficFilterRulesetParams) WithIncludeAssociations(includeAssociations *bool) *GetTrafficFilterRulesetParams
- func (o *GetTrafficFilterRulesetParams) WithRulesetID(rulesetID string) *GetTrafficFilterRulesetParams
- func (o *GetTrafficFilterRulesetParams) WithTimeout(timeout time.Duration) *GetTrafficFilterRulesetParams
- func (o *GetTrafficFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrafficFilterRulesetReader
- type GetTrafficFilterRulesetsInternalServerError
- type GetTrafficFilterRulesetsOK
- type GetTrafficFilterRulesetsParams
- func NewGetTrafficFilterRulesetsParams() *GetTrafficFilterRulesetsParams
- func NewGetTrafficFilterRulesetsParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetsParams
- func NewGetTrafficFilterRulesetsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetsParams
- func NewGetTrafficFilterRulesetsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetsParams
- func (o *GetTrafficFilterRulesetsParams) SetContext(ctx context.Context)
- func (o *GetTrafficFilterRulesetsParams) SetHTTPClient(client *http.Client)
- func (o *GetTrafficFilterRulesetsParams) SetIncludeAssociations(includeAssociations *bool)
- func (o *GetTrafficFilterRulesetsParams) SetRegion(region *string)
- func (o *GetTrafficFilterRulesetsParams) SetTimeout(timeout time.Duration)
- func (o *GetTrafficFilterRulesetsParams) WithContext(ctx context.Context) *GetTrafficFilterRulesetsParams
- func (o *GetTrafficFilterRulesetsParams) WithHTTPClient(client *http.Client) *GetTrafficFilterRulesetsParams
- func (o *GetTrafficFilterRulesetsParams) WithIncludeAssociations(includeAssociations *bool) *GetTrafficFilterRulesetsParams
- func (o *GetTrafficFilterRulesetsParams) WithRegion(region *string) *GetTrafficFilterRulesetsParams
- func (o *GetTrafficFilterRulesetsParams) WithTimeout(timeout time.Duration) *GetTrafficFilterRulesetsParams
- func (o *GetTrafficFilterRulesetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrafficFilterRulesetsReader
- type UpdateTrafficFilterRulesetInternalServerError
- type UpdateTrafficFilterRulesetNotFound
- type UpdateTrafficFilterRulesetOK
- type UpdateTrafficFilterRulesetParams
- func NewUpdateTrafficFilterRulesetParams() *UpdateTrafficFilterRulesetParams
- func NewUpdateTrafficFilterRulesetParamsWithContext(ctx context.Context) *UpdateTrafficFilterRulesetParams
- func NewUpdateTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *UpdateTrafficFilterRulesetParams
- func NewUpdateTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *UpdateTrafficFilterRulesetParams
- func (o *UpdateTrafficFilterRulesetParams) SetBody(body *models.TrafficFilterRulesetRequest)
- func (o *UpdateTrafficFilterRulesetParams) SetContext(ctx context.Context)
- func (o *UpdateTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)
- func (o *UpdateTrafficFilterRulesetParams) SetRulesetID(rulesetID string)
- func (o *UpdateTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)
- func (o *UpdateTrafficFilterRulesetParams) WithBody(body *models.TrafficFilterRulesetRequest) *UpdateTrafficFilterRulesetParams
- func (o *UpdateTrafficFilterRulesetParams) WithContext(ctx context.Context) *UpdateTrafficFilterRulesetParams
- func (o *UpdateTrafficFilterRulesetParams) WithHTTPClient(client *http.Client) *UpdateTrafficFilterRulesetParams
- func (o *UpdateTrafficFilterRulesetParams) WithRulesetID(rulesetID string) *UpdateTrafficFilterRulesetParams
- func (o *UpdateTrafficFilterRulesetParams) WithTimeout(timeout time.Duration) *UpdateTrafficFilterRulesetParams
- func (o *UpdateTrafficFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateTrafficFilterRulesetReader
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 traffic filter API
func (*Client) CreateTrafficFilterRuleset ¶
func (a *Client) CreateTrafficFilterRuleset(params *CreateTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTrafficFilterRulesetCreated, error)
CreateTrafficFilterRuleset creates a ruleset
Creates a ruleset that consists of a set of rules.
func (*Client) CreateTrafficFilterRulesetAssociation ¶
func (a *Client) CreateTrafficFilterRulesetAssociation(params *CreateTrafficFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTrafficFilterRulesetAssociationOK, error)
CreateTrafficFilterRulesetAssociation creates ruleset association
Applies the ruleset to the specified deployment.
func (*Client) DeleteTrafficFilterRuleset ¶
func (a *Client) DeleteTrafficFilterRuleset(params *DeleteTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTrafficFilterRulesetOK, error)
DeleteTrafficFilterRuleset deletes a ruleset
Deletes the ruleset by ID.
func (*Client) DeleteTrafficFilterRulesetAssociation ¶
func (a *Client) DeleteTrafficFilterRulesetAssociation(params *DeleteTrafficFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTrafficFilterRulesetAssociationOK, error)
DeleteTrafficFilterRulesetAssociation deletes ruleset association
Deletes the traffic rules in the ruleset from the deployment.
func (*Client) GetTrafficFilterDeploymentRulesetAssociations ¶
func (a *Client) GetTrafficFilterDeploymentRulesetAssociations(params *GetTrafficFilterDeploymentRulesetAssociationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterDeploymentRulesetAssociationsOK, error)
GetTrafficFilterDeploymentRulesetAssociations gets associated rulesets
Retrieves the rulesets associated with a deployment.
func (*Client) GetTrafficFilterRuleset ¶
func (a *Client) GetTrafficFilterRuleset(params *GetTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterRulesetOK, error)
GetTrafficFilterRuleset retrieves the ruleset by ID
Retrieves a list of resources that are associated to the specified ruleset.
func (*Client) GetTrafficFilterRulesetDeploymentAssociations ¶
func (a *Client) GetTrafficFilterRulesetDeploymentAssociations(params *GetTrafficFilterRulesetDeploymentAssociationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterRulesetDeploymentAssociationsOK, error)
GetTrafficFilterRulesetDeploymentAssociations gets associated deployments
Retrieves a list of deployments that are associated to the specified ruleset.
func (*Client) GetTrafficFilterRulesets ¶
func (a *Client) GetTrafficFilterRulesets(params *GetTrafficFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterRulesetsOK, error)
GetTrafficFilterRulesets lists traffic filter rulesets
List all of the traffic filter rulesets.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTrafficFilterRuleset ¶
func (a *Client) UpdateTrafficFilterRuleset(params *UpdateTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTrafficFilterRulesetOK, error)
UpdateTrafficFilterRuleset updates a ruleset
Updates the ruleset with the definition.
type ClientService ¶
type ClientService interface {
CreateTrafficFilterRuleset(params *CreateTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTrafficFilterRulesetCreated, error)
CreateTrafficFilterRulesetAssociation(params *CreateTrafficFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTrafficFilterRulesetAssociationOK, error)
DeleteTrafficFilterRuleset(params *DeleteTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTrafficFilterRulesetOK, error)
DeleteTrafficFilterRulesetAssociation(params *DeleteTrafficFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTrafficFilterRulesetAssociationOK, error)
GetTrafficFilterDeploymentRulesetAssociations(params *GetTrafficFilterDeploymentRulesetAssociationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterDeploymentRulesetAssociationsOK, error)
GetTrafficFilterRuleset(params *GetTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterRulesetOK, error)
GetTrafficFilterRulesetDeploymentAssociations(params *GetTrafficFilterRulesetDeploymentAssociationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterRulesetDeploymentAssociationsOK, error)
GetTrafficFilterRulesets(params *GetTrafficFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter) (*GetTrafficFilterRulesetsOK, error)
UpdateTrafficFilterRuleset(params *UpdateTrafficFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateTrafficFilterRulesetOK, 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 traffic filter API client.
type CreateTrafficFilterRulesetAssociationInternalServerError ¶
type CreateTrafficFilterRulesetAssociationInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
CreateTrafficFilterRulesetAssociationInternalServerError handles this case with default header values.
Creation failed. (code: `traffic_filter.request_execution_failed`)
func NewCreateTrafficFilterRulesetAssociationInternalServerError ¶
func NewCreateTrafficFilterRulesetAssociationInternalServerError() *CreateTrafficFilterRulesetAssociationInternalServerError
NewCreateTrafficFilterRulesetAssociationInternalServerError creates a CreateTrafficFilterRulesetAssociationInternalServerError with default headers values
func (*CreateTrafficFilterRulesetAssociationInternalServerError) Error ¶
func (o *CreateTrafficFilterRulesetAssociationInternalServerError) Error() string
func (*CreateTrafficFilterRulesetAssociationInternalServerError) GetPayload ¶
func (o *CreateTrafficFilterRulesetAssociationInternalServerError) GetPayload() *models.BasicFailedReply
type CreateTrafficFilterRulesetAssociationNotFound ¶
type CreateTrafficFilterRulesetAssociationNotFound struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
CreateTrafficFilterRulesetAssociationNotFound handles this case with default header values.
The traffic filter ruleset specified by {ruleset_id} cannot be found. (code: `traffic_filter.not_found`)
func NewCreateTrafficFilterRulesetAssociationNotFound ¶
func NewCreateTrafficFilterRulesetAssociationNotFound() *CreateTrafficFilterRulesetAssociationNotFound
NewCreateTrafficFilterRulesetAssociationNotFound creates a CreateTrafficFilterRulesetAssociationNotFound with default headers values
func (*CreateTrafficFilterRulesetAssociationNotFound) Error ¶
func (o *CreateTrafficFilterRulesetAssociationNotFound) Error() string
func (*CreateTrafficFilterRulesetAssociationNotFound) GetPayload ¶
func (o *CreateTrafficFilterRulesetAssociationNotFound) GetPayload() *models.BasicFailedReply
type CreateTrafficFilterRulesetAssociationOK ¶
type CreateTrafficFilterRulesetAssociationOK struct {
Payload models.EmptyResponse
}
CreateTrafficFilterRulesetAssociationOK handles this case with default header values.
Create association request was valid and the association has been created
func NewCreateTrafficFilterRulesetAssociationOK ¶
func NewCreateTrafficFilterRulesetAssociationOK() *CreateTrafficFilterRulesetAssociationOK
NewCreateTrafficFilterRulesetAssociationOK creates a CreateTrafficFilterRulesetAssociationOK with default headers values
func (*CreateTrafficFilterRulesetAssociationOK) Error ¶
func (o *CreateTrafficFilterRulesetAssociationOK) Error() string
func (*CreateTrafficFilterRulesetAssociationOK) GetPayload ¶
func (o *CreateTrafficFilterRulesetAssociationOK) GetPayload() models.EmptyResponse
type CreateTrafficFilterRulesetAssociationParams ¶
type CreateTrafficFilterRulesetAssociationParams struct {
/*Body
Mandatory ruleset association description
*/
Body *models.FilterAssociation
/*RulesetID
The mandatory ruleset ID.
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateTrafficFilterRulesetAssociationParams contains all the parameters to send to the API endpoint for the create traffic filter ruleset association operation typically these are written to a http.Request
func NewCreateTrafficFilterRulesetAssociationParams ¶
func NewCreateTrafficFilterRulesetAssociationParams() *CreateTrafficFilterRulesetAssociationParams
NewCreateTrafficFilterRulesetAssociationParams creates a new CreateTrafficFilterRulesetAssociationParams object with the default values initialized.
func NewCreateTrafficFilterRulesetAssociationParamsWithContext ¶
func NewCreateTrafficFilterRulesetAssociationParamsWithContext(ctx context.Context) *CreateTrafficFilterRulesetAssociationParams
NewCreateTrafficFilterRulesetAssociationParamsWithContext creates a new CreateTrafficFilterRulesetAssociationParams object with the default values initialized, and the ability to set a context for a request
func NewCreateTrafficFilterRulesetAssociationParamsWithHTTPClient ¶
func NewCreateTrafficFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetAssociationParams
NewCreateTrafficFilterRulesetAssociationParamsWithHTTPClient creates a new CreateTrafficFilterRulesetAssociationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateTrafficFilterRulesetAssociationParamsWithTimeout ¶
func NewCreateTrafficFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetAssociationParams
NewCreateTrafficFilterRulesetAssociationParamsWithTimeout creates a new CreateTrafficFilterRulesetAssociationParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateTrafficFilterRulesetAssociationParams) SetBody ¶
func (o *CreateTrafficFilterRulesetAssociationParams) SetBody(body *models.FilterAssociation)
SetBody adds the body to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) SetContext ¶
func (o *CreateTrafficFilterRulesetAssociationParams) SetContext(ctx context.Context)
SetContext adds the context to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) SetHTTPClient ¶
func (o *CreateTrafficFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) SetRulesetID ¶
func (o *CreateTrafficFilterRulesetAssociationParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) SetTimeout ¶
func (o *CreateTrafficFilterRulesetAssociationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) WithBody ¶
func (o *CreateTrafficFilterRulesetAssociationParams) WithBody(body *models.FilterAssociation) *CreateTrafficFilterRulesetAssociationParams
WithBody adds the body to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) WithContext ¶
func (o *CreateTrafficFilterRulesetAssociationParams) WithContext(ctx context.Context) *CreateTrafficFilterRulesetAssociationParams
WithContext adds the context to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) WithHTTPClient ¶
func (o *CreateTrafficFilterRulesetAssociationParams) WithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetAssociationParams
WithHTTPClient adds the HTTPClient to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) WithRulesetID ¶
func (o *CreateTrafficFilterRulesetAssociationParams) WithRulesetID(rulesetID string) *CreateTrafficFilterRulesetAssociationParams
WithRulesetID adds the rulesetID to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) WithTimeout ¶
func (o *CreateTrafficFilterRulesetAssociationParams) WithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetAssociationParams
WithTimeout adds the timeout to the create traffic filter ruleset association params
func (*CreateTrafficFilterRulesetAssociationParams) WriteToRequest ¶
func (o *CreateTrafficFilterRulesetAssociationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTrafficFilterRulesetAssociationReader ¶
type CreateTrafficFilterRulesetAssociationReader struct {
// contains filtered or unexported fields
}
CreateTrafficFilterRulesetAssociationReader is a Reader for the CreateTrafficFilterRulesetAssociation structure.
func (*CreateTrafficFilterRulesetAssociationReader) ReadResponse ¶
func (o *CreateTrafficFilterRulesetAssociationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTrafficFilterRulesetCreated ¶
type CreateTrafficFilterRulesetCreated struct {
Payload *models.TrafficFilterRulesetResponse
}
CreateTrafficFilterRulesetCreated handles this case with default header values.
The ruleset definition is valid and the creation has started.
func NewCreateTrafficFilterRulesetCreated ¶
func NewCreateTrafficFilterRulesetCreated() *CreateTrafficFilterRulesetCreated
NewCreateTrafficFilterRulesetCreated creates a CreateTrafficFilterRulesetCreated with default headers values
func (*CreateTrafficFilterRulesetCreated) Error ¶
func (o *CreateTrafficFilterRulesetCreated) Error() string
func (*CreateTrafficFilterRulesetCreated) GetPayload ¶
func (o *CreateTrafficFilterRulesetCreated) GetPayload() *models.TrafficFilterRulesetResponse
type CreateTrafficFilterRulesetInternalServerError ¶
type CreateTrafficFilterRulesetInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
CreateTrafficFilterRulesetInternalServerError handles this case with default header values.
Error creating the traffic filter ruleset. (code: `traffic_filter.request_execution_failed`)
func NewCreateTrafficFilterRulesetInternalServerError ¶
func NewCreateTrafficFilterRulesetInternalServerError() *CreateTrafficFilterRulesetInternalServerError
NewCreateTrafficFilterRulesetInternalServerError creates a CreateTrafficFilterRulesetInternalServerError with default headers values
func (*CreateTrafficFilterRulesetInternalServerError) Error ¶
func (o *CreateTrafficFilterRulesetInternalServerError) Error() string
func (*CreateTrafficFilterRulesetInternalServerError) GetPayload ¶
func (o *CreateTrafficFilterRulesetInternalServerError) GetPayload() *models.BasicFailedReply
type CreateTrafficFilterRulesetParams ¶
type CreateTrafficFilterRulesetParams struct {
/*Body
The specification for traffic filter ruleset.
*/
Body *models.TrafficFilterRulesetRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateTrafficFilterRulesetParams contains all the parameters to send to the API endpoint for the create traffic filter ruleset operation typically these are written to a http.Request
func NewCreateTrafficFilterRulesetParams ¶
func NewCreateTrafficFilterRulesetParams() *CreateTrafficFilterRulesetParams
NewCreateTrafficFilterRulesetParams creates a new CreateTrafficFilterRulesetParams object with the default values initialized.
func NewCreateTrafficFilterRulesetParamsWithContext ¶
func NewCreateTrafficFilterRulesetParamsWithContext(ctx context.Context) *CreateTrafficFilterRulesetParams
NewCreateTrafficFilterRulesetParamsWithContext creates a new CreateTrafficFilterRulesetParams object with the default values initialized, and the ability to set a context for a request
func NewCreateTrafficFilterRulesetParamsWithHTTPClient ¶
func NewCreateTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetParams
NewCreateTrafficFilterRulesetParamsWithHTTPClient creates a new CreateTrafficFilterRulesetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateTrafficFilterRulesetParamsWithTimeout ¶
func NewCreateTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetParams
NewCreateTrafficFilterRulesetParamsWithTimeout creates a new CreateTrafficFilterRulesetParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateTrafficFilterRulesetParams) SetBody ¶
func (o *CreateTrafficFilterRulesetParams) SetBody(body *models.TrafficFilterRulesetRequest)
SetBody adds the body to the create traffic filter ruleset params
func (*CreateTrafficFilterRulesetParams) SetContext ¶
func (o *CreateTrafficFilterRulesetParams) SetContext(ctx context.Context)
SetContext adds the context to the create traffic filter ruleset params
func (*CreateTrafficFilterRulesetParams) SetHTTPClient ¶
func (o *CreateTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create traffic filter ruleset params
func (*CreateTrafficFilterRulesetParams) SetTimeout ¶
func (o *CreateTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create traffic filter ruleset params
func (*CreateTrafficFilterRulesetParams) WithBody ¶
func (o *CreateTrafficFilterRulesetParams) WithBody(body *models.TrafficFilterRulesetRequest) *CreateTrafficFilterRulesetParams
WithBody adds the body to the create traffic filter ruleset params
func (*CreateTrafficFilterRulesetParams) WithContext ¶
func (o *CreateTrafficFilterRulesetParams) WithContext(ctx context.Context) *CreateTrafficFilterRulesetParams
WithContext adds the context to the create traffic filter ruleset params
func (*CreateTrafficFilterRulesetParams) WithHTTPClient ¶
func (o *CreateTrafficFilterRulesetParams) WithHTTPClient(client *http.Client) *CreateTrafficFilterRulesetParams
WithHTTPClient adds the HTTPClient to the create traffic filter ruleset params
func (*CreateTrafficFilterRulesetParams) WithTimeout ¶
func (o *CreateTrafficFilterRulesetParams) WithTimeout(timeout time.Duration) *CreateTrafficFilterRulesetParams
WithTimeout adds the timeout to the create traffic filter ruleset params
func (*CreateTrafficFilterRulesetParams) WriteToRequest ¶
func (o *CreateTrafficFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTrafficFilterRulesetReader ¶
type CreateTrafficFilterRulesetReader struct {
// contains filtered or unexported fields
}
CreateTrafficFilterRulesetReader is a Reader for the CreateTrafficFilterRuleset structure.
func (*CreateTrafficFilterRulesetReader) ReadResponse ¶
func (o *CreateTrafficFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTrafficFilterRulesetAssociationInternalServerError ¶
type DeleteTrafficFilterRulesetAssociationInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
DeleteTrafficFilterRulesetAssociationInternalServerError handles this case with default header values.
Deletion failed. (code: `traffic_filter.request_execution_failed`)
func NewDeleteTrafficFilterRulesetAssociationInternalServerError ¶
func NewDeleteTrafficFilterRulesetAssociationInternalServerError() *DeleteTrafficFilterRulesetAssociationInternalServerError
NewDeleteTrafficFilterRulesetAssociationInternalServerError creates a DeleteTrafficFilterRulesetAssociationInternalServerError with default headers values
func (*DeleteTrafficFilterRulesetAssociationInternalServerError) Error ¶
func (o *DeleteTrafficFilterRulesetAssociationInternalServerError) Error() string
func (*DeleteTrafficFilterRulesetAssociationInternalServerError) GetPayload ¶
func (o *DeleteTrafficFilterRulesetAssociationInternalServerError) GetPayload() *models.BasicFailedReply
type DeleteTrafficFilterRulesetAssociationNotFound ¶
type DeleteTrafficFilterRulesetAssociationNotFound struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
DeleteTrafficFilterRulesetAssociationNotFound handles this case with default header values.
The traffic filter ruleset association cannot be found. (code: `traffic_filter.not_found`)
func NewDeleteTrafficFilterRulesetAssociationNotFound ¶
func NewDeleteTrafficFilterRulesetAssociationNotFound() *DeleteTrafficFilterRulesetAssociationNotFound
NewDeleteTrafficFilterRulesetAssociationNotFound creates a DeleteTrafficFilterRulesetAssociationNotFound with default headers values
func (*DeleteTrafficFilterRulesetAssociationNotFound) Error ¶
func (o *DeleteTrafficFilterRulesetAssociationNotFound) Error() string
func (*DeleteTrafficFilterRulesetAssociationNotFound) GetPayload ¶
func (o *DeleteTrafficFilterRulesetAssociationNotFound) GetPayload() *models.BasicFailedReply
type DeleteTrafficFilterRulesetAssociationOK ¶
type DeleteTrafficFilterRulesetAssociationOK struct {
Payload models.EmptyResponse
}
DeleteTrafficFilterRulesetAssociationOK handles this case with default header values.
Delete association request was valid and the association has been deleted
func NewDeleteTrafficFilterRulesetAssociationOK ¶
func NewDeleteTrafficFilterRulesetAssociationOK() *DeleteTrafficFilterRulesetAssociationOK
NewDeleteTrafficFilterRulesetAssociationOK creates a DeleteTrafficFilterRulesetAssociationOK with default headers values
func (*DeleteTrafficFilterRulesetAssociationOK) Error ¶
func (o *DeleteTrafficFilterRulesetAssociationOK) Error() string
func (*DeleteTrafficFilterRulesetAssociationOK) GetPayload ¶
func (o *DeleteTrafficFilterRulesetAssociationOK) GetPayload() models.EmptyResponse
type DeleteTrafficFilterRulesetAssociationParams ¶
type DeleteTrafficFilterRulesetAssociationParams struct {
/*AssociatedEntityID
Associated entity ID
*/
AssociatedEntityID string
/*AssociationType
Association type
*/
AssociationType string
/*RulesetID
The mandatory ruleset ID.
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteTrafficFilterRulesetAssociationParams contains all the parameters to send to the API endpoint for the delete traffic filter ruleset association operation typically these are written to a http.Request
func NewDeleteTrafficFilterRulesetAssociationParams ¶
func NewDeleteTrafficFilterRulesetAssociationParams() *DeleteTrafficFilterRulesetAssociationParams
NewDeleteTrafficFilterRulesetAssociationParams creates a new DeleteTrafficFilterRulesetAssociationParams object with the default values initialized.
func NewDeleteTrafficFilterRulesetAssociationParamsWithContext ¶
func NewDeleteTrafficFilterRulesetAssociationParamsWithContext(ctx context.Context) *DeleteTrafficFilterRulesetAssociationParams
NewDeleteTrafficFilterRulesetAssociationParamsWithContext creates a new DeleteTrafficFilterRulesetAssociationParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteTrafficFilterRulesetAssociationParamsWithHTTPClient ¶
func NewDeleteTrafficFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetAssociationParams
NewDeleteTrafficFilterRulesetAssociationParamsWithHTTPClient creates a new DeleteTrafficFilterRulesetAssociationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteTrafficFilterRulesetAssociationParamsWithTimeout ¶
func NewDeleteTrafficFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetAssociationParams
NewDeleteTrafficFilterRulesetAssociationParamsWithTimeout creates a new DeleteTrafficFilterRulesetAssociationParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteTrafficFilterRulesetAssociationParams) SetAssociatedEntityID ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) SetAssociatedEntityID(associatedEntityID string)
SetAssociatedEntityID adds the associatedEntityId to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) SetAssociationType ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) SetAssociationType(associationType string)
SetAssociationType adds the associationType to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) SetContext ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) SetHTTPClient ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) SetRulesetID ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) SetTimeout ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) WithAssociatedEntityID ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) WithAssociatedEntityID(associatedEntityID string) *DeleteTrafficFilterRulesetAssociationParams
WithAssociatedEntityID adds the associatedEntityID to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) WithAssociationType ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) WithAssociationType(associationType string) *DeleteTrafficFilterRulesetAssociationParams
WithAssociationType adds the associationType to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) WithContext ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) WithContext(ctx context.Context) *DeleteTrafficFilterRulesetAssociationParams
WithContext adds the context to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) WithHTTPClient ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) WithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetAssociationParams
WithHTTPClient adds the HTTPClient to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) WithRulesetID ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) WithRulesetID(rulesetID string) *DeleteTrafficFilterRulesetAssociationParams
WithRulesetID adds the rulesetID to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) WithTimeout ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) WithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetAssociationParams
WithTimeout adds the timeout to the delete traffic filter ruleset association params
func (*DeleteTrafficFilterRulesetAssociationParams) WriteToRequest ¶
func (o *DeleteTrafficFilterRulesetAssociationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTrafficFilterRulesetAssociationReader ¶
type DeleteTrafficFilterRulesetAssociationReader struct {
// contains filtered or unexported fields
}
DeleteTrafficFilterRulesetAssociationReader is a Reader for the DeleteTrafficFilterRulesetAssociation structure.
func (*DeleteTrafficFilterRulesetAssociationReader) ReadResponse ¶
func (o *DeleteTrafficFilterRulesetAssociationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTrafficFilterRulesetInternalServerError ¶
type DeleteTrafficFilterRulesetInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
DeleteTrafficFilterRulesetInternalServerError handles this case with default header values.
Error deleting the traffic filter ruleset. (code: `traffic_filter.request_execution_failed`)
func NewDeleteTrafficFilterRulesetInternalServerError ¶
func NewDeleteTrafficFilterRulesetInternalServerError() *DeleteTrafficFilterRulesetInternalServerError
NewDeleteTrafficFilterRulesetInternalServerError creates a DeleteTrafficFilterRulesetInternalServerError with default headers values
func (*DeleteTrafficFilterRulesetInternalServerError) Error ¶
func (o *DeleteTrafficFilterRulesetInternalServerError) Error() string
func (*DeleteTrafficFilterRulesetInternalServerError) GetPayload ¶
func (o *DeleteTrafficFilterRulesetInternalServerError) GetPayload() *models.BasicFailedReply
type DeleteTrafficFilterRulesetNotFound ¶
type DeleteTrafficFilterRulesetNotFound struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
DeleteTrafficFilterRulesetNotFound handles this case with default header values.
The traffic filter ruleset specified by {ruleset_id} cannot be found. (code: `traffic_filter.not_found`)
func NewDeleteTrafficFilterRulesetNotFound ¶
func NewDeleteTrafficFilterRulesetNotFound() *DeleteTrafficFilterRulesetNotFound
NewDeleteTrafficFilterRulesetNotFound creates a DeleteTrafficFilterRulesetNotFound with default headers values
func (*DeleteTrafficFilterRulesetNotFound) Error ¶
func (o *DeleteTrafficFilterRulesetNotFound) Error() string
func (*DeleteTrafficFilterRulesetNotFound) GetPayload ¶
func (o *DeleteTrafficFilterRulesetNotFound) GetPayload() *models.BasicFailedReply
type DeleteTrafficFilterRulesetOK ¶
type DeleteTrafficFilterRulesetOK struct {
Payload models.EmptyResponse
}
DeleteTrafficFilterRulesetOK handles this case with default header values.
The traffic filter ruleset was successfully deleted.
func NewDeleteTrafficFilterRulesetOK ¶
func NewDeleteTrafficFilterRulesetOK() *DeleteTrafficFilterRulesetOK
NewDeleteTrafficFilterRulesetOK creates a DeleteTrafficFilterRulesetOK with default headers values
func (*DeleteTrafficFilterRulesetOK) Error ¶
func (o *DeleteTrafficFilterRulesetOK) Error() string
func (*DeleteTrafficFilterRulesetOK) GetPayload ¶
func (o *DeleteTrafficFilterRulesetOK) GetPayload() models.EmptyResponse
type DeleteTrafficFilterRulesetParams ¶
type DeleteTrafficFilterRulesetParams struct {
/*IgnoreAssociations
When true, ignores the associations and deletes the ruleset. 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
}
DeleteTrafficFilterRulesetParams contains all the parameters to send to the API endpoint for the delete traffic filter ruleset operation typically these are written to a http.Request
func NewDeleteTrafficFilterRulesetParams ¶
func NewDeleteTrafficFilterRulesetParams() *DeleteTrafficFilterRulesetParams
NewDeleteTrafficFilterRulesetParams creates a new DeleteTrafficFilterRulesetParams object with the default values initialized.
func NewDeleteTrafficFilterRulesetParamsWithContext ¶
func NewDeleteTrafficFilterRulesetParamsWithContext(ctx context.Context) *DeleteTrafficFilterRulesetParams
NewDeleteTrafficFilterRulesetParamsWithContext creates a new DeleteTrafficFilterRulesetParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteTrafficFilterRulesetParamsWithHTTPClient ¶
func NewDeleteTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetParams
NewDeleteTrafficFilterRulesetParamsWithHTTPClient creates a new DeleteTrafficFilterRulesetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteTrafficFilterRulesetParamsWithTimeout ¶
func NewDeleteTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetParams
NewDeleteTrafficFilterRulesetParamsWithTimeout creates a new DeleteTrafficFilterRulesetParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteTrafficFilterRulesetParams) SetContext ¶
func (o *DeleteTrafficFilterRulesetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) SetHTTPClient ¶
func (o *DeleteTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) SetIgnoreAssociations ¶
func (o *DeleteTrafficFilterRulesetParams) SetIgnoreAssociations(ignoreAssociations *bool)
SetIgnoreAssociations adds the ignoreAssociations to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) SetRulesetID ¶
func (o *DeleteTrafficFilterRulesetParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) SetTimeout ¶
func (o *DeleteTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) WithContext ¶
func (o *DeleteTrafficFilterRulesetParams) WithContext(ctx context.Context) *DeleteTrafficFilterRulesetParams
WithContext adds the context to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) WithHTTPClient ¶
func (o *DeleteTrafficFilterRulesetParams) WithHTTPClient(client *http.Client) *DeleteTrafficFilterRulesetParams
WithHTTPClient adds the HTTPClient to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) WithIgnoreAssociations ¶
func (o *DeleteTrafficFilterRulesetParams) WithIgnoreAssociations(ignoreAssociations *bool) *DeleteTrafficFilterRulesetParams
WithIgnoreAssociations adds the ignoreAssociations to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) WithRulesetID ¶
func (o *DeleteTrafficFilterRulesetParams) WithRulesetID(rulesetID string) *DeleteTrafficFilterRulesetParams
WithRulesetID adds the rulesetID to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) WithTimeout ¶
func (o *DeleteTrafficFilterRulesetParams) WithTimeout(timeout time.Duration) *DeleteTrafficFilterRulesetParams
WithTimeout adds the timeout to the delete traffic filter ruleset params
func (*DeleteTrafficFilterRulesetParams) WriteToRequest ¶
func (o *DeleteTrafficFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTrafficFilterRulesetReader ¶
type DeleteTrafficFilterRulesetReader struct {
// contains filtered or unexported fields
}
DeleteTrafficFilterRulesetReader is a Reader for the DeleteTrafficFilterRuleset structure.
func (*DeleteTrafficFilterRulesetReader) ReadResponse ¶
func (o *DeleteTrafficFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTrafficFilterDeploymentRulesetAssociationsBadRequest ¶
type GetTrafficFilterDeploymentRulesetAssociationsBadRequest struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetTrafficFilterDeploymentRulesetAssociationsBadRequest handles this case with default header values.
Invalid association type. (code: `traffic_filter.invalid_association_type`)
func NewGetTrafficFilterDeploymentRulesetAssociationsBadRequest ¶
func NewGetTrafficFilterDeploymentRulesetAssociationsBadRequest() *GetTrafficFilterDeploymentRulesetAssociationsBadRequest
NewGetTrafficFilterDeploymentRulesetAssociationsBadRequest creates a GetTrafficFilterDeploymentRulesetAssociationsBadRequest with default headers values
func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) Error ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsBadRequest) Error() string
func (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) GetPayload ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsBadRequest) GetPayload() *models.BasicFailedReply
type GetTrafficFilterDeploymentRulesetAssociationsInternalServerError ¶
type GetTrafficFilterDeploymentRulesetAssociationsInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetTrafficFilterDeploymentRulesetAssociationsInternalServerError handles this case with default header values.
Error fetching traffic filter rulesets. (code: `traffic_filter.request_execution_failed`)
func NewGetTrafficFilterDeploymentRulesetAssociationsInternalServerError ¶
func NewGetTrafficFilterDeploymentRulesetAssociationsInternalServerError() *GetTrafficFilterDeploymentRulesetAssociationsInternalServerError
NewGetTrafficFilterDeploymentRulesetAssociationsInternalServerError creates a GetTrafficFilterDeploymentRulesetAssociationsInternalServerError with default headers values
func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) Error ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) Error() string
func (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) GetPayload ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) GetPayload() *models.BasicFailedReply
type GetTrafficFilterDeploymentRulesetAssociationsOK ¶
type GetTrafficFilterDeploymentRulesetAssociationsOK struct {
Payload *models.TrafficFilterSettings
}
GetTrafficFilterDeploymentRulesetAssociationsOK handles this case with default header values.
Rulesets in the deployment were successfully returned
func NewGetTrafficFilterDeploymentRulesetAssociationsOK ¶
func NewGetTrafficFilterDeploymentRulesetAssociationsOK() *GetTrafficFilterDeploymentRulesetAssociationsOK
NewGetTrafficFilterDeploymentRulesetAssociationsOK creates a GetTrafficFilterDeploymentRulesetAssociationsOK with default headers values
func (*GetTrafficFilterDeploymentRulesetAssociationsOK) Error ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsOK) Error() string
func (*GetTrafficFilterDeploymentRulesetAssociationsOK) GetPayload ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsOK) GetPayload() *models.TrafficFilterSettings
type GetTrafficFilterDeploymentRulesetAssociationsParams ¶
type GetTrafficFilterDeploymentRulesetAssociationsParams struct {
/*AssociatedEntityID
Associated entity ID
*/
AssociatedEntityID string
/*AssociationType
Association type
*/
AssociationType string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTrafficFilterDeploymentRulesetAssociationsParams contains all the parameters to send to the API endpoint for the get traffic filter deployment ruleset associations operation typically these are written to a http.Request
func NewGetTrafficFilterDeploymentRulesetAssociationsParams ¶
func NewGetTrafficFilterDeploymentRulesetAssociationsParams() *GetTrafficFilterDeploymentRulesetAssociationsParams
NewGetTrafficFilterDeploymentRulesetAssociationsParams creates a new GetTrafficFilterDeploymentRulesetAssociationsParams object with the default values initialized.
func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithContext ¶
func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithContext(ctx context.Context) *GetTrafficFilterDeploymentRulesetAssociationsParams
NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithContext creates a new GetTrafficFilterDeploymentRulesetAssociationsParams object with the default values initialized, and the ability to set a context for a request
func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithHTTPClient ¶
func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterDeploymentRulesetAssociationsParams
NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithHTTPClient creates a new GetTrafficFilterDeploymentRulesetAssociationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithTimeout ¶
func NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterDeploymentRulesetAssociationsParams
NewGetTrafficFilterDeploymentRulesetAssociationsParamsWithTimeout creates a new GetTrafficFilterDeploymentRulesetAssociationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID(associatedEntityID string)
SetAssociatedEntityID adds the associatedEntityId to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociationType ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetAssociationType(associationType string)
SetAssociationType adds the associationType to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetContext ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetHTTPClient ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetTimeout ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID(associatedEntityID string) *GetTrafficFilterDeploymentRulesetAssociationsParams
WithAssociatedEntityID adds the associatedEntityID to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociationType ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociationType(associationType string) *GetTrafficFilterDeploymentRulesetAssociationsParams
WithAssociationType adds the associationType to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithContext ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithContext(ctx context.Context) *GetTrafficFilterDeploymentRulesetAssociationsParams
WithContext adds the context to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithHTTPClient ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithHTTPClient(client *http.Client) *GetTrafficFilterDeploymentRulesetAssociationsParams
WithHTTPClient adds the HTTPClient to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithTimeout ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WithTimeout(timeout time.Duration) *GetTrafficFilterDeploymentRulesetAssociationsParams
WithTimeout adds the timeout to the get traffic filter deployment ruleset associations params
func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WriteToRequest ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrafficFilterDeploymentRulesetAssociationsReader ¶
type GetTrafficFilterDeploymentRulesetAssociationsReader struct {
// contains filtered or unexported fields
}
GetTrafficFilterDeploymentRulesetAssociationsReader is a Reader for the GetTrafficFilterDeploymentRulesetAssociations structure.
func (*GetTrafficFilterDeploymentRulesetAssociationsReader) ReadResponse ¶
func (o *GetTrafficFilterDeploymentRulesetAssociationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTrafficFilterRulesetDeploymentAssociationsInternalServerError ¶
type GetTrafficFilterRulesetDeploymentAssociationsInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetTrafficFilterRulesetDeploymentAssociationsInternalServerError handles this case with default header values.
Error fetching deployments. (code: `traffic_filter.request_execution_failed`)
func NewGetTrafficFilterRulesetDeploymentAssociationsInternalServerError ¶
func NewGetTrafficFilterRulesetDeploymentAssociationsInternalServerError() *GetTrafficFilterRulesetDeploymentAssociationsInternalServerError
NewGetTrafficFilterRulesetDeploymentAssociationsInternalServerError creates a GetTrafficFilterRulesetDeploymentAssociationsInternalServerError with default headers values
func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) Error ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) Error() string
func (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) GetPayload ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) GetPayload() *models.BasicFailedReply
type GetTrafficFilterRulesetDeploymentAssociationsOK ¶
type GetTrafficFilterRulesetDeploymentAssociationsOK struct {
Payload *models.RulesetAssociations
}
GetTrafficFilterRulesetDeploymentAssociationsOK handles this case with default header values.
Associations referred by traffic filter rulesets were successfully returned
func NewGetTrafficFilterRulesetDeploymentAssociationsOK ¶
func NewGetTrafficFilterRulesetDeploymentAssociationsOK() *GetTrafficFilterRulesetDeploymentAssociationsOK
NewGetTrafficFilterRulesetDeploymentAssociationsOK creates a GetTrafficFilterRulesetDeploymentAssociationsOK with default headers values
func (*GetTrafficFilterRulesetDeploymentAssociationsOK) Error ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsOK) Error() string
func (*GetTrafficFilterRulesetDeploymentAssociationsOK) GetPayload ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsOK) GetPayload() *models.RulesetAssociations
type GetTrafficFilterRulesetDeploymentAssociationsParams ¶
type GetTrafficFilterRulesetDeploymentAssociationsParams struct {
/*RulesetID
The mandatory ruleset ID.
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTrafficFilterRulesetDeploymentAssociationsParams contains all the parameters to send to the API endpoint for the get traffic filter ruleset deployment associations operation typically these are written to a http.Request
func NewGetTrafficFilterRulesetDeploymentAssociationsParams ¶
func NewGetTrafficFilterRulesetDeploymentAssociationsParams() *GetTrafficFilterRulesetDeploymentAssociationsParams
NewGetTrafficFilterRulesetDeploymentAssociationsParams creates a new GetTrafficFilterRulesetDeploymentAssociationsParams object with the default values initialized.
func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithContext ¶
func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetDeploymentAssociationsParams
NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithContext creates a new GetTrafficFilterRulesetDeploymentAssociationsParams object with the default values initialized, and the ability to set a context for a request
func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithHTTPClient ¶
func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetDeploymentAssociationsParams
NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithHTTPClient creates a new GetTrafficFilterRulesetDeploymentAssociationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithTimeout ¶
func NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetDeploymentAssociationsParams
NewGetTrafficFilterRulesetDeploymentAssociationsParamsWithTimeout creates a new GetTrafficFilterRulesetDeploymentAssociationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetContext ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get traffic filter ruleset deployment associations params
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetHTTPClient ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get traffic filter ruleset deployment associations params
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetRulesetID ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the get traffic filter ruleset deployment associations params
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetTimeout ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get traffic filter ruleset deployment associations params
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithContext ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WithContext(ctx context.Context) *GetTrafficFilterRulesetDeploymentAssociationsParams
WithContext adds the context to the get traffic filter ruleset deployment associations params
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithHTTPClient ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WithHTTPClient(client *http.Client) *GetTrafficFilterRulesetDeploymentAssociationsParams
WithHTTPClient adds the HTTPClient to the get traffic filter ruleset deployment associations params
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithRulesetID ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WithRulesetID(rulesetID string) *GetTrafficFilterRulesetDeploymentAssociationsParams
WithRulesetID adds the rulesetID to the get traffic filter ruleset deployment associations params
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithTimeout ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WithTimeout(timeout time.Duration) *GetTrafficFilterRulesetDeploymentAssociationsParams
WithTimeout adds the timeout to the get traffic filter ruleset deployment associations params
func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WriteToRequest ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrafficFilterRulesetDeploymentAssociationsReader ¶
type GetTrafficFilterRulesetDeploymentAssociationsReader struct {
// contains filtered or unexported fields
}
GetTrafficFilterRulesetDeploymentAssociationsReader is a Reader for the GetTrafficFilterRulesetDeploymentAssociations structure.
func (*GetTrafficFilterRulesetDeploymentAssociationsReader) ReadResponse ¶
func (o *GetTrafficFilterRulesetDeploymentAssociationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTrafficFilterRulesetInternalServerError ¶
type GetTrafficFilterRulesetInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetTrafficFilterRulesetInternalServerError handles this case with default header values.
Error reading the traffic filter ruleset. (code: `traffic_filter.request_execution_failed`)
func NewGetTrafficFilterRulesetInternalServerError ¶
func NewGetTrafficFilterRulesetInternalServerError() *GetTrafficFilterRulesetInternalServerError
NewGetTrafficFilterRulesetInternalServerError creates a GetTrafficFilterRulesetInternalServerError with default headers values
func (*GetTrafficFilterRulesetInternalServerError) Error ¶
func (o *GetTrafficFilterRulesetInternalServerError) Error() string
func (*GetTrafficFilterRulesetInternalServerError) GetPayload ¶
func (o *GetTrafficFilterRulesetInternalServerError) GetPayload() *models.BasicFailedReply
type GetTrafficFilterRulesetNotFound ¶
type GetTrafficFilterRulesetNotFound struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetTrafficFilterRulesetNotFound handles this case with default header values.
The traffic filter ruleset specified by {ruleset_id} cannot be found. (code: `traffic_filter.not_found`)
func NewGetTrafficFilterRulesetNotFound ¶
func NewGetTrafficFilterRulesetNotFound() *GetTrafficFilterRulesetNotFound
NewGetTrafficFilterRulesetNotFound creates a GetTrafficFilterRulesetNotFound with default headers values
func (*GetTrafficFilterRulesetNotFound) Error ¶
func (o *GetTrafficFilterRulesetNotFound) Error() string
func (*GetTrafficFilterRulesetNotFound) GetPayload ¶
func (o *GetTrafficFilterRulesetNotFound) GetPayload() *models.BasicFailedReply
type GetTrafficFilterRulesetOK ¶
type GetTrafficFilterRulesetOK struct {
Payload *models.TrafficFilterRulesetInfo
}
GetTrafficFilterRulesetOK handles this case with default header values.
The container for a set of traffic filter rules.
func NewGetTrafficFilterRulesetOK ¶
func NewGetTrafficFilterRulesetOK() *GetTrafficFilterRulesetOK
NewGetTrafficFilterRulesetOK creates a GetTrafficFilterRulesetOK with default headers values
func (*GetTrafficFilterRulesetOK) Error ¶
func (o *GetTrafficFilterRulesetOK) Error() string
func (*GetTrafficFilterRulesetOK) GetPayload ¶
func (o *GetTrafficFilterRulesetOK) GetPayload() *models.TrafficFilterRulesetInfo
type GetTrafficFilterRulesetParams ¶
type GetTrafficFilterRulesetParams 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
}
GetTrafficFilterRulesetParams contains all the parameters to send to the API endpoint for the get traffic filter ruleset operation typically these are written to a http.Request
func NewGetTrafficFilterRulesetParams ¶
func NewGetTrafficFilterRulesetParams() *GetTrafficFilterRulesetParams
NewGetTrafficFilterRulesetParams creates a new GetTrafficFilterRulesetParams object with the default values initialized.
func NewGetTrafficFilterRulesetParamsWithContext ¶
func NewGetTrafficFilterRulesetParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetParams
NewGetTrafficFilterRulesetParamsWithContext creates a new GetTrafficFilterRulesetParams object with the default values initialized, and the ability to set a context for a request
func NewGetTrafficFilterRulesetParamsWithHTTPClient ¶
func NewGetTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetParams
NewGetTrafficFilterRulesetParamsWithHTTPClient creates a new GetTrafficFilterRulesetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTrafficFilterRulesetParamsWithTimeout ¶
func NewGetTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetParams
NewGetTrafficFilterRulesetParamsWithTimeout creates a new GetTrafficFilterRulesetParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTrafficFilterRulesetParams) SetContext ¶
func (o *GetTrafficFilterRulesetParams) SetContext(ctx context.Context)
SetContext adds the context to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) SetHTTPClient ¶
func (o *GetTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) SetIncludeAssociations ¶
func (o *GetTrafficFilterRulesetParams) SetIncludeAssociations(includeAssociations *bool)
SetIncludeAssociations adds the includeAssociations to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) SetRulesetID ¶
func (o *GetTrafficFilterRulesetParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) SetTimeout ¶
func (o *GetTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) WithContext ¶
func (o *GetTrafficFilterRulesetParams) WithContext(ctx context.Context) *GetTrafficFilterRulesetParams
WithContext adds the context to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) WithHTTPClient ¶
func (o *GetTrafficFilterRulesetParams) WithHTTPClient(client *http.Client) *GetTrafficFilterRulesetParams
WithHTTPClient adds the HTTPClient to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) WithIncludeAssociations ¶
func (o *GetTrafficFilterRulesetParams) WithIncludeAssociations(includeAssociations *bool) *GetTrafficFilterRulesetParams
WithIncludeAssociations adds the includeAssociations to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) WithRulesetID ¶
func (o *GetTrafficFilterRulesetParams) WithRulesetID(rulesetID string) *GetTrafficFilterRulesetParams
WithRulesetID adds the rulesetID to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) WithTimeout ¶
func (o *GetTrafficFilterRulesetParams) WithTimeout(timeout time.Duration) *GetTrafficFilterRulesetParams
WithTimeout adds the timeout to the get traffic filter ruleset params
func (*GetTrafficFilterRulesetParams) WriteToRequest ¶
func (o *GetTrafficFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrafficFilterRulesetReader ¶
type GetTrafficFilterRulesetReader struct {
// contains filtered or unexported fields
}
GetTrafficFilterRulesetReader is a Reader for the GetTrafficFilterRuleset structure.
func (*GetTrafficFilterRulesetReader) ReadResponse ¶
func (o *GetTrafficFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTrafficFilterRulesetsInternalServerError ¶
type GetTrafficFilterRulesetsInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetTrafficFilterRulesetsInternalServerError handles this case with default header values.
Error fetching traffic filter rulesets. (code: `traffic_filter.request_execution_failed`)
func NewGetTrafficFilterRulesetsInternalServerError ¶
func NewGetTrafficFilterRulesetsInternalServerError() *GetTrafficFilterRulesetsInternalServerError
NewGetTrafficFilterRulesetsInternalServerError creates a GetTrafficFilterRulesetsInternalServerError with default headers values
func (*GetTrafficFilterRulesetsInternalServerError) Error ¶
func (o *GetTrafficFilterRulesetsInternalServerError) Error() string
func (*GetTrafficFilterRulesetsInternalServerError) GetPayload ¶
func (o *GetTrafficFilterRulesetsInternalServerError) GetPayload() *models.BasicFailedReply
type GetTrafficFilterRulesetsOK ¶
type GetTrafficFilterRulesetsOK struct {
Payload *models.TrafficFilterRulesets
}
GetTrafficFilterRulesetsOK handles this case with default header values.
The collection of traffic filter routes
func NewGetTrafficFilterRulesetsOK ¶
func NewGetTrafficFilterRulesetsOK() *GetTrafficFilterRulesetsOK
NewGetTrafficFilterRulesetsOK creates a GetTrafficFilterRulesetsOK with default headers values
func (*GetTrafficFilterRulesetsOK) Error ¶
func (o *GetTrafficFilterRulesetsOK) Error() string
func (*GetTrafficFilterRulesetsOK) GetPayload ¶
func (o *GetTrafficFilterRulesetsOK) GetPayload() *models.TrafficFilterRulesets
type GetTrafficFilterRulesetsParams ¶
type GetTrafficFilterRulesetsParams struct {
/*IncludeAssociations
Retrieves a list of resources that are associated to the specified ruleset.
*/
IncludeAssociations *bool
/*Region
If provided limits the rulesets to that region only.
*/
Region *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTrafficFilterRulesetsParams contains all the parameters to send to the API endpoint for the get traffic filter rulesets operation typically these are written to a http.Request
func NewGetTrafficFilterRulesetsParams ¶
func NewGetTrafficFilterRulesetsParams() *GetTrafficFilterRulesetsParams
NewGetTrafficFilterRulesetsParams creates a new GetTrafficFilterRulesetsParams object with the default values initialized.
func NewGetTrafficFilterRulesetsParamsWithContext ¶
func NewGetTrafficFilterRulesetsParamsWithContext(ctx context.Context) *GetTrafficFilterRulesetsParams
NewGetTrafficFilterRulesetsParamsWithContext creates a new GetTrafficFilterRulesetsParams object with the default values initialized, and the ability to set a context for a request
func NewGetTrafficFilterRulesetsParamsWithHTTPClient ¶
func NewGetTrafficFilterRulesetsParamsWithHTTPClient(client *http.Client) *GetTrafficFilterRulesetsParams
NewGetTrafficFilterRulesetsParamsWithHTTPClient creates a new GetTrafficFilterRulesetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTrafficFilterRulesetsParamsWithTimeout ¶
func NewGetTrafficFilterRulesetsParamsWithTimeout(timeout time.Duration) *GetTrafficFilterRulesetsParams
NewGetTrafficFilterRulesetsParamsWithTimeout creates a new GetTrafficFilterRulesetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTrafficFilterRulesetsParams) SetContext ¶
func (o *GetTrafficFilterRulesetsParams) SetContext(ctx context.Context)
SetContext adds the context to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) SetHTTPClient ¶
func (o *GetTrafficFilterRulesetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) SetIncludeAssociations ¶
func (o *GetTrafficFilterRulesetsParams) SetIncludeAssociations(includeAssociations *bool)
SetIncludeAssociations adds the includeAssociations to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) SetRegion ¶
func (o *GetTrafficFilterRulesetsParams) SetRegion(region *string)
SetRegion adds the region to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) SetTimeout ¶
func (o *GetTrafficFilterRulesetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) WithContext ¶
func (o *GetTrafficFilterRulesetsParams) WithContext(ctx context.Context) *GetTrafficFilterRulesetsParams
WithContext adds the context to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) WithHTTPClient ¶
func (o *GetTrafficFilterRulesetsParams) WithHTTPClient(client *http.Client) *GetTrafficFilterRulesetsParams
WithHTTPClient adds the HTTPClient to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) WithIncludeAssociations ¶
func (o *GetTrafficFilterRulesetsParams) WithIncludeAssociations(includeAssociations *bool) *GetTrafficFilterRulesetsParams
WithIncludeAssociations adds the includeAssociations to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) WithRegion ¶
func (o *GetTrafficFilterRulesetsParams) WithRegion(region *string) *GetTrafficFilterRulesetsParams
WithRegion adds the region to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) WithTimeout ¶
func (o *GetTrafficFilterRulesetsParams) WithTimeout(timeout time.Duration) *GetTrafficFilterRulesetsParams
WithTimeout adds the timeout to the get traffic filter rulesets params
func (*GetTrafficFilterRulesetsParams) WriteToRequest ¶
func (o *GetTrafficFilterRulesetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrafficFilterRulesetsReader ¶
type GetTrafficFilterRulesetsReader struct {
// contains filtered or unexported fields
}
GetTrafficFilterRulesetsReader is a Reader for the GetTrafficFilterRulesets structure.
func (*GetTrafficFilterRulesetsReader) ReadResponse ¶
func (o *GetTrafficFilterRulesetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateTrafficFilterRulesetInternalServerError ¶
type UpdateTrafficFilterRulesetInternalServerError struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
UpdateTrafficFilterRulesetInternalServerError handles this case with default header values.
Error reading the traffic filter ruleset. (code: `traffic_filter.request_execution_failed`)
func NewUpdateTrafficFilterRulesetInternalServerError ¶
func NewUpdateTrafficFilterRulesetInternalServerError() *UpdateTrafficFilterRulesetInternalServerError
NewUpdateTrafficFilterRulesetInternalServerError creates a UpdateTrafficFilterRulesetInternalServerError with default headers values
func (*UpdateTrafficFilterRulesetInternalServerError) Error ¶
func (o *UpdateTrafficFilterRulesetInternalServerError) Error() string
func (*UpdateTrafficFilterRulesetInternalServerError) GetPayload ¶
func (o *UpdateTrafficFilterRulesetInternalServerError) GetPayload() *models.BasicFailedReply
type UpdateTrafficFilterRulesetNotFound ¶
type UpdateTrafficFilterRulesetNotFound struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
UpdateTrafficFilterRulesetNotFound handles this case with default header values.
The traffic filter ruleset specified by {ruleset_id} cannot be found. (code: `traffic_filter.not_found`)
func NewUpdateTrafficFilterRulesetNotFound ¶
func NewUpdateTrafficFilterRulesetNotFound() *UpdateTrafficFilterRulesetNotFound
NewUpdateTrafficFilterRulesetNotFound creates a UpdateTrafficFilterRulesetNotFound with default headers values
func (*UpdateTrafficFilterRulesetNotFound) Error ¶
func (o *UpdateTrafficFilterRulesetNotFound) Error() string
func (*UpdateTrafficFilterRulesetNotFound) GetPayload ¶
func (o *UpdateTrafficFilterRulesetNotFound) GetPayload() *models.BasicFailedReply
type UpdateTrafficFilterRulesetOK ¶
type UpdateTrafficFilterRulesetOK struct {
Payload *models.TrafficFilterRulesetResponse
}
UpdateTrafficFilterRulesetOK handles this case with default header values.
The ruleset definition was valid and the update has started.
func NewUpdateTrafficFilterRulesetOK ¶
func NewUpdateTrafficFilterRulesetOK() *UpdateTrafficFilterRulesetOK
NewUpdateTrafficFilterRulesetOK creates a UpdateTrafficFilterRulesetOK with default headers values
func (*UpdateTrafficFilterRulesetOK) Error ¶
func (o *UpdateTrafficFilterRulesetOK) Error() string
func (*UpdateTrafficFilterRulesetOK) GetPayload ¶
func (o *UpdateTrafficFilterRulesetOK) GetPayload() *models.TrafficFilterRulesetResponse
type UpdateTrafficFilterRulesetParams ¶
type UpdateTrafficFilterRulesetParams struct {
/*Body
The specification for traffic filter ruleset.
*/
Body *models.TrafficFilterRulesetRequest
/*RulesetID
The mandatory ruleset ID.
*/
RulesetID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateTrafficFilterRulesetParams contains all the parameters to send to the API endpoint for the update traffic filter ruleset operation typically these are written to a http.Request
func NewUpdateTrafficFilterRulesetParams ¶
func NewUpdateTrafficFilterRulesetParams() *UpdateTrafficFilterRulesetParams
NewUpdateTrafficFilterRulesetParams creates a new UpdateTrafficFilterRulesetParams object with the default values initialized.
func NewUpdateTrafficFilterRulesetParamsWithContext ¶
func NewUpdateTrafficFilterRulesetParamsWithContext(ctx context.Context) *UpdateTrafficFilterRulesetParams
NewUpdateTrafficFilterRulesetParamsWithContext creates a new UpdateTrafficFilterRulesetParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateTrafficFilterRulesetParamsWithHTTPClient ¶
func NewUpdateTrafficFilterRulesetParamsWithHTTPClient(client *http.Client) *UpdateTrafficFilterRulesetParams
NewUpdateTrafficFilterRulesetParamsWithHTTPClient creates a new UpdateTrafficFilterRulesetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateTrafficFilterRulesetParamsWithTimeout ¶
func NewUpdateTrafficFilterRulesetParamsWithTimeout(timeout time.Duration) *UpdateTrafficFilterRulesetParams
NewUpdateTrafficFilterRulesetParamsWithTimeout creates a new UpdateTrafficFilterRulesetParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateTrafficFilterRulesetParams) SetBody ¶
func (o *UpdateTrafficFilterRulesetParams) SetBody(body *models.TrafficFilterRulesetRequest)
SetBody adds the body to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) SetContext ¶
func (o *UpdateTrafficFilterRulesetParams) SetContext(ctx context.Context)
SetContext adds the context to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) SetHTTPClient ¶
func (o *UpdateTrafficFilterRulesetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) SetRulesetID ¶
func (o *UpdateTrafficFilterRulesetParams) SetRulesetID(rulesetID string)
SetRulesetID adds the rulesetId to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) SetTimeout ¶
func (o *UpdateTrafficFilterRulesetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) WithBody ¶
func (o *UpdateTrafficFilterRulesetParams) WithBody(body *models.TrafficFilterRulesetRequest) *UpdateTrafficFilterRulesetParams
WithBody adds the body to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) WithContext ¶
func (o *UpdateTrafficFilterRulesetParams) WithContext(ctx context.Context) *UpdateTrafficFilterRulesetParams
WithContext adds the context to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) WithHTTPClient ¶
func (o *UpdateTrafficFilterRulesetParams) WithHTTPClient(client *http.Client) *UpdateTrafficFilterRulesetParams
WithHTTPClient adds the HTTPClient to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) WithRulesetID ¶
func (o *UpdateTrafficFilterRulesetParams) WithRulesetID(rulesetID string) *UpdateTrafficFilterRulesetParams
WithRulesetID adds the rulesetID to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) WithTimeout ¶
func (o *UpdateTrafficFilterRulesetParams) WithTimeout(timeout time.Duration) *UpdateTrafficFilterRulesetParams
WithTimeout adds the timeout to the update traffic filter ruleset params
func (*UpdateTrafficFilterRulesetParams) WriteToRequest ¶
func (o *UpdateTrafficFilterRulesetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateTrafficFilterRulesetReader ¶
type UpdateTrafficFilterRulesetReader struct {
// contains filtered or unexported fields
}
UpdateTrafficFilterRulesetReader is a Reader for the UpdateTrafficFilterRuleset structure.
func (*UpdateTrafficFilterRulesetReader) ReadResponse ¶
func (o *UpdateTrafficFilterRulesetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_traffic_filter_ruleset_association_parameters.go
- create_traffic_filter_ruleset_association_responses.go
- create_traffic_filter_ruleset_parameters.go
- create_traffic_filter_ruleset_responses.go
- delete_traffic_filter_ruleset_association_parameters.go
- delete_traffic_filter_ruleset_association_responses.go
- delete_traffic_filter_ruleset_parameters.go
- delete_traffic_filter_ruleset_responses.go
- deployments_traffic_filter_client.go
- get_traffic_filter_deployment_ruleset_associations_parameters.go
- get_traffic_filter_deployment_ruleset_associations_responses.go
- get_traffic_filter_ruleset_deployment_associations_parameters.go
- get_traffic_filter_ruleset_deployment_associations_responses.go
- get_traffic_filter_ruleset_parameters.go
- get_traffic_filter_ruleset_responses.go
- get_traffic_filter_rulesets_parameters.go
- get_traffic_filter_rulesets_responses.go
- update_traffic_filter_ruleset_parameters.go
- update_traffic_filter_ruleset_responses.go