platform

package
v0.0.0-...-6e054f3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for platform API

func (*Client) GetSearchApplications

func (a *Client) GetSearchApplications(params *GetSearchApplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSearchApplicationsOK, error)

GetSearchApplications gets applications by name n o t e doesn t get application summary latest job environments

func (*Client) RegisterApplication

func (a *Client) RegisterApplication(params *RegisterApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegisterApplicationOK, error)

RegisterApplication creates an application registration

func (*Client) SearchApplications

func (a *Client) SearchApplications(params *SearchApplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchApplicationsOK, error)

SearchApplications gets applications by name n o t e doesn t get application summary latest job environments

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ShowApplications

func (a *Client) ShowApplications(params *ShowApplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowApplicationsOK, error)

ShowApplications lists the applications n o t e doesn t get application summary latest job environments

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	GetSearchApplications(params *GetSearchApplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSearchApplicationsOK, error)

	RegisterApplication(params *RegisterApplicationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegisterApplicationOK, error)

	SearchApplications(params *SearchApplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchApplicationsOK, error)

	ShowApplications(params *ShowApplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShowApplicationsOK, 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 platform API client.

func NewClientWithBasicAuth

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

New creates a new platform 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 platform 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 GetSearchApplicationsConflict

type GetSearchApplicationsConflict struct {
}

GetSearchApplicationsConflict describes a response with status code 409, with default header values.

Conflict

func NewGetSearchApplicationsConflict

func NewGetSearchApplicationsConflict() *GetSearchApplicationsConflict

NewGetSearchApplicationsConflict creates a GetSearchApplicationsConflict with default headers values

func (*GetSearchApplicationsConflict) Code

Code gets the status code for the get search applications conflict response

func (*GetSearchApplicationsConflict) Error

func (*GetSearchApplicationsConflict) IsClientError

func (o *GetSearchApplicationsConflict) IsClientError() bool

IsClientError returns true when this get search applications conflict response has a 4xx status code

func (*GetSearchApplicationsConflict) IsCode

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

IsCode returns true when this get search applications conflict response a status code equal to that given

func (*GetSearchApplicationsConflict) IsRedirect

func (o *GetSearchApplicationsConflict) IsRedirect() bool

IsRedirect returns true when this get search applications conflict response has a 3xx status code

func (*GetSearchApplicationsConflict) IsServerError

func (o *GetSearchApplicationsConflict) IsServerError() bool

IsServerError returns true when this get search applications conflict response has a 5xx status code

func (*GetSearchApplicationsConflict) IsSuccess

func (o *GetSearchApplicationsConflict) IsSuccess() bool

IsSuccess returns true when this get search applications conflict response has a 2xx status code

func (*GetSearchApplicationsConflict) String

type GetSearchApplicationsForbidden

type GetSearchApplicationsForbidden struct {
}

GetSearchApplicationsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetSearchApplicationsForbidden

func NewGetSearchApplicationsForbidden() *GetSearchApplicationsForbidden

NewGetSearchApplicationsForbidden creates a GetSearchApplicationsForbidden with default headers values

func (*GetSearchApplicationsForbidden) Code

Code gets the status code for the get search applications forbidden response

func (*GetSearchApplicationsForbidden) Error

func (*GetSearchApplicationsForbidden) IsClientError

func (o *GetSearchApplicationsForbidden) IsClientError() bool

IsClientError returns true when this get search applications forbidden response has a 4xx status code

func (*GetSearchApplicationsForbidden) IsCode

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

IsCode returns true when this get search applications forbidden response a status code equal to that given

func (*GetSearchApplicationsForbidden) IsRedirect

func (o *GetSearchApplicationsForbidden) IsRedirect() bool

IsRedirect returns true when this get search applications forbidden response has a 3xx status code

func (*GetSearchApplicationsForbidden) IsServerError

func (o *GetSearchApplicationsForbidden) IsServerError() bool

IsServerError returns true when this get search applications forbidden response has a 5xx status code

func (*GetSearchApplicationsForbidden) IsSuccess

func (o *GetSearchApplicationsForbidden) IsSuccess() bool

IsSuccess returns true when this get search applications forbidden response has a 2xx status code

func (*GetSearchApplicationsForbidden) String

type GetSearchApplicationsInternalServerError

type GetSearchApplicationsInternalServerError struct {
}

GetSearchApplicationsInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetSearchApplicationsInternalServerError

func NewGetSearchApplicationsInternalServerError() *GetSearchApplicationsInternalServerError

NewGetSearchApplicationsInternalServerError creates a GetSearchApplicationsInternalServerError with default headers values

func (*GetSearchApplicationsInternalServerError) Code

Code gets the status code for the get search applications internal server error response

func (*GetSearchApplicationsInternalServerError) Error

func (*GetSearchApplicationsInternalServerError) IsClientError

IsClientError returns true when this get search applications internal server error response has a 4xx status code

func (*GetSearchApplicationsInternalServerError) IsCode

IsCode returns true when this get search applications internal server error response a status code equal to that given

func (*GetSearchApplicationsInternalServerError) IsRedirect

IsRedirect returns true when this get search applications internal server error response has a 3xx status code

func (*GetSearchApplicationsInternalServerError) IsServerError

IsServerError returns true when this get search applications internal server error response has a 5xx status code

func (*GetSearchApplicationsInternalServerError) IsSuccess

IsSuccess returns true when this get search applications internal server error response has a 2xx status code

func (*GetSearchApplicationsInternalServerError) String

type GetSearchApplicationsNotFound

type GetSearchApplicationsNotFound struct {
}

GetSearchApplicationsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetSearchApplicationsNotFound

func NewGetSearchApplicationsNotFound() *GetSearchApplicationsNotFound

NewGetSearchApplicationsNotFound creates a GetSearchApplicationsNotFound with default headers values

func (*GetSearchApplicationsNotFound) Code

Code gets the status code for the get search applications not found response

func (*GetSearchApplicationsNotFound) Error

func (*GetSearchApplicationsNotFound) IsClientError

func (o *GetSearchApplicationsNotFound) IsClientError() bool

IsClientError returns true when this get search applications not found response has a 4xx status code

func (*GetSearchApplicationsNotFound) IsCode

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

IsCode returns true when this get search applications not found response a status code equal to that given

func (*GetSearchApplicationsNotFound) IsRedirect

func (o *GetSearchApplicationsNotFound) IsRedirect() bool

IsRedirect returns true when this get search applications not found response has a 3xx status code

func (*GetSearchApplicationsNotFound) IsServerError

func (o *GetSearchApplicationsNotFound) IsServerError() bool

IsServerError returns true when this get search applications not found response has a 5xx status code

func (*GetSearchApplicationsNotFound) IsSuccess

func (o *GetSearchApplicationsNotFound) IsSuccess() bool

IsSuccess returns true when this get search applications not found response has a 2xx status code

func (*GetSearchApplicationsNotFound) String

type GetSearchApplicationsOK

type GetSearchApplicationsOK struct {
	Payload []*models.ApplicationSummary
}

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

Successful operation

func NewGetSearchApplicationsOK

func NewGetSearchApplicationsOK() *GetSearchApplicationsOK

NewGetSearchApplicationsOK creates a GetSearchApplicationsOK with default headers values

func (*GetSearchApplicationsOK) Code

func (o *GetSearchApplicationsOK) Code() int

Code gets the status code for the get search applications o k response

func (*GetSearchApplicationsOK) Error

func (o *GetSearchApplicationsOK) Error() string

func (*GetSearchApplicationsOK) GetPayload

func (*GetSearchApplicationsOK) IsClientError

func (o *GetSearchApplicationsOK) IsClientError() bool

IsClientError returns true when this get search applications o k response has a 4xx status code

func (*GetSearchApplicationsOK) IsCode

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

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

func (*GetSearchApplicationsOK) IsRedirect

func (o *GetSearchApplicationsOK) IsRedirect() bool

IsRedirect returns true when this get search applications o k response has a 3xx status code

func (*GetSearchApplicationsOK) IsServerError

func (o *GetSearchApplicationsOK) IsServerError() bool

IsServerError returns true when this get search applications o k response has a 5xx status code

func (*GetSearchApplicationsOK) IsSuccess

func (o *GetSearchApplicationsOK) IsSuccess() bool

IsSuccess returns true when this get search applications o k response has a 2xx status code

func (*GetSearchApplicationsOK) String

func (o *GetSearchApplicationsOK) String() string

type GetSearchApplicationsParams

type GetSearchApplicationsParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of a comma-seperated list of test groups (Required if Impersonate-User is set)
	*/
	ImpersonateGroup *string

	/* ImpersonateUser.

	   Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	*/
	ImpersonateUser *string

	/* Apps.

	   Comma separated list of application names to search for
	*/
	Apps string

	/* IncludeEnvironmentActiveComponents.

	   true to include ActiveComponents in Environments
	*/
	IncludeEnvironmentActiveComponents *string

	/* IncludeLatestJobSummary.

	   true to include LatestJobSummary
	*/
	IncludeLatestJobSummary *string

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

GetSearchApplicationsParams contains all the parameters to send to the API endpoint

for the get search applications operation.

Typically these are written to a http.Request.

func NewGetSearchApplicationsParams

func NewGetSearchApplicationsParams() *GetSearchApplicationsParams

NewGetSearchApplicationsParams creates a new GetSearchApplicationsParams 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 NewGetSearchApplicationsParamsWithContext

func NewGetSearchApplicationsParamsWithContext(ctx context.Context) *GetSearchApplicationsParams

NewGetSearchApplicationsParamsWithContext creates a new GetSearchApplicationsParams object with the ability to set a context for a request.

func NewGetSearchApplicationsParamsWithHTTPClient

func NewGetSearchApplicationsParamsWithHTTPClient(client *http.Client) *GetSearchApplicationsParams

NewGetSearchApplicationsParamsWithHTTPClient creates a new GetSearchApplicationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSearchApplicationsParamsWithTimeout

func NewGetSearchApplicationsParamsWithTimeout(timeout time.Duration) *GetSearchApplicationsParams

NewGetSearchApplicationsParamsWithTimeout creates a new GetSearchApplicationsParams object with the ability to set a timeout on a request.

func (*GetSearchApplicationsParams) SetApps

func (o *GetSearchApplicationsParams) SetApps(apps string)

SetApps adds the apps to the get search applications params

func (*GetSearchApplicationsParams) SetContext

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

SetContext adds the context to the get search applications params

func (*GetSearchApplicationsParams) SetDefaults

func (o *GetSearchApplicationsParams) SetDefaults()

SetDefaults hydrates default values in the get search applications params (not the query body).

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

func (*GetSearchApplicationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get search applications params

func (*GetSearchApplicationsParams) SetImpersonateGroup

func (o *GetSearchApplicationsParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the get search applications params

func (*GetSearchApplicationsParams) SetImpersonateUser

func (o *GetSearchApplicationsParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the get search applications params

func (*GetSearchApplicationsParams) SetIncludeEnvironmentActiveComponents

func (o *GetSearchApplicationsParams) SetIncludeEnvironmentActiveComponents(includeEnvironmentActiveComponents *string)

SetIncludeEnvironmentActiveComponents adds the includeEnvironmentActiveComponents to the get search applications params

func (*GetSearchApplicationsParams) SetIncludeLatestJobSummary

func (o *GetSearchApplicationsParams) SetIncludeLatestJobSummary(includeLatestJobSummary *string)

SetIncludeLatestJobSummary adds the includeLatestJobSummary to the get search applications params

func (*GetSearchApplicationsParams) SetTimeout

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

SetTimeout adds the timeout to the get search applications params

func (*GetSearchApplicationsParams) WithApps

WithApps adds the apps to the get search applications params

func (*GetSearchApplicationsParams) WithContext

WithContext adds the context to the get search applications params

func (*GetSearchApplicationsParams) WithDefaults

WithDefaults hydrates default values in the get search applications params (not the query body).

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

func (*GetSearchApplicationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get search applications params

func (*GetSearchApplicationsParams) WithImpersonateGroup

func (o *GetSearchApplicationsParams) WithImpersonateGroup(impersonateGroup *string) *GetSearchApplicationsParams

WithImpersonateGroup adds the impersonateGroup to the get search applications params

func (*GetSearchApplicationsParams) WithImpersonateUser

func (o *GetSearchApplicationsParams) WithImpersonateUser(impersonateUser *string) *GetSearchApplicationsParams

WithImpersonateUser adds the impersonateUser to the get search applications params

func (*GetSearchApplicationsParams) WithIncludeEnvironmentActiveComponents

func (o *GetSearchApplicationsParams) WithIncludeEnvironmentActiveComponents(includeEnvironmentActiveComponents *string) *GetSearchApplicationsParams

WithIncludeEnvironmentActiveComponents adds the includeEnvironmentActiveComponents to the get search applications params

func (*GetSearchApplicationsParams) WithIncludeLatestJobSummary

func (o *GetSearchApplicationsParams) WithIncludeLatestJobSummary(includeLatestJobSummary *string) *GetSearchApplicationsParams

WithIncludeLatestJobSummary adds the includeLatestJobSummary to the get search applications params

func (*GetSearchApplicationsParams) WithTimeout

WithTimeout adds the timeout to the get search applications params

func (*GetSearchApplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSearchApplicationsReader

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

GetSearchApplicationsReader is a Reader for the GetSearchApplications structure.

func (*GetSearchApplicationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSearchApplicationsUnauthorized

type GetSearchApplicationsUnauthorized struct {
}

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

Unauthorized

func NewGetSearchApplicationsUnauthorized

func NewGetSearchApplicationsUnauthorized() *GetSearchApplicationsUnauthorized

NewGetSearchApplicationsUnauthorized creates a GetSearchApplicationsUnauthorized with default headers values

func (*GetSearchApplicationsUnauthorized) Code

Code gets the status code for the get search applications unauthorized response

func (*GetSearchApplicationsUnauthorized) Error

func (*GetSearchApplicationsUnauthorized) IsClientError

func (o *GetSearchApplicationsUnauthorized) IsClientError() bool

IsClientError returns true when this get search applications unauthorized response has a 4xx status code

func (*GetSearchApplicationsUnauthorized) IsCode

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

IsCode returns true when this get search applications unauthorized response a status code equal to that given

func (*GetSearchApplicationsUnauthorized) IsRedirect

func (o *GetSearchApplicationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get search applications unauthorized response has a 3xx status code

func (*GetSearchApplicationsUnauthorized) IsServerError

func (o *GetSearchApplicationsUnauthorized) IsServerError() bool

IsServerError returns true when this get search applications unauthorized response has a 5xx status code

func (*GetSearchApplicationsUnauthorized) IsSuccess

func (o *GetSearchApplicationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get search applications unauthorized response has a 2xx status code

func (*GetSearchApplicationsUnauthorized) String

type RegisterApplicationBadRequest

type RegisterApplicationBadRequest struct {
}

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

Invalid application registration

func NewRegisterApplicationBadRequest

func NewRegisterApplicationBadRequest() *RegisterApplicationBadRequest

NewRegisterApplicationBadRequest creates a RegisterApplicationBadRequest with default headers values

func (*RegisterApplicationBadRequest) Code

Code gets the status code for the register application bad request response

func (*RegisterApplicationBadRequest) Error

func (*RegisterApplicationBadRequest) IsClientError

func (o *RegisterApplicationBadRequest) IsClientError() bool

IsClientError returns true when this register application bad request response has a 4xx status code

func (*RegisterApplicationBadRequest) IsCode

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

IsCode returns true when this register application bad request response a status code equal to that given

func (*RegisterApplicationBadRequest) IsRedirect

func (o *RegisterApplicationBadRequest) IsRedirect() bool

IsRedirect returns true when this register application bad request response has a 3xx status code

func (*RegisterApplicationBadRequest) IsServerError

func (o *RegisterApplicationBadRequest) IsServerError() bool

IsServerError returns true when this register application bad request response has a 5xx status code

func (*RegisterApplicationBadRequest) IsSuccess

func (o *RegisterApplicationBadRequest) IsSuccess() bool

IsSuccess returns true when this register application bad request response has a 2xx status code

func (*RegisterApplicationBadRequest) String

type RegisterApplicationConflict

type RegisterApplicationConflict struct {
}

RegisterApplicationConflict describes a response with status code 409, with default header values.

Conflict

func NewRegisterApplicationConflict

func NewRegisterApplicationConflict() *RegisterApplicationConflict

NewRegisterApplicationConflict creates a RegisterApplicationConflict with default headers values

func (*RegisterApplicationConflict) Code

func (o *RegisterApplicationConflict) Code() int

Code gets the status code for the register application conflict response

func (*RegisterApplicationConflict) Error

func (*RegisterApplicationConflict) IsClientError

func (o *RegisterApplicationConflict) IsClientError() bool

IsClientError returns true when this register application conflict response has a 4xx status code

func (*RegisterApplicationConflict) IsCode

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

IsCode returns true when this register application conflict response a status code equal to that given

func (*RegisterApplicationConflict) IsRedirect

func (o *RegisterApplicationConflict) IsRedirect() bool

IsRedirect returns true when this register application conflict response has a 3xx status code

func (*RegisterApplicationConflict) IsServerError

func (o *RegisterApplicationConflict) IsServerError() bool

IsServerError returns true when this register application conflict response has a 5xx status code

func (*RegisterApplicationConflict) IsSuccess

func (o *RegisterApplicationConflict) IsSuccess() bool

IsSuccess returns true when this register application conflict response has a 2xx status code

func (*RegisterApplicationConflict) String

func (o *RegisterApplicationConflict) String() string

type RegisterApplicationOK

type RegisterApplicationOK struct {
	Payload *models.ApplicationRegistrationUpsertResponse
}

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

Application registration operation details

func NewRegisterApplicationOK

func NewRegisterApplicationOK() *RegisterApplicationOK

NewRegisterApplicationOK creates a RegisterApplicationOK with default headers values

func (*RegisterApplicationOK) Code

func (o *RegisterApplicationOK) Code() int

Code gets the status code for the register application o k response

func (*RegisterApplicationOK) Error

func (o *RegisterApplicationOK) Error() string

func (*RegisterApplicationOK) GetPayload

func (*RegisterApplicationOK) IsClientError

func (o *RegisterApplicationOK) IsClientError() bool

IsClientError returns true when this register application o k response has a 4xx status code

func (*RegisterApplicationOK) IsCode

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

IsCode returns true when this register application o k response a status code equal to that given

func (*RegisterApplicationOK) IsRedirect

func (o *RegisterApplicationOK) IsRedirect() bool

IsRedirect returns true when this register application o k response has a 3xx status code

func (*RegisterApplicationOK) IsServerError

func (o *RegisterApplicationOK) IsServerError() bool

IsServerError returns true when this register application o k response has a 5xx status code

func (*RegisterApplicationOK) IsSuccess

func (o *RegisterApplicationOK) IsSuccess() bool

IsSuccess returns true when this register application o k response has a 2xx status code

func (*RegisterApplicationOK) String

func (o *RegisterApplicationOK) String() string

type RegisterApplicationParams

type RegisterApplicationParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of a comma-seperated list of test groups (Required if Impersonate-User is set)
	*/
	ImpersonateGroup *string

	/* ImpersonateUser.

	   Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	*/
	ImpersonateUser *string

	/* ApplicationRegistration.

	   Request for an Application to register
	*/
	ApplicationRegistration *models.ApplicationRegistrationRequest

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

RegisterApplicationParams contains all the parameters to send to the API endpoint

for the register application operation.

Typically these are written to a http.Request.

func NewRegisterApplicationParams

func NewRegisterApplicationParams() *RegisterApplicationParams

NewRegisterApplicationParams creates a new RegisterApplicationParams 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 NewRegisterApplicationParamsWithContext

func NewRegisterApplicationParamsWithContext(ctx context.Context) *RegisterApplicationParams

NewRegisterApplicationParamsWithContext creates a new RegisterApplicationParams object with the ability to set a context for a request.

func NewRegisterApplicationParamsWithHTTPClient

func NewRegisterApplicationParamsWithHTTPClient(client *http.Client) *RegisterApplicationParams

NewRegisterApplicationParamsWithHTTPClient creates a new RegisterApplicationParams object with the ability to set a custom HTTPClient for a request.

func NewRegisterApplicationParamsWithTimeout

func NewRegisterApplicationParamsWithTimeout(timeout time.Duration) *RegisterApplicationParams

NewRegisterApplicationParamsWithTimeout creates a new RegisterApplicationParams object with the ability to set a timeout on a request.

func (*RegisterApplicationParams) SetApplicationRegistration

func (o *RegisterApplicationParams) SetApplicationRegistration(applicationRegistration *models.ApplicationRegistrationRequest)

SetApplicationRegistration adds the applicationRegistration to the register application params

func (*RegisterApplicationParams) SetContext

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

SetContext adds the context to the register application params

func (*RegisterApplicationParams) SetDefaults

func (o *RegisterApplicationParams) SetDefaults()

SetDefaults hydrates default values in the register application params (not the query body).

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

func (*RegisterApplicationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the register application params

func (*RegisterApplicationParams) SetImpersonateGroup

func (o *RegisterApplicationParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the register application params

func (*RegisterApplicationParams) SetImpersonateUser

func (o *RegisterApplicationParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the register application params

func (*RegisterApplicationParams) SetTimeout

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

SetTimeout adds the timeout to the register application params

func (*RegisterApplicationParams) WithApplicationRegistration

func (o *RegisterApplicationParams) WithApplicationRegistration(applicationRegistration *models.ApplicationRegistrationRequest) *RegisterApplicationParams

WithApplicationRegistration adds the applicationRegistration to the register application params

func (*RegisterApplicationParams) WithContext

WithContext adds the context to the register application params

func (*RegisterApplicationParams) WithDefaults

WithDefaults hydrates default values in the register application params (not the query body).

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

func (*RegisterApplicationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the register application params

func (*RegisterApplicationParams) WithImpersonateGroup

func (o *RegisterApplicationParams) WithImpersonateGroup(impersonateGroup *string) *RegisterApplicationParams

WithImpersonateGroup adds the impersonateGroup to the register application params

func (*RegisterApplicationParams) WithImpersonateUser

func (o *RegisterApplicationParams) WithImpersonateUser(impersonateUser *string) *RegisterApplicationParams

WithImpersonateUser adds the impersonateUser to the register application params

func (*RegisterApplicationParams) WithTimeout

WithTimeout adds the timeout to the register application params

func (*RegisterApplicationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RegisterApplicationReader

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

RegisterApplicationReader is a Reader for the RegisterApplication structure.

func (*RegisterApplicationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegisterApplicationUnauthorized

type RegisterApplicationUnauthorized struct {
}

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

Unauthorized

func NewRegisterApplicationUnauthorized

func NewRegisterApplicationUnauthorized() *RegisterApplicationUnauthorized

NewRegisterApplicationUnauthorized creates a RegisterApplicationUnauthorized with default headers values

func (*RegisterApplicationUnauthorized) Code

Code gets the status code for the register application unauthorized response

func (*RegisterApplicationUnauthorized) Error

func (*RegisterApplicationUnauthorized) IsClientError

func (o *RegisterApplicationUnauthorized) IsClientError() bool

IsClientError returns true when this register application unauthorized response has a 4xx status code

func (*RegisterApplicationUnauthorized) IsCode

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

IsCode returns true when this register application unauthorized response a status code equal to that given

func (*RegisterApplicationUnauthorized) IsRedirect

func (o *RegisterApplicationUnauthorized) IsRedirect() bool

IsRedirect returns true when this register application unauthorized response has a 3xx status code

func (*RegisterApplicationUnauthorized) IsServerError

func (o *RegisterApplicationUnauthorized) IsServerError() bool

IsServerError returns true when this register application unauthorized response has a 5xx status code

func (*RegisterApplicationUnauthorized) IsSuccess

func (o *RegisterApplicationUnauthorized) IsSuccess() bool

IsSuccess returns true when this register application unauthorized response has a 2xx status code

func (*RegisterApplicationUnauthorized) String

type SearchApplicationsConflict

type SearchApplicationsConflict struct {
}

SearchApplicationsConflict describes a response with status code 409, with default header values.

Conflict

func NewSearchApplicationsConflict

func NewSearchApplicationsConflict() *SearchApplicationsConflict

NewSearchApplicationsConflict creates a SearchApplicationsConflict with default headers values

func (*SearchApplicationsConflict) Code

func (o *SearchApplicationsConflict) Code() int

Code gets the status code for the search applications conflict response

func (*SearchApplicationsConflict) Error

func (*SearchApplicationsConflict) IsClientError

func (o *SearchApplicationsConflict) IsClientError() bool

IsClientError returns true when this search applications conflict response has a 4xx status code

func (*SearchApplicationsConflict) IsCode

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

IsCode returns true when this search applications conflict response a status code equal to that given

func (*SearchApplicationsConflict) IsRedirect

func (o *SearchApplicationsConflict) IsRedirect() bool

IsRedirect returns true when this search applications conflict response has a 3xx status code

func (*SearchApplicationsConflict) IsServerError

func (o *SearchApplicationsConflict) IsServerError() bool

IsServerError returns true when this search applications conflict response has a 5xx status code

func (*SearchApplicationsConflict) IsSuccess

func (o *SearchApplicationsConflict) IsSuccess() bool

IsSuccess returns true when this search applications conflict response has a 2xx status code

func (*SearchApplicationsConflict) String

func (o *SearchApplicationsConflict) String() string

type SearchApplicationsForbidden

type SearchApplicationsForbidden struct {
}

SearchApplicationsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewSearchApplicationsForbidden

func NewSearchApplicationsForbidden() *SearchApplicationsForbidden

NewSearchApplicationsForbidden creates a SearchApplicationsForbidden with default headers values

func (*SearchApplicationsForbidden) Code

func (o *SearchApplicationsForbidden) Code() int

Code gets the status code for the search applications forbidden response

func (*SearchApplicationsForbidden) Error

func (*SearchApplicationsForbidden) IsClientError

func (o *SearchApplicationsForbidden) IsClientError() bool

IsClientError returns true when this search applications forbidden response has a 4xx status code

func (*SearchApplicationsForbidden) IsCode

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

IsCode returns true when this search applications forbidden response a status code equal to that given

func (*SearchApplicationsForbidden) IsRedirect

func (o *SearchApplicationsForbidden) IsRedirect() bool

IsRedirect returns true when this search applications forbidden response has a 3xx status code

func (*SearchApplicationsForbidden) IsServerError

func (o *SearchApplicationsForbidden) IsServerError() bool

IsServerError returns true when this search applications forbidden response has a 5xx status code

func (*SearchApplicationsForbidden) IsSuccess

func (o *SearchApplicationsForbidden) IsSuccess() bool

IsSuccess returns true when this search applications forbidden response has a 2xx status code

func (*SearchApplicationsForbidden) String

func (o *SearchApplicationsForbidden) String() string

type SearchApplicationsInternalServerError

type SearchApplicationsInternalServerError struct {
}

SearchApplicationsInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewSearchApplicationsInternalServerError

func NewSearchApplicationsInternalServerError() *SearchApplicationsInternalServerError

NewSearchApplicationsInternalServerError creates a SearchApplicationsInternalServerError with default headers values

func (*SearchApplicationsInternalServerError) Code

Code gets the status code for the search applications internal server error response

func (*SearchApplicationsInternalServerError) Error

func (*SearchApplicationsInternalServerError) IsClientError

func (o *SearchApplicationsInternalServerError) IsClientError() bool

IsClientError returns true when this search applications internal server error response has a 4xx status code

func (*SearchApplicationsInternalServerError) IsCode

IsCode returns true when this search applications internal server error response a status code equal to that given

func (*SearchApplicationsInternalServerError) IsRedirect

IsRedirect returns true when this search applications internal server error response has a 3xx status code

func (*SearchApplicationsInternalServerError) IsServerError

func (o *SearchApplicationsInternalServerError) IsServerError() bool

IsServerError returns true when this search applications internal server error response has a 5xx status code

func (*SearchApplicationsInternalServerError) IsSuccess

IsSuccess returns true when this search applications internal server error response has a 2xx status code

func (*SearchApplicationsInternalServerError) String

type SearchApplicationsNotFound

type SearchApplicationsNotFound struct {
}

SearchApplicationsNotFound describes a response with status code 404, with default header values.

Not found

func NewSearchApplicationsNotFound

func NewSearchApplicationsNotFound() *SearchApplicationsNotFound

NewSearchApplicationsNotFound creates a SearchApplicationsNotFound with default headers values

func (*SearchApplicationsNotFound) Code

func (o *SearchApplicationsNotFound) Code() int

Code gets the status code for the search applications not found response

func (*SearchApplicationsNotFound) Error

func (*SearchApplicationsNotFound) IsClientError

func (o *SearchApplicationsNotFound) IsClientError() bool

IsClientError returns true when this search applications not found response has a 4xx status code

func (*SearchApplicationsNotFound) IsCode

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

IsCode returns true when this search applications not found response a status code equal to that given

func (*SearchApplicationsNotFound) IsRedirect

func (o *SearchApplicationsNotFound) IsRedirect() bool

IsRedirect returns true when this search applications not found response has a 3xx status code

func (*SearchApplicationsNotFound) IsServerError

func (o *SearchApplicationsNotFound) IsServerError() bool

IsServerError returns true when this search applications not found response has a 5xx status code

func (*SearchApplicationsNotFound) IsSuccess

func (o *SearchApplicationsNotFound) IsSuccess() bool

IsSuccess returns true when this search applications not found response has a 2xx status code

func (*SearchApplicationsNotFound) String

func (o *SearchApplicationsNotFound) String() string

type SearchApplicationsOK

type SearchApplicationsOK struct {
	Payload []*models.ApplicationSummary
}

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

Successful operation

func NewSearchApplicationsOK

func NewSearchApplicationsOK() *SearchApplicationsOK

NewSearchApplicationsOK creates a SearchApplicationsOK with default headers values

func (*SearchApplicationsOK) Code

func (o *SearchApplicationsOK) Code() int

Code gets the status code for the search applications o k response

func (*SearchApplicationsOK) Error

func (o *SearchApplicationsOK) Error() string

func (*SearchApplicationsOK) GetPayload

func (o *SearchApplicationsOK) GetPayload() []*models.ApplicationSummary

func (*SearchApplicationsOK) IsClientError

func (o *SearchApplicationsOK) IsClientError() bool

IsClientError returns true when this search applications o k response has a 4xx status code

func (*SearchApplicationsOK) IsCode

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

IsCode returns true when this search applications o k response a status code equal to that given

func (*SearchApplicationsOK) IsRedirect

func (o *SearchApplicationsOK) IsRedirect() bool

IsRedirect returns true when this search applications o k response has a 3xx status code

func (*SearchApplicationsOK) IsServerError

func (o *SearchApplicationsOK) IsServerError() bool

IsServerError returns true when this search applications o k response has a 5xx status code

func (*SearchApplicationsOK) IsSuccess

func (o *SearchApplicationsOK) IsSuccess() bool

IsSuccess returns true when this search applications o k response has a 2xx status code

func (*SearchApplicationsOK) String

func (o *SearchApplicationsOK) String() string

type SearchApplicationsParams

type SearchApplicationsParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of a comma-seperated list of test groups (Required if Impersonate-User is set)
	*/
	ImpersonateGroup *string

	/* ImpersonateUser.

	   Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	*/
	ImpersonateUser *string

	/* ApplicationSearch.

	   List of application names to search for
	*/
	ApplicationSearch *models.ApplicationsSearchRequest

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

SearchApplicationsParams contains all the parameters to send to the API endpoint

for the search applications operation.

Typically these are written to a http.Request.

func NewSearchApplicationsParams

func NewSearchApplicationsParams() *SearchApplicationsParams

NewSearchApplicationsParams creates a new SearchApplicationsParams 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 NewSearchApplicationsParamsWithContext

func NewSearchApplicationsParamsWithContext(ctx context.Context) *SearchApplicationsParams

NewSearchApplicationsParamsWithContext creates a new SearchApplicationsParams object with the ability to set a context for a request.

func NewSearchApplicationsParamsWithHTTPClient

func NewSearchApplicationsParamsWithHTTPClient(client *http.Client) *SearchApplicationsParams

NewSearchApplicationsParamsWithHTTPClient creates a new SearchApplicationsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchApplicationsParamsWithTimeout

func NewSearchApplicationsParamsWithTimeout(timeout time.Duration) *SearchApplicationsParams

NewSearchApplicationsParamsWithTimeout creates a new SearchApplicationsParams object with the ability to set a timeout on a request.

func (*SearchApplicationsParams) SetApplicationSearch

func (o *SearchApplicationsParams) SetApplicationSearch(applicationSearch *models.ApplicationsSearchRequest)

SetApplicationSearch adds the applicationSearch to the search applications params

func (*SearchApplicationsParams) SetContext

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

SetContext adds the context to the search applications params

func (*SearchApplicationsParams) SetDefaults

func (o *SearchApplicationsParams) SetDefaults()

SetDefaults hydrates default values in the search applications params (not the query body).

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

func (*SearchApplicationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search applications params

func (*SearchApplicationsParams) SetImpersonateGroup

func (o *SearchApplicationsParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the search applications params

func (*SearchApplicationsParams) SetImpersonateUser

func (o *SearchApplicationsParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the search applications params

func (*SearchApplicationsParams) SetTimeout

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

SetTimeout adds the timeout to the search applications params

func (*SearchApplicationsParams) WithApplicationSearch

func (o *SearchApplicationsParams) WithApplicationSearch(applicationSearch *models.ApplicationsSearchRequest) *SearchApplicationsParams

WithApplicationSearch adds the applicationSearch to the search applications params

func (*SearchApplicationsParams) WithContext

WithContext adds the context to the search applications params

func (*SearchApplicationsParams) WithDefaults

WithDefaults hydrates default values in the search applications params (not the query body).

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

func (*SearchApplicationsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search applications params

func (*SearchApplicationsParams) WithImpersonateGroup

func (o *SearchApplicationsParams) WithImpersonateGroup(impersonateGroup *string) *SearchApplicationsParams

WithImpersonateGroup adds the impersonateGroup to the search applications params

func (*SearchApplicationsParams) WithImpersonateUser

func (o *SearchApplicationsParams) WithImpersonateUser(impersonateUser *string) *SearchApplicationsParams

WithImpersonateUser adds the impersonateUser to the search applications params

func (*SearchApplicationsParams) WithTimeout

WithTimeout adds the timeout to the search applications params

func (*SearchApplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchApplicationsReader

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

SearchApplicationsReader is a Reader for the SearchApplications structure.

func (*SearchApplicationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchApplicationsUnauthorized

type SearchApplicationsUnauthorized struct {
}

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

Unauthorized

func NewSearchApplicationsUnauthorized

func NewSearchApplicationsUnauthorized() *SearchApplicationsUnauthorized

NewSearchApplicationsUnauthorized creates a SearchApplicationsUnauthorized with default headers values

func (*SearchApplicationsUnauthorized) Code

Code gets the status code for the search applications unauthorized response

func (*SearchApplicationsUnauthorized) Error

func (*SearchApplicationsUnauthorized) IsClientError

func (o *SearchApplicationsUnauthorized) IsClientError() bool

IsClientError returns true when this search applications unauthorized response has a 4xx status code

func (*SearchApplicationsUnauthorized) IsCode

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

IsCode returns true when this search applications unauthorized response a status code equal to that given

func (*SearchApplicationsUnauthorized) IsRedirect

func (o *SearchApplicationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this search applications unauthorized response has a 3xx status code

func (*SearchApplicationsUnauthorized) IsServerError

func (o *SearchApplicationsUnauthorized) IsServerError() bool

IsServerError returns true when this search applications unauthorized response has a 5xx status code

func (*SearchApplicationsUnauthorized) IsSuccess

func (o *SearchApplicationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this search applications unauthorized response has a 2xx status code

func (*SearchApplicationsUnauthorized) String

type ShowApplicationsConflict

type ShowApplicationsConflict struct {
}

ShowApplicationsConflict describes a response with status code 409, with default header values.

Conflict

func NewShowApplicationsConflict

func NewShowApplicationsConflict() *ShowApplicationsConflict

NewShowApplicationsConflict creates a ShowApplicationsConflict with default headers values

func (*ShowApplicationsConflict) Code

func (o *ShowApplicationsConflict) Code() int

Code gets the status code for the show applications conflict response

func (*ShowApplicationsConflict) Error

func (o *ShowApplicationsConflict) Error() string

func (*ShowApplicationsConflict) IsClientError

func (o *ShowApplicationsConflict) IsClientError() bool

IsClientError returns true when this show applications conflict response has a 4xx status code

func (*ShowApplicationsConflict) IsCode

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

IsCode returns true when this show applications conflict response a status code equal to that given

func (*ShowApplicationsConflict) IsRedirect

func (o *ShowApplicationsConflict) IsRedirect() bool

IsRedirect returns true when this show applications conflict response has a 3xx status code

func (*ShowApplicationsConflict) IsServerError

func (o *ShowApplicationsConflict) IsServerError() bool

IsServerError returns true when this show applications conflict response has a 5xx status code

func (*ShowApplicationsConflict) IsSuccess

func (o *ShowApplicationsConflict) IsSuccess() bool

IsSuccess returns true when this show applications conflict response has a 2xx status code

func (*ShowApplicationsConflict) String

func (o *ShowApplicationsConflict) String() string

type ShowApplicationsForbidden

type ShowApplicationsForbidden struct {
}

ShowApplicationsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewShowApplicationsForbidden

func NewShowApplicationsForbidden() *ShowApplicationsForbidden

NewShowApplicationsForbidden creates a ShowApplicationsForbidden with default headers values

func (*ShowApplicationsForbidden) Code

func (o *ShowApplicationsForbidden) Code() int

Code gets the status code for the show applications forbidden response

func (*ShowApplicationsForbidden) Error

func (o *ShowApplicationsForbidden) Error() string

func (*ShowApplicationsForbidden) IsClientError

func (o *ShowApplicationsForbidden) IsClientError() bool

IsClientError returns true when this show applications forbidden response has a 4xx status code

func (*ShowApplicationsForbidden) IsCode

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

IsCode returns true when this show applications forbidden response a status code equal to that given

func (*ShowApplicationsForbidden) IsRedirect

func (o *ShowApplicationsForbidden) IsRedirect() bool

IsRedirect returns true when this show applications forbidden response has a 3xx status code

func (*ShowApplicationsForbidden) IsServerError

func (o *ShowApplicationsForbidden) IsServerError() bool

IsServerError returns true when this show applications forbidden response has a 5xx status code

func (*ShowApplicationsForbidden) IsSuccess

func (o *ShowApplicationsForbidden) IsSuccess() bool

IsSuccess returns true when this show applications forbidden response has a 2xx status code

func (*ShowApplicationsForbidden) String

func (o *ShowApplicationsForbidden) String() string

type ShowApplicationsInternalServerError

type ShowApplicationsInternalServerError struct {
}

ShowApplicationsInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewShowApplicationsInternalServerError

func NewShowApplicationsInternalServerError() *ShowApplicationsInternalServerError

NewShowApplicationsInternalServerError creates a ShowApplicationsInternalServerError with default headers values

func (*ShowApplicationsInternalServerError) Code

Code gets the status code for the show applications internal server error response

func (*ShowApplicationsInternalServerError) Error

func (*ShowApplicationsInternalServerError) IsClientError

func (o *ShowApplicationsInternalServerError) IsClientError() bool

IsClientError returns true when this show applications internal server error response has a 4xx status code

func (*ShowApplicationsInternalServerError) IsCode

IsCode returns true when this show applications internal server error response a status code equal to that given

func (*ShowApplicationsInternalServerError) IsRedirect

func (o *ShowApplicationsInternalServerError) IsRedirect() bool

IsRedirect returns true when this show applications internal server error response has a 3xx status code

func (*ShowApplicationsInternalServerError) IsServerError

func (o *ShowApplicationsInternalServerError) IsServerError() bool

IsServerError returns true when this show applications internal server error response has a 5xx status code

func (*ShowApplicationsInternalServerError) IsSuccess

IsSuccess returns true when this show applications internal server error response has a 2xx status code

func (*ShowApplicationsInternalServerError) String

type ShowApplicationsNotFound

type ShowApplicationsNotFound struct {
}

ShowApplicationsNotFound describes a response with status code 404, with default header values.

Not found

func NewShowApplicationsNotFound

func NewShowApplicationsNotFound() *ShowApplicationsNotFound

NewShowApplicationsNotFound creates a ShowApplicationsNotFound with default headers values

func (*ShowApplicationsNotFound) Code

func (o *ShowApplicationsNotFound) Code() int

Code gets the status code for the show applications not found response

func (*ShowApplicationsNotFound) Error

func (o *ShowApplicationsNotFound) Error() string

func (*ShowApplicationsNotFound) IsClientError

func (o *ShowApplicationsNotFound) IsClientError() bool

IsClientError returns true when this show applications not found response has a 4xx status code

func (*ShowApplicationsNotFound) IsCode

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

IsCode returns true when this show applications not found response a status code equal to that given

func (*ShowApplicationsNotFound) IsRedirect

func (o *ShowApplicationsNotFound) IsRedirect() bool

IsRedirect returns true when this show applications not found response has a 3xx status code

func (*ShowApplicationsNotFound) IsServerError

func (o *ShowApplicationsNotFound) IsServerError() bool

IsServerError returns true when this show applications not found response has a 5xx status code

func (*ShowApplicationsNotFound) IsSuccess

func (o *ShowApplicationsNotFound) IsSuccess() bool

IsSuccess returns true when this show applications not found response has a 2xx status code

func (*ShowApplicationsNotFound) String

func (o *ShowApplicationsNotFound) String() string

type ShowApplicationsOK

type ShowApplicationsOK struct {
	Payload []*models.ApplicationSummary
}

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

Successful operation

func NewShowApplicationsOK

func NewShowApplicationsOK() *ShowApplicationsOK

NewShowApplicationsOK creates a ShowApplicationsOK with default headers values

func (*ShowApplicationsOK) Code

func (o *ShowApplicationsOK) Code() int

Code gets the status code for the show applications o k response

func (*ShowApplicationsOK) Error

func (o *ShowApplicationsOK) Error() string

func (*ShowApplicationsOK) GetPayload

func (o *ShowApplicationsOK) GetPayload() []*models.ApplicationSummary

func (*ShowApplicationsOK) IsClientError

func (o *ShowApplicationsOK) IsClientError() bool

IsClientError returns true when this show applications o k response has a 4xx status code

func (*ShowApplicationsOK) IsCode

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

IsCode returns true when this show applications o k response a status code equal to that given

func (*ShowApplicationsOK) IsRedirect

func (o *ShowApplicationsOK) IsRedirect() bool

IsRedirect returns true when this show applications o k response has a 3xx status code

func (*ShowApplicationsOK) IsServerError

func (o *ShowApplicationsOK) IsServerError() bool

IsServerError returns true when this show applications o k response has a 5xx status code

func (*ShowApplicationsOK) IsSuccess

func (o *ShowApplicationsOK) IsSuccess() bool

IsSuccess returns true when this show applications o k response has a 2xx status code

func (*ShowApplicationsOK) String

func (o *ShowApplicationsOK) String() string

type ShowApplicationsParams

type ShowApplicationsParams struct {

	/* ImpersonateGroup.

	   Works only with custom setup of cluster. Allow impersonation of a comma-seperated list of test groups (Required if Impersonate-User is set)
	*/
	ImpersonateGroup *string

	/* ImpersonateUser.

	   Works only with custom setup of cluster. Allow impersonation of test users (Required if Impersonate-Group is set)
	*/
	ImpersonateUser *string

	/* SSHRepo.

	   ssh repo to identify Radix application if exists
	*/
	SSHRepo *string

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

ShowApplicationsParams contains all the parameters to send to the API endpoint

for the show applications operation.

Typically these are written to a http.Request.

func NewShowApplicationsParams

func NewShowApplicationsParams() *ShowApplicationsParams

NewShowApplicationsParams creates a new ShowApplicationsParams 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 NewShowApplicationsParamsWithContext

func NewShowApplicationsParamsWithContext(ctx context.Context) *ShowApplicationsParams

NewShowApplicationsParamsWithContext creates a new ShowApplicationsParams object with the ability to set a context for a request.

func NewShowApplicationsParamsWithHTTPClient

func NewShowApplicationsParamsWithHTTPClient(client *http.Client) *ShowApplicationsParams

NewShowApplicationsParamsWithHTTPClient creates a new ShowApplicationsParams object with the ability to set a custom HTTPClient for a request.

func NewShowApplicationsParamsWithTimeout

func NewShowApplicationsParamsWithTimeout(timeout time.Duration) *ShowApplicationsParams

NewShowApplicationsParamsWithTimeout creates a new ShowApplicationsParams object with the ability to set a timeout on a request.

func (*ShowApplicationsParams) SetContext

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

SetContext adds the context to the show applications params

func (*ShowApplicationsParams) SetDefaults

func (o *ShowApplicationsParams) SetDefaults()

SetDefaults hydrates default values in the show applications params (not the query body).

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

func (*ShowApplicationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the show applications params

func (*ShowApplicationsParams) SetImpersonateGroup

func (o *ShowApplicationsParams) SetImpersonateGroup(impersonateGroup *string)

SetImpersonateGroup adds the impersonateGroup to the show applications params

func (*ShowApplicationsParams) SetImpersonateUser

func (o *ShowApplicationsParams) SetImpersonateUser(impersonateUser *string)

SetImpersonateUser adds the impersonateUser to the show applications params

func (*ShowApplicationsParams) SetSSHRepo

func (o *ShowApplicationsParams) SetSSHRepo(sSHRepo *string)

SetSSHRepo adds the sshRepo to the show applications params

func (*ShowApplicationsParams) SetTimeout

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

SetTimeout adds the timeout to the show applications params

func (*ShowApplicationsParams) WithContext

WithContext adds the context to the show applications params

func (*ShowApplicationsParams) WithDefaults

WithDefaults hydrates default values in the show applications params (not the query body).

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

func (*ShowApplicationsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the show applications params

func (*ShowApplicationsParams) WithImpersonateGroup

func (o *ShowApplicationsParams) WithImpersonateGroup(impersonateGroup *string) *ShowApplicationsParams

WithImpersonateGroup adds the impersonateGroup to the show applications params

func (*ShowApplicationsParams) WithImpersonateUser

func (o *ShowApplicationsParams) WithImpersonateUser(impersonateUser *string) *ShowApplicationsParams

WithImpersonateUser adds the impersonateUser to the show applications params

func (*ShowApplicationsParams) WithSSHRepo

func (o *ShowApplicationsParams) WithSSHRepo(sSHRepo *string) *ShowApplicationsParams

WithSSHRepo adds the sSHRepo to the show applications params

func (*ShowApplicationsParams) WithTimeout

WithTimeout adds the timeout to the show applications params

func (*ShowApplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ShowApplicationsReader

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

ShowApplicationsReader is a Reader for the ShowApplications structure.

func (*ShowApplicationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ShowApplicationsUnauthorized

type ShowApplicationsUnauthorized struct {
}

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

Unauthorized

func NewShowApplicationsUnauthorized

func NewShowApplicationsUnauthorized() *ShowApplicationsUnauthorized

NewShowApplicationsUnauthorized creates a ShowApplicationsUnauthorized with default headers values

func (*ShowApplicationsUnauthorized) Code

Code gets the status code for the show applications unauthorized response

func (*ShowApplicationsUnauthorized) Error

func (*ShowApplicationsUnauthorized) IsClientError

func (o *ShowApplicationsUnauthorized) IsClientError() bool

IsClientError returns true when this show applications unauthorized response has a 4xx status code

func (*ShowApplicationsUnauthorized) IsCode

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

IsCode returns true when this show applications unauthorized response a status code equal to that given

func (*ShowApplicationsUnauthorized) IsRedirect

func (o *ShowApplicationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this show applications unauthorized response has a 3xx status code

func (*ShowApplicationsUnauthorized) IsServerError

func (o *ShowApplicationsUnauthorized) IsServerError() bool

IsServerError returns true when this show applications unauthorized response has a 5xx status code

func (*ShowApplicationsUnauthorized) IsSuccess

func (o *ShowApplicationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this show applications unauthorized response has a 2xx status code

func (*ShowApplicationsUnauthorized) String

Jump to

Keyboard shortcuts

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