component

package
v0.0.0-...-1595bd0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeEnvVarBadRequest

type ChangeEnvVarBadRequest struct {
}

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

Invalid application

func NewChangeEnvVarBadRequest

func NewChangeEnvVarBadRequest() *ChangeEnvVarBadRequest

NewChangeEnvVarBadRequest creates a ChangeEnvVarBadRequest with default headers values

func (*ChangeEnvVarBadRequest) Code

func (o *ChangeEnvVarBadRequest) Code() int

Code gets the status code for the change env var bad request response

func (*ChangeEnvVarBadRequest) Error

func (o *ChangeEnvVarBadRequest) Error() string

func (*ChangeEnvVarBadRequest) IsClientError

func (o *ChangeEnvVarBadRequest) IsClientError() bool

IsClientError returns true when this change env var bad request response has a 4xx status code

func (*ChangeEnvVarBadRequest) IsCode

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

IsCode returns true when this change env var bad request response a status code equal to that given

func (*ChangeEnvVarBadRequest) IsRedirect

func (o *ChangeEnvVarBadRequest) IsRedirect() bool

IsRedirect returns true when this change env var bad request response has a 3xx status code

func (*ChangeEnvVarBadRequest) IsServerError

func (o *ChangeEnvVarBadRequest) IsServerError() bool

IsServerError returns true when this change env var bad request response has a 5xx status code

func (*ChangeEnvVarBadRequest) IsSuccess

func (o *ChangeEnvVarBadRequest) IsSuccess() bool

IsSuccess returns true when this change env var bad request response has a 2xx status code

func (*ChangeEnvVarBadRequest) String

func (o *ChangeEnvVarBadRequest) String() string

type ChangeEnvVarConflict

type ChangeEnvVarConflict struct {
}

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

Conflict

func NewChangeEnvVarConflict

func NewChangeEnvVarConflict() *ChangeEnvVarConflict

NewChangeEnvVarConflict creates a ChangeEnvVarConflict with default headers values

func (*ChangeEnvVarConflict) Code

func (o *ChangeEnvVarConflict) Code() int

Code gets the status code for the change env var conflict response

func (*ChangeEnvVarConflict) Error

func (o *ChangeEnvVarConflict) Error() string

func (*ChangeEnvVarConflict) IsClientError

func (o *ChangeEnvVarConflict) IsClientError() bool

IsClientError returns true when this change env var conflict response has a 4xx status code

func (*ChangeEnvVarConflict) IsCode

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

IsCode returns true when this change env var conflict response a status code equal to that given

func (*ChangeEnvVarConflict) IsRedirect

func (o *ChangeEnvVarConflict) IsRedirect() bool

IsRedirect returns true when this change env var conflict response has a 3xx status code

func (*ChangeEnvVarConflict) IsServerError

func (o *ChangeEnvVarConflict) IsServerError() bool

IsServerError returns true when this change env var conflict response has a 5xx status code

func (*ChangeEnvVarConflict) IsSuccess

func (o *ChangeEnvVarConflict) IsSuccess() bool

IsSuccess returns true when this change env var conflict response has a 2xx status code

func (*ChangeEnvVarConflict) String

func (o *ChangeEnvVarConflict) String() string

type ChangeEnvVarForbidden

type ChangeEnvVarForbidden struct {
}

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

Forbidden

func NewChangeEnvVarForbidden

func NewChangeEnvVarForbidden() *ChangeEnvVarForbidden

NewChangeEnvVarForbidden creates a ChangeEnvVarForbidden with default headers values

func (*ChangeEnvVarForbidden) Code

func (o *ChangeEnvVarForbidden) Code() int

Code gets the status code for the change env var forbidden response

func (*ChangeEnvVarForbidden) Error

func (o *ChangeEnvVarForbidden) Error() string

func (*ChangeEnvVarForbidden) IsClientError

func (o *ChangeEnvVarForbidden) IsClientError() bool

IsClientError returns true when this change env var forbidden response has a 4xx status code

func (*ChangeEnvVarForbidden) IsCode

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

IsCode returns true when this change env var forbidden response a status code equal to that given

func (*ChangeEnvVarForbidden) IsRedirect

func (o *ChangeEnvVarForbidden) IsRedirect() bool

IsRedirect returns true when this change env var forbidden response has a 3xx status code

func (*ChangeEnvVarForbidden) IsServerError

func (o *ChangeEnvVarForbidden) IsServerError() bool

IsServerError returns true when this change env var forbidden response has a 5xx status code

func (*ChangeEnvVarForbidden) IsSuccess

func (o *ChangeEnvVarForbidden) IsSuccess() bool

IsSuccess returns true when this change env var forbidden response has a 2xx status code

func (*ChangeEnvVarForbidden) String

func (o *ChangeEnvVarForbidden) String() string

type ChangeEnvVarInternalServerError

type ChangeEnvVarInternalServerError struct {
}

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

Internal server error

func NewChangeEnvVarInternalServerError

func NewChangeEnvVarInternalServerError() *ChangeEnvVarInternalServerError

NewChangeEnvVarInternalServerError creates a ChangeEnvVarInternalServerError with default headers values

func (*ChangeEnvVarInternalServerError) Code

Code gets the status code for the change env var internal server error response

func (*ChangeEnvVarInternalServerError) Error

func (*ChangeEnvVarInternalServerError) IsClientError

func (o *ChangeEnvVarInternalServerError) IsClientError() bool

IsClientError returns true when this change env var internal server error response has a 4xx status code

func (*ChangeEnvVarInternalServerError) IsCode

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

IsCode returns true when this change env var internal server error response a status code equal to that given

func (*ChangeEnvVarInternalServerError) IsRedirect

func (o *ChangeEnvVarInternalServerError) IsRedirect() bool

IsRedirect returns true when this change env var internal server error response has a 3xx status code

func (*ChangeEnvVarInternalServerError) IsServerError

func (o *ChangeEnvVarInternalServerError) IsServerError() bool

IsServerError returns true when this change env var internal server error response has a 5xx status code

func (*ChangeEnvVarInternalServerError) IsSuccess

func (o *ChangeEnvVarInternalServerError) IsSuccess() bool

IsSuccess returns true when this change env var internal server error response has a 2xx status code

func (*ChangeEnvVarInternalServerError) String

type ChangeEnvVarNotFound

type ChangeEnvVarNotFound struct {
}

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

Not found

func NewChangeEnvVarNotFound

func NewChangeEnvVarNotFound() *ChangeEnvVarNotFound

NewChangeEnvVarNotFound creates a ChangeEnvVarNotFound with default headers values

func (*ChangeEnvVarNotFound) Code

func (o *ChangeEnvVarNotFound) Code() int

Code gets the status code for the change env var not found response

func (*ChangeEnvVarNotFound) Error

func (o *ChangeEnvVarNotFound) Error() string

func (*ChangeEnvVarNotFound) IsClientError

func (o *ChangeEnvVarNotFound) IsClientError() bool

IsClientError returns true when this change env var not found response has a 4xx status code

func (*ChangeEnvVarNotFound) IsCode

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

IsCode returns true when this change env var not found response a status code equal to that given

func (*ChangeEnvVarNotFound) IsRedirect

func (o *ChangeEnvVarNotFound) IsRedirect() bool

IsRedirect returns true when this change env var not found response has a 3xx status code

func (*ChangeEnvVarNotFound) IsServerError

func (o *ChangeEnvVarNotFound) IsServerError() bool

IsServerError returns true when this change env var not found response has a 5xx status code

func (*ChangeEnvVarNotFound) IsSuccess

func (o *ChangeEnvVarNotFound) IsSuccess() bool

IsSuccess returns true when this change env var not found response has a 2xx status code

func (*ChangeEnvVarNotFound) String

func (o *ChangeEnvVarNotFound) String() string

type ChangeEnvVarOK

type ChangeEnvVarOK struct {
}

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

success

func NewChangeEnvVarOK

func NewChangeEnvVarOK() *ChangeEnvVarOK

NewChangeEnvVarOK creates a ChangeEnvVarOK with default headers values

func (*ChangeEnvVarOK) Code

func (o *ChangeEnvVarOK) Code() int

Code gets the status code for the change env var o k response

func (*ChangeEnvVarOK) Error

func (o *ChangeEnvVarOK) Error() string

func (*ChangeEnvVarOK) IsClientError

func (o *ChangeEnvVarOK) IsClientError() bool

IsClientError returns true when this change env var o k response has a 4xx status code

func (*ChangeEnvVarOK) IsCode

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

IsCode returns true when this change env var o k response a status code equal to that given

func (*ChangeEnvVarOK) IsRedirect

func (o *ChangeEnvVarOK) IsRedirect() bool

IsRedirect returns true when this change env var o k response has a 3xx status code

func (*ChangeEnvVarOK) IsServerError

func (o *ChangeEnvVarOK) IsServerError() bool

IsServerError returns true when this change env var o k response has a 5xx status code

func (*ChangeEnvVarOK) IsSuccess

func (o *ChangeEnvVarOK) IsSuccess() bool

IsSuccess returns true when this change env var o k response has a 2xx status code

func (*ChangeEnvVarOK) String

func (o *ChangeEnvVarOK) String() string

type ChangeEnvVarParams

