test_executions

package
v0.3.8-0...-847d6b7 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelTestExecutionBadGateway

type CancelTestExecutionBadGateway struct {
	Payload *models.ErrorResponse
}

CancelTestExecutionBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewCancelTestExecutionBadGateway

func NewCancelTestExecutionBadGateway() *CancelTestExecutionBadGateway

NewCancelTestExecutionBadGateway creates a CancelTestExecutionBadGateway with default headers values

func (*CancelTestExecutionBadGateway) Code

Code gets the status code for the cancel test execution bad gateway response

func (*CancelTestExecutionBadGateway) Error

func (*CancelTestExecutionBadGateway) GetPayload

func (*CancelTestExecutionBadGateway) IsClientError

func (o *CancelTestExecutionBadGateway) IsClientError() bool

IsClientError returns true when this cancel test execution bad gateway response has a 4xx status code

func (*CancelTestExecutionBadGateway) IsCode

func (o *CancelTestExecutionBadGateway) IsCode(code int) bool

IsCode returns true when this cancel test execution bad gateway response a status code equal to that given

func (*CancelTestExecutionBadGateway) IsRedirect

func (o *CancelTestExecutionBadGateway) IsRedirect() bool

IsRedirect returns true when this cancel test execution bad gateway response has a 3xx status code

func (*CancelTestExecutionBadGateway) IsServerError

func (o *CancelTestExecutionBadGateway) IsServerError() bool

IsServerError returns true when this cancel test execution bad gateway response has a 5xx status code

func (*CancelTestExecutionBadGateway) IsSuccess

func (o *CancelTestExecutionBadGateway) IsSuccess() bool

IsSuccess returns true when this cancel test execution bad gateway response has a 2xx status code

func (*CancelTestExecutionBadGateway) String

type CancelTestExecutionBadRequest

type CancelTestExecutionBadRequest struct {
	Payload *models.ErrorResponse
}

CancelTestExecutionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCancelTestExecutionBadRequest

func NewCancelTestExecutionBadRequest() *CancelTestExecutionBadRequest

NewCancelTestExecutionBadRequest creates a CancelTestExecutionBadRequest with default headers values

func (*CancelTestExecutionBadRequest) Code

Code gets the status code for the cancel test execution bad request response

func (*CancelTestExecutionBadRequest) Error

func (*CancelTestExecutionBadRequest) GetPayload

func (*CancelTestExecutionBadRequest) IsClientError

func (o *CancelTestExecutionBadRequest) IsClientError() bool

IsClientError returns true when this cancel test execution bad request response has a 4xx status code

func (*CancelTestExecutionBadRequest) IsCode

func (o *CancelTestExecutionBadRequest) IsCode(code int) bool

IsCode returns true when this cancel test execution bad request response a status code equal to that given

func (*CancelTestExecutionBadRequest) IsRedirect

func (o *CancelTestExecutionBadRequest) IsRedirect() bool

IsRedirect returns true when this cancel test execution bad request response has a 3xx status code

func (*CancelTestExecutionBadRequest) IsServerError

func (o *CancelTestExecutionBadRequest) IsServerError() bool

IsServerError returns true when this cancel test execution bad request response has a 5xx status code

func (*CancelTestExecutionBadRequest) IsSuccess

func (o *CancelTestExecutionBadRequest) IsSuccess() bool

IsSuccess returns true when this cancel test execution bad request response has a 2xx status code

func (*CancelTestExecutionBadRequest) String

type CancelTestExecutionOK

type CancelTestExecutionOK struct {
	Payload models.EmptyResponse
}

CancelTestExecutionOK describes a response with status code 200, with default header values.

OK

func NewCancelTestExecutionOK

func NewCancelTestExecutionOK() *CancelTestExecutionOK

NewCancelTestExecutionOK creates a CancelTestExecutionOK with default headers values

func (*CancelTestExecutionOK) Code

func (o *CancelTestExecutionOK) Code() int

Code gets the status code for the cancel test execution o k response

func (*CancelTestExecutionOK) Error

func (o *CancelTestExecutionOK) Error() string

func (*CancelTestExecutionOK) GetPayload

func (o *CancelTestExecutionOK) GetPayload() models.EmptyResponse

func (*CancelTestExecutionOK) IsClientError

func (o *CancelTestExecutionOK) IsClientError() bool

IsClientError returns true when this cancel test execution o k response has a 4xx status code

func (*CancelTestExecutionOK) IsCode

func (o *CancelTestExecutionOK) IsCode(code int) bool

IsCode returns true when this cancel test execution o k response a status code equal to that given

func (*CancelTestExecutionOK) IsRedirect

func (o *CancelTestExecutionOK) IsRedirect() bool

IsRedirect returns true when this cancel test execution o k response has a 3xx status code

func (*CancelTestExecutionOK) IsServerError

func (o *CancelTestExecutionOK) IsServerError() bool

IsServerError returns true when this cancel test execution o k response has a 5xx status code

func (*CancelTestExecutionOK) IsSuccess

func (o *CancelTestExecutionOK) IsSuccess() bool

IsSuccess returns true when this cancel test execution o k response has a 2xx status code

func (*CancelTestExecutionOK) String

func (o *CancelTestExecutionOK) String() string

type CancelTestExecutionParams

