Documentation ¶
Index ¶
- type Client
- func (a *Client) RegisterApplication(params *RegisterApplicationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RegisterApplicationOK, error)
- func (a *Client) SearchApplications(params *SearchApplicationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchApplicationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShowApplications(params *ShowApplicationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShowApplicationsOK, error)
- type ClientOption
- type ClientService
- type RegisterApplicationBadRequest
- func (o *RegisterApplicationBadRequest) Code() int
- func (o *RegisterApplicationBadRequest) Error() string
- func (o *RegisterApplicationBadRequest) IsClientError() bool
- func (o *RegisterApplicationBadRequest) IsCode(code int) bool
- func (o *RegisterApplicationBadRequest) IsRedirect() bool
- func (o *RegisterApplicationBadRequest) IsServerError() bool
- func (o *RegisterApplicationBadRequest) IsSuccess() bool
- func (o *RegisterApplicationBadRequest) String() string
- type RegisterApplicationConflict
- func (o *RegisterApplicationConflict) Code() int
- func (o *RegisterApplicationConflict) Error() string
- func (o *RegisterApplicationConflict) IsClientError() bool
- func (o *RegisterApplicationConflict) IsCode(code int) bool
- func (o *RegisterApplicationConflict) IsRedirect() bool
- func (o *RegisterApplicationConflict) IsServerError() bool
- func (o *RegisterApplicationConflict) IsSuccess() bool
- func (o *RegisterApplicationConflict) String() string
- type RegisterApplicationOK
- func (o *RegisterApplicationOK) Code() int
- func (o *RegisterApplicationOK) Error() string
- func (o *RegisterApplicationOK) GetPayload() *models.ApplicationRegistrationUpsertResponse
- func (o *RegisterApplicationOK) IsClientError() bool
- func (o *RegisterApplicationOK) IsCode(code int) bool
- func (o *RegisterApplicationOK) IsRedirect() bool
- func (o *RegisterApplicationOK) IsServerError() bool
- func (o *RegisterApplicationOK) IsSuccess() bool
- func (o *RegisterApplicationOK) String() string
- type RegisterApplicationParams
- func NewRegisterApplicationParams() *RegisterApplicationParams
- func NewRegisterApplicationParamsWithContext(ctx context.Context) *RegisterApplicationParams
- func NewRegisterApplicationParamsWithHTTPClient(client *http.Client) *RegisterApplicationParams
- func NewRegisterApplicationParamsWithTimeout(timeout time.Duration) *RegisterApplicationParams
- func (o *RegisterApplicationParams) SetApplicationRegistration(applicationRegistration *models.ApplicationRegistrationRequest)
- func (o *RegisterApplicationParams) SetContext(ctx context.Context)
- func (o *RegisterApplicationParams) SetDefaults()
- func (o *RegisterApplicationParams) SetHTTPClient(client *http.Client)
- func (o *RegisterApplicationParams) SetImpersonateGroup(impersonateGroup []string)
- func (o *RegisterApplicationParams) SetImpersonateUser(impersonateUser *string)
- func (o *RegisterApplicationParams) SetTimeout(timeout time.Duration)
- func (o *RegisterApplicationParams) WithApplicationRegistration(applicationRegistration *models.ApplicationRegistrationRequest) *RegisterApplicationParams
- func (o *RegisterApplicationParams) WithContext(ctx context.Context) *RegisterApplicationParams
- func (o *RegisterApplicationParams) WithDefaults() *RegisterApplicationParams
- func (o *RegisterApplicationParams) WithHTTPClient(client *http.Client) *RegisterApplicationParams
- func (o *RegisterApplicationParams) WithImpersonateGroup(impersonateGroup []string) *RegisterApplicationParams
- func (o *RegisterApplicationParams) WithImpersonateUser(impersonateUser *string) *RegisterApplicationParams
- func (o *RegisterApplicationParams) WithTimeout(timeout time.Duration) *RegisterApplicationParams
- func (o *RegisterApplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterApplicationReader
- type RegisterApplicationUnauthorized
- func (o *RegisterApplicationUnauthorized) Code() int
- func (o *RegisterApplicationUnauthorized) Error() string
- func (o *RegisterApplicationUnauthorized) IsClientError() bool
- func (o *RegisterApplicationUnauthorized) IsCode(code int) bool
- func (o *RegisterApplicationUnauthorized) IsRedirect() bool
- func (o *RegisterApplicationUnauthorized) IsServerError() bool
- func (o *RegisterApplicationUnauthorized) IsSuccess() bool
- func (o *RegisterApplicationUnauthorized) String() string
- type SearchApplicationsConflict
- func (o *SearchApplicationsConflict) Code() int
- func (o *SearchApplicationsConflict) Error() string
- func (o *SearchApplicationsConflict) IsClientError() bool
- func (o *SearchApplicationsConflict) IsCode(code int) bool
- func (o *SearchApplicationsConflict) IsRedirect() bool
- func (o *SearchApplicationsConflict) IsServerError() bool
- func (o *SearchApplicationsConflict) IsSuccess() bool
- func (o *SearchApplicationsConflict) String() string
- type SearchApplicationsForbidden
- func (o *SearchApplicationsForbidden) Code() int
- func (o *SearchApplicationsForbidden) Error() string
- func (o *SearchApplicationsForbidden) IsClientError() bool
- func (o *SearchApplicationsForbidden) IsCode(code int) bool
- func (o *SearchApplicationsForbidden) IsRedirect() bool
- func (o *SearchApplicationsForbidden) IsServerError() bool
- func (o *SearchApplicationsForbidden) IsSuccess() bool
- func (o *SearchApplicationsForbidden) String() string
- type SearchApplicationsInternalServerError
- func (o *SearchApplicationsInternalServerError) Code() int
- func (o *SearchApplicationsInternalServerError) Error() string
- func (o *SearchApplicationsInternalServerError) IsClientError() bool
- func (o *SearchApplicationsInternalServerError) IsCode(code int) bool
- func (o *SearchApplicationsInternalServerError) IsRedirect() bool
- func (o *SearchApplicationsInternalServerError) IsServerError() bool
- func (o *SearchApplicationsInternalServerError) IsSuccess() bool
- func (o *SearchApplicationsInternalServerError) String() string
- type SearchApplicationsNotFound
- func (o *SearchApplicationsNotFound) Code() int
- func (o *SearchApplicationsNotFound) Error() string
- func (o *SearchApplicationsNotFound) IsClientError() bool
- func (o *SearchApplicationsNotFound) IsCode(code int) bool
- func (o *SearchApplicationsNotFound) IsRedirect() bool
- func (o *SearchApplicationsNotFound) IsServerError() bool
- func (o *SearchApplicationsNotFound) IsSuccess() bool
- func (o *SearchApplicationsNotFound) String() string
- type SearchApplicationsOK
- func (o *SearchApplicationsOK) Code() int
- func (o *SearchApplicationsOK) Error() string
- func (o *SearchApplicationsOK) GetPayload() []*models.ApplicationSummary
- func (o *SearchApplicationsOK) IsClientError() bool
- func (o *SearchApplicationsOK) IsCode(code int) bool
- func (o *SearchApplicationsOK) IsRedirect() bool
- func (o *SearchApplicationsOK) IsServerError() bool
- func (o *SearchApplicationsOK) IsSuccess() bool
- func (o *SearchApplicationsOK) String() string
- type SearchApplicationsParams
- func NewSearchApplicationsParams() *SearchApplicationsParams
- func NewSearchApplicationsParamsWithContext(ctx context.Context) *SearchApplicationsParams
- func NewSearchApplicationsParamsWithHTTPClient(client *http.Client) *SearchApplicationsParams
- func NewSearchApplicationsParamsWithTimeout(timeout time.Duration) *SearchApplicationsParams
- func (o *SearchApplicationsParams) SetApplicationSearch(applicationSearch *models.ApplicationsSearchRequest)
- func (o *SearchApplicationsParams) SetContext(ctx context.Context)
- func (o *SearchApplicationsParams) SetDefaults()
- func (o *SearchApplicationsParams) SetHTTPClient(client *http.Client)
- func (o *SearchApplicationsParams) SetImpersonateGroup(impersonateGroup []string)
- func (o *SearchApplicationsParams) SetImpersonateUser(impersonateUser *string)
- func (o *SearchApplicationsParams) SetTimeout(timeout time.Duration)
- func (o *SearchApplicationsParams) WithApplicationSearch(applicationSearch *models.ApplicationsSearchRequest) *SearchApplicationsParams
- func (o *SearchApplicationsParams) WithContext(ctx context.Context) *SearchApplicationsParams
- func (o *SearchApplicationsParams) WithDefaults() *SearchApplicationsParams
- func (o *SearchApplicationsParams) WithHTTPClient(client *http.Client) *SearchApplicationsParams
- func (o *SearchApplicationsParams) WithImpersonateGroup(impersonateGroup []string) *SearchApplicationsParams
- func (o *SearchApplicationsParams) WithImpersonateUser(impersonateUser *string) *SearchApplicationsParams
- func (o *SearchApplicationsParams) WithTimeout(timeout time.Duration) *SearchApplicationsParams
- func (o *SearchApplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchApplicationsReader
- type SearchApplicationsUnauthorized
- func (o *SearchApplicationsUnauthorized) Code() int
- func (o *SearchApplicationsUnauthorized) Error() string
- func (o *SearchApplicationsUnauthorized) IsClientError() bool
- func (o *SearchApplicationsUnauthorized) IsCode(code int) bool
- func (o *SearchApplicationsUnauthorized) IsRedirect() bool
- func (o *SearchApplicationsUnauthorized) IsServerError() bool
- func (o *SearchApplicationsUnauthorized) IsSuccess() bool
- func (o *SearchApplicationsUnauthorized) String() string
- type ShowApplicationsConflict
- func (o *ShowApplicationsConflict) Code() int
- func (o *ShowApplicationsConflict) Error() string
- func (o *ShowApplicationsConflict) IsClientError() bool
- func (o *ShowApplicationsConflict) IsCode(code int) bool
- func (o *ShowApplicationsConflict) IsRedirect() bool
- func (o *ShowApplicationsConflict) IsServerError() bool
- func (o *ShowApplicationsConflict) IsSuccess() bool
- func (o *ShowApplicationsConflict) String() string
- type ShowApplicationsForbidden
- func (o *ShowApplicationsForbidden) Code() int
- func (o *ShowApplicationsForbidden) Error() string
- func (o *ShowApplicationsForbidden) IsClientError() bool
- func (o *ShowApplicationsForbidden) IsCode(code int) bool
- func (o *ShowApplicationsForbidden) IsRedirect() bool
- func (o *ShowApplicationsForbidden) IsServerError() bool
- func (o *ShowApplicationsForbidden) IsSuccess() bool
- func (o *ShowApplicationsForbidden) String() string
- type ShowApplicationsInternalServerError
- func (o *ShowApplicationsInternalServerError) Code() int
- func (o *ShowApplicationsInternalServerError) Error() string
- func (o *ShowApplicationsInternalServerError) IsClientError() bool
- func (o *ShowApplicationsInternalServerError) IsCode(code int) bool
- func (o *ShowApplicationsInternalServerError) IsRedirect() bool
- func (o *ShowApplicationsInternalServerError) IsServerError() bool
- func (o *ShowApplicationsInternalServerError) IsSuccess() bool
- func (o *ShowApplicationsInternalServerError) String() string
- type ShowApplicationsNotFound
- func (o *ShowApplicationsNotFound) Code() int
- func (o *ShowApplicationsNotFound) Error() string
- func (o *ShowApplicationsNotFound) IsClientError() bool
- func (o *ShowApplicationsNotFound) IsCode(code int) bool
- func (o *ShowApplicationsNotFound) IsRedirect() bool
- func (o *ShowApplicationsNotFound) IsServerError() bool
- func (o *ShowApplicationsNotFound) IsSuccess() bool
- func (o *ShowApplicationsNotFound) String() string
- type ShowApplicationsOK
- func (o *ShowApplicationsOK) Code() int
- func (o *ShowApplicationsOK) Error() string
- func (o *ShowApplicationsOK) GetPayload() []*models.ApplicationSummary
- func (o *ShowApplicationsOK) IsClientError() bool
- func (o *ShowApplicationsOK) IsCode(code int) bool
- func (o *ShowApplicationsOK) IsRedirect() bool
- func (o *ShowApplicationsOK) IsServerError() bool
- func (o *ShowApplicationsOK) IsSuccess() bool
- func (o *ShowApplicationsOK) String() string
- type ShowApplicationsParams
- func NewShowApplicationsParams() *ShowApplicationsParams
- func NewShowApplicationsParamsWithContext(ctx context.Context) *ShowApplicationsParams
- func NewShowApplicationsParamsWithHTTPClient(client *http.Client) *ShowApplicationsParams
- func NewShowApplicationsParamsWithTimeout(timeout time.Duration) *ShowApplicationsParams
- func (o *ShowApplicationsParams) SetContext(ctx context.Context)
- func (o *ShowApplicationsParams) SetDefaults()
- func (o *ShowApplicationsParams) SetHTTPClient(client *http.Client)
- func (o *ShowApplicationsParams) SetImpersonateGroup(impersonateGroup []string)
- func (o *ShowApplicationsParams) SetImpersonateUser(impersonateUser *string)
- func (o *ShowApplicationsParams) SetSSHRepo(sSHRepo *string)
- func (o *ShowApplicationsParams) SetTimeout(timeout time.Duration)
- func (o *ShowApplicationsParams) WithContext(ctx context.Context) *ShowApplicationsParams
- func (o *ShowApplicationsParams) WithDefaults() *ShowApplicationsParams
- func (o *ShowApplicationsParams) WithHTTPClient(client *http.Client) *ShowApplicationsParams
- func (o *ShowApplicationsParams) WithImpersonateGroup(impersonateGroup []string) *ShowApplicationsParams
- func (o *ShowApplicationsParams) WithImpersonateUser(impersonateUser *string) *ShowApplicationsParams
- func (o *ShowApplicationsParams) WithSSHRepo(sSHRepo *string) *ShowApplicationsParams
- func (o *ShowApplicationsParams) WithTimeout(timeout time.Duration) *ShowApplicationsParams
- func (o *ShowApplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShowApplicationsReader
- type ShowApplicationsUnauthorized
- func (o *ShowApplicationsUnauthorized) Code() int
- func (o *ShowApplicationsUnauthorized) Error() string
- func (o *ShowApplicationsUnauthorized) IsClientError() bool
- func (o *ShowApplicationsUnauthorized) IsCode(code int) bool
- func (o *ShowApplicationsUnauthorized) IsRedirect() bool
- func (o *ShowApplicationsUnauthorized) IsServerError() bool
- func (o *ShowApplicationsUnauthorized) IsSuccess() bool
- func (o *ShowApplicationsUnauthorized) String() string
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) 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 is the option for Client methods
type ClientService ¶
type ClientService interface { 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.
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 ¶
func (o *RegisterApplicationBadRequest) Code() int
Code gets the status code for the register application bad request response
func (*RegisterApplicationBadRequest) Error ¶
func (o *RegisterApplicationBadRequest) Error() string
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 ¶
func (o *RegisterApplicationBadRequest) String() 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 (o *RegisterApplicationConflict) Error() string
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 (o *RegisterApplicationOK) GetPayload() *models.ApplicationRegistrationUpsertResponse
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 test group (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 ¶
func (o *RegisterApplicationParams) WithContext(ctx context.Context) *RegisterApplicationParams
WithContext adds the context to the register application params
func (*RegisterApplicationParams) WithDefaults ¶
func (o *RegisterApplicationParams) WithDefaults() *RegisterApplicationParams
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 ¶
func (o *RegisterApplicationParams) WithTimeout(timeout time.Duration) *RegisterApplicationParams
WithTimeout adds the timeout to the register application params
func (*RegisterApplicationParams) WriteToRequest ¶
func (o *RegisterApplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RegisterApplicationUnauthorized) Code() int
Code gets the status code for the register application unauthorized response
func (*RegisterApplicationUnauthorized) Error ¶
func (o *RegisterApplicationUnauthorized) Error() string
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 ¶
func (o *RegisterApplicationUnauthorized) String() 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 (o *SearchApplicationsConflict) Error() string
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 (o *SearchApplicationsForbidden) Error() string
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 ¶
func (o *SearchApplicationsInternalServerError) Code() int
Code gets the status code for the search applications internal server error response
func (*SearchApplicationsInternalServerError) Error ¶
func (o *SearchApplicationsInternalServerError) Error() string
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 ¶
func (o *SearchApplicationsInternalServerError) IsCode(code int) bool
IsCode returns true when this search applications internal server error response a status code equal to that given
func (*SearchApplicationsInternalServerError) IsRedirect ¶
func (o *SearchApplicationsInternalServerError) IsRedirect() bool
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 ¶
func (o *SearchApplicationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this search applications internal server error response has a 2xx status code
func (*SearchApplicationsInternalServerError) String ¶
func (o *SearchApplicationsInternalServerError) String() 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 (o *SearchApplicationsNotFound) Error() string
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 test group (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 ¶
func (o *SearchApplicationsParams) WithContext(ctx context.Context) *SearchApplicationsParams
WithContext adds the context to the search applications params
func (*SearchApplicationsParams) WithDefaults ¶
func (o *SearchApplicationsParams) WithDefaults() *SearchApplicationsParams
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 ¶
func (o *SearchApplicationsParams) WithTimeout(timeout time.Duration) *SearchApplicationsParams
WithTimeout adds the timeout to the search applications params
func (*SearchApplicationsParams) WriteToRequest ¶
func (o *SearchApplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SearchApplicationsUnauthorized) Code() int
Code gets the status code for the search applications unauthorized response
func (*SearchApplicationsUnauthorized) Error ¶
func (o *SearchApplicationsUnauthorized) Error() string
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 ¶
func (o *SearchApplicationsUnauthorized) String() 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 ¶
func (o *ShowApplicationsInternalServerError) Code() int
Code gets the status code for the show applications internal server error response
func (*ShowApplicationsInternalServerError) Error ¶
func (o *ShowApplicationsInternalServerError) Error() string
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 ¶
func (o *ShowApplicationsInternalServerError) IsCode(code int) bool
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 ¶
func (o *ShowApplicationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this show applications internal server error response has a 2xx status code
func (*ShowApplicationsInternalServerError) String ¶
func (o *ShowApplicationsInternalServerError) String() 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 test group (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 ¶
func (o *ShowApplicationsParams) WithContext(ctx context.Context) *ShowApplicationsParams
WithContext adds the context to the show applications params
func (*ShowApplicationsParams) WithDefaults ¶
func (o *ShowApplicationsParams) WithDefaults() *ShowApplicationsParams
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 ¶
func (o *ShowApplicationsParams) WithTimeout(timeout time.Duration) *ShowApplicationsParams
WithTimeout adds the timeout to the show applications params
func (*ShowApplicationsParams) WriteToRequest ¶
func (o *ShowApplicationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ShowApplicationsUnauthorized) Code() int
Code gets the status code for the show applications unauthorized response
func (*ShowApplicationsUnauthorized) Error ¶
func (o *ShowApplicationsUnauthorized) Error() string
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 ¶
func (o *ShowApplicationsUnauthorized) String() string