type ChangeEnvVarParams struct {

	/* EnvVarParameter.

	   Environment variables new values and metadata
	*/
	EnvVarParameter []*models.EnvVarParameter

	/* 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   environment component of Radix application
	*/
	ComponentName string

	/* EnvName.

	   environment of Radix application
	*/
	EnvName string

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

ChangeEnvVarParams contains all the parameters to send to the API endpoint

for the change env var operation.

Typically these are written to a http.Request.

func NewChangeEnvVarParams

func NewChangeEnvVarParams() *ChangeEnvVarParams

NewChangeEnvVarParams creates a new ChangeEnvVarParams 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 NewChangeEnvVarParamsWithContext

func NewChangeEnvVarParamsWithContext(ctx context.Context) *ChangeEnvVarParams

NewChangeEnvVarParamsWithContext creates a new ChangeEnvVarParams object with the ability to set a context for a request.

func NewChangeEnvVarParamsWithHTTPClient

func NewChangeEnvVarParamsWithHTTPClient(client *http.Client) *ChangeEnvVarParams

NewChangeEnvVarParamsWithHTTPClient creates a new ChangeEnvVarParams object with the ability to set a custom HTTPClient for a request.

func NewChangeEnvVarParamsWithTimeout

func NewChangeEnvVarParamsWithTimeout(timeout time.Duration) *ChangeEnvVarParams

NewChangeEnvVarParamsWithTimeout creates a new ChangeEnvVarParams object with the ability to set a timeout on a request.

func (*ChangeEnvVarParams) SetAppName

func (o *ChangeEnvVarParams) SetAppName(appName string)

SetAppName adds the appName to the change env var params

func (*ChangeEnvVarParams) SetComponentName

func (o *ChangeEnvVarParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the change env var params

func (*ChangeEnvVarParams) SetContext

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

SetContext adds the context to the change env var params

func (*ChangeEnvVarParams) SetDefaults

func (o *ChangeEnvVarParams) SetDefaults()

SetDefaults hydrates default values in the change env var params (not the query body).

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

func (*ChangeEnvVarParams) SetEnvName

func (o *ChangeEnvVarParams) SetEnvName(envName string)

SetEnvName adds the envName to the change env var params

func (*ChangeEnvVarParams) SetEnvVarParameter

func (o *ChangeEnvVarParams) SetEnvVarParameter(envVarParameter []*models.EnvVarParameter)

SetEnvVarParameter adds the envVarParameter to the change env var params

func (*ChangeEnvVarParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change env var params

func (*ChangeEnvVarParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the change env var params

func (*ChangeEnvVarParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the change env var params

func (*ChangeEnvVarParams) SetTimeout

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

SetTimeout adds the timeout to the change env var params

func (*ChangeEnvVarParams) WithAppName

func (o *ChangeEnvVarParams) WithAppName(appName string) *ChangeEnvVarParams

WithAppName adds the appName to the change env var params

func (*ChangeEnvVarParams) WithComponentName

func (o *ChangeEnvVarParams) WithComponentName(componentName string) *ChangeEnvVarParams

WithComponentName adds the componentName to the change env var params

func (*ChangeEnvVarParams) WithContext

WithContext adds the context to the change env var params

func (*ChangeEnvVarParams) WithDefaults

func (o *ChangeEnvVarParams) WithDefaults() *ChangeEnvVarParams

WithDefaults hydrates default values in the change env var params (not the query body).

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

func (*ChangeEnvVarParams) WithEnvName

func (o *ChangeEnvVarParams) WithEnvName(envName string) *ChangeEnvVarParams

WithEnvName adds the envName to the change env var params

func (*ChangeEnvVarParams) WithEnvVarParameter

func (o *ChangeEnvVarParams) WithEnvVarParameter(envVarParameter []*models.EnvVarParameter) *ChangeEnvVarParams

WithEnvVarParameter adds the envVarParameter to the change env var params

func (*ChangeEnvVarParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change env var params

func (*ChangeEnvVarParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the change env var params

func (*ChangeEnvVarParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the change env var params

func (*ChangeEnvVarParams) WithTimeout

func (o *ChangeEnvVarParams) WithTimeout(timeout time.Duration) *ChangeEnvVarParams

WithTimeout adds the timeout to the change env var params

func (*ChangeEnvVarParams) WriteToRequest

func (o *ChangeEnvVarParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ChangeEnvVarReader

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

ChangeEnvVarReader is a Reader for the ChangeEnvVar structure.

func (*ChangeEnvVarReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeEnvVarUnauthorized

type ChangeEnvVarUnauthorized struct {
}

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

Unauthorized

func NewChangeEnvVarUnauthorized

func NewChangeEnvVarUnauthorized() *ChangeEnvVarUnauthorized

NewChangeEnvVarUnauthorized creates a ChangeEnvVarUnauthorized with default headers values

func (*ChangeEnvVarUnauthorized) Code

func (o *ChangeEnvVarUnauthorized) Code() int

Code gets the status code for the change env var unauthorized response

func (*ChangeEnvVarUnauthorized) Error

func (o *ChangeEnvVarUnauthorized) Error() string

func (*ChangeEnvVarUnauthorized) IsClientError

func (o *ChangeEnvVarUnauthorized) IsClientError() bool

IsClientError returns true when this change env var unauthorized response has a 4xx status code

func (*ChangeEnvVarUnauthorized) IsCode

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

IsCode returns true when this change env var unauthorized response a status code equal to that given

func (*ChangeEnvVarUnauthorized) IsRedirect

func (o *ChangeEnvVarUnauthorized) IsRedirect() bool

IsRedirect returns true when this change env var unauthorized response has a 3xx status code

func (*ChangeEnvVarUnauthorized) IsServerError

func (o *ChangeEnvVarUnauthorized) IsServerError() bool

IsServerError returns true when this change env var unauthorized response has a 5xx status code

func (*ChangeEnvVarUnauthorized) IsSuccess

func (o *ChangeEnvVarUnauthorized) IsSuccess() bool

IsSuccess returns true when this change env var unauthorized response has a 2xx status code

func (*ChangeEnvVarUnauthorized) String

func (o *ChangeEnvVarUnauthorized) String() string

type Client

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

Client for component API

func (*Client) ChangeEnvVar

func (a *Client) ChangeEnvVar(params *ChangeEnvVarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangeEnvVarOK, error)

ChangeEnvVar updates an environment variable

func (*Client) Components

func (a *Client) Components(params *ComponentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ComponentsOK, error)

Components gets components for a deployment

func (*Client) EnvVars

func (a *Client) EnvVars(params *EnvVarsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnvVarsOK, error)

EnvVars gets environment variables for component

func (*Client) GetOAuthPodLog

func (a *Client) GetOAuthPodLog(params *GetOAuthPodLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOAuthPodLogOK, error)

GetOAuthPodLog gets logs for an oauth auxiliary resource pod

func (*Client) Log

func (a *Client) Log(params *LogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogOK, error)

Log gets logs from a deployed pod

func (*Client) ReplicaLog

func (a *Client) ReplicaLog(params *ReplicaLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplicaLogOK, error)

ReplicaLog gets logs from a deployed pod

func (*Client) RestartComponent

func (a *Client) RestartComponent(params *RestartComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartComponentOK, error)

RestartComponent restarts a component stops running the component container pulls new image from image hub in radix configuration starts the container again using an up to date image

func (*Client) RestartOAuthAuxiliaryResource

func (a *Client) RestartOAuthAuxiliaryResource(params *RestartOAuthAuxiliaryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartOAuthAuxiliaryResourceOK, error)

RestartOAuthAuxiliaryResource restarts an auxiliary resource for a component

func (*Client) ScaleComponent

func (a *Client) ScaleComponent(params *ScaleComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ScaleComponentNoContent, error)

ScaleComponent scales a component replicas

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StartComponent

func (a *Client) StartComponent(params *StartComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartComponentOK, error)

StartComponent starts component

func (*Client) StopComponent

func (a *Client) StopComponent(params *StopComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopComponentOK, error)

StopComponent stops component

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ChangeEnvVar(params *ChangeEnvVarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangeEnvVarOK, error)

	Components(params *ComponentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ComponentsOK, error)

	EnvVars(params *EnvVarsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnvVarsOK, error)

	GetOAuthPodLog(params *GetOAuthPodLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOAuthPodLogOK, error)

	Log(params *LogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogOK, error)

	ReplicaLog(params *ReplicaLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplicaLogOK, error)

	RestartComponent(params *RestartComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartComponentOK, error)

	RestartOAuthAuxiliaryResource(params *RestartOAuthAuxiliaryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartOAuthAuxiliaryResourceOK, error)

	ScaleComponent(params *ScaleComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ScaleComponentNoContent, error)

	StartComponent(params *StartComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartComponentOK, error)

	StopComponent(params *StopComponentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopComponentOK, 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 component API client.

type ComponentsNotFound

type ComponentsNotFound struct {
}

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

Not found

func NewComponentsNotFound

func NewComponentsNotFound() *ComponentsNotFound

NewComponentsNotFound creates a ComponentsNotFound with default headers values

func (*ComponentsNotFound) Code

func (o *ComponentsNotFound) Code() int

Code gets the status code for the components not found response

func (*ComponentsNotFound) Error

func (o *ComponentsNotFound) Error() string

func (*ComponentsNotFound) IsClientError

func (o *ComponentsNotFound) IsClientError() bool

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

func (*ComponentsNotFound) IsCode

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

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

func (*ComponentsNotFound) IsRedirect

func (o *ComponentsNotFound) IsRedirect() bool

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

func (*ComponentsNotFound) IsServerError

func (o *ComponentsNotFound) IsServerError() bool

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

func (*ComponentsNotFound) IsSuccess

func (o *ComponentsNotFound) IsSuccess() bool

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

func (*ComponentsNotFound) String

func (o *ComponentsNotFound) String() string

type ComponentsOK

type ComponentsOK struct {
	Payload []*models.Component
}

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

pod log

func NewComponentsOK

func NewComponentsOK() *ComponentsOK

NewComponentsOK creates a ComponentsOK with default headers values

func (*ComponentsOK) Code

func (o *ComponentsOK) Code() int

Code gets the status code for the components o k response

func (*ComponentsOK) Error

func (o *ComponentsOK) Error() string

func (*ComponentsOK) GetPayload

func (o *ComponentsOK) GetPayload() []*models.Component

func (*ComponentsOK) IsClientError

func (o *ComponentsOK) IsClientError() bool

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

func (*ComponentsOK) IsCode

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

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

func (*ComponentsOK) IsRedirect

func (o *ComponentsOK) IsRedirect() bool

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

func (*ComponentsOK) IsServerError

func (o *ComponentsOK) IsServerError() bool

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

func (*ComponentsOK) IsSuccess

func (o *ComponentsOK) IsSuccess() bool

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

func (*ComponentsOK) String

func (o *ComponentsOK) String() string

type ComponentsParams

type ComponentsParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* DeploymentName.

	   Name of deployment
	*/
	DeploymentName string

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

ComponentsParams contains all the parameters to send to the API endpoint

for the components operation.

Typically these are written to a http.Request.

func NewComponentsParams

func NewComponentsParams() *ComponentsParams

NewComponentsParams creates a new ComponentsParams 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 NewComponentsParamsWithContext

func NewComponentsParamsWithContext(ctx context.Context) *ComponentsParams

NewComponentsParamsWithContext creates a new ComponentsParams object with the ability to set a context for a request.

func NewComponentsParamsWithHTTPClient

func NewComponentsParamsWithHTTPClient(client *http.Client) *ComponentsParams

NewComponentsParamsWithHTTPClient creates a new ComponentsParams object with the ability to set a custom HTTPClient for a request.

func NewComponentsParamsWithTimeout

func NewComponentsParamsWithTimeout(timeout time.Duration) *ComponentsParams

NewComponentsParamsWithTimeout creates a new ComponentsParams object with the ability to set a timeout on a request.

func (*ComponentsParams) SetAppName

func (o *ComponentsParams) SetAppName(appName string)

SetAppName adds the appName to the components params

func (*ComponentsParams) SetContext

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

SetContext adds the context to the components params

func (*ComponentsParams) SetDefaults

func (o *ComponentsParams) SetDefaults()

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

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

func (*ComponentsParams) SetDeploymentName

func (o *ComponentsParams) SetDeploymentName(deploymentName string)

SetDeploymentName adds the deploymentName to the components params

func (*ComponentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the components params

func (*ComponentsParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the components params

func (*ComponentsParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the components params

func (*ComponentsParams) SetTimeout

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

SetTimeout adds the timeout to the components params

func (*ComponentsParams) WithAppName

func (o *ComponentsParams) WithAppName(appName string) *ComponentsParams

WithAppName adds the appName to the components params

func (*ComponentsParams) WithContext

func (o *ComponentsParams) WithContext(ctx context.Context) *ComponentsParams

WithContext adds the context to the components params

func (*ComponentsParams) WithDefaults

func (o *ComponentsParams) WithDefaults() *ComponentsParams

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

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

func (*ComponentsParams) WithDeploymentName

func (o *ComponentsParams) WithDeploymentName(deploymentName string) *ComponentsParams

WithDeploymentName adds the deploymentName to the components params

func (*ComponentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the components params

func (*ComponentsParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the components params

func (*ComponentsParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the components params

func (*ComponentsParams) WithTimeout

func (o *ComponentsParams) WithTimeout(timeout time.Duration) *ComponentsParams

WithTimeout adds the timeout to the components params

func (*ComponentsParams) WriteToRequest

func (o *ComponentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ComponentsReader

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

ComponentsReader is a Reader for the Components structure.

func (*ComponentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnvVarsNotFound

type EnvVarsNotFound struct {
}

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

Not found

func NewEnvVarsNotFound

func NewEnvVarsNotFound() *EnvVarsNotFound

NewEnvVarsNotFound creates a EnvVarsNotFound with default headers values

func (*EnvVarsNotFound) Code

func (o *EnvVarsNotFound) Code() int

Code gets the status code for the env vars not found response

func (*EnvVarsNotFound) Error

func (o *EnvVarsNotFound) Error() string

func (*EnvVarsNotFound) IsClientError

func (o *EnvVarsNotFound) IsClientError() bool

IsClientError returns true when this env vars not found response has a 4xx status code

func (*EnvVarsNotFound) IsCode

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

IsCode returns true when this env vars not found response a status code equal to that given

func (*EnvVarsNotFound) IsRedirect

func (o *EnvVarsNotFound) IsRedirect() bool

IsRedirect returns true when this env vars not found response has a 3xx status code

func (*EnvVarsNotFound) IsServerError

func (o *EnvVarsNotFound) IsServerError() bool

IsServerError returns true when this env vars not found response has a 5xx status code

func (*EnvVarsNotFound) IsSuccess

func (o *EnvVarsNotFound) IsSuccess() bool

IsSuccess returns true when this env vars not found response has a 2xx status code

func (*EnvVarsNotFound) String

func (o *EnvVarsNotFound) String() string

type EnvVarsOK

type EnvVarsOK struct {
	Payload []*models.EnvVar
}

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

environment variables

func NewEnvVarsOK

func NewEnvVarsOK() *EnvVarsOK

NewEnvVarsOK creates a EnvVarsOK with default headers values

func (*EnvVarsOK) Code

func (o *EnvVarsOK) Code() int

Code gets the status code for the env vars o k response

func (*EnvVarsOK) Error

func (o *EnvVarsOK) Error() string

func (*EnvVarsOK) GetPayload

func (o *EnvVarsOK) GetPayload() []*models.EnvVar

func (*EnvVarsOK) IsClientError

func (o *EnvVarsOK) IsClientError() bool

IsClientError returns true when this env vars o k response has a 4xx status code

func (*EnvVarsOK) IsCode

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

IsCode returns true when this env vars o k response a status code equal to that given

func (*EnvVarsOK) IsRedirect

func (o *EnvVarsOK) IsRedirect() bool

IsRedirect returns true when this env vars o k response has a 3xx status code

func (*EnvVarsOK) IsServerError

func (o *EnvVarsOK) IsServerError() bool

IsServerError returns true when this env vars o k response has a 5xx status code

func (*EnvVarsOK) IsSuccess

func (o *EnvVarsOK) IsSuccess() bool

IsSuccess returns true when this env vars o k response has a 2xx status code

func (*EnvVarsOK) String

func (o *EnvVarsOK) String() string

type EnvVarsParams

type EnvVarsParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* EnvName.

	   Name of environment
	*/
	EnvName string

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

EnvVarsParams contains all the parameters to send to the API endpoint

for the env vars operation.

Typically these are written to a http.Request.

func NewEnvVarsParams

func NewEnvVarsParams() *EnvVarsParams

NewEnvVarsParams creates a new EnvVarsParams 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 NewEnvVarsParamsWithContext

func NewEnvVarsParamsWithContext(ctx context.Context) *EnvVarsParams

NewEnvVarsParamsWithContext creates a new EnvVarsParams object with the ability to set a context for a request.

func NewEnvVarsParamsWithHTTPClient

func NewEnvVarsParamsWithHTTPClient(client *http.Client) *EnvVarsParams

NewEnvVarsParamsWithHTTPClient creates a new EnvVarsParams object with the ability to set a custom HTTPClient for a request.

func NewEnvVarsParamsWithTimeout

func NewEnvVarsParamsWithTimeout(timeout time.Duration) *EnvVarsParams

NewEnvVarsParamsWithTimeout creates a new EnvVarsParams object with the ability to set a timeout on a request.

func (*EnvVarsParams) SetAppName

func (o *EnvVarsParams) SetAppName(appName string)

SetAppName adds the appName to the env vars params

func (*EnvVarsParams) SetComponentName

func (o *EnvVarsParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the env vars params

func (*EnvVarsParams) SetContext

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

SetContext adds the context to the env vars params

func (*EnvVarsParams) SetDefaults

func (o *EnvVarsParams) SetDefaults()

SetDefaults hydrates default values in the env vars params (not the query body).

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

func (*EnvVarsParams) SetEnvName

func (o *EnvVarsParams) SetEnvName(envName string)

SetEnvName adds the envName to the env vars params

func (*EnvVarsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the env vars params

func (*EnvVarsParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the env vars params

func (*EnvVarsParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the env vars params

func (*EnvVarsParams) SetTimeout

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

SetTimeout adds the timeout to the env vars params

func (*EnvVarsParams) WithAppName

func (o *EnvVarsParams) WithAppName(appName string) *EnvVarsParams

WithAppName adds the appName to the env vars params

func (*EnvVarsParams) WithComponentName

func (o *EnvVarsParams) WithComponentName(componentName string) *EnvVarsParams

WithComponentName adds the componentName to the env vars params

func (*EnvVarsParams) WithContext

func (o *EnvVarsParams) WithContext(ctx context.Context) *EnvVarsParams

WithContext adds the context to the env vars params

func (*EnvVarsParams) WithDefaults

func (o *EnvVarsParams) WithDefaults() *EnvVarsParams

WithDefaults hydrates default values in the env vars params (not the query body).

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

func (*EnvVarsParams) WithEnvName

func (o *EnvVarsParams) WithEnvName(envName string) *EnvVarsParams

WithEnvName adds the envName to the env vars params

func (*EnvVarsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the env vars params

func (*EnvVarsParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the env vars params

func (*EnvVarsParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the env vars params

func (*EnvVarsParams) WithTimeout

func (o *EnvVarsParams) WithTimeout(timeout time.Duration) *EnvVarsParams

WithTimeout adds the timeout to the env vars params

func (*EnvVarsParams) WriteToRequest

func (o *EnvVarsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EnvVarsReader

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

EnvVarsReader is a Reader for the EnvVars structure.

func (*EnvVarsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOAuthPodLogForbidden

type GetOAuthPodLogForbidden struct {
}

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

Forbidden

func NewGetOAuthPodLogForbidden

func NewGetOAuthPodLogForbidden() *GetOAuthPodLogForbidden

NewGetOAuthPodLogForbidden creates a GetOAuthPodLogForbidden with default headers values

func (*GetOAuthPodLogForbidden) Code

func (o *GetOAuthPodLogForbidden) Code() int

Code gets the status code for the get o auth pod log forbidden response

func (*GetOAuthPodLogForbidden) Error

func (o *GetOAuthPodLogForbidden) Error() string

func (*GetOAuthPodLogForbidden) IsClientError

func (o *GetOAuthPodLogForbidden) IsClientError() bool

IsClientError returns true when this get o auth pod log forbidden response has a 4xx status code

func (*GetOAuthPodLogForbidden) IsCode

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

IsCode returns true when this get o auth pod log forbidden response a status code equal to that given

func (*GetOAuthPodLogForbidden) IsRedirect

func (o *GetOAuthPodLogForbidden) IsRedirect() bool

IsRedirect returns true when this get o auth pod log forbidden response has a 3xx status code

func (*GetOAuthPodLogForbidden) IsServerError

func (o *GetOAuthPodLogForbidden) IsServerError() bool

IsServerError returns true when this get o auth pod log forbidden response has a 5xx status code

func (*GetOAuthPodLogForbidden) IsSuccess

func (o *GetOAuthPodLogForbidden) IsSuccess() bool

IsSuccess returns true when this get o auth pod log forbidden response has a 2xx status code

func (*GetOAuthPodLogForbidden) String

func (o *GetOAuthPodLogForbidden) String() string

type GetOAuthPodLogInternalServerError

type GetOAuthPodLogInternalServerError struct {
}

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

Internal server error

func NewGetOAuthPodLogInternalServerError

func NewGetOAuthPodLogInternalServerError() *GetOAuthPodLogInternalServerError

NewGetOAuthPodLogInternalServerError creates a GetOAuthPodLogInternalServerError with default headers values

func (*GetOAuthPodLogInternalServerError) Code

Code gets the status code for the get o auth pod log internal server error response

func (*GetOAuthPodLogInternalServerError) Error

func (*GetOAuthPodLogInternalServerError) IsClientError

func (o *GetOAuthPodLogInternalServerError) IsClientError() bool

IsClientError returns true when this get o auth pod log internal server error response has a 4xx status code

func (*GetOAuthPodLogInternalServerError) IsCode

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

IsCode returns true when this get o auth pod log internal server error response a status code equal to that given

func (*GetOAuthPodLogInternalServerError) IsRedirect

func (o *GetOAuthPodLogInternalServerError) IsRedirect() bool

IsRedirect returns true when this get o auth pod log internal server error response has a 3xx status code

func (*GetOAuthPodLogInternalServerError) IsServerError

func (o *GetOAuthPodLogInternalServerError) IsServerError() bool

IsServerError returns true when this get o auth pod log internal server error response has a 5xx status code

func (*GetOAuthPodLogInternalServerError) IsSuccess

func (o *GetOAuthPodLogInternalServerError) IsSuccess() bool

IsSuccess returns true when this get o auth pod log internal server error response has a 2xx status code

func (*GetOAuthPodLogInternalServerError) String

type GetOAuthPodLogNotFound

type GetOAuthPodLogNotFound struct {
}

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

Not found

func NewGetOAuthPodLogNotFound

func NewGetOAuthPodLogNotFound() *GetOAuthPodLogNotFound

NewGetOAuthPodLogNotFound creates a GetOAuthPodLogNotFound with default headers values

func (*GetOAuthPodLogNotFound) Code

func (o *GetOAuthPodLogNotFound) Code() int

Code gets the status code for the get o auth pod log not found response

func (*GetOAuthPodLogNotFound) Error

func (o *GetOAuthPodLogNotFound) Error() string

func (*GetOAuthPodLogNotFound) IsClientError

func (o *GetOAuthPodLogNotFound) IsClientError() bool

IsClientError returns true when this get o auth pod log not found response has a 4xx status code

func (*GetOAuthPodLogNotFound) IsCode

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

IsCode returns true when this get o auth pod log not found response a status code equal to that given

func (*GetOAuthPodLogNotFound) IsRedirect

func (o *GetOAuthPodLogNotFound) IsRedirect() bool

IsRedirect returns true when this get o auth pod log not found response has a 3xx status code

func (*GetOAuthPodLogNotFound) IsServerError

func (o *GetOAuthPodLogNotFound) IsServerError() bool

IsServerError returns true when this get o auth pod log not found response has a 5xx status code

func (*GetOAuthPodLogNotFound) IsSuccess

func (o *GetOAuthPodLogNotFound) IsSuccess() bool

IsSuccess returns true when this get o auth pod log not found response has a 2xx status code

func (*GetOAuthPodLogNotFound) String

func (o *GetOAuthPodLogNotFound) String() string

type GetOAuthPodLogOK

type GetOAuthPodLogOK struct {
	Payload string
}

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

pod log

func NewGetOAuthPodLogOK

func NewGetOAuthPodLogOK() *GetOAuthPodLogOK

NewGetOAuthPodLogOK creates a GetOAuthPodLogOK with default headers values

func (*GetOAuthPodLogOK) Code

func (o *GetOAuthPodLogOK) Code() int

Code gets the status code for the get o auth pod log o k response

func (*GetOAuthPodLogOK) Error

func (o *GetOAuthPodLogOK) Error() string

func (*GetOAuthPodLogOK) GetPayload

func (o *GetOAuthPodLogOK) GetPayload() string

func (*GetOAuthPodLogOK) IsClientError

func (o *GetOAuthPodLogOK) IsClientError() bool

IsClientError returns true when this get o auth pod log o k response has a 4xx status code

func (*GetOAuthPodLogOK) IsCode

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

IsCode returns true when this get o auth pod log o k response a status code equal to that given

func (*GetOAuthPodLogOK) IsRedirect

func (o *GetOAuthPodLogOK) IsRedirect() bool

IsRedirect returns true when this get o auth pod log o k response has a 3xx status code

func (*GetOAuthPodLogOK) IsServerError

func (o *GetOAuthPodLogOK) IsServerError() bool

IsServerError returns true when this get o auth pod log o k response has a 5xx status code

func (*GetOAuthPodLogOK) IsSuccess

func (o *GetOAuthPodLogOK) IsSuccess() bool

IsSuccess returns true when this get o auth pod log o k response has a 2xx status code

func (*GetOAuthPodLogOK) String

func (o *GetOAuthPodLogOK) String() string

type GetOAuthPodLogParams

type GetOAuthPodLogParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* EnvName.

	   Name of environment
	*/
	EnvName string

	/* File.

	   Get log as a file if true

	   Format: boolean
	*/
	File *string

	/* Lines.

	   Get log lines (example 1000)

	   Format: number
	*/
	Lines *string

	/* PodName.

	   Name of pod
	*/
	PodName string

	/* SinceTime.

	   Get log only from sinceTime (example 2020-03-18T07:20:41+00:00)

	   Format: date-time
	*/
	SinceTime *strfmt.DateTime

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

GetOAuthPodLogParams contains all the parameters to send to the API endpoint

for the get o auth pod log operation.

Typically these are written to a http.Request.

func NewGetOAuthPodLogParams

func NewGetOAuthPodLogParams() *GetOAuthPodLogParams

NewGetOAuthPodLogParams creates a new GetOAuthPodLogParams 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 NewGetOAuthPodLogParamsWithContext

func NewGetOAuthPodLogParamsWithContext(ctx context.Context) *GetOAuthPodLogParams

NewGetOAuthPodLogParamsWithContext creates a new GetOAuthPodLogParams object with the ability to set a context for a request.

func NewGetOAuthPodLogParamsWithHTTPClient

func NewGetOAuthPodLogParamsWithHTTPClient(client *http.Client) *GetOAuthPodLogParams

NewGetOAuthPodLogParamsWithHTTPClient creates a new GetOAuthPodLogParams object with the ability to set a custom HTTPClient for a request.

func NewGetOAuthPodLogParamsWithTimeout

func NewGetOAuthPodLogParamsWithTimeout(timeout time.Duration) *GetOAuthPodLogParams

NewGetOAuthPodLogParamsWithTimeout creates a new GetOAuthPodLogParams object with the ability to set a timeout on a request.

func (*GetOAuthPodLogParams) SetAppName

func (o *GetOAuthPodLogParams) SetAppName(appName string)

SetAppName adds the appName to the get o auth pod log params

func (*GetOAuthPodLogParams) SetComponentName

func (o *GetOAuthPodLogParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the get o auth pod log params

func (*GetOAuthPodLogParams) SetContext

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

SetContext adds the context to the get o auth pod log params

func (*GetOAuthPodLogParams) SetDefaults

func (o *GetOAuthPodLogParams) SetDefaults()

SetDefaults hydrates default values in the get o auth pod log params (not the query body).

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

func (*GetOAuthPodLogParams) SetEnvName

func (o *GetOAuthPodLogParams) SetEnvName(envName string)

SetEnvName adds the envName to the get o auth pod log params

func (*GetOAuthPodLogParams) SetFile

func (o *GetOAuthPodLogParams) SetFile(file *string)

SetFile adds the file to the get o auth pod log params

func (*GetOAuthPodLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get o auth pod log params

func (*GetOAuthPodLogParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the get o auth pod log params

func (*GetOAuthPodLogParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the get o auth pod log params

func (*GetOAuthPodLogParams) SetLines

func (o *GetOAuthPodLogParams) SetLines(lines *string)

SetLines adds the lines to the get o auth pod log params

func (*GetOAuthPodLogParams) SetPodName

func (o *GetOAuthPodLogParams) SetPodName(podName string)

SetPodName adds the podName to the get o auth pod log params

func (*GetOAuthPodLogParams) SetSinceTime

func (o *GetOAuthPodLogParams) SetSinceTime(sinceTime *strfmt.DateTime)

SetSinceTime adds the sinceTime to the get o auth pod log params

func (*GetOAuthPodLogParams) SetTimeout

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

SetTimeout adds the timeout to the get o auth pod log params

func (*GetOAuthPodLogParams) WithAppName

func (o *GetOAuthPodLogParams) WithAppName(appName string) *GetOAuthPodLogParams

WithAppName adds the appName to the get o auth pod log params

func (*GetOAuthPodLogParams) WithComponentName

func (o *GetOAuthPodLogParams) WithComponentName(componentName string) *GetOAuthPodLogParams

WithComponentName adds the componentName to the get o auth pod log params

func (*GetOAuthPodLogParams) WithContext

WithContext adds the context to the get o auth pod log params

func (*GetOAuthPodLogParams) WithDefaults

func (o *GetOAuthPodLogParams) WithDefaults() *GetOAuthPodLogParams

WithDefaults hydrates default values in the get o auth pod log params (not the query body).

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

func (*GetOAuthPodLogParams) WithEnvName

func (o *GetOAuthPodLogParams) WithEnvName(envName string) *GetOAuthPodLogParams

WithEnvName adds the envName to the get o auth pod log params

func (*GetOAuthPodLogParams) WithFile

func (o *GetOAuthPodLogParams) WithFile(file *string) *GetOAuthPodLogParams

WithFile adds the file to the get o auth pod log params

func (*GetOAuthPodLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get o auth pod log params

func (*GetOAuthPodLogParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the get o auth pod log params

func (*GetOAuthPodLogParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the get o auth pod log params

func (*GetOAuthPodLogParams) WithLines

func (o *GetOAuthPodLogParams) WithLines(lines *string) *GetOAuthPodLogParams

WithLines adds the lines to the get o auth pod log params

func (*GetOAuthPodLogParams) WithPodName

func (o *GetOAuthPodLogParams) WithPodName(podName string) *GetOAuthPodLogParams

WithPodName adds the podName to the get o auth pod log params

func (*GetOAuthPodLogParams) WithSinceTime

func (o *GetOAuthPodLogParams) WithSinceTime(sinceTime *strfmt.DateTime) *GetOAuthPodLogParams

WithSinceTime adds the sinceTime to the get o auth pod log params

func (*GetOAuthPodLogParams) WithTimeout

func (o *GetOAuthPodLogParams) WithTimeout(timeout time.Duration) *GetOAuthPodLogParams

WithTimeout adds the timeout to the get o auth pod log params

func (*GetOAuthPodLogParams) WriteToRequest

func (o *GetOAuthPodLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOAuthPodLogReader

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

GetOAuthPodLogReader is a Reader for the GetOAuthPodLog structure.

func (*GetOAuthPodLogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOAuthPodLogUnauthorized

type GetOAuthPodLogUnauthorized struct {
}

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

Unauthorized

func NewGetOAuthPodLogUnauthorized

func NewGetOAuthPodLogUnauthorized() *GetOAuthPodLogUnauthorized

NewGetOAuthPodLogUnauthorized creates a GetOAuthPodLogUnauthorized with default headers values

func (*GetOAuthPodLogUnauthorized) Code

func (o *GetOAuthPodLogUnauthorized) Code() int

Code gets the status code for the get o auth pod log unauthorized response

func (*GetOAuthPodLogUnauthorized) Error

func (*GetOAuthPodLogUnauthorized) IsClientError

func (o *GetOAuthPodLogUnauthorized) IsClientError() bool

IsClientError returns true when this get o auth pod log unauthorized response has a 4xx status code

func (*GetOAuthPodLogUnauthorized) IsCode

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

IsCode returns true when this get o auth pod log unauthorized response a status code equal to that given

func (*GetOAuthPodLogUnauthorized) IsRedirect

func (o *GetOAuthPodLogUnauthorized) IsRedirect() bool

IsRedirect returns true when this get o auth pod log unauthorized response has a 3xx status code

func (*GetOAuthPodLogUnauthorized) IsServerError

func (o *GetOAuthPodLogUnauthorized) IsServerError() bool

IsServerError returns true when this get o auth pod log unauthorized response has a 5xx status code

func (*GetOAuthPodLogUnauthorized) IsSuccess

func (o *GetOAuthPodLogUnauthorized) IsSuccess() bool

IsSuccess returns true when this get o auth pod log unauthorized response has a 2xx status code

func (*GetOAuthPodLogUnauthorized) String

func (o *GetOAuthPodLogUnauthorized) String() string

type LogNotFound

type LogNotFound struct {
}

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

Not found

func NewLogNotFound

func NewLogNotFound() *LogNotFound

NewLogNotFound creates a LogNotFound with default headers values

func (*LogNotFound) Code

func (o *LogNotFound) Code() int

Code gets the status code for the log not found response

func (*LogNotFound) Error

func (o *LogNotFound) Error() string

func (*LogNotFound) IsClientError

func (o *LogNotFound) IsClientError() bool

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

func (*LogNotFound) IsCode

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

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

func (*LogNotFound) IsRedirect

func (o *LogNotFound) IsRedirect() bool

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

func (*LogNotFound) IsServerError

func (o *LogNotFound) IsServerError() bool

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

func (*LogNotFound) IsSuccess

func (o *LogNotFound) IsSuccess() bool

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

func (*LogNotFound) String

func (o *LogNotFound) String() string

type LogOK

type LogOK struct {
	Payload string
}

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

pod log

func NewLogOK

func NewLogOK() *LogOK

NewLogOK creates a LogOK with default headers values

func (*LogOK) Code

func (o *LogOK) Code() int

Code gets the status code for the log o k response

func (*LogOK) Error

func (o *LogOK) Error() string

func (*LogOK) GetPayload

func (o *LogOK) GetPayload() string

func (*LogOK) IsClientError

func (o *LogOK) IsClientError() bool

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

func (*LogOK) IsCode

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

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

func (*LogOK) IsRedirect

func (o *LogOK) IsRedirect() bool

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

func (*LogOK) IsServerError

func (o *LogOK) IsServerError() bool

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

func (*LogOK) IsSuccess

func (o *LogOK) IsSuccess() bool

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

func (*LogOK) String

func (o *LogOK) String() string

type LogParams

type LogParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* DeploymentName.

	   Name of deployment
	*/
	DeploymentName string

	/* File.

	   Get log as a file if true

	   Format: boolean
	*/
	File *string

	/* Lines.

	   Get log lines (example 1000)

	   Format: number
	*/
	Lines *string

	/* PodName.

	   Name of pod
	*/
	PodName string

	/* Previous.

	   Get previous container log if true

	   Format: boolean
	*/
	Previous *string

	/* SinceTime.

	   Get log only from sinceTime (example 2020-03-18T07:20:41+00:00)

	   Format: date-time
	*/
	SinceTime *strfmt.DateTime

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

LogParams contains all the parameters to send to the API endpoint

for the log operation.

Typically these are written to a http.Request.

func NewLogParams

func NewLogParams() *LogParams

NewLogParams creates a new LogParams 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 NewLogParamsWithContext

func NewLogParamsWithContext(ctx context.Context) *LogParams

NewLogParamsWithContext creates a new LogParams object with the ability to set a context for a request.

func NewLogParamsWithHTTPClient

func NewLogParamsWithHTTPClient(client *http.Client) *LogParams

NewLogParamsWithHTTPClient creates a new LogParams object with the ability to set a custom HTTPClient for a request.

func NewLogParamsWithTimeout

func NewLogParamsWithTimeout(timeout time.Duration) *LogParams

NewLogParamsWithTimeout creates a new LogParams object with the ability to set a timeout on a request.

func (*LogParams) SetAppName

func (o *LogParams) SetAppName(appName string)

SetAppName adds the appName to the log params

func (*LogParams) SetComponentName

func (o *LogParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the log params

func (*LogParams) SetContext

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

SetContext adds the context to the log params

func (*LogParams) SetDefaults

func (o *LogParams) SetDefaults()

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

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

func (*LogParams) SetDeploymentName

func (o *LogParams) SetDeploymentName(deploymentName string)

SetDeploymentName adds the deploymentName to the log params

func (*LogParams) SetFile

func (o *LogParams) SetFile(file *string)

SetFile adds the file to the log params

func (*LogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the log params

func (*LogParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the log params

func (*LogParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the log params

func (*LogParams) SetLines

func (o *LogParams) SetLines(lines *string)

SetLines adds the lines to the log params

func (*LogParams) SetPodName

func (o *LogParams) SetPodName(podName string)

SetPodName adds the podName to the log params

func (*LogParams) SetPrevious

func (o *LogParams) SetPrevious(previous *string)

SetPrevious adds the previous to the log params

func (*LogParams) SetSinceTime

func (o *LogParams) SetSinceTime(sinceTime *strfmt.DateTime)

SetSinceTime adds the sinceTime to the log params

func (*LogParams) SetTimeout

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

SetTimeout adds the timeout to the log params

func (*LogParams) WithAppName

func (o *LogParams) WithAppName(appName string) *LogParams

WithAppName adds the appName to the log params

func (*LogParams) WithComponentName

func (o *LogParams) WithComponentName(componentName string) *LogParams

WithComponentName adds the componentName to the log params

func (*LogParams) WithContext

func (o *LogParams) WithContext(ctx context.Context) *LogParams

WithContext adds the context to the log params

func (*LogParams) WithDefaults

func (o *LogParams) WithDefaults() *LogParams

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

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

func (*LogParams) WithDeploymentName

func (o *LogParams) WithDeploymentName(deploymentName string) *LogParams

WithDeploymentName adds the deploymentName to the log params

func (*LogParams) WithFile

func (o *LogParams) WithFile(file *string) *LogParams

WithFile adds the file to the log params

func (*LogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the log params

func (*LogParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the log params

func (*LogParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the log params

func (*LogParams) WithLines

func (o *LogParams) WithLines(lines *string) *LogParams

WithLines adds the lines to the log params

func (*LogParams) WithPodName

func (o *LogParams) WithPodName(podName string) *LogParams

WithPodName adds the podName to the log params

func (*LogParams) WithPrevious

func (o *LogParams) WithPrevious(previous *string) *LogParams

WithPrevious adds the previous to the log params

func (*LogParams) WithSinceTime

func (o *LogParams) WithSinceTime(sinceTime *strfmt.DateTime) *LogParams

WithSinceTime adds the sinceTime to the log params

func (*LogParams) WithTimeout

func (o *LogParams) WithTimeout(timeout time.Duration) *LogParams

WithTimeout adds the timeout to the log params

func (*LogParams) WriteToRequest

func (o *LogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LogReader

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

LogReader is a Reader for the Log structure.

func (*LogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplicaLogNotFound

type ReplicaLogNotFound struct {
}

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

Not found

func NewReplicaLogNotFound

func NewReplicaLogNotFound() *ReplicaLogNotFound

NewReplicaLogNotFound creates a ReplicaLogNotFound with default headers values

func (*ReplicaLogNotFound) Code

func (o *ReplicaLogNotFound) Code() int

Code gets the status code for the replica log not found response

func (*ReplicaLogNotFound) Error

func (o *ReplicaLogNotFound) Error() string

func (*ReplicaLogNotFound) IsClientError

func (o *ReplicaLogNotFound) IsClientError() bool

IsClientError returns true when this replica log not found response has a 4xx status code

func (*ReplicaLogNotFound) IsCode

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

IsCode returns true when this replica log not found response a status code equal to that given

func (*ReplicaLogNotFound) IsRedirect

func (o *ReplicaLogNotFound) IsRedirect() bool

IsRedirect returns true when this replica log not found response has a 3xx status code

func (*ReplicaLogNotFound) IsServerError

func (o *ReplicaLogNotFound) IsServerError() bool

IsServerError returns true when this replica log not found response has a 5xx status code

func (*ReplicaLogNotFound) IsSuccess

func (o *ReplicaLogNotFound) IsSuccess() bool

IsSuccess returns true when this replica log not found response has a 2xx status code

func (*ReplicaLogNotFound) String

func (o *ReplicaLogNotFound) String() string

type ReplicaLogOK

type ReplicaLogOK struct {
	Payload string
}

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

pod log

func NewReplicaLogOK

func NewReplicaLogOK() *ReplicaLogOK

NewReplicaLogOK creates a ReplicaLogOK with default headers values

func (*ReplicaLogOK) Code

func (o *ReplicaLogOK) Code() int

Code gets the status code for the replica log o k response

func (*ReplicaLogOK) Error

func (o *ReplicaLogOK) Error() string

func (*ReplicaLogOK) GetPayload

func (o *ReplicaLogOK) GetPayload() string

func (*ReplicaLogOK) IsClientError

func (o *ReplicaLogOK) IsClientError() bool

IsClientError returns true when this replica log o k response has a 4xx status code

func (*ReplicaLogOK) IsCode

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

IsCode returns true when this replica log o k response a status code equal to that given

func (*ReplicaLogOK) IsRedirect

func (o *ReplicaLogOK) IsRedirect() bool

IsRedirect returns true when this replica log o k response has a 3xx status code

func (*ReplicaLogOK) IsServerError

func (o *ReplicaLogOK) IsServerError() bool

IsServerError returns true when this replica log o k response has a 5xx status code

func (*ReplicaLogOK) IsSuccess

func (o *ReplicaLogOK) IsSuccess() bool

IsSuccess returns true when this replica log o k response has a 2xx status code

func (*ReplicaLogOK) String

func (o *ReplicaLogOK) String() string

type ReplicaLogParams

type ReplicaLogParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* EnvName.

	   Name of environment
	*/
	EnvName string

	/* File.

	   Get log as a file if true

	   Format: boolean
	*/
	File *string

	/* Lines.

	   Get log lines (example 1000)

	   Format: number
	*/
	Lines *string

	/* PodName.

	   Name of pod
	*/
	PodName string

	/* Previous.

	   Get previous container log if true

	   Format: boolean
	*/
	Previous *string

	/* SinceTime.

	   Get log only from sinceTime (example 2020-03-18T07:20:41+00:00)

	   Format: date-time
	*/
	SinceTime *strfmt.DateTime

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

ReplicaLogParams contains all the parameters to send to the API endpoint

for the replica log operation.

Typically these are written to a http.Request.

func NewReplicaLogParams

func NewReplicaLogParams() *ReplicaLogParams

NewReplicaLogParams creates a new ReplicaLogParams 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 NewReplicaLogParamsWithContext

func NewReplicaLogParamsWithContext(ctx context.Context) *ReplicaLogParams

NewReplicaLogParamsWithContext creates a new ReplicaLogParams object with the ability to set a context for a request.

func NewReplicaLogParamsWithHTTPClient

func NewReplicaLogParamsWithHTTPClient(client *http.Client) *ReplicaLogParams

NewReplicaLogParamsWithHTTPClient creates a new ReplicaLogParams object with the ability to set a custom HTTPClient for a request.

func NewReplicaLogParamsWithTimeout

func NewReplicaLogParamsWithTimeout(timeout time.Duration) *ReplicaLogParams

NewReplicaLogParamsWithTimeout creates a new ReplicaLogParams object with the ability to set a timeout on a request.

func (*ReplicaLogParams) SetAppName

func (o *ReplicaLogParams) SetAppName(appName string)

SetAppName adds the appName to the replica log params

func (*ReplicaLogParams) SetComponentName

func (o *ReplicaLogParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the replica log params

func (*ReplicaLogParams) SetContext

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

SetContext adds the context to the replica log params

func (*ReplicaLogParams) SetDefaults

func (o *ReplicaLogParams) SetDefaults()

SetDefaults hydrates default values in the replica log params (not the query body).

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

func (*ReplicaLogParams) SetEnvName

func (o *ReplicaLogParams) SetEnvName(envName string)

SetEnvName adds the envName to the replica log params

func (*ReplicaLogParams) SetFile

func (o *ReplicaLogParams) SetFile(file *string)

SetFile adds the file to the replica log params

func (*ReplicaLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replica log params

func (*ReplicaLogParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the replica log params

func (*ReplicaLogParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the replica log params

func (*ReplicaLogParams) SetLines

func (o *ReplicaLogParams) SetLines(lines *string)

SetLines adds the lines to the replica log params

func (*ReplicaLogParams) SetPodName

func (o *ReplicaLogParams) SetPodName(podName string)

SetPodName adds the podName to the replica log params

func (*ReplicaLogParams) SetPrevious

func (o *ReplicaLogParams) SetPrevious(previous *string)

SetPrevious adds the previous to the replica log params

func (*ReplicaLogParams) SetSinceTime

func (o *ReplicaLogParams) SetSinceTime(sinceTime *strfmt.DateTime)

SetSinceTime adds the sinceTime to the replica log params

func (*ReplicaLogParams) SetTimeout

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

SetTimeout adds the timeout to the replica log params

func (*ReplicaLogParams) WithAppName

func (o *ReplicaLogParams) WithAppName(appName string) *ReplicaLogParams

WithAppName adds the appName to the replica log params

func (*ReplicaLogParams) WithComponentName

func (o *ReplicaLogParams) WithComponentName(componentName string) *ReplicaLogParams

WithComponentName adds the componentName to the replica log params

func (*ReplicaLogParams) WithContext

func (o *ReplicaLogParams) WithContext(ctx context.Context) *ReplicaLogParams

WithContext adds the context to the replica log params

func (*ReplicaLogParams) WithDefaults

func (o *ReplicaLogParams) WithDefaults() *ReplicaLogParams

WithDefaults hydrates default values in the replica log params (not the query body).

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

func (*ReplicaLogParams) WithEnvName

func (o *ReplicaLogParams) WithEnvName(envName string) *ReplicaLogParams

WithEnvName adds the envName to the replica log params

func (*ReplicaLogParams) WithFile

func (o *ReplicaLogParams) WithFile(file *string) *ReplicaLogParams

WithFile adds the file to the replica log params

func (*ReplicaLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the replica log params

func (*ReplicaLogParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the replica log params

func (*ReplicaLogParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the replica log params

func (*ReplicaLogParams) WithLines

func (o *ReplicaLogParams) WithLines(lines *string) *ReplicaLogParams

WithLines adds the lines to the replica log params

func (*ReplicaLogParams) WithPodName

func (o *ReplicaLogParams) WithPodName(podName string) *ReplicaLogParams

WithPodName adds the podName to the replica log params

func (*ReplicaLogParams) WithPrevious

func (o *ReplicaLogParams) WithPrevious(previous *string) *ReplicaLogParams

WithPrevious adds the previous to the replica log params

func (*ReplicaLogParams) WithSinceTime

func (o *ReplicaLogParams) WithSinceTime(sinceTime *strfmt.DateTime) *ReplicaLogParams

WithSinceTime adds the sinceTime to the replica log params

func (*ReplicaLogParams) WithTimeout

func (o *ReplicaLogParams) WithTimeout(timeout time.Duration) *ReplicaLogParams

WithTimeout adds the timeout to the replica log params

func (*ReplicaLogParams) WriteToRequest

func (o *ReplicaLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReplicaLogReader

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

ReplicaLogReader is a Reader for the ReplicaLog structure.

func (*ReplicaLogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestartComponentNotFound

type RestartComponentNotFound struct {
}

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

Not found

func NewRestartComponentNotFound

func NewRestartComponentNotFound() *RestartComponentNotFound

NewRestartComponentNotFound creates a RestartComponentNotFound with default headers values

func (*RestartComponentNotFound) Code

func (o *RestartComponentNotFound) Code() int

Code gets the status code for the restart component not found response

func (*RestartComponentNotFound) Error

func (o *RestartComponentNotFound) Error() string

func (*RestartComponentNotFound) IsClientError

func (o *RestartComponentNotFound) IsClientError() bool

IsClientError returns true when this restart component not found response has a 4xx status code

func (*RestartComponentNotFound) IsCode

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

IsCode returns true when this restart component not found response a status code equal to that given

func (*RestartComponentNotFound) IsRedirect

func (o *RestartComponentNotFound) IsRedirect() bool

IsRedirect returns true when this restart component not found response has a 3xx status code

func (*RestartComponentNotFound) IsServerError

func (o *RestartComponentNotFound) IsServerError() bool

IsServerError returns true when this restart component not found response has a 5xx status code

func (*RestartComponentNotFound) IsSuccess

func (o *RestartComponentNotFound) IsSuccess() bool

IsSuccess returns true when this restart component not found response has a 2xx status code

func (*RestartComponentNotFound) String

func (o *RestartComponentNotFound) String() string

type RestartComponentOK

type RestartComponentOK struct {
}

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

Component started ok

func NewRestartComponentOK

func NewRestartComponentOK() *RestartComponentOK

NewRestartComponentOK creates a RestartComponentOK with default headers values

func (*RestartComponentOK) Code

func (o *RestartComponentOK) Code() int

Code gets the status code for the restart component o k response

func (*RestartComponentOK) Error

func (o *RestartComponentOK) Error() string

func (*RestartComponentOK) IsClientError

func (o *RestartComponentOK) IsClientError() bool

IsClientError returns true when this restart component o k response has a 4xx status code

func (*RestartComponentOK) IsCode

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

IsCode returns true when this restart component o k response a status code equal to that given

func (*RestartComponentOK) IsRedirect

func (o *RestartComponentOK) IsRedirect() bool

IsRedirect returns true when this restart component o k response has a 3xx status code

func (*RestartComponentOK) IsServerError

func (o *RestartComponentOK) IsServerError() bool

IsServerError returns true when this restart component o k response has a 5xx status code

func (*RestartComponentOK) IsSuccess

func (o *RestartComponentOK) IsSuccess() bool

IsSuccess returns true when this restart component o k response has a 2xx status code

func (*RestartComponentOK) String

func (o *RestartComponentOK) String() string

type RestartComponentParams

type RestartComponentParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* EnvName.

	   Name of environment
	*/
	EnvName string

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

RestartComponentParams contains all the parameters to send to the API endpoint

for the restart component operation.

Typically these are written to a http.Request.

func NewRestartComponentParams

func NewRestartComponentParams() *RestartComponentParams

NewRestartComponentParams creates a new RestartComponentParams 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 NewRestartComponentParamsWithContext

func NewRestartComponentParamsWithContext(ctx context.Context) *RestartComponentParams

NewRestartComponentParamsWithContext creates a new RestartComponentParams object with the ability to set a context for a request.

func NewRestartComponentParamsWithHTTPClient

func NewRestartComponentParamsWithHTTPClient(client *http.Client) *RestartComponentParams

NewRestartComponentParamsWithHTTPClient creates a new RestartComponentParams object with the ability to set a custom HTTPClient for a request.

func NewRestartComponentParamsWithTimeout

func NewRestartComponentParamsWithTimeout(timeout time.Duration) *RestartComponentParams

NewRestartComponentParamsWithTimeout creates a new RestartComponentParams object with the ability to set a timeout on a request.

func (*RestartComponentParams) SetAppName

func (o *RestartComponentParams) SetAppName(appName string)

SetAppName adds the appName to the restart component params

func (*RestartComponentParams) SetComponentName

func (o *RestartComponentParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the restart component params

func (*RestartComponentParams) SetContext

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

SetContext adds the context to the restart component params

func (*RestartComponentParams) SetDefaults

func (o *RestartComponentParams) SetDefaults()

SetDefaults hydrates default values in the restart component params (not the query body).

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

func (*RestartComponentParams) SetEnvName

func (o *RestartComponentParams) SetEnvName(envName string)

SetEnvName adds the envName to the restart component params

func (*RestartComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restart component params

func (*RestartComponentParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the restart component params

func (*RestartComponentParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the restart component params

func (*RestartComponentParams) SetTimeout

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

SetTimeout adds the timeout to the restart component params

func (*RestartComponentParams) WithAppName

func (o *RestartComponentParams) WithAppName(appName string) *RestartComponentParams

WithAppName adds the appName to the restart component params

func (*RestartComponentParams) WithComponentName

func (o *RestartComponentParams) WithComponentName(componentName string) *RestartComponentParams

WithComponentName adds the componentName to the restart component params

func (*RestartComponentParams) WithContext

WithContext adds the context to the restart component params

func (*RestartComponentParams) WithDefaults

WithDefaults hydrates default values in the restart component params (not the query body).

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

func (*RestartComponentParams) WithEnvName

func (o *RestartComponentParams) WithEnvName(envName string) *RestartComponentParams

WithEnvName adds the envName to the restart component params

func (*RestartComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restart component params

func (*RestartComponentParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the restart component params

func (*RestartComponentParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the restart component params

func (*RestartComponentParams) WithTimeout

WithTimeout adds the timeout to the restart component params

func (*RestartComponentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestartComponentReader

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

RestartComponentReader is a Reader for the RestartComponent structure.

func (*RestartComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestartComponentUnauthorized

type RestartComponentUnauthorized struct {
}

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

Unauthorized

func NewRestartComponentUnauthorized

func NewRestartComponentUnauthorized() *RestartComponentUnauthorized

NewRestartComponentUnauthorized creates a RestartComponentUnauthorized with default headers values

func (*RestartComponentUnauthorized) Code

Code gets the status code for the restart component unauthorized response

func (*RestartComponentUnauthorized) Error

func (*RestartComponentUnauthorized) IsClientError

func (o *RestartComponentUnauthorized) IsClientError() bool

IsClientError returns true when this restart component unauthorized response has a 4xx status code

func (*RestartComponentUnauthorized) IsCode

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

IsCode returns true when this restart component unauthorized response a status code equal to that given

func (*RestartComponentUnauthorized) IsRedirect

func (o *RestartComponentUnauthorized) IsRedirect() bool

IsRedirect returns true when this restart component unauthorized response has a 3xx status code

func (*RestartComponentUnauthorized) IsServerError

func (o *RestartComponentUnauthorized) IsServerError() bool

IsServerError returns true when this restart component unauthorized response has a 5xx status code

func (*RestartComponentUnauthorized) IsSuccess

func (o *RestartComponentUnauthorized) IsSuccess() bool

IsSuccess returns true when this restart component unauthorized response has a 2xx status code

func (*RestartComponentUnauthorized) String

type RestartOAuthAuxiliaryResourceConflict

type RestartOAuthAuxiliaryResourceConflict struct {
}

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

Conflict

func NewRestartOAuthAuxiliaryResourceConflict

func NewRestartOAuthAuxiliaryResourceConflict() *RestartOAuthAuxiliaryResourceConflict

NewRestartOAuthAuxiliaryResourceConflict creates a RestartOAuthAuxiliaryResourceConflict with default headers values

func (*RestartOAuthAuxiliaryResourceConflict) Code

Code gets the status code for the restart o auth auxiliary resource conflict response

func (*RestartOAuthAuxiliaryResourceConflict) Error

func (*RestartOAuthAuxiliaryResourceConflict) IsClientError

func (o *RestartOAuthAuxiliaryResourceConflict) IsClientError() bool

IsClientError returns true when this restart o auth auxiliary resource conflict response has a 4xx status code

func (*RestartOAuthAuxiliaryResourceConflict) IsCode

IsCode returns true when this restart o auth auxiliary resource conflict response a status code equal to that given

func (*RestartOAuthAuxiliaryResourceConflict) IsRedirect

IsRedirect returns true when this restart o auth auxiliary resource conflict response has a 3xx status code

func (*RestartOAuthAuxiliaryResourceConflict) IsServerError

func (o *RestartOAuthAuxiliaryResourceConflict) IsServerError() bool

IsServerError returns true when this restart o auth auxiliary resource conflict response has a 5xx status code

func (*RestartOAuthAuxiliaryResourceConflict) IsSuccess

IsSuccess returns true when this restart o auth auxiliary resource conflict response has a 2xx status code

func (*RestartOAuthAuxiliaryResourceConflict) String

type RestartOAuthAuxiliaryResourceForbidden

type RestartOAuthAuxiliaryResourceForbidden struct {
}

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

Forbidden

func NewRestartOAuthAuxiliaryResourceForbidden

func NewRestartOAuthAuxiliaryResourceForbidden() *RestartOAuthAuxiliaryResourceForbidden

NewRestartOAuthAuxiliaryResourceForbidden creates a RestartOAuthAuxiliaryResourceForbidden with default headers values

func (*RestartOAuthAuxiliaryResourceForbidden) Code

Code gets the status code for the restart o auth auxiliary resource forbidden response

func (*RestartOAuthAuxiliaryResourceForbidden) Error

func (*RestartOAuthAuxiliaryResourceForbidden) IsClientError

func (o *RestartOAuthAuxiliaryResourceForbidden) IsClientError() bool

IsClientError returns true when this restart o auth auxiliary resource forbidden response has a 4xx status code

func (*RestartOAuthAuxiliaryResourceForbidden) IsCode

IsCode returns true when this restart o auth auxiliary resource forbidden response a status code equal to that given

func (*RestartOAuthAuxiliaryResourceForbidden) IsRedirect

IsRedirect returns true when this restart o auth auxiliary resource forbidden response has a 3xx status code

func (*RestartOAuthAuxiliaryResourceForbidden) IsServerError

func (o *RestartOAuthAuxiliaryResourceForbidden) IsServerError() bool

IsServerError returns true when this restart o auth auxiliary resource forbidden response has a 5xx status code

func (*RestartOAuthAuxiliaryResourceForbidden) IsSuccess

IsSuccess returns true when this restart o auth auxiliary resource forbidden response has a 2xx status code

func (*RestartOAuthAuxiliaryResourceForbidden) String

type RestartOAuthAuxiliaryResourceInternalServerError

type RestartOAuthAuxiliaryResourceInternalServerError struct {
}

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

Internal server error

func NewRestartOAuthAuxiliaryResourceInternalServerError

func NewRestartOAuthAuxiliaryResourceInternalServerError() *RestartOAuthAuxiliaryResourceInternalServerError

NewRestartOAuthAuxiliaryResourceInternalServerError creates a RestartOAuthAuxiliaryResourceInternalServerError with default headers values

func (*RestartOAuthAuxiliaryResourceInternalServerError) Code

Code gets the status code for the restart o auth auxiliary resource internal server error response

func (*RestartOAuthAuxiliaryResourceInternalServerError) Error

func (*RestartOAuthAuxiliaryResourceInternalServerError) IsClientError

IsClientError returns true when this restart o auth auxiliary resource internal server error response has a 4xx status code

func (*RestartOAuthAuxiliaryResourceInternalServerError) IsCode

IsCode returns true when this restart o auth auxiliary resource internal server error response a status code equal to that given

func (*RestartOAuthAuxiliaryResourceInternalServerError) IsRedirect

IsRedirect returns true when this restart o auth auxiliary resource internal server error response has a 3xx status code

func (*RestartOAuthAuxiliaryResourceInternalServerError) IsServerError

IsServerError returns true when this restart o auth auxiliary resource internal server error response has a 5xx status code

func (*RestartOAuthAuxiliaryResourceInternalServerError) IsSuccess

IsSuccess returns true when this restart o auth auxiliary resource internal server error response has a 2xx status code

func (*RestartOAuthAuxiliaryResourceInternalServerError) String

type RestartOAuthAuxiliaryResourceNotFound

type RestartOAuthAuxiliaryResourceNotFound struct {
}

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

Not found

func NewRestartOAuthAuxiliaryResourceNotFound

func NewRestartOAuthAuxiliaryResourceNotFound() *RestartOAuthAuxiliaryResourceNotFound

NewRestartOAuthAuxiliaryResourceNotFound creates a RestartOAuthAuxiliaryResourceNotFound with default headers values

func (*RestartOAuthAuxiliaryResourceNotFound) Code

Code gets the status code for the restart o auth auxiliary resource not found response

func (*RestartOAuthAuxiliaryResourceNotFound) Error

func (*RestartOAuthAuxiliaryResourceNotFound) IsClientError

func (o *RestartOAuthAuxiliaryResourceNotFound) IsClientError() bool

IsClientError returns true when this restart o auth auxiliary resource not found response has a 4xx status code

func (*RestartOAuthAuxiliaryResourceNotFound) IsCode

IsCode returns true when this restart o auth auxiliary resource not found response a status code equal to that given

func (*RestartOAuthAuxiliaryResourceNotFound) IsRedirect

IsRedirect returns true when this restart o auth auxiliary resource not found response has a 3xx status code

func (*RestartOAuthAuxiliaryResourceNotFound) IsServerError

func (o *RestartOAuthAuxiliaryResourceNotFound) IsServerError() bool

IsServerError returns true when this restart o auth auxiliary resource not found response has a 5xx status code

func (*RestartOAuthAuxiliaryResourceNotFound) IsSuccess

IsSuccess returns true when this restart o auth auxiliary resource not found response has a 2xx status code

func (*RestartOAuthAuxiliaryResourceNotFound) String

type RestartOAuthAuxiliaryResourceOK

type RestartOAuthAuxiliaryResourceOK struct {
}

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

Auxiliary resource restarted ok

func NewRestartOAuthAuxiliaryResourceOK

func NewRestartOAuthAuxiliaryResourceOK() *RestartOAuthAuxiliaryResourceOK

NewRestartOAuthAuxiliaryResourceOK creates a RestartOAuthAuxiliaryResourceOK with default headers values

func (*RestartOAuthAuxiliaryResourceOK) Code

Code gets the status code for the restart o auth auxiliary resource o k response

func (*RestartOAuthAuxiliaryResourceOK) Error

func (*RestartOAuthAuxiliaryResourceOK) IsClientError

func (o *RestartOAuthAuxiliaryResourceOK) IsClientError() bool

IsClientError returns true when this restart o auth auxiliary resource o k response has a 4xx status code

func (*RestartOAuthAuxiliaryResourceOK) IsCode

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

IsCode returns true when this restart o auth auxiliary resource o k response a status code equal to that given

func (*RestartOAuthAuxiliaryResourceOK) IsRedirect

func (o *RestartOAuthAuxiliaryResourceOK) IsRedirect() bool

IsRedirect returns true when this restart o auth auxiliary resource o k response has a 3xx status code

func (*RestartOAuthAuxiliaryResourceOK) IsServerError

func (o *RestartOAuthAuxiliaryResourceOK) IsServerError() bool

IsServerError returns true when this restart o auth auxiliary resource o k response has a 5xx status code

func (*RestartOAuthAuxiliaryResourceOK) IsSuccess

func (o *RestartOAuthAuxiliaryResourceOK) IsSuccess() bool

IsSuccess returns true when this restart o auth auxiliary resource o k response has a 2xx status code

func (*RestartOAuthAuxiliaryResourceOK) String

type RestartOAuthAuxiliaryResourceParams

type RestartOAuthAuxiliaryResourceParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* EnvName.

	   Name of environment
	*/
	EnvName string

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

RestartOAuthAuxiliaryResourceParams contains all the parameters to send to the API endpoint

for the restart o auth auxiliary resource operation.

Typically these are written to a http.Request.

func NewRestartOAuthAuxiliaryResourceParams

func NewRestartOAuthAuxiliaryResourceParams() *RestartOAuthAuxiliaryResourceParams

NewRestartOAuthAuxiliaryResourceParams creates a new RestartOAuthAuxiliaryResourceParams 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 NewRestartOAuthAuxiliaryResourceParamsWithContext

func NewRestartOAuthAuxiliaryResourceParamsWithContext(ctx context.Context) *RestartOAuthAuxiliaryResourceParams

NewRestartOAuthAuxiliaryResourceParamsWithContext creates a new RestartOAuthAuxiliaryResourceParams object with the ability to set a context for a request.

func NewRestartOAuthAuxiliaryResourceParamsWithHTTPClient

func NewRestartOAuthAuxiliaryResourceParamsWithHTTPClient(client *http.Client) *RestartOAuthAuxiliaryResourceParams

NewRestartOAuthAuxiliaryResourceParamsWithHTTPClient creates a new RestartOAuthAuxiliaryResourceParams object with the ability to set a custom HTTPClient for a request.

func NewRestartOAuthAuxiliaryResourceParamsWithTimeout

func NewRestartOAuthAuxiliaryResourceParamsWithTimeout(timeout time.Duration) *RestartOAuthAuxiliaryResourceParams

NewRestartOAuthAuxiliaryResourceParamsWithTimeout creates a new RestartOAuthAuxiliaryResourceParams object with the ability to set a timeout on a request.

func (*RestartOAuthAuxiliaryResourceParams) SetAppName

func (o *RestartOAuthAuxiliaryResourceParams) SetAppName(appName string)

SetAppName adds the appName to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) SetComponentName

func (o *RestartOAuthAuxiliaryResourceParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) SetContext

SetContext adds the context to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) SetDefaults

func (o *RestartOAuthAuxiliaryResourceParams) SetDefaults()

SetDefaults hydrates default values in the restart o auth auxiliary resource params (not the query body).

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

func (*RestartOAuthAuxiliaryResourceParams) SetEnvName

func (o *RestartOAuthAuxiliaryResourceParams) SetEnvName(envName string)

SetEnvName adds the envName to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) SetTimeout

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

SetTimeout adds the timeout to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WithAppName

WithAppName adds the appName to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WithComponentName

WithComponentName adds the componentName to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WithContext

WithContext adds the context to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WithDefaults

WithDefaults hydrates default values in the restart o auth auxiliary resource params (not the query body).

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

func (*RestartOAuthAuxiliaryResourceParams) WithEnvName

WithEnvName adds the envName to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WithTimeout

WithTimeout adds the timeout to the restart o auth auxiliary resource params

func (*RestartOAuthAuxiliaryResourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestartOAuthAuxiliaryResourceReader

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

RestartOAuthAuxiliaryResourceReader is a Reader for the RestartOAuthAuxiliaryResource structure.

func (*RestartOAuthAuxiliaryResourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestartOAuthAuxiliaryResourceUnauthorized

type RestartOAuthAuxiliaryResourceUnauthorized struct {
}

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

Unauthorized

func NewRestartOAuthAuxiliaryResourceUnauthorized

func NewRestartOAuthAuxiliaryResourceUnauthorized() *RestartOAuthAuxiliaryResourceUnauthorized

NewRestartOAuthAuxiliaryResourceUnauthorized creates a RestartOAuthAuxiliaryResourceUnauthorized with default headers values

func (*RestartOAuthAuxiliaryResourceUnauthorized) Code

Code gets the status code for the restart o auth auxiliary resource unauthorized response

func (*RestartOAuthAuxiliaryResourceUnauthorized) Error

func (*RestartOAuthAuxiliaryResourceUnauthorized) IsClientError

IsClientError returns true when this restart o auth auxiliary resource unauthorized response has a 4xx status code

func (*RestartOAuthAuxiliaryResourceUnauthorized) IsCode

IsCode returns true when this restart o auth auxiliary resource unauthorized response a status code equal to that given

func (*RestartOAuthAuxiliaryResourceUnauthorized) IsRedirect

IsRedirect returns true when this restart o auth auxiliary resource unauthorized response has a 3xx status code

func (*RestartOAuthAuxiliaryResourceUnauthorized) IsServerError

IsServerError returns true when this restart o auth auxiliary resource unauthorized response has a 5xx status code

func (*RestartOAuthAuxiliaryResourceUnauthorized) IsSuccess

IsSuccess returns true when this restart o auth auxiliary resource unauthorized response has a 2xx status code

func (*RestartOAuthAuxiliaryResourceUnauthorized) String

type ScaleComponentBadRequest

type ScaleComponentBadRequest struct {
}

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

Invalid component

func NewScaleComponentBadRequest

func NewScaleComponentBadRequest() *ScaleComponentBadRequest

NewScaleComponentBadRequest creates a ScaleComponentBadRequest with default headers values

func (*ScaleComponentBadRequest) Code

func (o *ScaleComponentBadRequest) Code() int

Code gets the status code for the scale component bad request response

func (*ScaleComponentBadRequest) Error

func (o *ScaleComponentBadRequest) Error() string

func (*ScaleComponentBadRequest) IsClientError

func (o *ScaleComponentBadRequest) IsClientError() bool

IsClientError returns true when this scale component bad request response has a 4xx status code

func (*ScaleComponentBadRequest) IsCode

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

IsCode returns true when this scale component bad request response a status code equal to that given

func (*ScaleComponentBadRequest) IsRedirect

func (o *ScaleComponentBadRequest) IsRedirect() bool

IsRedirect returns true when this scale component bad request response has a 3xx status code

func (*ScaleComponentBadRequest) IsServerError

func (o *ScaleComponentBadRequest) IsServerError() bool

IsServerError returns true when this scale component bad request response has a 5xx status code

func (*ScaleComponentBadRequest) IsSuccess

func (o *ScaleComponentBadRequest) IsSuccess() bool

IsSuccess returns true when this scale component bad request response has a 2xx status code

func (*ScaleComponentBadRequest) String

func (o *ScaleComponentBadRequest) String() string

type ScaleComponentForbidden

type ScaleComponentForbidden struct {
}

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

Forbidden

func NewScaleComponentForbidden

func NewScaleComponentForbidden() *ScaleComponentForbidden

NewScaleComponentForbidden creates a ScaleComponentForbidden with default headers values

func (*ScaleComponentForbidden) Code

func (o *ScaleComponentForbidden) Code() int

Code gets the status code for the scale component forbidden response

func (*ScaleComponentForbidden) Error

func (o *ScaleComponentForbidden) Error() string

func (*ScaleComponentForbidden) IsClientError

func (o *ScaleComponentForbidden) IsClientError() bool

IsClientError returns true when this scale component forbidden response has a 4xx status code

func (*ScaleComponentForbidden) IsCode

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

IsCode returns true when this scale component forbidden response a status code equal to that given

func (*ScaleComponentForbidden) IsRedirect

func (o *ScaleComponentForbidden) IsRedirect() bool

IsRedirect returns true when this scale component forbidden response has a 3xx status code

func (*ScaleComponentForbidden) IsServerError

func (o *ScaleComponentForbidden) IsServerError() bool

IsServerError returns true when this scale component forbidden response has a 5xx status code

func (*ScaleComponentForbidden) IsSuccess

func (o *ScaleComponentForbidden) IsSuccess() bool

IsSuccess returns true when this scale component forbidden response has a 2xx status code

func (*ScaleComponentForbidden) String

func (o *ScaleComponentForbidden) String() string

type ScaleComponentNoContent

type ScaleComponentNoContent struct {
}

ScaleComponentNoContent describes a response with status code 204, with default header values.

Success

func NewScaleComponentNoContent

func NewScaleComponentNoContent() *ScaleComponentNoContent

NewScaleComponentNoContent creates a ScaleComponentNoContent with default headers values

func (*ScaleComponentNoContent) Code

func (o *ScaleComponentNoContent) Code() int

Code gets the status code for the scale component no content response

func (*ScaleComponentNoContent) Error

func (o *ScaleComponentNoContent) Error() string

func (*ScaleComponentNoContent) IsClientError

func (o *ScaleComponentNoContent) IsClientError() bool

IsClientError returns true when this scale component no content response has a 4xx status code

func (*ScaleComponentNoContent) IsCode

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

IsCode returns true when this scale component no content response a status code equal to that given

func (*ScaleComponentNoContent) IsRedirect

func (o *ScaleComponentNoContent) IsRedirect() bool

IsRedirect returns true when this scale component no content response has a 3xx status code

func (*ScaleComponentNoContent) IsServerError

func (o *ScaleComponentNoContent) IsServerError() bool

IsServerError returns true when this scale component no content response has a 5xx status code

func (*ScaleComponentNoContent) IsSuccess

func (o *ScaleComponentNoContent) IsSuccess() bool

IsSuccess returns true when this scale component no content response has a 2xx status code

func (*ScaleComponentNoContent) String

func (o *ScaleComponentNoContent) String() string

type ScaleComponentNotFound

type ScaleComponentNotFound struct {
}

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

Not found

func NewScaleComponentNotFound

func NewScaleComponentNotFound() *ScaleComponentNotFound

NewScaleComponentNotFound creates a ScaleComponentNotFound with default headers values

func (*ScaleComponentNotFound) Code

func (o *ScaleComponentNotFound) Code() int

Code gets the status code for the scale component not found response

func (*ScaleComponentNotFound) Error

func (o *ScaleComponentNotFound) Error() string

func (*ScaleComponentNotFound) IsClientError

func (o *ScaleComponentNotFound) IsClientError() bool

IsClientError returns true when this scale component not found response has a 4xx status code

func (*ScaleComponentNotFound) IsCode

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

IsCode returns true when this scale component not found response a status code equal to that given

func (*ScaleComponentNotFound) IsRedirect

func (o *ScaleComponentNotFound) IsRedirect() bool

IsRedirect returns true when this scale component not found response has a 3xx status code

func (*ScaleComponentNotFound) IsServerError

func (o *ScaleComponentNotFound) IsServerError() bool

IsServerError returns true when this scale component not found response has a 5xx status code

func (*ScaleComponentNotFound) IsSuccess

func (o *ScaleComponentNotFound) IsSuccess() bool

IsSuccess returns true when this scale component not found response has a 2xx status code

func (*ScaleComponentNotFound) String

func (o *ScaleComponentNotFound) String() string

type ScaleComponentParams

type ScaleComponentParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* EnvName.

	   Name of environment
	*/
	EnvName string

	/* Replicas.

	   New desired number of replicas
	*/
	Replicas string

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

ScaleComponentParams contains all the parameters to send to the API endpoint

for the scale component operation.

Typically these are written to a http.Request.

func NewScaleComponentParams

func NewScaleComponentParams() *ScaleComponentParams

NewScaleComponentParams creates a new ScaleComponentParams 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 NewScaleComponentParamsWithContext

func NewScaleComponentParamsWithContext(ctx context.Context) *ScaleComponentParams

NewScaleComponentParamsWithContext creates a new ScaleComponentParams object with the ability to set a context for a request.

func NewScaleComponentParamsWithHTTPClient

func NewScaleComponentParamsWithHTTPClient(client *http.Client) *ScaleComponentParams

NewScaleComponentParamsWithHTTPClient creates a new ScaleComponentParams object with the ability to set a custom HTTPClient for a request.

func NewScaleComponentParamsWithTimeout

func NewScaleComponentParamsWithTimeout(timeout time.Duration) *ScaleComponentParams

NewScaleComponentParamsWithTimeout creates a new ScaleComponentParams object with the ability to set a timeout on a request.

func (*ScaleComponentParams) SetAppName

func (o *ScaleComponentParams) SetAppName(appName string)

SetAppName adds the appName to the scale component params

func (*ScaleComponentParams) SetComponentName

func (o *ScaleComponentParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the scale component params

func (*ScaleComponentParams) SetContext

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

SetContext adds the context to the scale component params

func (*ScaleComponentParams) SetDefaults

func (o *ScaleComponentParams) SetDefaults()

SetDefaults hydrates default values in the scale component params (not the query body).

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

func (*ScaleComponentParams) SetEnvName

func (o *ScaleComponentParams) SetEnvName(envName string)

SetEnvName adds the envName to the scale component params

func (*ScaleComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scale component params

func (*ScaleComponentParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the scale component params

func (*ScaleComponentParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the scale component params

func (*ScaleComponentParams) SetReplicas

func (o *ScaleComponentParams) SetReplicas(replicas string)

SetReplicas adds the replicas to the scale component params

func (*ScaleComponentParams) SetTimeout

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

SetTimeout adds the timeout to the scale component params

func (*ScaleComponentParams) WithAppName

func (o *ScaleComponentParams) WithAppName(appName string) *ScaleComponentParams

WithAppName adds the appName to the scale component params

func (*ScaleComponentParams) WithComponentName

func (o *ScaleComponentParams) WithComponentName(componentName string) *ScaleComponentParams

WithComponentName adds the componentName to the scale component params

func (*ScaleComponentParams) WithContext

WithContext adds the context to the scale component params

func (*ScaleComponentParams) WithDefaults

func (o *ScaleComponentParams) WithDefaults() *ScaleComponentParams

WithDefaults hydrates default values in the scale component params (not the query body).

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

func (*ScaleComponentParams) WithEnvName

func (o *ScaleComponentParams) WithEnvName(envName string) *ScaleComponentParams

WithEnvName adds the envName to the scale component params

func (*ScaleComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the scale component params

func (*ScaleComponentParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the scale component params

func (*ScaleComponentParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the scale component params

func (*ScaleComponentParams) WithReplicas

func (o *ScaleComponentParams) WithReplicas(replicas string) *ScaleComponentParams

WithReplicas adds the replicas to the scale component params

func (*ScaleComponentParams) WithTimeout

func (o *ScaleComponentParams) WithTimeout(timeout time.Duration) *ScaleComponentParams

WithTimeout adds the timeout to the scale component params

func (*ScaleComponentParams) WriteToRequest

func (o *ScaleComponentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ScaleComponentReader

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

ScaleComponentReader is a Reader for the ScaleComponent structure.

func (*ScaleComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScaleComponentUnauthorized

type ScaleComponentUnauthorized struct {
}

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

Unauthorized

func NewScaleComponentUnauthorized

func NewScaleComponentUnauthorized() *ScaleComponentUnauthorized

NewScaleComponentUnauthorized creates a ScaleComponentUnauthorized with default headers values

func (*ScaleComponentUnauthorized) Code

func (o *ScaleComponentUnauthorized) Code() int

Code gets the status code for the scale component unauthorized response

func (*ScaleComponentUnauthorized) Error

func (*ScaleComponentUnauthorized) IsClientError

func (o *ScaleComponentUnauthorized) IsClientError() bool

IsClientError returns true when this scale component unauthorized response has a 4xx status code

func (*ScaleComponentUnauthorized) IsCode

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

IsCode returns true when this scale component unauthorized response a status code equal to that given

func (*ScaleComponentUnauthorized) IsRedirect

func (o *ScaleComponentUnauthorized) IsRedirect() bool

IsRedirect returns true when this scale component unauthorized response has a 3xx status code

func (*ScaleComponentUnauthorized) IsServerError

func (o *ScaleComponentUnauthorized) IsServerError() bool

IsServerError returns true when this scale component unauthorized response has a 5xx status code

func (*ScaleComponentUnauthorized) IsSuccess

func (o *ScaleComponentUnauthorized) IsSuccess() bool

IsSuccess returns true when this scale component unauthorized response has a 2xx status code

func (*ScaleComponentUnauthorized) String

func (o *ScaleComponentUnauthorized) String() string

type StartComponentNotFound

type StartComponentNotFound struct {
}

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

Not found

func NewStartComponentNotFound

func NewStartComponentNotFound() *StartComponentNotFound

NewStartComponentNotFound creates a StartComponentNotFound with default headers values

func (*StartComponentNotFound) Code

func (o *StartComponentNotFound) Code() int

Code gets the status code for the start component not found response

func (*StartComponentNotFound) Error

func (o *StartComponentNotFound) Error() string

func (*StartComponentNotFound) IsClientError

func (o *StartComponentNotFound) IsClientError() bool

IsClientError returns true when this start component not found response has a 4xx status code

func (*StartComponentNotFound) IsCode

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

IsCode returns true when this start component not found response a status code equal to that given

func (*StartComponentNotFound) IsRedirect

func (o *StartComponentNotFound) IsRedirect() bool

IsRedirect returns true when this start component not found response has a 3xx status code

func (*StartComponentNotFound) IsServerError

func (o *StartComponentNotFound) IsServerError() bool

IsServerError returns true when this start component not found response has a 5xx status code

func (*StartComponentNotFound) IsSuccess

func (o *StartComponentNotFound) IsSuccess() bool

IsSuccess returns true when this start component not found response has a 2xx status code

func (*StartComponentNotFound) String

func (o *StartComponentNotFound) String() string

type StartComponentOK

type StartComponentOK struct {
}

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

Component started ok

func NewStartComponentOK

func NewStartComponentOK() *StartComponentOK

NewStartComponentOK creates a StartComponentOK with default headers values

func (*StartComponentOK) Code

func (o *StartComponentOK) Code() int

Code gets the status code for the start component o k response

func (*StartComponentOK) Error

func (o *StartComponentOK) Error() string

func (*StartComponentOK) IsClientError

func (o *StartComponentOK) IsClientError() bool

IsClientError returns true when this start component o k response has a 4xx status code

func (*StartComponentOK) IsCode

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

IsCode returns true when this start component o k response a status code equal to that given

func (*StartComponentOK) IsRedirect

func (o *StartComponentOK) IsRedirect() bool

IsRedirect returns true when this start component o k response has a 3xx status code

func (*StartComponentOK) IsServerError

func (o *StartComponentOK) IsServerError() bool

IsServerError returns true when this start component o k response has a 5xx status code

func (*StartComponentOK) IsSuccess

func (o *StartComponentOK) IsSuccess() bool

IsSuccess returns true when this start component o k response has a 2xx status code

func (*StartComponentOK) String

func (o *StartComponentOK) String() string

type StartComponentParams

type StartComponentParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* EnvName.

	   Name of environment
	*/
	EnvName string

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

StartComponentParams contains all the parameters to send to the API endpoint

for the start component operation.

Typically these are written to a http.Request.

func NewStartComponentParams

func NewStartComponentParams() *StartComponentParams

NewStartComponentParams creates a new StartComponentParams 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 NewStartComponentParamsWithContext

func NewStartComponentParamsWithContext(ctx context.Context) *StartComponentParams

NewStartComponentParamsWithContext creates a new StartComponentParams object with the ability to set a context for a request.

func NewStartComponentParamsWithHTTPClient

func NewStartComponentParamsWithHTTPClient(client *http.Client) *StartComponentParams

NewStartComponentParamsWithHTTPClient creates a new StartComponentParams object with the ability to set a custom HTTPClient for a request.

func NewStartComponentParamsWithTimeout

func NewStartComponentParamsWithTimeout(timeout time.Duration) *StartComponentParams

NewStartComponentParamsWithTimeout creates a new StartComponentParams object with the ability to set a timeout on a request.

func (*StartComponentParams) SetAppName

func (o *StartComponentParams) SetAppName(appName string)

SetAppName adds the appName to the start component params

func (*StartComponentParams) SetComponentName

func (o *StartComponentParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the start component params

func (*StartComponentParams) SetContext

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

SetContext adds the context to the start component params

func (*StartComponentParams) SetDefaults

func (o *StartComponentParams) SetDefaults()

SetDefaults hydrates default values in the start component params (not the query body).

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

func (*StartComponentParams) SetEnvName

func (o *StartComponentParams) SetEnvName(envName string)

SetEnvName adds the envName to the start component params

func (*StartComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start component params

func (*StartComponentParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the start component params

func (*StartComponentParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the start component params

func (*StartComponentParams) SetTimeout

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

SetTimeout adds the timeout to the start component params

func (*StartComponentParams) WithAppName

func (o *StartComponentParams) WithAppName(appName string) *StartComponentParams

WithAppName adds the appName to the start component params

func (*StartComponentParams) WithComponentName

func (o *StartComponentParams) WithComponentName(componentName string) *StartComponentParams

WithComponentName adds the componentName to the start component params

func (*StartComponentParams) WithContext

WithContext adds the context to the start component params

func (*StartComponentParams) WithDefaults

func (o *StartComponentParams) WithDefaults() *StartComponentParams

WithDefaults hydrates default values in the start component params (not the query body).

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

func (*StartComponentParams) WithEnvName

func (o *StartComponentParams) WithEnvName(envName string) *StartComponentParams

WithEnvName adds the envName to the start component params

func (*StartComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the start component params

func (*StartComponentParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the start component params

func (*StartComponentParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the start component params

func (*StartComponentParams) WithTimeout

func (o *StartComponentParams) WithTimeout(timeout time.Duration) *StartComponentParams

WithTimeout adds the timeout to the start component params

func (*StartComponentParams) WriteToRequest

func (o *StartComponentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StartComponentReader

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

StartComponentReader is a Reader for the StartComponent structure.

func (*StartComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartComponentUnauthorized

type StartComponentUnauthorized struct {
}

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

Unauthorized

func NewStartComponentUnauthorized

func NewStartComponentUnauthorized() *StartComponentUnauthorized

NewStartComponentUnauthorized creates a StartComponentUnauthorized with default headers values

func (*StartComponentUnauthorized) Code

func (o *StartComponentUnauthorized) Code() int

Code gets the status code for the start component unauthorized response

func (*StartComponentUnauthorized) Error

func (*StartComponentUnauthorized) IsClientError

func (o *StartComponentUnauthorized) IsClientError() bool

IsClientError returns true when this start component unauthorized response has a 4xx status code

func (*StartComponentUnauthorized) IsCode

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

IsCode returns true when this start component unauthorized response a status code equal to that given

func (*StartComponentUnauthorized) IsRedirect

func (o *StartComponentUnauthorized) IsRedirect() bool

IsRedirect returns true when this start component unauthorized response has a 3xx status code

func (*StartComponentUnauthorized) IsServerError

func (o *StartComponentUnauthorized) IsServerError() bool

IsServerError returns true when this start component unauthorized response has a 5xx status code

func (*StartComponentUnauthorized) IsSuccess

func (o *StartComponentUnauthorized) IsSuccess() bool

IsSuccess returns true when this start component unauthorized response has a 2xx status code

func (*StartComponentUnauthorized) String

func (o *StartComponentUnauthorized) String() string

type StopComponentNotFound

type StopComponentNotFound struct {
}

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

Not found

func NewStopComponentNotFound

func NewStopComponentNotFound() *StopComponentNotFound

NewStopComponentNotFound creates a StopComponentNotFound with default headers values

func (*StopComponentNotFound) Code

func (o *StopComponentNotFound) Code() int

Code gets the status code for the stop component not found response

func (*StopComponentNotFound) Error

func (o *StopComponentNotFound) Error() string

func (*StopComponentNotFound) IsClientError

func (o *StopComponentNotFound) IsClientError() bool

IsClientError returns true when this stop component not found response has a 4xx status code

func (*StopComponentNotFound) IsCode

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

IsCode returns true when this stop component not found response a status code equal to that given

func (*StopComponentNotFound) IsRedirect

func (o *StopComponentNotFound) IsRedirect() bool

IsRedirect returns true when this stop component not found response has a 3xx status code

func (*StopComponentNotFound) IsServerError

func (o *StopComponentNotFound) IsServerError() bool

IsServerError returns true when this stop component not found response has a 5xx status code

func (*StopComponentNotFound) IsSuccess

func (o *StopComponentNotFound) IsSuccess() bool

IsSuccess returns true when this stop component not found response has a 2xx status code

func (*StopComponentNotFound) String

func (o *StopComponentNotFound) String() string

type StopComponentOK

type StopComponentOK struct {
}

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

Component stopped ok

func NewStopComponentOK

func NewStopComponentOK() *StopComponentOK

NewStopComponentOK creates a StopComponentOK with default headers values

func (*StopComponentOK) Code

func (o *StopComponentOK) Code() int

Code gets the status code for the stop component o k response

func (*StopComponentOK) Error

func (o *StopComponentOK) Error() string

func (*StopComponentOK) IsClientError

func (o *StopComponentOK) IsClientError() bool

IsClientError returns true when this stop component o k response has a 4xx status code

func (*StopComponentOK) IsCode

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

IsCode returns true when this stop component o k response a status code equal to that given

func (*StopComponentOK) IsRedirect

func (o *StopComponentOK) IsRedirect() bool

IsRedirect returns true when this stop component o k response has a 3xx status code

func (*StopComponentOK) IsServerError

func (o *StopComponentOK) IsServerError() bool

IsServerError returns true when this stop component o k response has a 5xx status code

func (*StopComponentOK) IsSuccess

func (o *StopComponentOK) IsSuccess() bool

IsSuccess returns true when this stop component o k response has a 2xx status code

func (*StopComponentOK) String

func (o *StopComponentOK) String() string

type StopComponentParams

type StopComponentParams 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

	/* AppName.

	   Name of application
	*/
	AppName string

	/* ComponentName.

	   Name of component
	*/
	ComponentName string

	/* EnvName.

	   Name of environment
	*/
	EnvName string

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

StopComponentParams contains all the parameters to send to the API endpoint

for the stop component operation.

Typically these are written to a http.Request.

func NewStopComponentParams

func NewStopComponentParams() *StopComponentParams

NewStopComponentParams creates a new StopComponentParams 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 NewStopComponentParamsWithContext

func NewStopComponentParamsWithContext(ctx context.Context) *StopComponentParams

NewStopComponentParamsWithContext creates a new StopComponentParams object with the ability to set a context for a request.

func NewStopComponentParamsWithHTTPClient

func NewStopComponentParamsWithHTTPClient(client *http.Client) *StopComponentParams

NewStopComponentParamsWithHTTPClient creates a new StopComponentParams object with the ability to set a custom HTTPClient for a request.

func NewStopComponentParamsWithTimeout

func NewStopComponentParamsWithTimeout(timeout time.Duration) *StopComponentParams

NewStopComponentParamsWithTimeout creates a new StopComponentParams object with the ability to set a timeout on a request.

func (*StopComponentParams) SetAppName

func (o *StopComponentParams) SetAppName(appName string)

SetAppName adds the appName to the stop component params

func (*StopComponentParams) SetComponentName

func (o *StopComponentParams) SetComponentName(componentName string)

SetComponentName adds the componentName to the stop component params

func (*StopComponentParams) SetContext

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

SetContext adds the context to the stop component params

func (*StopComponentParams) SetDefaults

func (o *StopComponentParams) SetDefaults()

SetDefaults hydrates default values in the stop component params (not the query body).

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

func (*StopComponentParams) SetEnvName

func (o *StopComponentParams) SetEnvName(envName string)

SetEnvName adds the envName to the stop component params

func (*StopComponentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop component params

func (*StopComponentParams) SetImpersonateGroup

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

SetImpersonateGroup adds the impersonateGroup to the stop component params

func (*StopComponentParams) SetImpersonateUser

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

SetImpersonateUser adds the impersonateUser to the stop component params

func (*StopComponentParams) SetTimeout

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

SetTimeout adds the timeout to the stop component params

func (*StopComponentParams) WithAppName

func (o *StopComponentParams) WithAppName(appName string) *StopComponentParams

WithAppName adds the appName to the stop component params

func (*StopComponentParams) WithComponentName

func (o *StopComponentParams) WithComponentName(componentName string) *StopComponentParams

WithComponentName adds the componentName to the stop component params

func (*StopComponentParams) WithContext

WithContext adds the context to the stop component params

func (*StopComponentParams) WithDefaults

func (o *StopComponentParams) WithDefaults() *StopComponentParams

WithDefaults hydrates default values in the stop component params (not the query body).

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

func (*StopComponentParams) WithEnvName

func (o *StopComponentParams) WithEnvName(envName string) *StopComponentParams

WithEnvName adds the envName to the stop component params

func (*StopComponentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop component params

func (*StopComponentParams) WithImpersonateGroup

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

WithImpersonateGroup adds the impersonateGroup to the stop component params

func (*StopComponentParams) WithImpersonateUser

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

WithImpersonateUser adds the impersonateUser to the stop component params

func (*StopComponentParams) WithTimeout

func (o *StopComponentParams) WithTimeout(timeout time.Duration) *StopComponentParams

WithTimeout adds the timeout to the stop component params

func (*StopComponentParams) WriteToRequest

func (o *StopComponentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StopComponentReader

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

StopComponentReader is a Reader for the StopComponent structure.

func (*StopComponentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopComponentUnauthorized

type StopComponentUnauthorized struct {
}

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

Unauthorized

func NewStopComponentUnauthorized

func NewStopComponentUnauthorized() *StopComponentUnauthorized

NewStopComponentUnauthorized creates a StopComponentUnauthorized with default headers values

func (*StopComponentUnauthorized) Code

func (o *StopComponentUnauthorized) Code() int

Code gets the status code for the stop component unauthorized response

func (*StopComponentUnauthorized) Error

func (o *StopComponentUnauthorized) Error() string

func (*StopComponentUnauthorized) IsClientError

func (o *StopComponentUnauthorized) IsClientError() bool

IsClientError returns true when this stop component unauthorized response has a 4xx status code

func (*StopComponentUnauthorized) IsCode

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

IsCode returns true when this stop component unauthorized response a status code equal to that given

func (*StopComponentUnauthorized) IsRedirect

func (o *StopComponentUnauthorized) IsRedirect() bool

IsRedirect returns true when this stop component unauthorized response has a 3xx status code

func (*StopComponentUnauthorized) IsServerError

func (o *StopComponentUnauthorized) IsServerError() bool

IsServerError returns true when this stop component unauthorized response has a 5xx status code

func (*StopComponentUnauthorized) IsSuccess

func (o *StopComponentUnauthorized) IsSuccess() bool

IsSuccess returns true when this stop component unauthorized response has a 2xx status code

func (*StopComponentUnauthorized) String

func (o *StopComponentUnauthorized) String() string

Jump to

Keyboard shortcuts

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