type CancelTestExecutionParams struct {

	/* ExecutionID.

	   Test Execution ID
	*/
	ExecutionID string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

CancelTestExecutionParams contains all the parameters to send to the API endpoint

for the cancel test execution operation.

Typically these are written to a http.Request.

func NewCancelTestExecutionParams

func NewCancelTestExecutionParams() *CancelTestExecutionParams

NewCancelTestExecutionParams creates a new CancelTestExecutionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCancelTestExecutionParamsWithContext

func NewCancelTestExecutionParamsWithContext(ctx context.Context) *CancelTestExecutionParams

NewCancelTestExecutionParamsWithContext creates a new CancelTestExecutionParams object with the ability to set a context for a request.

func NewCancelTestExecutionParamsWithHTTPClient

func NewCancelTestExecutionParamsWithHTTPClient(client *http.Client) *CancelTestExecutionParams

NewCancelTestExecutionParamsWithHTTPClient creates a new CancelTestExecutionParams object with the ability to set a custom HTTPClient for a request.

func NewCancelTestExecutionParamsWithTimeout

func NewCancelTestExecutionParamsWithTimeout(timeout time.Duration) *CancelTestExecutionParams

NewCancelTestExecutionParamsWithTimeout creates a new CancelTestExecutionParams object with the ability to set a timeout on a request.

func (*CancelTestExecutionParams) SetContext

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

SetContext adds the context to the cancel test execution params

func (*CancelTestExecutionParams) SetDefaults

func (o *CancelTestExecutionParams) SetDefaults()

SetDefaults hydrates default values in the cancel test execution params (not the query body).

All values with no default are reset to their zero value.

func (*CancelTestExecutionParams) SetExecutionID

func (o *CancelTestExecutionParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the cancel test execution params

func (*CancelTestExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel test execution params

func (*CancelTestExecutionParams) SetOrgName

func (o *CancelTestExecutionParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the cancel test execution params

func (*CancelTestExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the cancel test execution params

func (*CancelTestExecutionParams) WithContext

WithContext adds the context to the cancel test execution params

func (*CancelTestExecutionParams) WithDefaults

WithDefaults hydrates default values in the cancel test execution params (not the query body).

All values with no default are reset to their zero value.

func (*CancelTestExecutionParams) WithExecutionID

func (o *CancelTestExecutionParams) WithExecutionID(executionID string) *CancelTestExecutionParams

WithExecutionID adds the executionID to the cancel test execution params

func (*CancelTestExecutionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cancel test execution params

func (*CancelTestExecutionParams) WithOrgName

WithOrgName adds the orgName to the cancel test execution params

func (*CancelTestExecutionParams) WithTimeout

WithTimeout adds the timeout to the cancel test execution params

func (*CancelTestExecutionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelTestExecutionReader

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

CancelTestExecutionReader is a Reader for the CancelTestExecution structure.

func (*CancelTestExecutionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelTestExecutionUnauthorized

type CancelTestExecutionUnauthorized struct {
	Payload *models.ErrorResponse
}

CancelTestExecutionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCancelTestExecutionUnauthorized

func NewCancelTestExecutionUnauthorized() *CancelTestExecutionUnauthorized

NewCancelTestExecutionUnauthorized creates a CancelTestExecutionUnauthorized with default headers values

func (*CancelTestExecutionUnauthorized) Code

Code gets the status code for the cancel test execution unauthorized response

func (*CancelTestExecutionUnauthorized) Error

func (*CancelTestExecutionUnauthorized) GetPayload

func (*CancelTestExecutionUnauthorized) IsClientError

func (o *CancelTestExecutionUnauthorized) IsClientError() bool

IsClientError returns true when this cancel test execution unauthorized response has a 4xx status code

func (*CancelTestExecutionUnauthorized) IsCode

func (o *CancelTestExecutionUnauthorized) IsCode(code int) bool

IsCode returns true when this cancel test execution unauthorized response a status code equal to that given

func (*CancelTestExecutionUnauthorized) IsRedirect

func (o *CancelTestExecutionUnauthorized) IsRedirect() bool

IsRedirect returns true when this cancel test execution unauthorized response has a 3xx status code

func (*CancelTestExecutionUnauthorized) IsServerError

func (o *CancelTestExecutionUnauthorized) IsServerError() bool

IsServerError returns true when this cancel test execution unauthorized response has a 5xx status code

func (*CancelTestExecutionUnauthorized) IsSuccess

func (o *CancelTestExecutionUnauthorized) IsSuccess() bool

IsSuccess returns true when this cancel test execution unauthorized response has a 2xx status code

func (*CancelTestExecutionUnauthorized) String

type Client

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

Client for test executions API

func (*Client) CancelTestExecution

func (a *Client) CancelTestExecution(params *CancelTestExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelTestExecutionOK, error)

CancelTestExecution cancels a test execution

Cancel a given test execution.

func (*Client) CreateExternalTestExecution

func (a *Client) CreateExternalTestExecution(params *CreateExternalTestExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateExternalTestExecutionOK, error)

CreateExternalTestExecution creates external test execution

Create an external test execution

func (*Client) CreateHostedTestExecution

func (a *Client) CreateHostedTestExecution(params *CreateHostedTestExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHostedTestExecutionOK, error)

CreateHostedTestExecution creates hosted test execution

Creates a hosted test execution

func (*Client) GetTestExecution

func (a *Client) GetTestExecution(params *GetTestExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTestExecutionOK, error)

GetTestExecution gets a test execution

Fetch the details about a given test execution.

func (*Client) ListTestExecutions

func (a *Client) ListTestExecutions(params *ListTestExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTestExecutionsOK, error)

ListTestExecutions lists test executions

List test executions for a given test

func (*Client) QueryTestExecutions

func (a *Client) QueryTestExecutions(params *QueryTestExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryTestExecutionsOK, error)

QueryTestExecutions queries test executions

Query test executions based on different criteria

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TestExecutionTrafficDiff

func (a *Client) TestExecutionTrafficDiff(params *TestExecutionTrafficDiffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestExecutionTrafficDiffOK, error)

TestExecutionTrafficDiff gets the full traffic diff of a test execution

Get the full traffic diff of a test execution

func (*Client) TestExecutionTrafficDiffFindings

func (a *Client) TestExecutionTrafficDiffFindings(params *TestExecutionTrafficDiffFindingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestExecutionTrafficDiffFindingsOK, error)

TestExecutionTrafficDiffFindings gets the findings view of the traffic diff of a test execution

Get the findings view of the traffic diff of a test execution

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	CancelTestExecution(params *CancelTestExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelTestExecutionOK, error)

	CreateExternalTestExecution(params *CreateExternalTestExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateExternalTestExecutionOK, error)

	CreateHostedTestExecution(params *CreateHostedTestExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHostedTestExecutionOK, error)

	GetTestExecution(params *GetTestExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTestExecutionOK, error)

	ListTestExecutions(params *ListTestExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTestExecutionsOK, error)

	QueryTestExecutions(params *QueryTestExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryTestExecutionsOK, error)

	TestExecutionTrafficDiff(params *TestExecutionTrafficDiffParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestExecutionTrafficDiffOK, error)

	TestExecutionTrafficDiffFindings(params *TestExecutionTrafficDiffFindingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestExecutionTrafficDiffFindingsOK, 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 test executions API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new test executions API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new test executions API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateExternalTestExecutionBadGateway

type CreateExternalTestExecutionBadGateway struct {
	Payload *models.ErrorResponse
}

CreateExternalTestExecutionBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewCreateExternalTestExecutionBadGateway

func NewCreateExternalTestExecutionBadGateway() *CreateExternalTestExecutionBadGateway

NewCreateExternalTestExecutionBadGateway creates a CreateExternalTestExecutionBadGateway with default headers values

func (*CreateExternalTestExecutionBadGateway) Code

Code gets the status code for the create external test execution bad gateway response

func (*CreateExternalTestExecutionBadGateway) Error

func (*CreateExternalTestExecutionBadGateway) GetPayload

func (*CreateExternalTestExecutionBadGateway) IsClientError

func (o *CreateExternalTestExecutionBadGateway) IsClientError() bool

IsClientError returns true when this create external test execution bad gateway response has a 4xx status code

func (*CreateExternalTestExecutionBadGateway) IsCode

IsCode returns true when this create external test execution bad gateway response a status code equal to that given

func (*CreateExternalTestExecutionBadGateway) IsRedirect

IsRedirect returns true when this create external test execution bad gateway response has a 3xx status code

func (*CreateExternalTestExecutionBadGateway) IsServerError

func (o *CreateExternalTestExecutionBadGateway) IsServerError() bool

IsServerError returns true when this create external test execution bad gateway response has a 5xx status code

func (*CreateExternalTestExecutionBadGateway) IsSuccess

IsSuccess returns true when this create external test execution bad gateway response has a 2xx status code

func (*CreateExternalTestExecutionBadGateway) String

type CreateExternalTestExecutionBadRequest

type CreateExternalTestExecutionBadRequest struct {
	Payload *models.ErrorResponse
}

CreateExternalTestExecutionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateExternalTestExecutionBadRequest

func NewCreateExternalTestExecutionBadRequest() *CreateExternalTestExecutionBadRequest

NewCreateExternalTestExecutionBadRequest creates a CreateExternalTestExecutionBadRequest with default headers values

func (*CreateExternalTestExecutionBadRequest) Code

Code gets the status code for the create external test execution bad request response

func (*CreateExternalTestExecutionBadRequest) Error

func (*CreateExternalTestExecutionBadRequest) GetPayload

func (*CreateExternalTestExecutionBadRequest) IsClientError

func (o *CreateExternalTestExecutionBadRequest) IsClientError() bool

IsClientError returns true when this create external test execution bad request response has a 4xx status code

func (*CreateExternalTestExecutionBadRequest) IsCode

IsCode returns true when this create external test execution bad request response a status code equal to that given

func (*CreateExternalTestExecutionBadRequest) IsRedirect

IsRedirect returns true when this create external test execution bad request response has a 3xx status code

func (*CreateExternalTestExecutionBadRequest) IsServerError

func (o *CreateExternalTestExecutionBadRequest) IsServerError() bool

IsServerError returns true when this create external test execution bad request response has a 5xx status code

func (*CreateExternalTestExecutionBadRequest) IsSuccess

IsSuccess returns true when this create external test execution bad request response has a 2xx status code

func (*CreateExternalTestExecutionBadRequest) String

type CreateExternalTestExecutionOK

type CreateExternalTestExecutionOK struct {
	Payload *models.TestExecution
}

CreateExternalTestExecutionOK describes a response with status code 200, with default header values.

OK

func NewCreateExternalTestExecutionOK

func NewCreateExternalTestExecutionOK() *CreateExternalTestExecutionOK

NewCreateExternalTestExecutionOK creates a CreateExternalTestExecutionOK with default headers values

func (*CreateExternalTestExecutionOK) Code

Code gets the status code for the create external test execution o k response

func (*CreateExternalTestExecutionOK) Error

func (*CreateExternalTestExecutionOK) GetPayload

func (*CreateExternalTestExecutionOK) IsClientError

func (o *CreateExternalTestExecutionOK) IsClientError() bool

IsClientError returns true when this create external test execution o k response has a 4xx status code

func (*CreateExternalTestExecutionOK) IsCode

func (o *CreateExternalTestExecutionOK) IsCode(code int) bool

IsCode returns true when this create external test execution o k response a status code equal to that given

func (*CreateExternalTestExecutionOK) IsRedirect

func (o *CreateExternalTestExecutionOK) IsRedirect() bool

IsRedirect returns true when this create external test execution o k response has a 3xx status code

func (*CreateExternalTestExecutionOK) IsServerError

func (o *CreateExternalTestExecutionOK) IsServerError() bool

IsServerError returns true when this create external test execution o k response has a 5xx status code

func (*CreateExternalTestExecutionOK) IsSuccess

func (o *CreateExternalTestExecutionOK) IsSuccess() bool

IsSuccess returns true when this create external test execution o k response has a 2xx status code

func (*CreateExternalTestExecutionOK) String

type CreateExternalTestExecutionParams

type CreateExternalTestExecutionParams struct {

	/* Data.

	   Request to create a test execution
	*/
	Data *models.TestExecution

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

CreateExternalTestExecutionParams contains all the parameters to send to the API endpoint

for the create external test execution operation.

Typically these are written to a http.Request.

func NewCreateExternalTestExecutionParams

func NewCreateExternalTestExecutionParams() *CreateExternalTestExecutionParams

NewCreateExternalTestExecutionParams creates a new CreateExternalTestExecutionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateExternalTestExecutionParamsWithContext

func NewCreateExternalTestExecutionParamsWithContext(ctx context.Context) *CreateExternalTestExecutionParams

NewCreateExternalTestExecutionParamsWithContext creates a new CreateExternalTestExecutionParams object with the ability to set a context for a request.

func NewCreateExternalTestExecutionParamsWithHTTPClient

func NewCreateExternalTestExecutionParamsWithHTTPClient(client *http.Client) *CreateExternalTestExecutionParams

NewCreateExternalTestExecutionParamsWithHTTPClient creates a new CreateExternalTestExecutionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateExternalTestExecutionParamsWithTimeout

func NewCreateExternalTestExecutionParamsWithTimeout(timeout time.Duration) *CreateExternalTestExecutionParams

NewCreateExternalTestExecutionParamsWithTimeout creates a new CreateExternalTestExecutionParams object with the ability to set a timeout on a request.

func (*CreateExternalTestExecutionParams) SetContext

SetContext adds the context to the create external test execution params

func (*CreateExternalTestExecutionParams) SetData

SetData adds the data to the create external test execution params

func (*CreateExternalTestExecutionParams) SetDefaults

func (o *CreateExternalTestExecutionParams) SetDefaults()

SetDefaults hydrates default values in the create external test execution params (not the query body).

All values with no default are reset to their zero value.

func (*CreateExternalTestExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create external test execution params

func (*CreateExternalTestExecutionParams) SetOrgName

func (o *CreateExternalTestExecutionParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the create external test execution params

func (*CreateExternalTestExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the create external test execution params

func (*CreateExternalTestExecutionParams) WithContext

WithContext adds the context to the create external test execution params

func (*CreateExternalTestExecutionParams) WithData

WithData adds the data to the create external test execution params

func (*CreateExternalTestExecutionParams) WithDefaults

WithDefaults hydrates default values in the create external test execution params (not the query body).

All values with no default are reset to their zero value.

func (*CreateExternalTestExecutionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create external test execution params

func (*CreateExternalTestExecutionParams) WithOrgName

WithOrgName adds the orgName to the create external test execution params

func (*CreateExternalTestExecutionParams) WithTimeout

WithTimeout adds the timeout to the create external test execution params

func (*CreateExternalTestExecutionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateExternalTestExecutionReader

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

CreateExternalTestExecutionReader is a Reader for the CreateExternalTestExecution structure.

func (*CreateExternalTestExecutionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateExternalTestExecutionUnauthorized

type CreateExternalTestExecutionUnauthorized struct {
	Payload *models.ErrorResponse
}

CreateExternalTestExecutionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateExternalTestExecutionUnauthorized

func NewCreateExternalTestExecutionUnauthorized() *CreateExternalTestExecutionUnauthorized

NewCreateExternalTestExecutionUnauthorized creates a CreateExternalTestExecutionUnauthorized with default headers values

func (*CreateExternalTestExecutionUnauthorized) Code

Code gets the status code for the create external test execution unauthorized response

func (*CreateExternalTestExecutionUnauthorized) Error

func (*CreateExternalTestExecutionUnauthorized) GetPayload

func (*CreateExternalTestExecutionUnauthorized) IsClientError

func (o *CreateExternalTestExecutionUnauthorized) IsClientError() bool

IsClientError returns true when this create external test execution unauthorized response has a 4xx status code

func (*CreateExternalTestExecutionUnauthorized) IsCode

IsCode returns true when this create external test execution unauthorized response a status code equal to that given

func (*CreateExternalTestExecutionUnauthorized) IsRedirect

IsRedirect returns true when this create external test execution unauthorized response has a 3xx status code

func (*CreateExternalTestExecutionUnauthorized) IsServerError

func (o *CreateExternalTestExecutionUnauthorized) IsServerError() bool

IsServerError returns true when this create external test execution unauthorized response has a 5xx status code

func (*CreateExternalTestExecutionUnauthorized) IsSuccess

IsSuccess returns true when this create external test execution unauthorized response has a 2xx status code

func (*CreateExternalTestExecutionUnauthorized) String

type CreateHostedTestExecutionBadGateway

type CreateHostedTestExecutionBadGateway struct {
	Payload *models.ErrorResponse
}

CreateHostedTestExecutionBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewCreateHostedTestExecutionBadGateway

func NewCreateHostedTestExecutionBadGateway() *CreateHostedTestExecutionBadGateway

NewCreateHostedTestExecutionBadGateway creates a CreateHostedTestExecutionBadGateway with default headers values

func (*CreateHostedTestExecutionBadGateway) Code

Code gets the status code for the create hosted test execution bad gateway response

func (*CreateHostedTestExecutionBadGateway) Error

func (*CreateHostedTestExecutionBadGateway) GetPayload

func (*CreateHostedTestExecutionBadGateway) IsClientError

func (o *CreateHostedTestExecutionBadGateway) IsClientError() bool

IsClientError returns true when this create hosted test execution bad gateway response has a 4xx status code

func (*CreateHostedTestExecutionBadGateway) IsCode

IsCode returns true when this create hosted test execution bad gateway response a status code equal to that given

func (*CreateHostedTestExecutionBadGateway) IsRedirect

func (o *CreateHostedTestExecutionBadGateway) IsRedirect() bool

IsRedirect returns true when this create hosted test execution bad gateway response has a 3xx status code

func (*CreateHostedTestExecutionBadGateway) IsServerError

func (o *CreateHostedTestExecutionBadGateway) IsServerError() bool

IsServerError returns true when this create hosted test execution bad gateway response has a 5xx status code

func (*CreateHostedTestExecutionBadGateway) IsSuccess

IsSuccess returns true when this create hosted test execution bad gateway response has a 2xx status code

func (*CreateHostedTestExecutionBadGateway) String

type CreateHostedTestExecutionBadRequest

type CreateHostedTestExecutionBadRequest struct {
	Payload *models.ErrorResponse
}

CreateHostedTestExecutionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateHostedTestExecutionBadRequest

func NewCreateHostedTestExecutionBadRequest() *CreateHostedTestExecutionBadRequest

NewCreateHostedTestExecutionBadRequest creates a CreateHostedTestExecutionBadRequest with default headers values

func (*CreateHostedTestExecutionBadRequest) Code

Code gets the status code for the create hosted test execution bad request response

func (*CreateHostedTestExecutionBadRequest) Error

func (*CreateHostedTestExecutionBadRequest) GetPayload

func (*CreateHostedTestExecutionBadRequest) IsClientError

func (o *CreateHostedTestExecutionBadRequest) IsClientError() bool

IsClientError returns true when this create hosted test execution bad request response has a 4xx status code

func (*CreateHostedTestExecutionBadRequest) IsCode

IsCode returns true when this create hosted test execution bad request response a status code equal to that given

func (*CreateHostedTestExecutionBadRequest) IsRedirect

func (o *CreateHostedTestExecutionBadRequest) IsRedirect() bool

IsRedirect returns true when this create hosted test execution bad request response has a 3xx status code

func (*CreateHostedTestExecutionBadRequest) IsServerError

func (o *CreateHostedTestExecutionBadRequest) IsServerError() bool

IsServerError returns true when this create hosted test execution bad request response has a 5xx status code

func (*CreateHostedTestExecutionBadRequest) IsSuccess

IsSuccess returns true when this create hosted test execution bad request response has a 2xx status code

func (*CreateHostedTestExecutionBadRequest) String

type CreateHostedTestExecutionOK

type CreateHostedTestExecutionOK struct {
	Payload *models.TestExecution
}

CreateHostedTestExecutionOK describes a response with status code 200, with default header values.

OK

func NewCreateHostedTestExecutionOK

func NewCreateHostedTestExecutionOK() *CreateHostedTestExecutionOK

NewCreateHostedTestExecutionOK creates a CreateHostedTestExecutionOK with default headers values

func (*CreateHostedTestExecutionOK) Code

func (o *CreateHostedTestExecutionOK) Code() int

Code gets the status code for the create hosted test execution o k response

func (*CreateHostedTestExecutionOK) Error

func (*CreateHostedTestExecutionOK) GetPayload

func (*CreateHostedTestExecutionOK) IsClientError

func (o *CreateHostedTestExecutionOK) IsClientError() bool

IsClientError returns true when this create hosted test execution o k response has a 4xx status code

func (*CreateHostedTestExecutionOK) IsCode

func (o *CreateHostedTestExecutionOK) IsCode(code int) bool

IsCode returns true when this create hosted test execution o k response a status code equal to that given

func (*CreateHostedTestExecutionOK) IsRedirect

func (o *CreateHostedTestExecutionOK) IsRedirect() bool

IsRedirect returns true when this create hosted test execution o k response has a 3xx status code

func (*CreateHostedTestExecutionOK) IsServerError

func (o *CreateHostedTestExecutionOK) IsServerError() bool

IsServerError returns true when this create hosted test execution o k response has a 5xx status code

func (*CreateHostedTestExecutionOK) IsSuccess

func (o *CreateHostedTestExecutionOK) IsSuccess() bool

IsSuccess returns true when this create hosted test execution o k response has a 2xx status code

func (*CreateHostedTestExecutionOK) String

func (o *CreateHostedTestExecutionOK) String() string

type CreateHostedTestExecutionParams

type CreateHostedTestExecutionParams struct {

	/* Data.

	   Request to create a test execution
	*/
	Data *models.TestExecution

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* TestName.

	   Test name
	*/
	TestName string

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

CreateHostedTestExecutionParams contains all the parameters to send to the API endpoint

for the create hosted test execution operation.

Typically these are written to a http.Request.

func NewCreateHostedTestExecutionParams

func NewCreateHostedTestExecutionParams() *CreateHostedTestExecutionParams

NewCreateHostedTestExecutionParams creates a new CreateHostedTestExecutionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateHostedTestExecutionParamsWithContext

func NewCreateHostedTestExecutionParamsWithContext(ctx context.Context) *CreateHostedTestExecutionParams

NewCreateHostedTestExecutionParamsWithContext creates a new CreateHostedTestExecutionParams object with the ability to set a context for a request.

func NewCreateHostedTestExecutionParamsWithHTTPClient

func NewCreateHostedTestExecutionParamsWithHTTPClient(client *http.Client) *CreateHostedTestExecutionParams

NewCreateHostedTestExecutionParamsWithHTTPClient creates a new CreateHostedTestExecutionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHostedTestExecutionParamsWithTimeout

func NewCreateHostedTestExecutionParamsWithTimeout(timeout time.Duration) *CreateHostedTestExecutionParams

NewCreateHostedTestExecutionParamsWithTimeout creates a new CreateHostedTestExecutionParams object with the ability to set a timeout on a request.

func (*CreateHostedTestExecutionParams) SetContext

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

SetContext adds the context to the create hosted test execution params

func (*CreateHostedTestExecutionParams) SetData

SetData adds the data to the create hosted test execution params

func (*CreateHostedTestExecutionParams) SetDefaults

func (o *CreateHostedTestExecutionParams) SetDefaults()

SetDefaults hydrates default values in the create hosted test execution params (not the query body).

All values with no default are reset to their zero value.

func (*CreateHostedTestExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create hosted test execution params

func (*CreateHostedTestExecutionParams) SetOrgName

func (o *CreateHostedTestExecutionParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the create hosted test execution params

func (*CreateHostedTestExecutionParams) SetTestName

func (o *CreateHostedTestExecutionParams) SetTestName(testName string)

SetTestName adds the testName to the create hosted test execution params

func (*CreateHostedTestExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the create hosted test execution params

func (*CreateHostedTestExecutionParams) WithContext

WithContext adds the context to the create hosted test execution params

func (*CreateHostedTestExecutionParams) WithData

WithData adds the data to the create hosted test execution params

func (*CreateHostedTestExecutionParams) WithDefaults

WithDefaults hydrates default values in the create hosted test execution params (not the query body).

All values with no default are reset to their zero value.

func (*CreateHostedTestExecutionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create hosted test execution params

func (*CreateHostedTestExecutionParams) WithOrgName

WithOrgName adds the orgName to the create hosted test execution params

func (*CreateHostedTestExecutionParams) WithTestName

WithTestName adds the testName to the create hosted test execution params

func (*CreateHostedTestExecutionParams) WithTimeout

WithTimeout adds the timeout to the create hosted test execution params

func (*CreateHostedTestExecutionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateHostedTestExecutionReader

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

CreateHostedTestExecutionReader is a Reader for the CreateHostedTestExecution structure.

func (*CreateHostedTestExecutionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateHostedTestExecutionUnauthorized

type CreateHostedTestExecutionUnauthorized struct {
	Payload *models.ErrorResponse
}

CreateHostedTestExecutionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateHostedTestExecutionUnauthorized

func NewCreateHostedTestExecutionUnauthorized() *CreateHostedTestExecutionUnauthorized

NewCreateHostedTestExecutionUnauthorized creates a CreateHostedTestExecutionUnauthorized with default headers values

func (*CreateHostedTestExecutionUnauthorized) Code

Code gets the status code for the create hosted test execution unauthorized response

func (*CreateHostedTestExecutionUnauthorized) Error

func (*CreateHostedTestExecutionUnauthorized) GetPayload

func (*CreateHostedTestExecutionUnauthorized) IsClientError

func (o *CreateHostedTestExecutionUnauthorized) IsClientError() bool

IsClientError returns true when this create hosted test execution unauthorized response has a 4xx status code

func (*CreateHostedTestExecutionUnauthorized) IsCode

IsCode returns true when this create hosted test execution unauthorized response a status code equal to that given

func (*CreateHostedTestExecutionUnauthorized) IsRedirect

IsRedirect returns true when this create hosted test execution unauthorized response has a 3xx status code

func (*CreateHostedTestExecutionUnauthorized) IsServerError

func (o *CreateHostedTestExecutionUnauthorized) IsServerError() bool

IsServerError returns true when this create hosted test execution unauthorized response has a 5xx status code

func (*CreateHostedTestExecutionUnauthorized) IsSuccess

IsSuccess returns true when this create hosted test execution unauthorized response has a 2xx status code

func (*CreateHostedTestExecutionUnauthorized) String

type GetTestExecutionBadGateway

type GetTestExecutionBadGateway struct {
	Payload *models.ErrorResponse
}

GetTestExecutionBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewGetTestExecutionBadGateway

func NewGetTestExecutionBadGateway() *GetTestExecutionBadGateway

NewGetTestExecutionBadGateway creates a GetTestExecutionBadGateway with default headers values

func (*GetTestExecutionBadGateway) Code

func (o *GetTestExecutionBadGateway) Code() int

Code gets the status code for the get test execution bad gateway response

func (*GetTestExecutionBadGateway) Error

func (*GetTestExecutionBadGateway) GetPayload

func (*GetTestExecutionBadGateway) IsClientError

func (o *GetTestExecutionBadGateway) IsClientError() bool

IsClientError returns true when this get test execution bad gateway response has a 4xx status code

func (*GetTestExecutionBadGateway) IsCode

func (o *GetTestExecutionBadGateway) IsCode(code int) bool

IsCode returns true when this get test execution bad gateway response a status code equal to that given

func (*GetTestExecutionBadGateway) IsRedirect

func (o *GetTestExecutionBadGateway) IsRedirect() bool

IsRedirect returns true when this get test execution bad gateway response has a 3xx status code

func (*GetTestExecutionBadGateway) IsServerError

func (o *GetTestExecutionBadGateway) IsServerError() bool

IsServerError returns true when this get test execution bad gateway response has a 5xx status code

func (*GetTestExecutionBadGateway) IsSuccess

func (o *GetTestExecutionBadGateway) IsSuccess() bool

IsSuccess returns true when this get test execution bad gateway response has a 2xx status code

func (*GetTestExecutionBadGateway) String

func (o *GetTestExecutionBadGateway) String() string

type GetTestExecutionBadRequest

type GetTestExecutionBadRequest struct {
	Payload *models.ErrorResponse
}

GetTestExecutionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetTestExecutionBadRequest

func NewGetTestExecutionBadRequest() *GetTestExecutionBadRequest

NewGetTestExecutionBadRequest creates a GetTestExecutionBadRequest with default headers values

func (*GetTestExecutionBadRequest) Code

func (o *GetTestExecutionBadRequest) Code() int

Code gets the status code for the get test execution bad request response

func (*GetTestExecutionBadRequest) Error

func (*GetTestExecutionBadRequest) GetPayload

func (*GetTestExecutionBadRequest) IsClientError

func (o *GetTestExecutionBadRequest) IsClientError() bool

IsClientError returns true when this get test execution bad request response has a 4xx status code

func (*GetTestExecutionBadRequest) IsCode

func (o *GetTestExecutionBadRequest) IsCode(code int) bool

IsCode returns true when this get test execution bad request response a status code equal to that given

func (*GetTestExecutionBadRequest) IsRedirect

func (o *GetTestExecutionBadRequest) IsRedirect() bool

IsRedirect returns true when this get test execution bad request response has a 3xx status code

func (*GetTestExecutionBadRequest) IsServerError

func (o *GetTestExecutionBadRequest) IsServerError() bool

IsServerError returns true when this get test execution bad request response has a 5xx status code

func (*GetTestExecutionBadRequest) IsSuccess

func (o *GetTestExecutionBadRequest) IsSuccess() bool

IsSuccess returns true when this get test execution bad request response has a 2xx status code

func (*GetTestExecutionBadRequest) String

func (o *GetTestExecutionBadRequest) String() string

type GetTestExecutionOK

type GetTestExecutionOK struct {
	Payload *models.TestExecution
}

GetTestExecutionOK describes a response with status code 200, with default header values.

OK

func NewGetTestExecutionOK

func NewGetTestExecutionOK() *GetTestExecutionOK

NewGetTestExecutionOK creates a GetTestExecutionOK with default headers values

func (*GetTestExecutionOK) Code

func (o *GetTestExecutionOK) Code() int

Code gets the status code for the get test execution o k response

func (*GetTestExecutionOK) Error

func (o *GetTestExecutionOK) Error() string

func (*GetTestExecutionOK) GetPayload

func (o *GetTestExecutionOK) GetPayload() *models.TestExecution

func (*GetTestExecutionOK) IsClientError

func (o *GetTestExecutionOK) IsClientError() bool

IsClientError returns true when this get test execution o k response has a 4xx status code

func (*GetTestExecutionOK) IsCode

func (o *GetTestExecutionOK) IsCode(code int) bool

IsCode returns true when this get test execution o k response a status code equal to that given

func (*GetTestExecutionOK) IsRedirect

func (o *GetTestExecutionOK) IsRedirect() bool

IsRedirect returns true when this get test execution o k response has a 3xx status code

func (*GetTestExecutionOK) IsServerError

func (o *GetTestExecutionOK) IsServerError() bool

IsServerError returns true when this get test execution o k response has a 5xx status code

func (*GetTestExecutionOK) IsSuccess

func (o *GetTestExecutionOK) IsSuccess() bool

IsSuccess returns true when this get test execution o k response has a 2xx status code

func (*GetTestExecutionOK) String

func (o *GetTestExecutionOK) String() string

type GetTestExecutionParams

type GetTestExecutionParams struct {

	/* ExecutionID.

	   Test Execution ID
	*/
	ExecutionID string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

GetTestExecutionParams contains all the parameters to send to the API endpoint

for the get test execution operation.

Typically these are written to a http.Request.

func NewGetTestExecutionParams

func NewGetTestExecutionParams() *GetTestExecutionParams

NewGetTestExecutionParams creates a new GetTestExecutionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTestExecutionParamsWithContext

func NewGetTestExecutionParamsWithContext(ctx context.Context) *GetTestExecutionParams

NewGetTestExecutionParamsWithContext creates a new GetTestExecutionParams object with the ability to set a context for a request.

func NewGetTestExecutionParamsWithHTTPClient

func NewGetTestExecutionParamsWithHTTPClient(client *http.Client) *GetTestExecutionParams

NewGetTestExecutionParamsWithHTTPClient creates a new GetTestExecutionParams object with the ability to set a custom HTTPClient for a request.

func NewGetTestExecutionParamsWithTimeout

func NewGetTestExecutionParamsWithTimeout(timeout time.Duration) *GetTestExecutionParams

NewGetTestExecutionParamsWithTimeout creates a new GetTestExecutionParams object with the ability to set a timeout on a request.

func (*GetTestExecutionParams) SetContext

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

SetContext adds the context to the get test execution params

func (*GetTestExecutionParams) SetDefaults

func (o *GetTestExecutionParams) SetDefaults()

SetDefaults hydrates default values in the get test execution params (not the query body).

All values with no default are reset to their zero value.

func (*GetTestExecutionParams) SetExecutionID

func (o *GetTestExecutionParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the get test execution params

func (*GetTestExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get test execution params

func (*GetTestExecutionParams) SetOrgName

func (o *GetTestExecutionParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the get test execution params

func (*GetTestExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the get test execution params

func (*GetTestExecutionParams) WithContext

WithContext adds the context to the get test execution params

func (*GetTestExecutionParams) WithDefaults

WithDefaults hydrates default values in the get test execution params (not the query body).

All values with no default are reset to their zero value.

func (*GetTestExecutionParams) WithExecutionID

func (o *GetTestExecutionParams) WithExecutionID(executionID string) *GetTestExecutionParams

WithExecutionID adds the executionID to the get test execution params

func (*GetTestExecutionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get test execution params

func (*GetTestExecutionParams) WithOrgName

func (o *GetTestExecutionParams) WithOrgName(orgName string) *GetTestExecutionParams

WithOrgName adds the orgName to the get test execution params

func (*GetTestExecutionParams) WithTimeout

WithTimeout adds the timeout to the get test execution params

func (*GetTestExecutionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTestExecutionReader

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

GetTestExecutionReader is a Reader for the GetTestExecution structure.

func (*GetTestExecutionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTestExecutionUnauthorized

type GetTestExecutionUnauthorized struct {
	Payload *models.ErrorResponse
}

GetTestExecutionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetTestExecutionUnauthorized

func NewGetTestExecutionUnauthorized() *GetTestExecutionUnauthorized

NewGetTestExecutionUnauthorized creates a GetTestExecutionUnauthorized with default headers values

func (*GetTestExecutionUnauthorized) Code

Code gets the status code for the get test execution unauthorized response

func (*GetTestExecutionUnauthorized) Error

func (*GetTestExecutionUnauthorized) GetPayload

func (*GetTestExecutionUnauthorized) IsClientError

func (o *GetTestExecutionUnauthorized) IsClientError() bool

IsClientError returns true when this get test execution unauthorized response has a 4xx status code

func (*GetTestExecutionUnauthorized) IsCode

func (o *GetTestExecutionUnauthorized) IsCode(code int) bool

IsCode returns true when this get test execution unauthorized response a status code equal to that given

func (*GetTestExecutionUnauthorized) IsRedirect

func (o *GetTestExecutionUnauthorized) IsRedirect() bool

IsRedirect returns true when this get test execution unauthorized response has a 3xx status code

func (*GetTestExecutionUnauthorized) IsServerError

func (o *GetTestExecutionUnauthorized) IsServerError() bool

IsServerError returns true when this get test execution unauthorized response has a 5xx status code

func (*GetTestExecutionUnauthorized) IsSuccess

func (o *GetTestExecutionUnauthorized) IsSuccess() bool

IsSuccess returns true when this get test execution unauthorized response has a 2xx status code

func (*GetTestExecutionUnauthorized) String

type ListTestExecutionsBadGateway

type ListTestExecutionsBadGateway struct {
	Payload *models.ErrorResponse
}

ListTestExecutionsBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewListTestExecutionsBadGateway

func NewListTestExecutionsBadGateway() *ListTestExecutionsBadGateway

NewListTestExecutionsBadGateway creates a ListTestExecutionsBadGateway with default headers values

func (*ListTestExecutionsBadGateway) Code

Code gets the status code for the list test executions bad gateway response

func (*ListTestExecutionsBadGateway) Error

func (*ListTestExecutionsBadGateway) GetPayload

func (*ListTestExecutionsBadGateway) IsClientError

func (o *ListTestExecutionsBadGateway) IsClientError() bool

IsClientError returns true when this list test executions bad gateway response has a 4xx status code

func (*ListTestExecutionsBadGateway) IsCode

func (o *ListTestExecutionsBadGateway) IsCode(code int) bool

IsCode returns true when this list test executions bad gateway response a status code equal to that given

func (*ListTestExecutionsBadGateway) IsRedirect

func (o *ListTestExecutionsBadGateway) IsRedirect() bool

IsRedirect returns true when this list test executions bad gateway response has a 3xx status code

func (*ListTestExecutionsBadGateway) IsServerError

func (o *ListTestExecutionsBadGateway) IsServerError() bool

IsServerError returns true when this list test executions bad gateway response has a 5xx status code

func (*ListTestExecutionsBadGateway) IsSuccess

func (o *ListTestExecutionsBadGateway) IsSuccess() bool

IsSuccess returns true when this list test executions bad gateway response has a 2xx status code

func (*ListTestExecutionsBadGateway) String

type ListTestExecutionsBadRequest

type ListTestExecutionsBadRequest struct {
	Payload *models.ErrorResponse
}

ListTestExecutionsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListTestExecutionsBadRequest

func NewListTestExecutionsBadRequest() *ListTestExecutionsBadRequest

NewListTestExecutionsBadRequest creates a ListTestExecutionsBadRequest with default headers values

func (*ListTestExecutionsBadRequest) Code

Code gets the status code for the list test executions bad request response

func (*ListTestExecutionsBadRequest) Error

func (*ListTestExecutionsBadRequest) GetPayload

func (*ListTestExecutionsBadRequest) IsClientError

func (o *ListTestExecutionsBadRequest) IsClientError() bool

IsClientError returns true when this list test executions bad request response has a 4xx status code

func (*ListTestExecutionsBadRequest) IsCode

func (o *ListTestExecutionsBadRequest) IsCode(code int) bool

IsCode returns true when this list test executions bad request response a status code equal to that given

func (*ListTestExecutionsBadRequest) IsRedirect

func (o *ListTestExecutionsBadRequest) IsRedirect() bool

IsRedirect returns true when this list test executions bad request response has a 3xx status code

func (*ListTestExecutionsBadRequest) IsServerError

func (o *ListTestExecutionsBadRequest) IsServerError() bool

IsServerError returns true when this list test executions bad request response has a 5xx status code

func (*ListTestExecutionsBadRequest) IsSuccess

func (o *ListTestExecutionsBadRequest) IsSuccess() bool

IsSuccess returns true when this list test executions bad request response has a 2xx status code

func (*ListTestExecutionsBadRequest) String

type ListTestExecutionsOK

type ListTestExecutionsOK struct {
	Payload []*models.TestExecution
}

ListTestExecutionsOK describes a response with status code 200, with default header values.

OK

func NewListTestExecutionsOK

func NewListTestExecutionsOK() *ListTestExecutionsOK

NewListTestExecutionsOK creates a ListTestExecutionsOK with default headers values

func (*ListTestExecutionsOK) Code

func (o *ListTestExecutionsOK) Code() int

Code gets the status code for the list test executions o k response

func (*ListTestExecutionsOK) Error

func (o *ListTestExecutionsOK) Error() string

func (*ListTestExecutionsOK) GetPayload

func (o *ListTestExecutionsOK) GetPayload() []*models.TestExecution

func (*ListTestExecutionsOK) IsClientError

func (o *ListTestExecutionsOK) IsClientError() bool

IsClientError returns true when this list test executions o k response has a 4xx status code

func (*ListTestExecutionsOK) IsCode

func (o *ListTestExecutionsOK) IsCode(code int) bool

IsCode returns true when this list test executions o k response a status code equal to that given

func (*ListTestExecutionsOK) IsRedirect

func (o *ListTestExecutionsOK) IsRedirect() bool

IsRedirect returns true when this list test executions o k response has a 3xx status code

func (*ListTestExecutionsOK) IsServerError

func (o *ListTestExecutionsOK) IsServerError() bool

IsServerError returns true when this list test executions o k response has a 5xx status code

func (*ListTestExecutionsOK) IsSuccess

func (o *ListTestExecutionsOK) IsSuccess() bool

IsSuccess returns true when this list test executions o k response has a 2xx status code

func (*ListTestExecutionsOK) String

func (o *ListTestExecutionsOK) String() string

type ListTestExecutionsParams

type ListTestExecutionsParams struct {

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

	/* TestName.

	   Test name
	*/
	TestName string

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

ListTestExecutionsParams contains all the parameters to send to the API endpoint

for the list test executions operation.

Typically these are written to a http.Request.

func NewListTestExecutionsParams

func NewListTestExecutionsParams() *ListTestExecutionsParams

NewListTestExecutionsParams creates a new ListTestExecutionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListTestExecutionsParamsWithContext

func NewListTestExecutionsParamsWithContext(ctx context.Context) *ListTestExecutionsParams

NewListTestExecutionsParamsWithContext creates a new ListTestExecutionsParams object with the ability to set a context for a request.

func NewListTestExecutionsParamsWithHTTPClient

func NewListTestExecutionsParamsWithHTTPClient(client *http.Client) *ListTestExecutionsParams

NewListTestExecutionsParamsWithHTTPClient creates a new ListTestExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewListTestExecutionsParamsWithTimeout

func NewListTestExecutionsParamsWithTimeout(timeout time.Duration) *ListTestExecutionsParams

NewListTestExecutionsParamsWithTimeout creates a new ListTestExecutionsParams object with the ability to set a timeout on a request.

func (*ListTestExecutionsParams) SetContext

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

SetContext adds the context to the list test executions params

func (*ListTestExecutionsParams) SetDefaults

func (o *ListTestExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the list test executions params (not the query body).

All values with no default are reset to their zero value.

func (*ListTestExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list test executions params

func (*ListTestExecutionsParams) SetOrgName

func (o *ListTestExecutionsParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the list test executions params

func (*ListTestExecutionsParams) SetTestName

func (o *ListTestExecutionsParams) SetTestName(testName string)

SetTestName adds the testName to the list test executions params

func (*ListTestExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the list test executions params

func (*ListTestExecutionsParams) WithContext

WithContext adds the context to the list test executions params

func (*ListTestExecutionsParams) WithDefaults

WithDefaults hydrates default values in the list test executions params (not the query body).

All values with no default are reset to their zero value.

func (*ListTestExecutionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list test executions params

func (*ListTestExecutionsParams) WithOrgName

func (o *ListTestExecutionsParams) WithOrgName(orgName string) *ListTestExecutionsParams

WithOrgName adds the orgName to the list test executions params

func (*ListTestExecutionsParams) WithTestName

func (o *ListTestExecutionsParams) WithTestName(testName string) *ListTestExecutionsParams

WithTestName adds the testName to the list test executions params

func (*ListTestExecutionsParams) WithTimeout

WithTimeout adds the timeout to the list test executions params

func (*ListTestExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListTestExecutionsReader

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

ListTestExecutionsReader is a Reader for the ListTestExecutions structure.

func (*ListTestExecutionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTestExecutionsUnauthorized

type ListTestExecutionsUnauthorized struct {
	Payload *models.ErrorResponse
}

ListTestExecutionsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListTestExecutionsUnauthorized

func NewListTestExecutionsUnauthorized() *ListTestExecutionsUnauthorized

NewListTestExecutionsUnauthorized creates a ListTestExecutionsUnauthorized with default headers values

func (*ListTestExecutionsUnauthorized) Code

Code gets the status code for the list test executions unauthorized response

func (*ListTestExecutionsUnauthorized) Error

func (*ListTestExecutionsUnauthorized) GetPayload

func (*ListTestExecutionsUnauthorized) IsClientError

func (o *ListTestExecutionsUnauthorized) IsClientError() bool

IsClientError returns true when this list test executions unauthorized response has a 4xx status code

func (*ListTestExecutionsUnauthorized) IsCode

func (o *ListTestExecutionsUnauthorized) IsCode(code int) bool

IsCode returns true when this list test executions unauthorized response a status code equal to that given

func (*ListTestExecutionsUnauthorized) IsRedirect

func (o *ListTestExecutionsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list test executions unauthorized response has a 3xx status code

func (*ListTestExecutionsUnauthorized) IsServerError

func (o *ListTestExecutionsUnauthorized) IsServerError() bool

IsServerError returns true when this list test executions unauthorized response has a 5xx status code

func (*ListTestExecutionsUnauthorized) IsSuccess

func (o *ListTestExecutionsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list test executions unauthorized response has a 2xx status code

func (*ListTestExecutionsUnauthorized) String

type QueryTestExecutionsBadGateway

type QueryTestExecutionsBadGateway struct {
	Payload *models.ErrorResponse
}

QueryTestExecutionsBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewQueryTestExecutionsBadGateway

func NewQueryTestExecutionsBadGateway() *QueryTestExecutionsBadGateway

NewQueryTestExecutionsBadGateway creates a QueryTestExecutionsBadGateway with default headers values

func (*QueryTestExecutionsBadGateway) Code

Code gets the status code for the query test executions bad gateway response

func (*QueryTestExecutionsBadGateway) Error

func (*QueryTestExecutionsBadGateway) GetPayload

func (*QueryTestExecutionsBadGateway) IsClientError

func (o *QueryTestExecutionsBadGateway) IsClientError() bool

IsClientError returns true when this query test executions bad gateway response has a 4xx status code

func (*QueryTestExecutionsBadGateway) IsCode

func (o *QueryTestExecutionsBadGateway) IsCode(code int) bool

IsCode returns true when this query test executions bad gateway response a status code equal to that given

func (*QueryTestExecutionsBadGateway) IsRedirect

func (o *QueryTestExecutionsBadGateway) IsRedirect() bool

IsRedirect returns true when this query test executions bad gateway response has a 3xx status code

func (*QueryTestExecutionsBadGateway) IsServerError

func (o *QueryTestExecutionsBadGateway) IsServerError() bool

IsServerError returns true when this query test executions bad gateway response has a 5xx status code

func (*QueryTestExecutionsBadGateway) IsSuccess

func (o *QueryTestExecutionsBadGateway) IsSuccess() bool

IsSuccess returns true when this query test executions bad gateway response has a 2xx status code

func (*QueryTestExecutionsBadGateway) String

type QueryTestExecutionsBadRequest

type QueryTestExecutionsBadRequest struct {
	Payload *models.ErrorResponse
}

QueryTestExecutionsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryTestExecutionsBadRequest

func NewQueryTestExecutionsBadRequest() *QueryTestExecutionsBadRequest

NewQueryTestExecutionsBadRequest creates a QueryTestExecutionsBadRequest with default headers values

func (*QueryTestExecutionsBadRequest) Code

Code gets the status code for the query test executions bad request response

func (*QueryTestExecutionsBadRequest) Error

func (*QueryTestExecutionsBadRequest) GetPayload

func (*QueryTestExecutionsBadRequest) IsClientError

func (o *QueryTestExecutionsBadRequest) IsClientError() bool

IsClientError returns true when this query test executions bad request response has a 4xx status code

func (*QueryTestExecutionsBadRequest) IsCode

func (o *QueryTestExecutionsBadRequest) IsCode(code int) bool

IsCode returns true when this query test executions bad request response a status code equal to that given

func (*QueryTestExecutionsBadRequest) IsRedirect

func (o *QueryTestExecutionsBadRequest) IsRedirect() bool

IsRedirect returns true when this query test executions bad request response has a 3xx status code

func (*QueryTestExecutionsBadRequest) IsServerError

func (o *QueryTestExecutionsBadRequest) IsServerError() bool

IsServerError returns true when this query test executions bad request response has a 5xx status code

func (*QueryTestExecutionsBadRequest) IsSuccess

func (o *QueryTestExecutionsBadRequest) IsSuccess() bool

IsSuccess returns true when this query test executions bad request response has a 2xx status code

func (*QueryTestExecutionsBadRequest) String

type QueryTestExecutionsOK

type QueryTestExecutionsOK struct {
	Payload []*models.TestexecutionsQueryResult
}

QueryTestExecutionsOK describes a response with status code 200, with default header values.

OK

func NewQueryTestExecutionsOK

func NewQueryTestExecutionsOK() *QueryTestExecutionsOK

NewQueryTestExecutionsOK creates a QueryTestExecutionsOK with default headers values

func (*QueryTestExecutionsOK) Code

func (o *QueryTestExecutionsOK) Code() int

Code gets the status code for the query test executions o k response

func (*QueryTestExecutionsOK) Error

func (o *QueryTestExecutionsOK) Error() string

func (*QueryTestExecutionsOK) GetPayload

func (*QueryTestExecutionsOK) IsClientError

func (o *QueryTestExecutionsOK) IsClientError() bool

IsClientError returns true when this query test executions o k response has a 4xx status code

func (*QueryTestExecutionsOK) IsCode

func (o *QueryTestExecutionsOK) IsCode(code int) bool

IsCode returns true when this query test executions o k response a status code equal to that given

func (*QueryTestExecutionsOK) IsRedirect

func (o *QueryTestExecutionsOK) IsRedirect() bool

IsRedirect returns true when this query test executions o k response has a 3xx status code

func (*QueryTestExecutionsOK) IsServerError

func (o *QueryTestExecutionsOK) IsServerError() bool

IsServerError returns true when this query test executions o k response has a 5xx status code

func (*QueryTestExecutionsOK) IsSuccess

func (o *QueryTestExecutionsOK) IsSuccess() bool

IsSuccess returns true when this query test executions o k response has a 2xx status code

func (*QueryTestExecutionsOK) String

func (o *QueryTestExecutionsOK) String() string

type QueryTestExecutionsParams

type QueryTestExecutionsParams struct {

	/* Cluster.

	   Cluster name
	*/
	Cluster *string

	/* Cursor.

	   Start sending results from this cursor
	*/
	Cursor *string

	/* ExecutionPhase.

	   Test execution phase
	*/
	ExecutionPhase *string

	/* From.

	   Filter results starting from this time
	*/
	From *string

	/* IsAutoDiff.

	   Only include auto diff executions
	*/
	IsAutoDiff *string

	/* Label.

	   Label constraint key:value (may be specified multiple times)
	*/
	Label []string

	/* OrderDir.

	   Sorting direction
	*/
	OrderDir *string

	/* OrgName.

	   Signadot Org name
	*/
	OrgName string

	/* PageSize.

	   Number of rows to be included in the response
	*/
	PageSize *int64

	/* Published.

	   Whether the test is published to the UI by default
	*/
	Published *bool

	/* Repo.

	   Repository name
	*/
	Repo *string

	/* RepoBranch.

	   Repository path
	*/
	RepoBranch *string

	/* RepoCommitSHA.

	   Repository commit SHA
	*/
	RepoCommitSHA *string

	/* RepoPath.

	   Repository path
	*/
	RepoPath *string

	/* RunID.

	   CLI run identifier
	*/
	RunID *string

	/* SkipDeletedTests.

	   Do not include executions from deleted tests
	*/
	SkipDeletedTests *string

	/* Source.

	   Test source external or saas
	*/
	Source *string

	/* TargetRevision.

	   Revision of the target routing context
	*/
	TargetRevision *string

	/* TargetRouteGroup.

	   Target route group name
	*/
	TargetRouteGroup *string

	/* TargetRoutingKey.

	   Target routing key
	*/
	TargetRoutingKey *string

	/* TargetSandbox.

	   Target sandbox name
	*/
	TargetSandbox *string

	/* TestName.

	   Test name
	*/
	TestName *string

	/* To.

	   Filter results until this time
	*/
	To *string

	/* TriggerID.

	   Trigger name
	*/
	TriggerID *string

	/* TriggerWorkload.

	   Trigger workload in JSON format
	*/
	TriggerWorkload *string

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

QueryTestExecutionsParams contains all the parameters to send to the API endpoint

for the query test executions operation.

Typically these are written to a http.Request.

func NewQueryTestExecutionsParams

func NewQueryTestExecutionsParams() *QueryTestExecutionsParams

NewQueryTestExecutionsParams creates a new QueryTestExecutionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewQueryTestExecutionsParamsWithContext

func NewQueryTestExecutionsParamsWithContext(ctx context.Context) *QueryTestExecutionsParams

NewQueryTestExecutionsParamsWithContext creates a new QueryTestExecutionsParams object with the ability to set a context for a request.

func NewQueryTestExecutionsParamsWithHTTPClient

func NewQueryTestExecutionsParamsWithHTTPClient(client *http.Client) *QueryTestExecutionsParams

NewQueryTestExecutionsParamsWithHTTPClient creates a new QueryTestExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryTestExecutionsParamsWithTimeout

func NewQueryTestExecutionsParamsWithTimeout(timeout time.Duration) *QueryTestExecutionsParams

NewQueryTestExecutionsParamsWithTimeout creates a new QueryTestExecutionsParams object with the ability to set a timeout on a request.

func (*QueryTestExecutionsParams) SetCluster

func (o *QueryTestExecutionsParams) SetCluster(cluster *string)

SetCluster adds the cluster to the query test executions params

func (*QueryTestExecutionsParams) SetContext

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

SetContext adds the context to the query test executions params

func (*QueryTestExecutionsParams) SetCursor

func (o *QueryTestExecutionsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the query test executions params

func (*QueryTestExecutionsParams) SetDefaults

func (o *QueryTestExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the query test executions params (not the query body).

All values with no default are reset to their zero value.

func (*QueryTestExecutionsParams) SetExecutionPhase

func (o *QueryTestExecutionsParams) SetExecutionPhase(executionPhase *string)

SetExecutionPhase adds the executionPhase to the query test executions params

func (*QueryTestExecutionsParams) SetFrom

func (o *QueryTestExecutionsParams) SetFrom(from *string)

SetFrom adds the from to the query test executions params

func (*QueryTestExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query test executions params

func (*QueryTestExecutionsParams) SetIsAutoDiff

func (o *QueryTestExecutionsParams) SetIsAutoDiff(isAutoDiff *string)

SetIsAutoDiff adds the isAutoDiff to the query test executions params

func (*QueryTestExecutionsParams) SetLabel

func (o *QueryTestExecutionsParams) SetLabel(label []string)

SetLabel adds the label to the query test executions params

func (*QueryTestExecutionsParams) SetOrderDir

func (o *QueryTestExecutionsParams) SetOrderDir(orderDir *string)

SetOrderDir adds the orderDir to the query test executions params

func (*QueryTestExecutionsParams) SetOrgName

func (o *QueryTestExecutionsParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the query test executions params

func (*QueryTestExecutionsParams) SetPageSize

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

SetPageSize adds the pageSize to the query test executions params

func (*QueryTestExecutionsParams) SetPublished

func (o *QueryTestExecutionsParams) SetPublished(published *bool)

SetPublished adds the published to the query test executions params

func (*QueryTestExecutionsParams) SetRepo

func (o *QueryTestExecutionsParams) SetRepo(repo *string)

SetRepo adds the repo to the query test executions params

func (*QueryTestExecutionsParams) SetRepoBranch

func (o *QueryTestExecutionsParams) SetRepoBranch(repoBranch *string)

SetRepoBranch adds the repoBranch to the query test executions params

func (*QueryTestExecutionsParams) SetRepoCommitSHA

func (o *QueryTestExecutionsParams) SetRepoCommitSHA(repoCommitSHA *string)

SetRepoCommitSHA adds the repoCommitSHA to the query test executions params

func (*QueryTestExecutionsParams) SetRepoPath

func (o *QueryTestExecutionsParams) SetRepoPath(repoPath *string)

SetRepoPath adds the repoPath to the query test executions params

func (*QueryTestExecutionsParams) SetRunID

func (o *QueryTestExecutionsParams) SetRunID(runID *string)

SetRunID adds the runId to the query test executions params

func (*QueryTestExecutionsParams) SetSkipDeletedTests

func (o *QueryTestExecutionsParams) SetSkipDeletedTests(skipDeletedTests *string)

SetSkipDeletedTests adds the skipDeletedTests to the query test executions params

func (*QueryTestExecutionsParams) SetSource

func (o *QueryTestExecutionsParams) SetSource(source *string)

SetSource adds the source to the query test executions params

func (*QueryTestExecutionsParams) SetTargetRevision

func (o *QueryTestExecutionsParams) SetTargetRevision(targetRevision *string)

SetTargetRevision adds the targetRevision to the query test executions params

func (*QueryTestExecutionsParams) SetTargetRouteGroup

func (o *QueryTestExecutionsParams) SetTargetRouteGroup(targetRouteGroup *string)

SetTargetRouteGroup adds the targetRouteGroup to the query test executions params

func (*QueryTestExecutionsParams) SetTargetRoutingKey

func (o *QueryTestExecutionsParams) SetTargetRoutingKey(targetRoutingKey *string)

SetTargetRoutingKey adds the targetRoutingKey to the query test executions params

func (*QueryTestExecutionsParams) SetTargetSandbox

func (o *QueryTestExecutionsParams) SetTargetSandbox(targetSandbox *string)

SetTargetSandbox adds the targetSandbox to the query test executions params

func (*QueryTestExecutionsParams) SetTestName

func (o *QueryTestExecutionsParams) SetTestName(testName *string)

SetTestName adds the testName to the query test executions params

func (*QueryTestExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the query test executions params

func (*QueryTestExecutionsParams) SetTo

func (o *QueryTestExecutionsParams) SetTo(to *string)

SetTo adds the to to the query test executions params

func (*QueryTestExecutionsParams) SetTriggerID

func (o *QueryTestExecutionsParams) SetTriggerID(triggerID *string)

SetTriggerID adds the triggerId to the query test executions params

func (*QueryTestExecutionsParams) SetTriggerWorkload

func (o *QueryTestExecutionsParams) SetTriggerWorkload(triggerWorkload *string)

SetTriggerWorkload adds the triggerWorkload to the query test executions params

func (*QueryTestExecutionsParams) WithCluster

WithCluster adds the cluster to the query test executions params

func (*QueryTestExecutionsParams) WithContext

WithContext adds the context to the query test executions params

func (*QueryTestExecutionsParams) WithCursor

WithCursor adds the cursor to the query test executions params

func (*QueryTestExecutionsParams) WithDefaults

WithDefaults hydrates default values in the query test executions params (not the query body).

All values with no default are reset to their zero value.

func (*QueryTestExecutionsParams) WithExecutionPhase

func (o *QueryTestExecutionsParams) WithExecutionPhase(executionPhase *string) *QueryTestExecutionsParams

WithExecutionPhase adds the executionPhase to the query test executions params

func (*QueryTestExecutionsParams) WithFrom

WithFrom adds the from to the query test executions params

func (*QueryTestExecutionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query test executions params

func (*QueryTestExecutionsParams) WithIsAutoDiff

func (o *QueryTestExecutionsParams) WithIsAutoDiff(isAutoDiff *string) *QueryTestExecutionsParams

WithIsAutoDiff adds the isAutoDiff to the query test executions params

func (*QueryTestExecutionsParams) WithLabel

WithLabel adds the label to the query test executions params

func (*QueryTestExecutionsParams) WithOrderDir

func (o *QueryTestExecutionsParams) WithOrderDir(orderDir *string) *QueryTestExecutionsParams

WithOrderDir adds the orderDir to the query test executions params

func (*QueryTestExecutionsParams) WithOrgName

WithOrgName adds the orgName to the query test executions params

func (*QueryTestExecutionsParams) WithPageSize

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

WithPageSize adds the pageSize to the query test executions params

func (*QueryTestExecutionsParams) WithPublished

func (o *QueryTestExecutionsParams) WithPublished(published *bool) *QueryTestExecutionsParams

WithPublished adds the published to the query test executions params

func (*QueryTestExecutionsParams) WithRepo

WithRepo adds the repo to the query test executions params

func (*QueryTestExecutionsParams) WithRepoBranch

func (o *QueryTestExecutionsParams) WithRepoBranch(repoBranch *string) *QueryTestExecutionsParams

WithRepoBranch adds the repoBranch to the query test executions params

func (*QueryTestExecutionsParams) WithRepoCommitSHA

func (o *QueryTestExecutionsParams) WithRepoCommitSHA(repoCommitSHA *string) *QueryTestExecutionsParams

WithRepoCommitSHA adds the repoCommitSHA to the query test executions params

func (*QueryTestExecutionsParams) WithRepoPath

func (o *QueryTestExecutionsParams) WithRepoPath(repoPath *string) *QueryTestExecutionsParams

WithRepoPath adds the repoPath to the query test executions params

func (*QueryTestExecutionsParams) WithRunID

WithRunID adds the runID to the query test executions params

func (*QueryTestExecutionsParams) WithSkipDeletedTests

func (o *QueryTestExecutionsParams) WithSkipDeletedTests(skipDeletedTests *string) *QueryTestExecutionsParams

WithSkipDeletedTests adds the skipDeletedTests to the query test executions params

func (*QueryTestExecutionsParams) WithSource

WithSource adds the source to the query test executions params

func (*QueryTestExecutionsParams) WithTargetRevision

func (o *QueryTestExecutionsParams) WithTargetRevision(targetRevision *string) *QueryTestExecutionsParams

WithTargetRevision adds the targetRevision to the query test executions params

func (*QueryTestExecutionsParams) WithTargetRouteGroup

func (o *QueryTestExecutionsParams) WithTargetRouteGroup(targetRouteGroup *string) *QueryTestExecutionsParams

WithTargetRouteGroup adds the targetRouteGroup to the query test executions params

func (*QueryTestExecutionsParams) WithTargetRoutingKey

func (o *QueryTestExecutionsParams) WithTargetRoutingKey(targetRoutingKey *string) *QueryTestExecutionsParams

WithTargetRoutingKey adds the targetRoutingKey to the query test executions params

func (*QueryTestExecutionsParams) WithTargetSandbox

func (o *QueryTestExecutionsParams) WithTargetSandbox(targetSandbox *string) *QueryTestExecutionsParams

WithTargetSandbox adds the targetSandbox to the query test executions params

func (*QueryTestExecutionsParams) WithTestName

func (o *QueryTestExecutionsParams) WithTestName(testName *string) *QueryTestExecutionsParams

WithTestName adds the testName to the query test executions params

func (*QueryTestExecutionsParams) WithTimeout

WithTimeout adds the timeout to the query test executions params

func (*QueryTestExecutionsParams) WithTo

WithTo adds the to to the query test executions params

func (*QueryTestExecutionsParams) WithTriggerID

func (o *QueryTestExecutionsParams) WithTriggerID(triggerID *string) *QueryTestExecutionsParams

WithTriggerID adds the triggerID to the query test executions params

func (*QueryTestExecutionsParams) WithTriggerWorkload

func (o *QueryTestExecutionsParams) WithTriggerWorkload(triggerWorkload *string) *QueryTestExecutionsParams

WithTriggerWorkload adds the triggerWorkload to the query test executions params

func (*QueryTestExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryTestExecutionsReader

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

QueryTestExecutionsReader is a Reader for the QueryTestExecutions structure.

func (*QueryTestExecutionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryTestExecutionsUnauthorized

type QueryTestExecutionsUnauthorized struct {
	Payload *models.ErrorResponse
}

QueryTestExecutionsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewQueryTestExecutionsUnauthorized

func NewQueryTestExecutionsUnauthorized() *QueryTestExecutionsUnauthorized

NewQueryTestExecutionsUnauthorized creates a QueryTestExecutionsUnauthorized with default headers values

func (*QueryTestExecutionsUnauthorized) Code

Code gets the status code for the query test executions unauthorized response

func (*QueryTestExecutionsUnauthorized) Error

func (*QueryTestExecutionsUnauthorized) GetPayload

func (*QueryTestExecutionsUnauthorized) IsClientError

func (o *QueryTestExecutionsUnauthorized) IsClientError() bool

IsClientError returns true when this query test executions unauthorized response has a 4xx status code

func (*QueryTestExecutionsUnauthorized) IsCode

func (o *QueryTestExecutionsUnauthorized) IsCode(code int) bool

IsCode returns true when this query test executions unauthorized response a status code equal to that given

func (*QueryTestExecutionsUnauthorized) IsRedirect

func (o *QueryTestExecutionsUnauthorized) IsRedirect() bool

IsRedirect returns true when this query test executions unauthorized response has a 3xx status code

func (*QueryTestExecutionsUnauthorized) IsServerError

func (o *QueryTestExecutionsUnauthorized) IsServerError() bool

IsServerError returns true when this query test executions unauthorized response has a 5xx status code

func (*QueryTestExecutionsUnauthorized) IsSuccess

func (o *QueryTestExecutionsUnauthorized) IsSuccess() bool

IsSuccess returns true when this query test executions unauthorized response has a 2xx status code

func (*QueryTestExecutionsUnauthorized) String

type TestExecutionTrafficDiffBadGateway

type TestExecutionTrafficDiffBadGateway struct {
	Payload *models.ErrorResponse
}

TestExecutionTrafficDiffBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewTestExecutionTrafficDiffBadGateway

func NewTestExecutionTrafficDiffBadGateway() *TestExecutionTrafficDiffBadGateway

NewTestExecutionTrafficDiffBadGateway creates a TestExecutionTrafficDiffBadGateway with default headers values

func (*TestExecutionTrafficDiffBadGateway) Code

Code gets the status code for the test execution traffic diff bad gateway response

func (*TestExecutionTrafficDiffBadGateway) Error

func (*TestExecutionTrafficDiffBadGateway) GetPayload

func (*TestExecutionTrafficDiffBadGateway) IsClientError

func (o *TestExecutionTrafficDiffBadGateway) IsClientError() bool

IsClientError returns true when this test execution traffic diff bad gateway response has a 4xx status code

func (*TestExecutionTrafficDiffBadGateway) IsCode

IsCode returns true when this test execution traffic diff bad gateway response a status code equal to that given

func (*TestExecutionTrafficDiffBadGateway) IsRedirect

func (o *TestExecutionTrafficDiffBadGateway) IsRedirect() bool

IsRedirect returns true when this test execution traffic diff bad gateway response has a 3xx status code

func (*TestExecutionTrafficDiffBadGateway) IsServerError

func (o *TestExecutionTrafficDiffBadGateway) IsServerError() bool

IsServerError returns true when this test execution traffic diff bad gateway response has a 5xx status code

func (*TestExecutionTrafficDiffBadGateway) IsSuccess

IsSuccess returns true when this test execution traffic diff bad gateway response has a 2xx status code

func (*TestExecutionTrafficDiffBadGateway) String

type TestExecutionTrafficDiffBadRequest

type TestExecutionTrafficDiffBadRequest struct {
	Payload *models.ErrorResponse
}

TestExecutionTrafficDiffBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewTestExecutionTrafficDiffBadRequest

func NewTestExecutionTrafficDiffBadRequest() *TestExecutionTrafficDiffBadRequest

NewTestExecutionTrafficDiffBadRequest creates a TestExecutionTrafficDiffBadRequest with default headers values

func (*TestExecutionTrafficDiffBadRequest) Code

Code gets the status code for the test execution traffic diff bad request response

func (*TestExecutionTrafficDiffBadRequest) Error

func (*TestExecutionTrafficDiffBadRequest) GetPayload

func (*TestExecutionTrafficDiffBadRequest) IsClientError

func (o *TestExecutionTrafficDiffBadRequest) IsClientError() bool

IsClientError returns true when this test execution traffic diff bad request response has a 4xx status code

func (*TestExecutionTrafficDiffBadRequest) IsCode

IsCode returns true when this test execution traffic diff bad request response a status code equal to that given

func (*TestExecutionTrafficDiffBadRequest) IsRedirect

func (o *TestExecutionTrafficDiffBadRequest) IsRedirect() bool

IsRedirect returns true when this test execution traffic diff bad request response has a 3xx status code

func (*TestExecutionTrafficDiffBadRequest) IsServerError

func (o *TestExecutionTrafficDiffBadRequest) IsServerError() bool

IsServerError returns true when this test execution traffic diff bad request response has a 5xx status code

func (*TestExecutionTrafficDiffBadRequest) IsSuccess

IsSuccess returns true when this test execution traffic diff bad request response has a 2xx status code

func (*TestExecutionTrafficDiffBadRequest) String

type TestExecutionTrafficDiffFindingsBadGateway

type TestExecutionTrafficDiffFindingsBadGateway struct {
	Payload *models.ErrorResponse
}

TestExecutionTrafficDiffFindingsBadGateway describes a response with status code 502, with default header values.

Bad Gateway

func NewTestExecutionTrafficDiffFindingsBadGateway

func NewTestExecutionTrafficDiffFindingsBadGateway() *TestExecutionTrafficDiffFindingsBadGateway

NewTestExecutionTrafficDiffFindingsBadGateway creates a TestExecutionTrafficDiffFindingsBadGateway with default headers values

func (*TestExecutionTrafficDiffFindingsBadGateway) Code

Code gets the status code for the test execution traffic diff findings bad gateway response

func (*TestExecutionTrafficDiffFindingsBadGateway) Error

func (*TestExecutionTrafficDiffFindingsBadGateway) GetPayload

func (*TestExecutionTrafficDiffFindingsBadGateway) IsClientError

IsClientError returns true when this test execution traffic diff findings bad gateway response has a 4xx status code

func (*TestExecutionTrafficDiffFindingsBadGateway) IsCode

IsCode returns true when this test execution traffic diff findings bad gateway response a status code equal to that given

func (*TestExecutionTrafficDiffFindingsBadGateway) IsRedirect

IsRedirect returns true when this test execution traffic diff findings bad gateway response has a 3xx status code

func (*TestExecutionTrafficDiffFindingsBadGateway) IsServerError

IsServerError returns true when this test execution traffic diff findings bad gateway response has a 5xx status code

func (*TestExecutionTrafficDiffFindingsBadGateway) IsSuccess

IsSuccess returns true when this test execution traffic diff findings bad gateway response has a 2xx status code

func (*TestExecutionTrafficDiffFindingsBadGateway) String

type TestExecutionTrafficDiffFindingsBadRequest

type TestExecutionTrafficDiffFindingsBadRequest struct {
	Payload *models.ErrorResponse
}

TestExecutionTrafficDiffFindingsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewTestExecutionTrafficDiffFindingsBadRequest

func NewTestExecutionTrafficDiffFindingsBadRequest() *TestExecutionTrafficDiffFindingsBadRequest

NewTestExecutionTrafficDiffFindingsBadRequest creates a TestExecutionTrafficDiffFindingsBadRequest with default headers values

func (*TestExecutionTrafficDiffFindingsBadRequest) Code

Code gets the status code for the test execution traffic diff findings bad request response

func (*TestExecutionTrafficDiffFindingsBadRequest) Error

func (*TestExecutionTrafficDiffFindingsBadRequest) GetPayload

func (*TestExecutionTrafficDiffFindingsBadRequest) IsClientError

IsClientError returns true when this test execution traffic diff findings bad request response has a 4xx status code

func (*TestExecutionTrafficDiffFindingsBadRequest) IsCode

IsCode returns true when this test execution traffic diff findings bad request response a status code equal to that given

func (*TestExecutionTrafficDiffFindingsBadRequest) IsRedirect

IsRedirect returns true when this test execution traffic diff findings bad request response has a 3xx status code

func (*TestExecutionTrafficDiffFindingsBadRequest) IsServerError

IsServerError returns true when this test execution traffic diff findings bad request response has a 5xx status code

func (*TestExecutionTrafficDiffFindingsBadRequest) IsSuccess

IsSuccess returns true when this test execution traffic diff findings bad request response has a 2xx status code

func (*TestExecutionTrafficDiffFindingsBadRequest) String

type TestExecutionTrafficDiffFindingsOK

type TestExecutionTrafficDiffFindingsOK struct {
	Payload *models.TrafficDiffResult
}

TestExecutionTrafficDiffFindingsOK describes a response with status code 200, with default header values.

OK

func NewTestExecutionTrafficDiffFindingsOK

func NewTestExecutionTrafficDiffFindingsOK() *TestExecutionTrafficDiffFindingsOK

NewTestExecutionTrafficDiffFindingsOK creates a TestExecutionTrafficDiffFindingsOK with default headers values

func (*TestExecutionTrafficDiffFindingsOK) Code

Code gets the status code for the test execution traffic diff findings o k response

func (*TestExecutionTrafficDiffFindingsOK) Error

func (*TestExecutionTrafficDiffFindingsOK) GetPayload

func (*TestExecutionTrafficDiffFindingsOK) IsClientError

func (o *TestExecutionTrafficDiffFindingsOK) IsClientError() bool

IsClientError returns true when this test execution traffic diff findings o k response has a 4xx status code

func (*TestExecutionTrafficDiffFindingsOK) IsCode

IsCode returns true when this test execution traffic diff findings o k response a status code equal to that given

func (*TestExecutionTrafficDiffFindingsOK) IsRedirect

func (o *TestExecutionTrafficDiffFindingsOK) IsRedirect() bool

IsRedirect returns true when this test execution traffic diff findings o k response has a 3xx status code

func (*TestExecutionTrafficDiffFindingsOK) IsServerError

func (o *TestExecutionTrafficDiffFindingsOK) IsServerError() bool

IsServerError returns true when this test execution traffic diff findings o k response has a 5xx status code

func (*TestExecutionTrafficDiffFindingsOK) IsSuccess

IsSuccess returns true when this test execution traffic diff findings o k response has a 2xx status code

func (*TestExecutionTrafficDiffFindingsOK) String

type TestExecutionTrafficDiffFindingsParams

type TestExecutionTrafficDiffFindingsParams struct {

	/* Category.

	   Category
	*/
	Category *string

	/* DiffContext.

	   Context
	*/
	DiffContext *string

	/* ExecutionID.

	   Test Execution ID
	*/
	ExecutionID string

	/* MaxFindings.

	   Max Findings
	*/
	MaxFindings *string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

TestExecutionTrafficDiffFindingsParams contains all the parameters to send to the API endpoint

for the test execution traffic diff findings operation.

Typically these are written to a http.Request.

func NewTestExecutionTrafficDiffFindingsParams

func NewTestExecutionTrafficDiffFindingsParams() *TestExecutionTrafficDiffFindingsParams

NewTestExecutionTrafficDiffFindingsParams creates a new TestExecutionTrafficDiffFindingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTestExecutionTrafficDiffFindingsParamsWithContext

func NewTestExecutionTrafficDiffFindingsParamsWithContext(ctx context.Context) *TestExecutionTrafficDiffFindingsParams

NewTestExecutionTrafficDiffFindingsParamsWithContext creates a new TestExecutionTrafficDiffFindingsParams object with the ability to set a context for a request.

func NewTestExecutionTrafficDiffFindingsParamsWithHTTPClient

func NewTestExecutionTrafficDiffFindingsParamsWithHTTPClient(client *http.Client) *TestExecutionTrafficDiffFindingsParams

NewTestExecutionTrafficDiffFindingsParamsWithHTTPClient creates a new TestExecutionTrafficDiffFindingsParams object with the ability to set a custom HTTPClient for a request.

func NewTestExecutionTrafficDiffFindingsParamsWithTimeout

func NewTestExecutionTrafficDiffFindingsParamsWithTimeout(timeout time.Duration) *TestExecutionTrafficDiffFindingsParams

NewTestExecutionTrafficDiffFindingsParamsWithTimeout creates a new TestExecutionTrafficDiffFindingsParams object with the ability to set a timeout on a request.

func (*TestExecutionTrafficDiffFindingsParams) SetCategory

func (o *TestExecutionTrafficDiffFindingsParams) SetCategory(category *string)

SetCategory adds the category to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) SetContext

SetContext adds the context to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) SetDefaults

func (o *TestExecutionTrafficDiffFindingsParams) SetDefaults()

SetDefaults hydrates default values in the test execution traffic diff findings params (not the query body).

All values with no default are reset to their zero value.

func (*TestExecutionTrafficDiffFindingsParams) SetDiffContext

func (o *TestExecutionTrafficDiffFindingsParams) SetDiffContext(diffContext *string)

SetDiffContext adds the diffContext to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) SetExecutionID

func (o *TestExecutionTrafficDiffFindingsParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) SetMaxFindings

func (o *TestExecutionTrafficDiffFindingsParams) SetMaxFindings(maxFindings *string)

SetMaxFindings adds the maxFindings to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) SetOrgName

func (o *TestExecutionTrafficDiffFindingsParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) SetTimeout

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

SetTimeout adds the timeout to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WithCategory

WithCategory adds the category to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WithContext

WithContext adds the context to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WithDefaults

WithDefaults hydrates default values in the test execution traffic diff findings params (not the query body).

All values with no default are reset to their zero value.

func (*TestExecutionTrafficDiffFindingsParams) WithDiffContext

WithDiffContext adds the diffContext to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WithExecutionID

WithExecutionID adds the executionID to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WithMaxFindings

WithMaxFindings adds the maxFindings to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WithOrgName

WithOrgName adds the orgName to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WithTimeout

WithTimeout adds the timeout to the test execution traffic diff findings params

func (*TestExecutionTrafficDiffFindingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TestExecutionTrafficDiffFindingsReader

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

TestExecutionTrafficDiffFindingsReader is a Reader for the TestExecutionTrafficDiffFindings structure.

func (*TestExecutionTrafficDiffFindingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TestExecutionTrafficDiffFindingsUnauthorized

type TestExecutionTrafficDiffFindingsUnauthorized struct {
	Payload *models.ErrorResponse
}

TestExecutionTrafficDiffFindingsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewTestExecutionTrafficDiffFindingsUnauthorized

func NewTestExecutionTrafficDiffFindingsUnauthorized() *TestExecutionTrafficDiffFindingsUnauthorized

NewTestExecutionTrafficDiffFindingsUnauthorized creates a TestExecutionTrafficDiffFindingsUnauthorized with default headers values

func (*TestExecutionTrafficDiffFindingsUnauthorized) Code

Code gets the status code for the test execution traffic diff findings unauthorized response

func (*TestExecutionTrafficDiffFindingsUnauthorized) Error

func (*TestExecutionTrafficDiffFindingsUnauthorized) GetPayload

func (*TestExecutionTrafficDiffFindingsUnauthorized) IsClientError

IsClientError returns true when this test execution traffic diff findings unauthorized response has a 4xx status code

func (*TestExecutionTrafficDiffFindingsUnauthorized) IsCode

IsCode returns true when this test execution traffic diff findings unauthorized response a status code equal to that given

func (*TestExecutionTrafficDiffFindingsUnauthorized) IsRedirect

IsRedirect returns true when this test execution traffic diff findings unauthorized response has a 3xx status code

func (*TestExecutionTrafficDiffFindingsUnauthorized) IsServerError

IsServerError returns true when this test execution traffic diff findings unauthorized response has a 5xx status code

func (*TestExecutionTrafficDiffFindingsUnauthorized) IsSuccess

IsSuccess returns true when this test execution traffic diff findings unauthorized response has a 2xx status code

func (*TestExecutionTrafficDiffFindingsUnauthorized) String

type TestExecutionTrafficDiffOK

type TestExecutionTrafficDiffOK struct {
	Payload *models.TrafficDiffResult
}

TestExecutionTrafficDiffOK describes a response with status code 200, with default header values.

OK

func NewTestExecutionTrafficDiffOK

func NewTestExecutionTrafficDiffOK() *TestExecutionTrafficDiffOK

NewTestExecutionTrafficDiffOK creates a TestExecutionTrafficDiffOK with default headers values

func (*TestExecutionTrafficDiffOK) Code

func (o *TestExecutionTrafficDiffOK) Code() int

Code gets the status code for the test execution traffic diff o k response

func (*TestExecutionTrafficDiffOK) Error

func (*TestExecutionTrafficDiffOK) GetPayload

func (*TestExecutionTrafficDiffOK) IsClientError

func (o *TestExecutionTrafficDiffOK) IsClientError() bool

IsClientError returns true when this test execution traffic diff o k response has a 4xx status code

func (*TestExecutionTrafficDiffOK) IsCode

func (o *TestExecutionTrafficDiffOK) IsCode(code int) bool

IsCode returns true when this test execution traffic diff o k response a status code equal to that given

func (*TestExecutionTrafficDiffOK) IsRedirect

func (o *TestExecutionTrafficDiffOK) IsRedirect() bool

IsRedirect returns true when this test execution traffic diff o k response has a 3xx status code

func (*TestExecutionTrafficDiffOK) IsServerError

func (o *TestExecutionTrafficDiffOK) IsServerError() bool

IsServerError returns true when this test execution traffic diff o k response has a 5xx status code

func (*TestExecutionTrafficDiffOK) IsSuccess

func (o *TestExecutionTrafficDiffOK) IsSuccess() bool

IsSuccess returns true when this test execution traffic diff o k response has a 2xx status code

func (*TestExecutionTrafficDiffOK) String

func (o *TestExecutionTrafficDiffOK) String() string

type TestExecutionTrafficDiffParams

type TestExecutionTrafficDiffParams struct {

	/* ExecutionID.

	   Test Execution ID
	*/
	ExecutionID string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

TestExecutionTrafficDiffParams contains all the parameters to send to the API endpoint

for the test execution traffic diff operation.

Typically these are written to a http.Request.

func NewTestExecutionTrafficDiffParams

func NewTestExecutionTrafficDiffParams() *TestExecutionTrafficDiffParams

NewTestExecutionTrafficDiffParams creates a new TestExecutionTrafficDiffParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTestExecutionTrafficDiffParamsWithContext

func NewTestExecutionTrafficDiffParamsWithContext(ctx context.Context) *TestExecutionTrafficDiffParams

NewTestExecutionTrafficDiffParamsWithContext creates a new TestExecutionTrafficDiffParams object with the ability to set a context for a request.

func NewTestExecutionTrafficDiffParamsWithHTTPClient

func NewTestExecutionTrafficDiffParamsWithHTTPClient(client *http.Client) *TestExecutionTrafficDiffParams

NewTestExecutionTrafficDiffParamsWithHTTPClient creates a new TestExecutionTrafficDiffParams object with the ability to set a custom HTTPClient for a request.

func NewTestExecutionTrafficDiffParamsWithTimeout

func NewTestExecutionTrafficDiffParamsWithTimeout(timeout time.Duration) *TestExecutionTrafficDiffParams

NewTestExecutionTrafficDiffParamsWithTimeout creates a new TestExecutionTrafficDiffParams object with the ability to set a timeout on a request.

func (*TestExecutionTrafficDiffParams) SetContext

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

SetContext adds the context to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) SetDefaults

func (o *TestExecutionTrafficDiffParams) SetDefaults()

SetDefaults hydrates default values in the test execution traffic diff params (not the query body).

All values with no default are reset to their zero value.

func (*TestExecutionTrafficDiffParams) SetExecutionID

func (o *TestExecutionTrafficDiffParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) SetOrgName

func (o *TestExecutionTrafficDiffParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) SetTimeout

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

SetTimeout adds the timeout to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) WithContext

WithContext adds the context to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) WithDefaults

WithDefaults hydrates default values in the test execution traffic diff params (not the query body).

All values with no default are reset to their zero value.

func (*TestExecutionTrafficDiffParams) WithExecutionID

func (o *TestExecutionTrafficDiffParams) WithExecutionID(executionID string) *TestExecutionTrafficDiffParams

WithExecutionID adds the executionID to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) WithOrgName

WithOrgName adds the orgName to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) WithTimeout

WithTimeout adds the timeout to the test execution traffic diff params

func (*TestExecutionTrafficDiffParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TestExecutionTrafficDiffReader

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

TestExecutionTrafficDiffReader is a Reader for the TestExecutionTrafficDiff structure.

func (*TestExecutionTrafficDiffReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TestExecutionTrafficDiffUnauthorized

type TestExecutionTrafficDiffUnauthorized struct {
	Payload *models.ErrorResponse
}

TestExecutionTrafficDiffUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewTestExecutionTrafficDiffUnauthorized

func NewTestExecutionTrafficDiffUnauthorized() *TestExecutionTrafficDiffUnauthorized

NewTestExecutionTrafficDiffUnauthorized creates a TestExecutionTrafficDiffUnauthorized with default headers values

func (*TestExecutionTrafficDiffUnauthorized) Code

Code gets the status code for the test execution traffic diff unauthorized response

func (*TestExecutionTrafficDiffUnauthorized) Error

func (*TestExecutionTrafficDiffUnauthorized) GetPayload

func (*TestExecutionTrafficDiffUnauthorized) IsClientError

func (o *TestExecutionTrafficDiffUnauthorized) IsClientError() bool

IsClientError returns true when this test execution traffic diff unauthorized response has a 4xx status code

func (*TestExecutionTrafficDiffUnauthorized) IsCode

IsCode returns true when this test execution traffic diff unauthorized response a status code equal to that given

func (*TestExecutionTrafficDiffUnauthorized) IsRedirect

IsRedirect returns true when this test execution traffic diff unauthorized response has a 3xx status code

func (*TestExecutionTrafficDiffUnauthorized) IsServerError

func (o *TestExecutionTrafficDiffUnauthorized) IsServerError() bool

IsServerError returns true when this test execution traffic diff unauthorized response has a 5xx status code

func (*TestExecutionTrafficDiffUnauthorized) IsSuccess

IsSuccess returns true when this test execution traffic diff unauthorized response has a 2xx status code

func (*TestExecutionTrafficDiffUnauthorized) String

Jump to

Keyboard shortcuts

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