deployments_traffic_filter

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for deployments traffic filter API

func (*Client) CreateTrafficFilterRuleset

CreateTrafficFilterRuleset creates a ruleset

Creates a ruleset that consists of a set of rules.

func (*Client) CreateTrafficFilterRulesetAssociation

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

DeleteTrafficFilterRulesetAssociation deletes ruleset association

Deletes the traffic rules in the ruleset from the deployment.

func (*Client) GetTrafficFilterDeploymentRulesetAssociations

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

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 (*CreateTrafficFilterRulesetAssociationInternalServerError) GetPayload

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 (*CreateTrafficFilterRulesetAssociationNotFound) GetPayload

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 (*CreateTrafficFilterRulesetAssociationOK) GetPayload

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

SetBody adds the body to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) SetContext

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

SetTimeout adds the timeout to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithBody

WithBody adds the body to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithContext

WithContext adds the context to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithRulesetID

WithRulesetID adds the rulesetID to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WithTimeout

WithTimeout adds the timeout to the create traffic filter ruleset association params

func (*CreateTrafficFilterRulesetAssociationParams) WriteToRequest

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 (*CreateTrafficFilterRulesetCreated) GetPayload

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 (*CreateTrafficFilterRulesetInternalServerError) GetPayload

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

SetBody adds the body to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) SetContext

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

WithBody adds the body to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WithContext

WithContext adds the context to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the create traffic filter ruleset params

func (*CreateTrafficFilterRulesetParams) WriteToRequest

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 (*DeleteTrafficFilterRulesetAssociationInternalServerError) GetPayload

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 (*DeleteTrafficFilterRulesetAssociationNotFound) GetPayload

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 (*DeleteTrafficFilterRulesetAssociationOK) GetPayload

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

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

SetTimeout adds the timeout to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithAssociatedEntityID

WithAssociatedEntityID adds the associatedEntityID to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithAssociationType

WithAssociationType adds the associationType to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithContext

WithContext adds the context to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithRulesetID

WithRulesetID adds the rulesetID to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WithTimeout

WithTimeout adds the timeout to the delete traffic filter ruleset association params

func (*DeleteTrafficFilterRulesetAssociationParams) WriteToRequest

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 (*DeleteTrafficFilterRulesetInternalServerError) GetPayload

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 (*DeleteTrafficFilterRulesetNotFound) GetPayload

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 (*DeleteTrafficFilterRulesetOK) GetPayload

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

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

WithContext adds the context to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WithHTTPClient

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

WithRulesetID adds the rulesetID to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the delete traffic filter ruleset params

func (*DeleteTrafficFilterRulesetParams) WriteToRequest

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 (*GetTrafficFilterDeploymentRulesetAssociationsBadRequest) GetPayload

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 (*GetTrafficFilterDeploymentRulesetAssociationsInternalServerError) GetPayload

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 (*GetTrafficFilterDeploymentRulesetAssociationsOK) GetPayload

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

SetContext adds the context to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) SetTimeout

SetTimeout adds the timeout to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID

WithAssociatedEntityID adds the associatedEntityID to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithAssociationType

WithAssociationType adds the associationType to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithContext

WithContext adds the context to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WithTimeout

WithTimeout adds the timeout to the get traffic filter deployment ruleset associations params

func (*GetTrafficFilterDeploymentRulesetAssociationsParams) WriteToRequest

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 (*GetTrafficFilterRulesetDeploymentAssociationsInternalServerError) GetPayload

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 (*GetTrafficFilterRulesetDeploymentAssociationsOK) GetPayload

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

SetContext adds the context to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetRulesetID

SetRulesetID adds the rulesetId to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) SetTimeout

SetTimeout adds the timeout to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithContext

WithContext adds the context to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithRulesetID

WithRulesetID adds the rulesetID to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WithTimeout

WithTimeout adds the timeout to the get traffic filter ruleset deployment associations params

func (*GetTrafficFilterRulesetDeploymentAssociationsParams) WriteToRequest

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 (*GetTrafficFilterRulesetInternalServerError) GetPayload

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 (*GetTrafficFilterRulesetNotFound) GetPayload

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

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

WithContext adds the context to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WithHTTPClient

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

WithRulesetID adds the rulesetID to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the get traffic filter ruleset params

func (*GetTrafficFilterRulesetParams) WriteToRequest

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 (*GetTrafficFilterRulesetsInternalServerError) GetPayload

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 (*GetTrafficFilterRulesetsOK) GetPayload

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

WithContext adds the context to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WithHTTPClient

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

WithRegion adds the region to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WithTimeout

WithTimeout adds the timeout to the get traffic filter rulesets params

func (*GetTrafficFilterRulesetsParams) WriteToRequest

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 (*UpdateTrafficFilterRulesetInternalServerError) GetPayload

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 (*UpdateTrafficFilterRulesetNotFound) GetPayload

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 (*UpdateTrafficFilterRulesetOK) GetPayload

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

SetBody adds the body to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) SetContext

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

WithBody adds the body to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithContext

WithContext adds the context to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithRulesetID

WithRulesetID adds the rulesetID to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the update traffic filter ruleset params

func (*UpdateTrafficFilterRulesetParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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