Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAgent(params *CreateAgentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAgentOK, *CreateAgentNoContent, error)
- func (a *Client) CreateAgentStatus(params *CreateAgentStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAgentStatusOK, *CreateAgentStatusNoContent, error)
- func (a *Client) DeleteAgent(params *DeleteAgentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAgentOK, *DeleteAgentNoContent, error)
- func (a *Client) GetAgent(params *GetAgentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAgentOK, *GetAgentNoContent, error)
- func (a *Client) GetAgentConfig(params *GetAgentConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAgentConfigOK, *GetAgentConfigNoContent, error)
- func (a *Client) GetAgentState(params *GetAgentStateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAgentStateOK, *GetAgentStateNoContent, error)
- func (a *Client) GetAgentToken(params *GetAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAgentTokenOK, *GetAgentTokenNoContent, error)
- func (a *Client) ListAgentNames(params *ListAgentNamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAgentNamesOK, *ListAgentNamesNoContent, error)
- func (a *Client) ListAgents(params *ListAgentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAgentsOK, *ListAgentsNoContent, error)
- func (a *Client) PatchAgent(params *PatchAgentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAgentOK, *PatchAgentNoContent, error)
- func (a *Client) PatchAgentToken(params *PatchAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAgentTokenOK, *PatchAgentTokenNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SyncAgent(params *SyncAgentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SyncAgentOK, *SyncAgentNoContent, error)
- func (a *Client) UpdateAgent(params *UpdateAgentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAgentOK, *UpdateAgentNoContent, error)
- func (a *Client) UpdateAgentConfig(params *UpdateAgentConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAgentConfigOK, *UpdateAgentConfigNoContent, error)
- func (a *Client) UpdateAgentToken(params *UpdateAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAgentTokenOK, *UpdateAgentTokenNoContent, error)
- type ClientOption
- type ClientService
- type CreateAgentDefault
- func (o *CreateAgentDefault) Code() int
- func (o *CreateAgentDefault) Error() string
- func (o *CreateAgentDefault) GetPayload() *service_model.RuntimeError
- func (o *CreateAgentDefault) IsClientError() bool
- func (o *CreateAgentDefault) IsCode(code int) bool
- func (o *CreateAgentDefault) IsRedirect() bool
- func (o *CreateAgentDefault) IsServerError() bool
- func (o *CreateAgentDefault) IsSuccess() bool
- func (o *CreateAgentDefault) String() string
- type CreateAgentForbidden
- func (o *CreateAgentForbidden) Code() int
- func (o *CreateAgentForbidden) Error() string
- func (o *CreateAgentForbidden) GetPayload() interface{}
- func (o *CreateAgentForbidden) IsClientError() bool
- func (o *CreateAgentForbidden) IsCode(code int) bool
- func (o *CreateAgentForbidden) IsRedirect() bool
- func (o *CreateAgentForbidden) IsServerError() bool
- func (o *CreateAgentForbidden) IsSuccess() bool
- func (o *CreateAgentForbidden) String() string
- type CreateAgentNoContent
- func (o *CreateAgentNoContent) Code() int
- func (o *CreateAgentNoContent) Error() string
- func (o *CreateAgentNoContent) GetPayload() interface{}
- func (o *CreateAgentNoContent) IsClientError() bool
- func (o *CreateAgentNoContent) IsCode(code int) bool
- func (o *CreateAgentNoContent) IsRedirect() bool
- func (o *CreateAgentNoContent) IsServerError() bool
- func (o *CreateAgentNoContent) IsSuccess() bool
- func (o *CreateAgentNoContent) String() string
- type CreateAgentNotFound
- func (o *CreateAgentNotFound) Code() int
- func (o *CreateAgentNotFound) Error() string
- func (o *CreateAgentNotFound) GetPayload() interface{}
- func (o *CreateAgentNotFound) IsClientError() bool
- func (o *CreateAgentNotFound) IsCode(code int) bool
- func (o *CreateAgentNotFound) IsRedirect() bool
- func (o *CreateAgentNotFound) IsServerError() bool
- func (o *CreateAgentNotFound) IsSuccess() bool
- func (o *CreateAgentNotFound) String() string
- type CreateAgentOK
- func (o *CreateAgentOK) Code() int
- func (o *CreateAgentOK) Error() string
- func (o *CreateAgentOK) GetPayload() *service_model.V1Agent
- func (o *CreateAgentOK) IsClientError() bool
- func (o *CreateAgentOK) IsCode(code int) bool
- func (o *CreateAgentOK) IsRedirect() bool
- func (o *CreateAgentOK) IsServerError() bool
- func (o *CreateAgentOK) IsSuccess() bool
- func (o *CreateAgentOK) String() string
- type CreateAgentParams
- func (o *CreateAgentParams) SetBody(body *service_model.V1Agent)
- func (o *CreateAgentParams) SetContext(ctx context.Context)
- func (o *CreateAgentParams) SetDefaults()
- func (o *CreateAgentParams) SetHTTPClient(client *http.Client)
- func (o *CreateAgentParams) SetOwner(owner string)
- func (o *CreateAgentParams) SetTimeout(timeout time.Duration)
- func (o *CreateAgentParams) WithBody(body *service_model.V1Agent) *CreateAgentParams
- func (o *CreateAgentParams) WithContext(ctx context.Context) *CreateAgentParams
- func (o *CreateAgentParams) WithDefaults() *CreateAgentParams
- func (o *CreateAgentParams) WithHTTPClient(client *http.Client) *CreateAgentParams
- func (o *CreateAgentParams) WithOwner(owner string) *CreateAgentParams
- func (o *CreateAgentParams) WithTimeout(timeout time.Duration) *CreateAgentParams
- func (o *CreateAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAgentReader
- type CreateAgentStatusDefault
- func (o *CreateAgentStatusDefault) Code() int
- func (o *CreateAgentStatusDefault) Error() string
- func (o *CreateAgentStatusDefault) GetPayload() *service_model.RuntimeError
- func (o *CreateAgentStatusDefault) IsClientError() bool
- func (o *CreateAgentStatusDefault) IsCode(code int) bool
- func (o *CreateAgentStatusDefault) IsRedirect() bool
- func (o *CreateAgentStatusDefault) IsServerError() bool
- func (o *CreateAgentStatusDefault) IsSuccess() bool
- func (o *CreateAgentStatusDefault) String() string
- type CreateAgentStatusForbidden
- func (o *CreateAgentStatusForbidden) Code() int
- func (o *CreateAgentStatusForbidden) Error() string
- func (o *CreateAgentStatusForbidden) GetPayload() interface{}
- func (o *CreateAgentStatusForbidden) IsClientError() bool
- func (o *CreateAgentStatusForbidden) IsCode(code int) bool
- func (o *CreateAgentStatusForbidden) IsRedirect() bool
- func (o *CreateAgentStatusForbidden) IsServerError() bool
- func (o *CreateAgentStatusForbidden) IsSuccess() bool
- func (o *CreateAgentStatusForbidden) String() string
- type CreateAgentStatusNoContent
- func (o *CreateAgentStatusNoContent) Code() int
- func (o *CreateAgentStatusNoContent) Error() string
- func (o *CreateAgentStatusNoContent) GetPayload() interface{}
- func (o *CreateAgentStatusNoContent) IsClientError() bool
- func (o *CreateAgentStatusNoContent) IsCode(code int) bool
- func (o *CreateAgentStatusNoContent) IsRedirect() bool
- func (o *CreateAgentStatusNoContent) IsServerError() bool
- func (o *CreateAgentStatusNoContent) IsSuccess() bool
- func (o *CreateAgentStatusNoContent) String() string
- type CreateAgentStatusNotFound
- func (o *CreateAgentStatusNotFound) Code() int
- func (o *CreateAgentStatusNotFound) Error() string
- func (o *CreateAgentStatusNotFound) GetPayload() interface{}
- func (o *CreateAgentStatusNotFound) IsClientError() bool
- func (o *CreateAgentStatusNotFound) IsCode(code int) bool
- func (o *CreateAgentStatusNotFound) IsRedirect() bool
- func (o *CreateAgentStatusNotFound) IsServerError() bool
- func (o *CreateAgentStatusNotFound) IsSuccess() bool
- func (o *CreateAgentStatusNotFound) String() string
- type CreateAgentStatusOK
- func (o *CreateAgentStatusOK) Code() int
- func (o *CreateAgentStatusOK) Error() string
- func (o *CreateAgentStatusOK) GetPayload() *service_model.V1Status
- func (o *CreateAgentStatusOK) IsClientError() bool
- func (o *CreateAgentStatusOK) IsCode(code int) bool
- func (o *CreateAgentStatusOK) IsRedirect() bool
- func (o *CreateAgentStatusOK) IsServerError() bool
- func (o *CreateAgentStatusOK) IsSuccess() bool
- func (o *CreateAgentStatusOK) String() string
- type CreateAgentStatusParams
- func NewCreateAgentStatusParams() *CreateAgentStatusParams
- func NewCreateAgentStatusParamsWithContext(ctx context.Context) *CreateAgentStatusParams
- func NewCreateAgentStatusParamsWithHTTPClient(client *http.Client) *CreateAgentStatusParams
- func NewCreateAgentStatusParamsWithTimeout(timeout time.Duration) *CreateAgentStatusParams
- func (o *CreateAgentStatusParams) SetBody(body *service_model.V1AgentStatusBodyRequest)
- func (o *CreateAgentStatusParams) SetContext(ctx context.Context)
- func (o *CreateAgentStatusParams) SetDefaults()
- func (o *CreateAgentStatusParams) SetHTTPClient(client *http.Client)
- func (o *CreateAgentStatusParams) SetOwner(owner string)
- func (o *CreateAgentStatusParams) SetTimeout(timeout time.Duration)
- func (o *CreateAgentStatusParams) SetUUID(uuid string)
- func (o *CreateAgentStatusParams) WithBody(body *service_model.V1AgentStatusBodyRequest) *CreateAgentStatusParams
- func (o *CreateAgentStatusParams) WithContext(ctx context.Context) *CreateAgentStatusParams
- func (o *CreateAgentStatusParams) WithDefaults() *CreateAgentStatusParams
- func (o *CreateAgentStatusParams) WithHTTPClient(client *http.Client) *CreateAgentStatusParams
- func (o *CreateAgentStatusParams) WithOwner(owner string) *CreateAgentStatusParams
- func (o *CreateAgentStatusParams) WithTimeout(timeout time.Duration) *CreateAgentStatusParams
- func (o *CreateAgentStatusParams) WithUUID(uuid string) *CreateAgentStatusParams
- func (o *CreateAgentStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAgentStatusReader
- type DeleteAgentDefault
- func (o *DeleteAgentDefault) Code() int
- func (o *DeleteAgentDefault) Error() string
- func (o *DeleteAgentDefault) GetPayload() *service_model.RuntimeError
- func (o *DeleteAgentDefault) IsClientError() bool
- func (o *DeleteAgentDefault) IsCode(code int) bool
- func (o *DeleteAgentDefault) IsRedirect() bool
- func (o *DeleteAgentDefault) IsServerError() bool
- func (o *DeleteAgentDefault) IsSuccess() bool
- func (o *DeleteAgentDefault) String() string
- type DeleteAgentForbidden
- func (o *DeleteAgentForbidden) Code() int
- func (o *DeleteAgentForbidden) Error() string
- func (o *DeleteAgentForbidden) GetPayload() interface{}
- func (o *DeleteAgentForbidden) IsClientError() bool
- func (o *DeleteAgentForbidden) IsCode(code int) bool
- func (o *DeleteAgentForbidden) IsRedirect() bool
- func (o *DeleteAgentForbidden) IsServerError() bool
- func (o *DeleteAgentForbidden) IsSuccess() bool
- func (o *DeleteAgentForbidden) String() string
- type DeleteAgentNoContent
- func (o *DeleteAgentNoContent) Code() int
- func (o *DeleteAgentNoContent) Error() string
- func (o *DeleteAgentNoContent) GetPayload() interface{}
- func (o *DeleteAgentNoContent) IsClientError() bool
- func (o *DeleteAgentNoContent) IsCode(code int) bool
- func (o *DeleteAgentNoContent) IsRedirect() bool
- func (o *DeleteAgentNoContent) IsServerError() bool
- func (o *DeleteAgentNoContent) IsSuccess() bool
- func (o *DeleteAgentNoContent) String() string
- type DeleteAgentNotFound
- func (o *DeleteAgentNotFound) Code() int
- func (o *DeleteAgentNotFound) Error() string
- func (o *DeleteAgentNotFound) GetPayload() interface{}
- func (o *DeleteAgentNotFound) IsClientError() bool
- func (o *DeleteAgentNotFound) IsCode(code int) bool
- func (o *DeleteAgentNotFound) IsRedirect() bool
- func (o *DeleteAgentNotFound) IsServerError() bool
- func (o *DeleteAgentNotFound) IsSuccess() bool
- func (o *DeleteAgentNotFound) String() string
- type DeleteAgentOK
- func (o *DeleteAgentOK) Code() int
- func (o *DeleteAgentOK) Error() string
- func (o *DeleteAgentOK) IsClientError() bool
- func (o *DeleteAgentOK) IsCode(code int) bool
- func (o *DeleteAgentOK) IsRedirect() bool
- func (o *DeleteAgentOK) IsServerError() bool
- func (o *DeleteAgentOK) IsSuccess() bool
- func (o *DeleteAgentOK) String() string
- type DeleteAgentParams
- func (o *DeleteAgentParams) SetContext(ctx context.Context)
- func (o *DeleteAgentParams) SetDefaults()
- func (o *DeleteAgentParams) SetEntity(entity *string)
- func (o *DeleteAgentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAgentParams) SetOwner(owner string)
- func (o *DeleteAgentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAgentParams) SetUUID(uuid string)
- func (o *DeleteAgentParams) WithContext(ctx context.Context) *DeleteAgentParams
- func (o *DeleteAgentParams) WithDefaults() *DeleteAgentParams
- func (o *DeleteAgentParams) WithEntity(entity *string) *DeleteAgentParams
- func (o *DeleteAgentParams) WithHTTPClient(client *http.Client) *DeleteAgentParams
- func (o *DeleteAgentParams) WithOwner(owner string) *DeleteAgentParams
- func (o *DeleteAgentParams) WithTimeout(timeout time.Duration) *DeleteAgentParams
- func (o *DeleteAgentParams) WithUUID(uuid string) *DeleteAgentParams
- func (o *DeleteAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAgentReader
- type GetAgentConfigDefault
- func (o *GetAgentConfigDefault) Code() int
- func (o *GetAgentConfigDefault) Error() string
- func (o *GetAgentConfigDefault) GetPayload() *service_model.RuntimeError
- func (o *GetAgentConfigDefault) IsClientError() bool
- func (o *GetAgentConfigDefault) IsCode(code int) bool
- func (o *GetAgentConfigDefault) IsRedirect() bool
- func (o *GetAgentConfigDefault) IsServerError() bool
- func (o *GetAgentConfigDefault) IsSuccess() bool
- func (o *GetAgentConfigDefault) String() string
- type GetAgentConfigForbidden
- func (o *GetAgentConfigForbidden) Code() int
- func (o *GetAgentConfigForbidden) Error() string
- func (o *GetAgentConfigForbidden) GetPayload() interface{}
- func (o *GetAgentConfigForbidden) IsClientError() bool
- func (o *GetAgentConfigForbidden) IsCode(code int) bool
- func (o *GetAgentConfigForbidden) IsRedirect() bool
- func (o *GetAgentConfigForbidden) IsServerError() bool
- func (o *GetAgentConfigForbidden) IsSuccess() bool
- func (o *GetAgentConfigForbidden) String() string
- type GetAgentConfigNoContent
- func (o *GetAgentConfigNoContent) Code() int
- func (o *GetAgentConfigNoContent) Error() string
- func (o *GetAgentConfigNoContent) GetPayload() interface{}
- func (o *GetAgentConfigNoContent) IsClientError() bool
- func (o *GetAgentConfigNoContent) IsCode(code int) bool
- func (o *GetAgentConfigNoContent) IsRedirect() bool
- func (o *GetAgentConfigNoContent) IsServerError() bool
- func (o *GetAgentConfigNoContent) IsSuccess() bool
- func (o *GetAgentConfigNoContent) String() string
- type GetAgentConfigNotFound
- func (o *GetAgentConfigNotFound) Code() int
- func (o *GetAgentConfigNotFound) Error() string
- func (o *GetAgentConfigNotFound) GetPayload() interface{}
- func (o *GetAgentConfigNotFound) IsClientError() bool
- func (o *GetAgentConfigNotFound) IsCode(code int) bool
- func (o *GetAgentConfigNotFound) IsRedirect() bool
- func (o *GetAgentConfigNotFound) IsServerError() bool
- func (o *GetAgentConfigNotFound) IsSuccess() bool
- func (o *GetAgentConfigNotFound) String() string
- type GetAgentConfigOK
- func (o *GetAgentConfigOK) Code() int
- func (o *GetAgentConfigOK) Error() string
- func (o *GetAgentConfigOK) GetPayload() *service_model.V1Agent
- func (o *GetAgentConfigOK) IsClientError() bool
- func (o *GetAgentConfigOK) IsCode(code int) bool
- func (o *GetAgentConfigOK) IsRedirect() bool
- func (o *GetAgentConfigOK) IsServerError() bool
- func (o *GetAgentConfigOK) IsSuccess() bool
- func (o *GetAgentConfigOK) String() string
- type GetAgentConfigParams
- func NewGetAgentConfigParams() *GetAgentConfigParams
- func NewGetAgentConfigParamsWithContext(ctx context.Context) *GetAgentConfigParams
- func NewGetAgentConfigParamsWithHTTPClient(client *http.Client) *GetAgentConfigParams
- func NewGetAgentConfigParamsWithTimeout(timeout time.Duration) *GetAgentConfigParams
- func (o *GetAgentConfigParams) SetContext(ctx context.Context)
- func (o *GetAgentConfigParams) SetDefaults()
- func (o *GetAgentConfigParams) SetEntity(entity *string)
- func (o *GetAgentConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentConfigParams) SetOwner(owner string)
- func (o *GetAgentConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentConfigParams) SetUUID(uuid string)
- func (o *GetAgentConfigParams) WithContext(ctx context.Context) *GetAgentConfigParams
- func (o *GetAgentConfigParams) WithDefaults() *GetAgentConfigParams
- func (o *GetAgentConfigParams) WithEntity(entity *string) *GetAgentConfigParams
- func (o *GetAgentConfigParams) WithHTTPClient(client *http.Client) *GetAgentConfigParams
- func (o *GetAgentConfigParams) WithOwner(owner string) *GetAgentConfigParams
- func (o *GetAgentConfigParams) WithTimeout(timeout time.Duration) *GetAgentConfigParams
- func (o *GetAgentConfigParams) WithUUID(uuid string) *GetAgentConfigParams
- func (o *GetAgentConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentConfigReader
- type GetAgentDefault
- func (o *GetAgentDefault) Code() int
- func (o *GetAgentDefault) Error() string
- func (o *GetAgentDefault) GetPayload() *service_model.RuntimeError
- func (o *GetAgentDefault) IsClientError() bool
- func (o *GetAgentDefault) IsCode(code int) bool
- func (o *GetAgentDefault) IsRedirect() bool
- func (o *GetAgentDefault) IsServerError() bool
- func (o *GetAgentDefault) IsSuccess() bool
- func (o *GetAgentDefault) String() string
- type GetAgentForbidden
- func (o *GetAgentForbidden) Code() int
- func (o *GetAgentForbidden) Error() string
- func (o *GetAgentForbidden) GetPayload() interface{}
- func (o *GetAgentForbidden) IsClientError() bool
- func (o *GetAgentForbidden) IsCode(code int) bool
- func (o *GetAgentForbidden) IsRedirect() bool
- func (o *GetAgentForbidden) IsServerError() bool
- func (o *GetAgentForbidden) IsSuccess() bool
- func (o *GetAgentForbidden) String() string
- type GetAgentNoContent
- func (o *GetAgentNoContent) Code() int
- func (o *GetAgentNoContent) Error() string
- func (o *GetAgentNoContent) GetPayload() interface{}
- func (o *GetAgentNoContent) IsClientError() bool
- func (o *GetAgentNoContent) IsCode(code int) bool
- func (o *GetAgentNoContent) IsRedirect() bool
- func (o *GetAgentNoContent) IsServerError() bool
- func (o *GetAgentNoContent) IsSuccess() bool
- func (o *GetAgentNoContent) String() string
- type GetAgentNotFound
- func (o *GetAgentNotFound) Code() int
- func (o *GetAgentNotFound) Error() string
- func (o *GetAgentNotFound) GetPayload() interface{}
- func (o *GetAgentNotFound) IsClientError() bool
- func (o *GetAgentNotFound) IsCode(code int) bool
- func (o *GetAgentNotFound) IsRedirect() bool
- func (o *GetAgentNotFound) IsServerError() bool
- func (o *GetAgentNotFound) IsSuccess() bool
- func (o *GetAgentNotFound) String() string
- type GetAgentOK
- func (o *GetAgentOK) Code() int
- func (o *GetAgentOK) Error() string
- func (o *GetAgentOK) GetPayload() *service_model.V1Agent
- func (o *GetAgentOK) IsClientError() bool
- func (o *GetAgentOK) IsCode(code int) bool
- func (o *GetAgentOK) IsRedirect() bool
- func (o *GetAgentOK) IsServerError() bool
- func (o *GetAgentOK) IsSuccess() bool
- func (o *GetAgentOK) String() string
- type GetAgentParams
- func (o *GetAgentParams) SetContext(ctx context.Context)
- func (o *GetAgentParams) SetDefaults()
- func (o *GetAgentParams) SetEntity(entity *string)
- func (o *GetAgentParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentParams) SetOwner(owner string)
- func (o *GetAgentParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentParams) SetUUID(uuid string)
- func (o *GetAgentParams) WithContext(ctx context.Context) *GetAgentParams
- func (o *GetAgentParams) WithDefaults() *GetAgentParams
- func (o *GetAgentParams) WithEntity(entity *string) *GetAgentParams
- func (o *GetAgentParams) WithHTTPClient(client *http.Client) *GetAgentParams
- func (o *GetAgentParams) WithOwner(owner string) *GetAgentParams
- func (o *GetAgentParams) WithTimeout(timeout time.Duration) *GetAgentParams
- func (o *GetAgentParams) WithUUID(uuid string) *GetAgentParams
- func (o *GetAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentReader
- type GetAgentStateDefault
- func (o *GetAgentStateDefault) Code() int
- func (o *GetAgentStateDefault) Error() string
- func (o *GetAgentStateDefault) GetPayload() *service_model.RuntimeError
- func (o *GetAgentStateDefault) IsClientError() bool
- func (o *GetAgentStateDefault) IsCode(code int) bool
- func (o *GetAgentStateDefault) IsRedirect() bool
- func (o *GetAgentStateDefault) IsServerError() bool
- func (o *GetAgentStateDefault) IsSuccess() bool
- func (o *GetAgentStateDefault) String() string
- type GetAgentStateForbidden
- func (o *GetAgentStateForbidden) Code() int
- func (o *GetAgentStateForbidden) Error() string
- func (o *GetAgentStateForbidden) GetPayload() interface{}
- func (o *GetAgentStateForbidden) IsClientError() bool
- func (o *GetAgentStateForbidden) IsCode(code int) bool
- func (o *GetAgentStateForbidden) IsRedirect() bool
- func (o *GetAgentStateForbidden) IsServerError() bool
- func (o *GetAgentStateForbidden) IsSuccess() bool
- func (o *GetAgentStateForbidden) String() string
- type GetAgentStateNoContent
- func (o *GetAgentStateNoContent) Code() int
- func (o *GetAgentStateNoContent) Error() string
- func (o *GetAgentStateNoContent) GetPayload() interface{}
- func (o *GetAgentStateNoContent) IsClientError() bool
- func (o *GetAgentStateNoContent) IsCode(code int) bool
- func (o *GetAgentStateNoContent) IsRedirect() bool
- func (o *GetAgentStateNoContent) IsServerError() bool
- func (o *GetAgentStateNoContent) IsSuccess() bool
- func (o *GetAgentStateNoContent) String() string
- type GetAgentStateNotFound
- func (o *GetAgentStateNotFound) Code() int
- func (o *GetAgentStateNotFound) Error() string
- func (o *GetAgentStateNotFound) GetPayload() interface{}
- func (o *GetAgentStateNotFound) IsClientError() bool
- func (o *GetAgentStateNotFound) IsCode(code int) bool
- func (o *GetAgentStateNotFound) IsRedirect() bool
- func (o *GetAgentStateNotFound) IsServerError() bool
- func (o *GetAgentStateNotFound) IsSuccess() bool
- func (o *GetAgentStateNotFound) String() string
- type GetAgentStateOK
- func (o *GetAgentStateOK) Code() int
- func (o *GetAgentStateOK) Error() string
- func (o *GetAgentStateOK) GetPayload() *service_model.V1AgentStateResponse
- func (o *GetAgentStateOK) IsClientError() bool
- func (o *GetAgentStateOK) IsCode(code int) bool
- func (o *GetAgentStateOK) IsRedirect() bool
- func (o *GetAgentStateOK) IsServerError() bool
- func (o *GetAgentStateOK) IsSuccess() bool
- func (o *GetAgentStateOK) String() string
- type GetAgentStateParams
- func (o *GetAgentStateParams) SetContext(ctx context.Context)
- func (o *GetAgentStateParams) SetDefaults()
- func (o *GetAgentStateParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentStateParams) SetOwner(owner string)
- func (o *GetAgentStateParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentStateParams) SetUUID(uuid string)
- func (o *GetAgentStateParams) WithContext(ctx context.Context) *GetAgentStateParams
- func (o *GetAgentStateParams) WithDefaults() *GetAgentStateParams
- func (o *GetAgentStateParams) WithHTTPClient(client *http.Client) *GetAgentStateParams
- func (o *GetAgentStateParams) WithOwner(owner string) *GetAgentStateParams
- func (o *GetAgentStateParams) WithTimeout(timeout time.Duration) *GetAgentStateParams
- func (o *GetAgentStateParams) WithUUID(uuid string) *GetAgentStateParams
- func (o *GetAgentStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentStateReader
- type GetAgentTokenDefault
- func (o *GetAgentTokenDefault) Code() int
- func (o *GetAgentTokenDefault) Error() string
- func (o *GetAgentTokenDefault) GetPayload() *service_model.RuntimeError
- func (o *GetAgentTokenDefault) IsClientError() bool
- func (o *GetAgentTokenDefault) IsCode(code int) bool
- func (o *GetAgentTokenDefault) IsRedirect() bool
- func (o *GetAgentTokenDefault) IsServerError() bool
- func (o *GetAgentTokenDefault) IsSuccess() bool
- func (o *GetAgentTokenDefault) String() string
- type GetAgentTokenForbidden
- func (o *GetAgentTokenForbidden) Code() int
- func (o *GetAgentTokenForbidden) Error() string
- func (o *GetAgentTokenForbidden) GetPayload() interface{}
- func (o *GetAgentTokenForbidden) IsClientError() bool
- func (o *GetAgentTokenForbidden) IsCode(code int) bool
- func (o *GetAgentTokenForbidden) IsRedirect() bool
- func (o *GetAgentTokenForbidden) IsServerError() bool
- func (o *GetAgentTokenForbidden) IsSuccess() bool
- func (o *GetAgentTokenForbidden) String() string
- type GetAgentTokenNoContent
- func (o *GetAgentTokenNoContent) Code() int
- func (o *GetAgentTokenNoContent) Error() string
- func (o *GetAgentTokenNoContent) GetPayload() interface{}
- func (o *GetAgentTokenNoContent) IsClientError() bool
- func (o *GetAgentTokenNoContent) IsCode(code int) bool
- func (o *GetAgentTokenNoContent) IsRedirect() bool
- func (o *GetAgentTokenNoContent) IsServerError() bool
- func (o *GetAgentTokenNoContent) IsSuccess() bool
- func (o *GetAgentTokenNoContent) String() string
- type GetAgentTokenNotFound
- func (o *GetAgentTokenNotFound) Code() int
- func (o *GetAgentTokenNotFound) Error() string
- func (o *GetAgentTokenNotFound) GetPayload() interface{}
- func (o *GetAgentTokenNotFound) IsClientError() bool
- func (o *GetAgentTokenNotFound) IsCode(code int) bool
- func (o *GetAgentTokenNotFound) IsRedirect() bool
- func (o *GetAgentTokenNotFound) IsServerError() bool
- func (o *GetAgentTokenNotFound) IsSuccess() bool
- func (o *GetAgentTokenNotFound) String() string
- type GetAgentTokenOK
- func (o *GetAgentTokenOK) Code() int
- func (o *GetAgentTokenOK) Error() string
- func (o *GetAgentTokenOK) GetPayload() *service_model.V1Token
- func (o *GetAgentTokenOK) IsClientError() bool
- func (o *GetAgentTokenOK) IsCode(code int) bool
- func (o *GetAgentTokenOK) IsRedirect() bool
- func (o *GetAgentTokenOK) IsServerError() bool
- func (o *GetAgentTokenOK) IsSuccess() bool
- func (o *GetAgentTokenOK) String() string
- type GetAgentTokenParams
- func (o *GetAgentTokenParams) SetContext(ctx context.Context)
- func (o *GetAgentTokenParams) SetDefaults()
- func (o *GetAgentTokenParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentTokenParams) SetOwner(owner string)
- func (o *GetAgentTokenParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentTokenParams) SetUUID(uuid string)
- func (o *GetAgentTokenParams) WithContext(ctx context.Context) *GetAgentTokenParams
- func (o *GetAgentTokenParams) WithDefaults() *GetAgentTokenParams
- func (o *GetAgentTokenParams) WithHTTPClient(client *http.Client) *GetAgentTokenParams
- func (o *GetAgentTokenParams) WithOwner(owner string) *GetAgentTokenParams
- func (o *GetAgentTokenParams) WithTimeout(timeout time.Duration) *GetAgentTokenParams
- func (o *GetAgentTokenParams) WithUUID(uuid string) *GetAgentTokenParams
- func (o *GetAgentTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentTokenReader
- type ListAgentNamesDefault
- func (o *ListAgentNamesDefault) Code() int
- func (o *ListAgentNamesDefault) Error() string
- func (o *ListAgentNamesDefault) GetPayload() *service_model.RuntimeError
- func (o *ListAgentNamesDefault) IsClientError() bool
- func (o *ListAgentNamesDefault) IsCode(code int) bool
- func (o *ListAgentNamesDefault) IsRedirect() bool
- func (o *ListAgentNamesDefault) IsServerError() bool
- func (o *ListAgentNamesDefault) IsSuccess() bool
- func (o *ListAgentNamesDefault) String() string
- type ListAgentNamesForbidden
- func (o *ListAgentNamesForbidden) Code() int
- func (o *ListAgentNamesForbidden) Error() string
- func (o *ListAgentNamesForbidden) GetPayload() interface{}
- func (o *ListAgentNamesForbidden) IsClientError() bool
- func (o *ListAgentNamesForbidden) IsCode(code int) bool
- func (o *ListAgentNamesForbidden) IsRedirect() bool
- func (o *ListAgentNamesForbidden) IsServerError() bool
- func (o *ListAgentNamesForbidden) IsSuccess() bool
- func (o *ListAgentNamesForbidden) String() string
- type ListAgentNamesNoContent
- func (o *ListAgentNamesNoContent) Code() int
- func (o *ListAgentNamesNoContent) Error() string
- func (o *ListAgentNamesNoContent) GetPayload() interface{}
- func (o *ListAgentNamesNoContent) IsClientError() bool
- func (o *ListAgentNamesNoContent) IsCode(code int) bool
- func (o *ListAgentNamesNoContent) IsRedirect() bool
- func (o *ListAgentNamesNoContent) IsServerError() bool
- func (o *ListAgentNamesNoContent) IsSuccess() bool
- func (o *ListAgentNamesNoContent) String() string
- type ListAgentNamesNotFound
- func (o *ListAgentNamesNotFound) Code() int
- func (o *ListAgentNamesNotFound) Error() string
- func (o *ListAgentNamesNotFound) GetPayload() interface{}
- func (o *ListAgentNamesNotFound) IsClientError() bool
- func (o *ListAgentNamesNotFound) IsCode(code int) bool
- func (o *ListAgentNamesNotFound) IsRedirect() bool
- func (o *ListAgentNamesNotFound) IsServerError() bool
- func (o *ListAgentNamesNotFound) IsSuccess() bool
- func (o *ListAgentNamesNotFound) String() string
- type ListAgentNamesOK
- func (o *ListAgentNamesOK) Code() int
- func (o *ListAgentNamesOK) Error() string
- func (o *ListAgentNamesOK) GetPayload() *service_model.V1ListAgentsResponse
- func (o *ListAgentNamesOK) IsClientError() bool
- func (o *ListAgentNamesOK) IsCode(code int) bool
- func (o *ListAgentNamesOK) IsRedirect() bool
- func (o *ListAgentNamesOK) IsServerError() bool
- func (o *ListAgentNamesOK) IsSuccess() bool
- func (o *ListAgentNamesOK) String() string
- type ListAgentNamesParams
- func NewListAgentNamesParams() *ListAgentNamesParams
- func NewListAgentNamesParamsWithContext(ctx context.Context) *ListAgentNamesParams
- func NewListAgentNamesParamsWithHTTPClient(client *http.Client) *ListAgentNamesParams
- func NewListAgentNamesParamsWithTimeout(timeout time.Duration) *ListAgentNamesParams
- func (o *ListAgentNamesParams) SetBookmarks(bookmarks *bool)
- func (o *ListAgentNamesParams) SetContext(ctx context.Context)
- func (o *ListAgentNamesParams) SetDefaults()
- func (o *ListAgentNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListAgentNamesParams) SetLimit(limit *int32)
- func (o *ListAgentNamesParams) SetMode(mode *string)
- func (o *ListAgentNamesParams) SetNoPage(noPage *bool)
- func (o *ListAgentNamesParams) SetOffset(offset *int32)
- func (o *ListAgentNamesParams) SetOwner(owner string)
- func (o *ListAgentNamesParams) SetQuery(query *string)
- func (o *ListAgentNamesParams) SetSort(sort *string)
- func (o *ListAgentNamesParams) SetTimeout(timeout time.Duration)
- func (o *ListAgentNamesParams) WithBookmarks(bookmarks *bool) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithContext(ctx context.Context) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithDefaults() *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithHTTPClient(client *http.Client) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithLimit(limit *int32) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithMode(mode *string) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithNoPage(noPage *bool) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithOffset(offset *int32) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithOwner(owner string) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithQuery(query *string) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithSort(sort *string) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WithTimeout(timeout time.Duration) *ListAgentNamesParams
- func (o *ListAgentNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAgentNamesReader
- type ListAgentsDefault
- func (o *ListAgentsDefault) Code() int
- func (o *ListAgentsDefault) Error() string
- func (o *ListAgentsDefault) GetPayload() *service_model.RuntimeError
- func (o *ListAgentsDefault) IsClientError() bool
- func (o *ListAgentsDefault) IsCode(code int) bool
- func (o *ListAgentsDefault) IsRedirect() bool
- func (o *ListAgentsDefault) IsServerError() bool
- func (o *ListAgentsDefault) IsSuccess() bool
- func (o *ListAgentsDefault) String() string
- type ListAgentsForbidden
- func (o *ListAgentsForbidden) Code() int
- func (o *ListAgentsForbidden) Error() string
- func (o *ListAgentsForbidden) GetPayload() interface{}
- func (o *ListAgentsForbidden) IsClientError() bool
- func (o *ListAgentsForbidden) IsCode(code int) bool
- func (o *ListAgentsForbidden) IsRedirect() bool
- func (o *ListAgentsForbidden) IsServerError() bool
- func (o *ListAgentsForbidden) IsSuccess() bool
- func (o *ListAgentsForbidden) String() string
- type ListAgentsNoContent
- func (o *ListAgentsNoContent) Code() int
- func (o *ListAgentsNoContent) Error() string
- func (o *ListAgentsNoContent) GetPayload() interface{}
- func (o *ListAgentsNoContent) IsClientError() bool
- func (o *ListAgentsNoContent) IsCode(code int) bool
- func (o *ListAgentsNoContent) IsRedirect() bool
- func (o *ListAgentsNoContent) IsServerError() bool
- func (o *ListAgentsNoContent) IsSuccess() bool
- func (o *ListAgentsNoContent) String() string
- type ListAgentsNotFound
- func (o *ListAgentsNotFound) Code() int
- func (o *ListAgentsNotFound) Error() string
- func (o *ListAgentsNotFound) GetPayload() interface{}
- func (o *ListAgentsNotFound) IsClientError() bool
- func (o *ListAgentsNotFound) IsCode(code int) bool
- func (o *ListAgentsNotFound) IsRedirect() bool
- func (o *ListAgentsNotFound) IsServerError() bool
- func (o *ListAgentsNotFound) IsSuccess() bool
- func (o *ListAgentsNotFound) String() string
- type ListAgentsOK
- func (o *ListAgentsOK) Code() int
- func (o *ListAgentsOK) Error() string
- func (o *ListAgentsOK) GetPayload() *service_model.V1ListAgentsResponse
- func (o *ListAgentsOK) IsClientError() bool
- func (o *ListAgentsOK) IsCode(code int) bool
- func (o *ListAgentsOK) IsRedirect() bool
- func (o *ListAgentsOK) IsServerError() bool
- func (o *ListAgentsOK) IsSuccess() bool
- func (o *ListAgentsOK) String() string
- type ListAgentsParams
- func (o *ListAgentsParams) SetBookmarks(bookmarks *bool)
- func (o *ListAgentsParams) SetContext(ctx context.Context)
- func (o *ListAgentsParams) SetDefaults()
- func (o *ListAgentsParams) SetHTTPClient(client *http.Client)
- func (o *ListAgentsParams) SetLimit(limit *int32)
- func (o *ListAgentsParams) SetMode(mode *string)
- func (o *ListAgentsParams) SetNoPage(noPage *bool)
- func (o *ListAgentsParams) SetOffset(offset *int32)
- func (o *ListAgentsParams) SetOwner(owner string)
- func (o *ListAgentsParams) SetQuery(query *string)
- func (o *ListAgentsParams) SetSort(sort *string)
- func (o *ListAgentsParams) SetTimeout(timeout time.Duration)
- func (o *ListAgentsParams) WithBookmarks(bookmarks *bool) *ListAgentsParams
- func (o *ListAgentsParams) WithContext(ctx context.Context) *ListAgentsParams
- func (o *ListAgentsParams) WithDefaults() *ListAgentsParams
- func (o *ListAgentsParams) WithHTTPClient(client *http.Client) *ListAgentsParams
- func (o *ListAgentsParams) WithLimit(limit *int32) *ListAgentsParams
- func (o *ListAgentsParams) WithMode(mode *string) *ListAgentsParams
- func (o *ListAgentsParams) WithNoPage(noPage *bool) *ListAgentsParams
- func (o *ListAgentsParams) WithOffset(offset *int32) *ListAgentsParams
- func (o *ListAgentsParams) WithOwner(owner string) *ListAgentsParams
- func (o *ListAgentsParams) WithQuery(query *string) *ListAgentsParams
- func (o *ListAgentsParams) WithSort(sort *string) *ListAgentsParams
- func (o *ListAgentsParams) WithTimeout(timeout time.Duration) *ListAgentsParams
- func (o *ListAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAgentsReader
- type PatchAgentDefault
- func (o *PatchAgentDefault) Code() int
- func (o *PatchAgentDefault) Error() string
- func (o *PatchAgentDefault) GetPayload() *service_model.RuntimeError
- func (o *PatchAgentDefault) IsClientError() bool
- func (o *PatchAgentDefault) IsCode(code int) bool
- func (o *PatchAgentDefault) IsRedirect() bool
- func (o *PatchAgentDefault) IsServerError() bool
- func (o *PatchAgentDefault) IsSuccess() bool
- func (o *PatchAgentDefault) String() string
- type PatchAgentForbidden
- func (o *PatchAgentForbidden) Code() int
- func (o *PatchAgentForbidden) Error() string
- func (o *PatchAgentForbidden) GetPayload() interface{}
- func (o *PatchAgentForbidden) IsClientError() bool
- func (o *PatchAgentForbidden) IsCode(code int) bool
- func (o *PatchAgentForbidden) IsRedirect() bool
- func (o *PatchAgentForbidden) IsServerError() bool
- func (o *PatchAgentForbidden) IsSuccess() bool
- func (o *PatchAgentForbidden) String() string
- type PatchAgentNoContent
- func (o *PatchAgentNoContent) Code() int
- func (o *PatchAgentNoContent) Error() string
- func (o *PatchAgentNoContent) GetPayload() interface{}
- func (o *PatchAgentNoContent) IsClientError() bool
- func (o *PatchAgentNoContent) IsCode(code int) bool
- func (o *PatchAgentNoContent) IsRedirect() bool
- func (o *PatchAgentNoContent) IsServerError() bool
- func (o *PatchAgentNoContent) IsSuccess() bool
- func (o *PatchAgentNoContent) String() string
- type PatchAgentNotFound
- func (o *PatchAgentNotFound) Code() int
- func (o *PatchAgentNotFound) Error() string
- func (o *PatchAgentNotFound) GetPayload() interface{}
- func (o *PatchAgentNotFound) IsClientError() bool
- func (o *PatchAgentNotFound) IsCode(code int) bool
- func (o *PatchAgentNotFound) IsRedirect() bool
- func (o *PatchAgentNotFound) IsServerError() bool
- func (o *PatchAgentNotFound) IsSuccess() bool
- func (o *PatchAgentNotFound) String() string
- type PatchAgentOK
- func (o *PatchAgentOK) Code() int
- func (o *PatchAgentOK) Error() string
- func (o *PatchAgentOK) GetPayload() *service_model.V1Agent
- func (o *PatchAgentOK) IsClientError() bool
- func (o *PatchAgentOK) IsCode(code int) bool
- func (o *PatchAgentOK) IsRedirect() bool
- func (o *PatchAgentOK) IsServerError() bool
- func (o *PatchAgentOK) IsSuccess() bool
- func (o *PatchAgentOK) String() string
- type PatchAgentParams
- func (o *PatchAgentParams) SetAgentUUID(agentUUID string)
- func (o *PatchAgentParams) SetBody(body *service_model.V1Agent)
- func (o *PatchAgentParams) SetContext(ctx context.Context)
- func (o *PatchAgentParams) SetDefaults()
- func (o *PatchAgentParams) SetHTTPClient(client *http.Client)
- func (o *PatchAgentParams) SetOwner(owner string)
- func (o *PatchAgentParams) SetTimeout(timeout time.Duration)
- func (o *PatchAgentParams) WithAgentUUID(agentUUID string) *PatchAgentParams
- func (o *PatchAgentParams) WithBody(body *service_model.V1Agent) *PatchAgentParams
- func (o *PatchAgentParams) WithContext(ctx context.Context) *PatchAgentParams
- func (o *PatchAgentParams) WithDefaults() *PatchAgentParams
- func (o *PatchAgentParams) WithHTTPClient(client *http.Client) *PatchAgentParams
- func (o *PatchAgentParams) WithOwner(owner string) *PatchAgentParams
- func (o *PatchAgentParams) WithTimeout(timeout time.Duration) *PatchAgentParams
- func (o *PatchAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAgentReader
- type PatchAgentTokenDefault
- func (o *PatchAgentTokenDefault) Code() int
- func (o *PatchAgentTokenDefault) Error() string
- func (o *PatchAgentTokenDefault) GetPayload() *service_model.RuntimeError
- func (o *PatchAgentTokenDefault) IsClientError() bool
- func (o *PatchAgentTokenDefault) IsCode(code int) bool
- func (o *PatchAgentTokenDefault) IsRedirect() bool
- func (o *PatchAgentTokenDefault) IsServerError() bool
- func (o *PatchAgentTokenDefault) IsSuccess() bool
- func (o *PatchAgentTokenDefault) String() string
- type PatchAgentTokenForbidden
- func (o *PatchAgentTokenForbidden) Code() int
- func (o *PatchAgentTokenForbidden) Error() string
- func (o *PatchAgentTokenForbidden) GetPayload() interface{}
- func (o *PatchAgentTokenForbidden) IsClientError() bool
- func (o *PatchAgentTokenForbidden) IsCode(code int) bool
- func (o *PatchAgentTokenForbidden) IsRedirect() bool
- func (o *PatchAgentTokenForbidden) IsServerError() bool
- func (o *PatchAgentTokenForbidden) IsSuccess() bool
- func (o *PatchAgentTokenForbidden) String() string
- type PatchAgentTokenNoContent
- func (o *PatchAgentTokenNoContent) Code() int
- func (o *PatchAgentTokenNoContent) Error() string
- func (o *PatchAgentTokenNoContent) GetPayload() interface{}
- func (o *PatchAgentTokenNoContent) IsClientError() bool
- func (o *PatchAgentTokenNoContent) IsCode(code int) bool
- func (o *PatchAgentTokenNoContent) IsRedirect() bool
- func (o *PatchAgentTokenNoContent) IsServerError() bool
- func (o *PatchAgentTokenNoContent) IsSuccess() bool
- func (o *PatchAgentTokenNoContent) String() string
- type PatchAgentTokenNotFound
- func (o *PatchAgentTokenNotFound) Code() int
- func (o *PatchAgentTokenNotFound) Error() string
- func (o *PatchAgentTokenNotFound) GetPayload() interface{}
- func (o *PatchAgentTokenNotFound) IsClientError() bool
- func (o *PatchAgentTokenNotFound) IsCode(code int) bool
- func (o *PatchAgentTokenNotFound) IsRedirect() bool
- func (o *PatchAgentTokenNotFound) IsServerError() bool
- func (o *PatchAgentTokenNotFound) IsSuccess() bool
- func (o *PatchAgentTokenNotFound) String() string
- type PatchAgentTokenOK
- func (o *PatchAgentTokenOK) Code() int
- func (o *PatchAgentTokenOK) Error() string
- func (o *PatchAgentTokenOK) GetPayload() *service_model.V1Token
- func (o *PatchAgentTokenOK) IsClientError() bool
- func (o *PatchAgentTokenOK) IsCode(code int) bool
- func (o *PatchAgentTokenOK) IsRedirect() bool
- func (o *PatchAgentTokenOK) IsServerError() bool
- func (o *PatchAgentTokenOK) IsSuccess() bool
- func (o *PatchAgentTokenOK) String() string
- type PatchAgentTokenParams
- func NewPatchAgentTokenParams() *PatchAgentTokenParams
- func NewPatchAgentTokenParamsWithContext(ctx context.Context) *PatchAgentTokenParams
- func NewPatchAgentTokenParamsWithHTTPClient(client *http.Client) *PatchAgentTokenParams
- func NewPatchAgentTokenParamsWithTimeout(timeout time.Duration) *PatchAgentTokenParams
- func (o *PatchAgentTokenParams) SetBody(body *service_model.V1Token)
- func (o *PatchAgentTokenParams) SetContext(ctx context.Context)
- func (o *PatchAgentTokenParams) SetDefaults()
- func (o *PatchAgentTokenParams) SetEntity(entity string)
- func (o *PatchAgentTokenParams) SetHTTPClient(client *http.Client)
- func (o *PatchAgentTokenParams) SetOwner(owner string)
- func (o *PatchAgentTokenParams) SetTimeout(timeout time.Duration)
- func (o *PatchAgentTokenParams) WithBody(body *service_model.V1Token) *PatchAgentTokenParams
- func (o *PatchAgentTokenParams) WithContext(ctx context.Context) *PatchAgentTokenParams
- func (o *PatchAgentTokenParams) WithDefaults() *PatchAgentTokenParams
- func (o *PatchAgentTokenParams) WithEntity(entity string) *PatchAgentTokenParams
- func (o *PatchAgentTokenParams) WithHTTPClient(client *http.Client) *PatchAgentTokenParams
- func (o *PatchAgentTokenParams) WithOwner(owner string) *PatchAgentTokenParams
- func (o *PatchAgentTokenParams) WithTimeout(timeout time.Duration) *PatchAgentTokenParams
- func (o *PatchAgentTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAgentTokenReader
- type SyncAgentDefault
- func (o *SyncAgentDefault) Code() int
- func (o *SyncAgentDefault) Error() string
- func (o *SyncAgentDefault) GetPayload() *service_model.RuntimeError
- func (o *SyncAgentDefault) IsClientError() bool
- func (o *SyncAgentDefault) IsCode(code int) bool
- func (o *SyncAgentDefault) IsRedirect() bool
- func (o *SyncAgentDefault) IsServerError() bool
- func (o *SyncAgentDefault) IsSuccess() bool
- func (o *SyncAgentDefault) String() string
- type SyncAgentForbidden
- func (o *SyncAgentForbidden) Code() int
- func (o *SyncAgentForbidden) Error() string
- func (o *SyncAgentForbidden) GetPayload() interface{}
- func (o *SyncAgentForbidden) IsClientError() bool
- func (o *SyncAgentForbidden) IsCode(code int) bool
- func (o *SyncAgentForbidden) IsRedirect() bool
- func (o *SyncAgentForbidden) IsServerError() bool
- func (o *SyncAgentForbidden) IsSuccess() bool
- func (o *SyncAgentForbidden) String() string
- type SyncAgentNoContent
- func (o *SyncAgentNoContent) Code() int
- func (o *SyncAgentNoContent) Error() string
- func (o *SyncAgentNoContent) GetPayload() interface{}
- func (o *SyncAgentNoContent) IsClientError() bool
- func (o *SyncAgentNoContent) IsCode(code int) bool
- func (o *SyncAgentNoContent) IsRedirect() bool
- func (o *SyncAgentNoContent) IsServerError() bool
- func (o *SyncAgentNoContent) IsSuccess() bool
- func (o *SyncAgentNoContent) String() string
- type SyncAgentNotFound
- func (o *SyncAgentNotFound) Code() int
- func (o *SyncAgentNotFound) Error() string
- func (o *SyncAgentNotFound) GetPayload() interface{}
- func (o *SyncAgentNotFound) IsClientError() bool
- func (o *SyncAgentNotFound) IsCode(code int) bool
- func (o *SyncAgentNotFound) IsRedirect() bool
- func (o *SyncAgentNotFound) IsServerError() bool
- func (o *SyncAgentNotFound) IsSuccess() bool
- func (o *SyncAgentNotFound) String() string
- type SyncAgentOK
- func (o *SyncAgentOK) Code() int
- func (o *SyncAgentOK) Error() string
- func (o *SyncAgentOK) IsClientError() bool
- func (o *SyncAgentOK) IsCode(code int) bool
- func (o *SyncAgentOK) IsRedirect() bool
- func (o *SyncAgentOK) IsServerError() bool
- func (o *SyncAgentOK) IsSuccess() bool
- func (o *SyncAgentOK) String() string
- type SyncAgentParams
- func (o *SyncAgentParams) SetAgentUUID(agentUUID string)
- func (o *SyncAgentParams) SetBody(body *service_model.V1Agent)
- func (o *SyncAgentParams) SetContext(ctx context.Context)
- func (o *SyncAgentParams) SetDefaults()
- func (o *SyncAgentParams) SetHTTPClient(client *http.Client)
- func (o *SyncAgentParams) SetOwner(owner string)
- func (o *SyncAgentParams) SetTimeout(timeout time.Duration)
- func (o *SyncAgentParams) WithAgentUUID(agentUUID string) *SyncAgentParams
- func (o *SyncAgentParams) WithBody(body *service_model.V1Agent) *SyncAgentParams
- func (o *SyncAgentParams) WithContext(ctx context.Context) *SyncAgentParams
- func (o *SyncAgentParams) WithDefaults() *SyncAgentParams
- func (o *SyncAgentParams) WithHTTPClient(client *http.Client) *SyncAgentParams
- func (o *SyncAgentParams) WithOwner(owner string) *SyncAgentParams
- func (o *SyncAgentParams) WithTimeout(timeout time.Duration) *SyncAgentParams
- func (o *SyncAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyncAgentReader
- type UpdateAgentConfigDefault
- func (o *UpdateAgentConfigDefault) Code() int
- func (o *UpdateAgentConfigDefault) Error() string
- func (o *UpdateAgentConfigDefault) GetPayload() *service_model.RuntimeError
- func (o *UpdateAgentConfigDefault) IsClientError() bool
- func (o *UpdateAgentConfigDefault) IsCode(code int) bool
- func (o *UpdateAgentConfigDefault) IsRedirect() bool
- func (o *UpdateAgentConfigDefault) IsServerError() bool
- func (o *UpdateAgentConfigDefault) IsSuccess() bool
- func (o *UpdateAgentConfigDefault) String() string
- type UpdateAgentConfigForbidden
- func (o *UpdateAgentConfigForbidden) Code() int
- func (o *UpdateAgentConfigForbidden) Error() string
- func (o *UpdateAgentConfigForbidden) GetPayload() interface{}
- func (o *UpdateAgentConfigForbidden) IsClientError() bool
- func (o *UpdateAgentConfigForbidden) IsCode(code int) bool
- func (o *UpdateAgentConfigForbidden) IsRedirect() bool
- func (o *UpdateAgentConfigForbidden) IsServerError() bool
- func (o *UpdateAgentConfigForbidden) IsSuccess() bool
- func (o *UpdateAgentConfigForbidden) String() string
- type UpdateAgentConfigNoContent
- func (o *UpdateAgentConfigNoContent) Code() int
- func (o *UpdateAgentConfigNoContent) Error() string
- func (o *UpdateAgentConfigNoContent) GetPayload() interface{}
- func (o *UpdateAgentConfigNoContent) IsClientError() bool
- func (o *UpdateAgentConfigNoContent) IsCode(code int) bool
- func (o *UpdateAgentConfigNoContent) IsRedirect() bool
- func (o *UpdateAgentConfigNoContent) IsServerError() bool
- func (o *UpdateAgentConfigNoContent) IsSuccess() bool
- func (o *UpdateAgentConfigNoContent) String() string
- type UpdateAgentConfigNotFound
- func (o *UpdateAgentConfigNotFound) Code() int
- func (o *UpdateAgentConfigNotFound) Error() string
- func (o *UpdateAgentConfigNotFound) GetPayload() interface{}
- func (o *UpdateAgentConfigNotFound) IsClientError() bool
- func (o *UpdateAgentConfigNotFound) IsCode(code int) bool
- func (o *UpdateAgentConfigNotFound) IsRedirect() bool
- func (o *UpdateAgentConfigNotFound) IsServerError() bool
- func (o *UpdateAgentConfigNotFound) IsSuccess() bool
- func (o *UpdateAgentConfigNotFound) String() string
- type UpdateAgentConfigOK
- func (o *UpdateAgentConfigOK) Code() int
- func (o *UpdateAgentConfigOK) Error() string
- func (o *UpdateAgentConfigOK) GetPayload() *service_model.V1Agent
- func (o *UpdateAgentConfigOK) IsClientError() bool
- func (o *UpdateAgentConfigOK) IsCode(code int) bool
- func (o *UpdateAgentConfigOK) IsRedirect() bool
- func (o *UpdateAgentConfigOK) IsServerError() bool
- func (o *UpdateAgentConfigOK) IsSuccess() bool
- func (o *UpdateAgentConfigOK) String() string
- type UpdateAgentConfigParams
- func NewUpdateAgentConfigParams() *UpdateAgentConfigParams
- func NewUpdateAgentConfigParamsWithContext(ctx context.Context) *UpdateAgentConfigParams
- func NewUpdateAgentConfigParamsWithHTTPClient(client *http.Client) *UpdateAgentConfigParams
- func NewUpdateAgentConfigParamsWithTimeout(timeout time.Duration) *UpdateAgentConfigParams
- func (o *UpdateAgentConfigParams) SetAgentUUID(agentUUID string)
- func (o *UpdateAgentConfigParams) SetBody(body *service_model.V1Agent)
- func (o *UpdateAgentConfigParams) SetContext(ctx context.Context)
- func (o *UpdateAgentConfigParams) SetDefaults()
- func (o *UpdateAgentConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAgentConfigParams) SetOwner(owner string)
- func (o *UpdateAgentConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAgentConfigParams) WithAgentUUID(agentUUID string) *UpdateAgentConfigParams
- func (o *UpdateAgentConfigParams) WithBody(body *service_model.V1Agent) *UpdateAgentConfigParams
- func (o *UpdateAgentConfigParams) WithContext(ctx context.Context) *UpdateAgentConfigParams
- func (o *UpdateAgentConfigParams) WithDefaults() *UpdateAgentConfigParams
- func (o *UpdateAgentConfigParams) WithHTTPClient(client *http.Client) *UpdateAgentConfigParams
- func (o *UpdateAgentConfigParams) WithOwner(owner string) *UpdateAgentConfigParams
- func (o *UpdateAgentConfigParams) WithTimeout(timeout time.Duration) *UpdateAgentConfigParams
- func (o *UpdateAgentConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAgentConfigReader
- type UpdateAgentDefault
- func (o *UpdateAgentDefault) Code() int
- func (o *UpdateAgentDefault) Error() string
- func (o *UpdateAgentDefault) GetPayload() *service_model.RuntimeError
- func (o *UpdateAgentDefault) IsClientError() bool
- func (o *UpdateAgentDefault) IsCode(code int) bool
- func (o *UpdateAgentDefault) IsRedirect() bool
- func (o *UpdateAgentDefault) IsServerError() bool
- func (o *UpdateAgentDefault) IsSuccess() bool
- func (o *UpdateAgentDefault) String() string
- type UpdateAgentForbidden
- func (o *UpdateAgentForbidden) Code() int
- func (o *UpdateAgentForbidden) Error() string
- func (o *UpdateAgentForbidden) GetPayload() interface{}
- func (o *UpdateAgentForbidden) IsClientError() bool
- func (o *UpdateAgentForbidden) IsCode(code int) bool
- func (o *UpdateAgentForbidden) IsRedirect() bool
- func (o *UpdateAgentForbidden) IsServerError() bool
- func (o *UpdateAgentForbidden) IsSuccess() bool
- func (o *UpdateAgentForbidden) String() string
- type UpdateAgentNoContent
- func (o *UpdateAgentNoContent) Code() int
- func (o *UpdateAgentNoContent) Error() string
- func (o *UpdateAgentNoContent) GetPayload() interface{}
- func (o *UpdateAgentNoContent) IsClientError() bool
- func (o *UpdateAgentNoContent) IsCode(code int) bool
- func (o *UpdateAgentNoContent) IsRedirect() bool
- func (o *UpdateAgentNoContent) IsServerError() bool
- func (o *UpdateAgentNoContent) IsSuccess() bool
- func (o *UpdateAgentNoContent) String() string
- type UpdateAgentNotFound
- func (o *UpdateAgentNotFound) Code() int
- func (o *UpdateAgentNotFound) Error() string
- func (o *UpdateAgentNotFound) GetPayload() interface{}
- func (o *UpdateAgentNotFound) IsClientError() bool
- func (o *UpdateAgentNotFound) IsCode(code int) bool
- func (o *UpdateAgentNotFound) IsRedirect() bool
- func (o *UpdateAgentNotFound) IsServerError() bool
- func (o *UpdateAgentNotFound) IsSuccess() bool
- func (o *UpdateAgentNotFound) String() string
- type UpdateAgentOK
- func (o *UpdateAgentOK) Code() int
- func (o *UpdateAgentOK) Error() string
- func (o *UpdateAgentOK) GetPayload() *service_model.V1Agent
- func (o *UpdateAgentOK) IsClientError() bool
- func (o *UpdateAgentOK) IsCode(code int) bool
- func (o *UpdateAgentOK) IsRedirect() bool
- func (o *UpdateAgentOK) IsServerError() bool
- func (o *UpdateAgentOK) IsSuccess() bool
- func (o *UpdateAgentOK) String() string
- type UpdateAgentParams
- func (o *UpdateAgentParams) SetAgentUUID(agentUUID string)
- func (o *UpdateAgentParams) SetBody(body *service_model.V1Agent)
- func (o *UpdateAgentParams) SetContext(ctx context.Context)
- func (o *UpdateAgentParams) SetDefaults()
- func (o *UpdateAgentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAgentParams) SetOwner(owner string)
- func (o *UpdateAgentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAgentParams) WithAgentUUID(agentUUID string) *UpdateAgentParams
- func (o *UpdateAgentParams) WithBody(body *service_model.V1Agent) *UpdateAgentParams
- func (o *UpdateAgentParams) WithContext(ctx context.Context) *UpdateAgentParams
- func (o *UpdateAgentParams) WithDefaults() *UpdateAgentParams
- func (o *UpdateAgentParams) WithHTTPClient(client *http.Client) *UpdateAgentParams
- func (o *UpdateAgentParams) WithOwner(owner string) *UpdateAgentParams
- func (o *UpdateAgentParams) WithTimeout(timeout time.Duration) *UpdateAgentParams
- func (o *UpdateAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAgentReader
- type UpdateAgentTokenDefault
- func (o *UpdateAgentTokenDefault) Code() int
- func (o *UpdateAgentTokenDefault) Error() string
- func (o *UpdateAgentTokenDefault) GetPayload() *service_model.RuntimeError
- func (o *UpdateAgentTokenDefault) IsClientError() bool
- func (o *UpdateAgentTokenDefault) IsCode(code int) bool
- func (o *UpdateAgentTokenDefault) IsRedirect() bool
- func (o *UpdateAgentTokenDefault) IsServerError() bool
- func (o *UpdateAgentTokenDefault) IsSuccess() bool
- func (o *UpdateAgentTokenDefault) String() string
- type UpdateAgentTokenForbidden
- func (o *UpdateAgentTokenForbidden) Code() int
- func (o *UpdateAgentTokenForbidden) Error() string
- func (o *UpdateAgentTokenForbidden) GetPayload() interface{}
- func (o *UpdateAgentTokenForbidden) IsClientError() bool
- func (o *UpdateAgentTokenForbidden) IsCode(code int) bool
- func (o *UpdateAgentTokenForbidden) IsRedirect() bool
- func (o *UpdateAgentTokenForbidden) IsServerError() bool
- func (o *UpdateAgentTokenForbidden) IsSuccess() bool
- func (o *UpdateAgentTokenForbidden) String() string
- type UpdateAgentTokenNoContent
- func (o *UpdateAgentTokenNoContent) Code() int
- func (o *UpdateAgentTokenNoContent) Error() string
- func (o *UpdateAgentTokenNoContent) GetPayload() interface{}
- func (o *UpdateAgentTokenNoContent) IsClientError() bool
- func (o *UpdateAgentTokenNoContent) IsCode(code int) bool
- func (o *UpdateAgentTokenNoContent) IsRedirect() bool
- func (o *UpdateAgentTokenNoContent) IsServerError() bool
- func (o *UpdateAgentTokenNoContent) IsSuccess() bool
- func (o *UpdateAgentTokenNoContent) String() string
- type UpdateAgentTokenNotFound
- func (o *UpdateAgentTokenNotFound) Code() int
- func (o *UpdateAgentTokenNotFound) Error() string
- func (o *UpdateAgentTokenNotFound) GetPayload() interface{}
- func (o *UpdateAgentTokenNotFound) IsClientError() bool
- func (o *UpdateAgentTokenNotFound) IsCode(code int) bool
- func (o *UpdateAgentTokenNotFound) IsRedirect() bool
- func (o *UpdateAgentTokenNotFound) IsServerError() bool
- func (o *UpdateAgentTokenNotFound) IsSuccess() bool
- func (o *UpdateAgentTokenNotFound) String() string
- type UpdateAgentTokenOK
- func (o *UpdateAgentTokenOK) Code() int
- func (o *UpdateAgentTokenOK) Error() string
- func (o *UpdateAgentTokenOK) GetPayload() *service_model.V1Token
- func (o *UpdateAgentTokenOK) IsClientError() bool
- func (o *UpdateAgentTokenOK) IsCode(code int) bool
- func (o *UpdateAgentTokenOK) IsRedirect() bool
- func (o *UpdateAgentTokenOK) IsServerError() bool
- func (o *UpdateAgentTokenOK) IsSuccess() bool
- func (o *UpdateAgentTokenOK) String() string
- type UpdateAgentTokenParams
- func NewUpdateAgentTokenParams() *UpdateAgentTokenParams
- func NewUpdateAgentTokenParamsWithContext(ctx context.Context) *UpdateAgentTokenParams
- func NewUpdateAgentTokenParamsWithHTTPClient(client *http.Client) *UpdateAgentTokenParams
- func NewUpdateAgentTokenParamsWithTimeout(timeout time.Duration) *UpdateAgentTokenParams
- func (o *UpdateAgentTokenParams) SetBody(body *service_model.V1Token)
- func (o *UpdateAgentTokenParams) SetContext(ctx context.Context)
- func (o *UpdateAgentTokenParams) SetDefaults()
- func (o *UpdateAgentTokenParams) SetEntity(entity string)
- func (o *UpdateAgentTokenParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAgentTokenParams) SetOwner(owner string)
- func (o *UpdateAgentTokenParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAgentTokenParams) WithBody(body *service_model.V1Token) *UpdateAgentTokenParams
- func (o *UpdateAgentTokenParams) WithContext(ctx context.Context) *UpdateAgentTokenParams
- func (o *UpdateAgentTokenParams) WithDefaults() *UpdateAgentTokenParams
- func (o *UpdateAgentTokenParams) WithEntity(entity string) *UpdateAgentTokenParams
- func (o *UpdateAgentTokenParams) WithHTTPClient(client *http.Client) *UpdateAgentTokenParams
- func (o *UpdateAgentTokenParams) WithOwner(owner string) *UpdateAgentTokenParams
- func (o *UpdateAgentTokenParams) WithTimeout(timeout time.Duration) *UpdateAgentTokenParams
- func (o *UpdateAgentTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAgentTokenReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for agents v1 API
func (*Client) CreateAgent ¶
func (a *Client) CreateAgent(params *CreateAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAgentOK, *CreateAgentNoContent, error)
CreateAgent creates agent
func (*Client) CreateAgentStatus ¶
func (a *Client) CreateAgentStatus(params *CreateAgentStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAgentStatusOK, *CreateAgentStatusNoContent, error)
CreateAgentStatus creates new agent status
func (*Client) DeleteAgent ¶
func (a *Client) DeleteAgent(params *DeleteAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAgentOK, *DeleteAgentNoContent, error)
DeleteAgent deletes agent
func (*Client) GetAgent ¶
func (a *Client) GetAgent(params *GetAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentOK, *GetAgentNoContent, error)
GetAgent gets agent
func (*Client) GetAgentConfig ¶
func (a *Client) GetAgentConfig(params *GetAgentConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentConfigOK, *GetAgentConfigNoContent, error)
GetAgentConfig gets agent config
func (*Client) GetAgentState ¶
func (a *Client) GetAgentState(params *GetAgentStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentStateOK, *GetAgentStateNoContent, error)
GetAgentState gets state queues runs
func (*Client) GetAgentToken ¶
func (a *Client) GetAgentToken(params *GetAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentTokenOK, *GetAgentTokenNoContent, error)
GetAgentToken gets agent token
func (*Client) ListAgentNames ¶
func (a *Client) ListAgentNames(params *ListAgentNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAgentNamesOK, *ListAgentNamesNoContent, error)
ListAgentNames lists agents names
func (*Client) ListAgents ¶
func (a *Client) ListAgents(params *ListAgentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAgentsOK, *ListAgentsNoContent, error)
ListAgents lists agents
func (*Client) PatchAgent ¶
func (a *Client) PatchAgent(params *PatchAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAgentOK, *PatchAgentNoContent, error)
PatchAgent patches agent
func (*Client) PatchAgentToken ¶
func (a *Client) PatchAgentToken(params *PatchAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAgentTokenOK, *PatchAgentTokenNoContent, error)
PatchAgentToken patches agent token
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SyncAgent ¶
func (a *Client) SyncAgent(params *SyncAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SyncAgentOK, *SyncAgentNoContent, error)
SyncAgent syncs agent
func (*Client) UpdateAgent ¶
func (a *Client) UpdateAgent(params *UpdateAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAgentOK, *UpdateAgentNoContent, error)
UpdateAgent updates agent
func (*Client) UpdateAgentConfig ¶
func (a *Client) UpdateAgentConfig(params *UpdateAgentConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAgentConfigOK, *UpdateAgentConfigNoContent, error)
UpdateAgentConfig updates agent config
func (*Client) UpdateAgentToken ¶
func (a *Client) UpdateAgentToken(params *UpdateAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAgentTokenOK, *UpdateAgentTokenNoContent, error)
UpdateAgentToken updates agent token
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAgent(params *CreateAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAgentOK, *CreateAgentNoContent, error) CreateAgentStatus(params *CreateAgentStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAgentStatusOK, *CreateAgentStatusNoContent, error) DeleteAgent(params *DeleteAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAgentOK, *DeleteAgentNoContent, error) GetAgent(params *GetAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentOK, *GetAgentNoContent, error) GetAgentConfig(params *GetAgentConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentConfigOK, *GetAgentConfigNoContent, error) GetAgentState(params *GetAgentStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentStateOK, *GetAgentStateNoContent, error) GetAgentToken(params *GetAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAgentTokenOK, *GetAgentTokenNoContent, error) ListAgentNames(params *ListAgentNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAgentNamesOK, *ListAgentNamesNoContent, error) ListAgents(params *ListAgentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAgentsOK, *ListAgentsNoContent, error) PatchAgent(params *PatchAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAgentOK, *PatchAgentNoContent, error) PatchAgentToken(params *PatchAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAgentTokenOK, *PatchAgentTokenNoContent, error) SyncAgent(params *SyncAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SyncAgentOK, *SyncAgentNoContent, error) UpdateAgent(params *UpdateAgentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAgentOK, *UpdateAgentNoContent, error) UpdateAgentConfig(params *UpdateAgentConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAgentConfigOK, *UpdateAgentConfigNoContent, error) UpdateAgentToken(params *UpdateAgentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAgentTokenOK, *UpdateAgentTokenNoContent, 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 agents v1 API client.
type CreateAgentDefault ¶
type CreateAgentDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
CreateAgentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateAgentDefault ¶
func NewCreateAgentDefault(code int) *CreateAgentDefault
NewCreateAgentDefault creates a CreateAgentDefault with default headers values
func (*CreateAgentDefault) Code ¶
func (o *CreateAgentDefault) Code() int
Code gets the status code for the create agent default response
func (*CreateAgentDefault) Error ¶
func (o *CreateAgentDefault) Error() string
func (*CreateAgentDefault) GetPayload ¶
func (o *CreateAgentDefault) GetPayload() *service_model.RuntimeError
func (*CreateAgentDefault) IsClientError ¶ added in v1.21.0
func (o *CreateAgentDefault) IsClientError() bool
IsClientError returns true when this create agent default response has a 4xx status code
func (*CreateAgentDefault) IsCode ¶ added in v1.21.0
func (o *CreateAgentDefault) IsCode(code int) bool
IsCode returns true when this create agent default response a status code equal to that given
func (*CreateAgentDefault) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentDefault) IsRedirect() bool
IsRedirect returns true when this create agent default response has a 3xx status code
func (*CreateAgentDefault) IsServerError ¶ added in v1.21.0
func (o *CreateAgentDefault) IsServerError() bool
IsServerError returns true when this create agent default response has a 5xx status code
func (*CreateAgentDefault) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentDefault) IsSuccess() bool
IsSuccess returns true when this create agent default response has a 2xx status code
func (*CreateAgentDefault) String ¶ added in v1.21.0
func (o *CreateAgentDefault) String() string
type CreateAgentForbidden ¶
type CreateAgentForbidden struct {
Payload interface{}
}
CreateAgentForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewCreateAgentForbidden ¶
func NewCreateAgentForbidden() *CreateAgentForbidden
NewCreateAgentForbidden creates a CreateAgentForbidden with default headers values
func (*CreateAgentForbidden) Code ¶ added in v1.22.0
func (o *CreateAgentForbidden) Code() int
Code gets the status code for the create agent forbidden response
func (*CreateAgentForbidden) Error ¶
func (o *CreateAgentForbidden) Error() string
func (*CreateAgentForbidden) GetPayload ¶
func (o *CreateAgentForbidden) GetPayload() interface{}
func (*CreateAgentForbidden) IsClientError ¶ added in v1.21.0
func (o *CreateAgentForbidden) IsClientError() bool
IsClientError returns true when this create agent forbidden response has a 4xx status code
func (*CreateAgentForbidden) IsCode ¶ added in v1.21.0
func (o *CreateAgentForbidden) IsCode(code int) bool
IsCode returns true when this create agent forbidden response a status code equal to that given
func (*CreateAgentForbidden) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentForbidden) IsRedirect() bool
IsRedirect returns true when this create agent forbidden response has a 3xx status code
func (*CreateAgentForbidden) IsServerError ¶ added in v1.21.0
func (o *CreateAgentForbidden) IsServerError() bool
IsServerError returns true when this create agent forbidden response has a 5xx status code
func (*CreateAgentForbidden) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentForbidden) IsSuccess() bool
IsSuccess returns true when this create agent forbidden response has a 2xx status code
func (*CreateAgentForbidden) String ¶ added in v1.21.0
func (o *CreateAgentForbidden) String() string
type CreateAgentNoContent ¶
type CreateAgentNoContent struct {
Payload interface{}
}
CreateAgentNoContent describes a response with status code 204, with default header values.
No content.
func NewCreateAgentNoContent ¶
func NewCreateAgentNoContent() *CreateAgentNoContent
NewCreateAgentNoContent creates a CreateAgentNoContent with default headers values
func (*CreateAgentNoContent) Code ¶ added in v1.22.0
func (o *CreateAgentNoContent) Code() int
Code gets the status code for the create agent no content response
func (*CreateAgentNoContent) Error ¶
func (o *CreateAgentNoContent) Error() string
func (*CreateAgentNoContent) GetPayload ¶
func (o *CreateAgentNoContent) GetPayload() interface{}
func (*CreateAgentNoContent) IsClientError ¶ added in v1.21.0
func (o *CreateAgentNoContent) IsClientError() bool
IsClientError returns true when this create agent no content response has a 4xx status code
func (*CreateAgentNoContent) IsCode ¶ added in v1.21.0
func (o *CreateAgentNoContent) IsCode(code int) bool
IsCode returns true when this create agent no content response a status code equal to that given
func (*CreateAgentNoContent) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentNoContent) IsRedirect() bool
IsRedirect returns true when this create agent no content response has a 3xx status code
func (*CreateAgentNoContent) IsServerError ¶ added in v1.21.0
func (o *CreateAgentNoContent) IsServerError() bool
IsServerError returns true when this create agent no content response has a 5xx status code
func (*CreateAgentNoContent) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentNoContent) IsSuccess() bool
IsSuccess returns true when this create agent no content response has a 2xx status code
func (*CreateAgentNoContent) String ¶ added in v1.21.0
func (o *CreateAgentNoContent) String() string
type CreateAgentNotFound ¶
type CreateAgentNotFound struct {
Payload interface{}
}
CreateAgentNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewCreateAgentNotFound ¶
func NewCreateAgentNotFound() *CreateAgentNotFound
NewCreateAgentNotFound creates a CreateAgentNotFound with default headers values
func (*CreateAgentNotFound) Code ¶ added in v1.22.0
func (o *CreateAgentNotFound) Code() int
Code gets the status code for the create agent not found response
func (*CreateAgentNotFound) Error ¶
func (o *CreateAgentNotFound) Error() string
func (*CreateAgentNotFound) GetPayload ¶
func (o *CreateAgentNotFound) GetPayload() interface{}
func (*CreateAgentNotFound) IsClientError ¶ added in v1.21.0
func (o *CreateAgentNotFound) IsClientError() bool
IsClientError returns true when this create agent not found response has a 4xx status code
func (*CreateAgentNotFound) IsCode ¶ added in v1.21.0
func (o *CreateAgentNotFound) IsCode(code int) bool
IsCode returns true when this create agent not found response a status code equal to that given
func (*CreateAgentNotFound) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentNotFound) IsRedirect() bool
IsRedirect returns true when this create agent not found response has a 3xx status code
func (*CreateAgentNotFound) IsServerError ¶ added in v1.21.0
func (o *CreateAgentNotFound) IsServerError() bool
IsServerError returns true when this create agent not found response has a 5xx status code
func (*CreateAgentNotFound) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentNotFound) IsSuccess() bool
IsSuccess returns true when this create agent not found response has a 2xx status code
func (*CreateAgentNotFound) String ¶ added in v1.21.0
func (o *CreateAgentNotFound) String() string
type CreateAgentOK ¶
type CreateAgentOK struct {
Payload *service_model.V1Agent
}
CreateAgentOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateAgentOK ¶
func NewCreateAgentOK() *CreateAgentOK
NewCreateAgentOK creates a CreateAgentOK with default headers values
func (*CreateAgentOK) Code ¶ added in v1.22.0
func (o *CreateAgentOK) Code() int
Code gets the status code for the create agent o k response
func (*CreateAgentOK) Error ¶
func (o *CreateAgentOK) Error() string
func (*CreateAgentOK) GetPayload ¶
func (o *CreateAgentOK) GetPayload() *service_model.V1Agent
func (*CreateAgentOK) IsClientError ¶ added in v1.21.0
func (o *CreateAgentOK) IsClientError() bool
IsClientError returns true when this create agent o k response has a 4xx status code
func (*CreateAgentOK) IsCode ¶ added in v1.21.0
func (o *CreateAgentOK) IsCode(code int) bool
IsCode returns true when this create agent o k response a status code equal to that given
func (*CreateAgentOK) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentOK) IsRedirect() bool
IsRedirect returns true when this create agent o k response has a 3xx status code
func (*CreateAgentOK) IsServerError ¶ added in v1.21.0
func (o *CreateAgentOK) IsServerError() bool
IsServerError returns true when this create agent o k response has a 5xx status code
func (*CreateAgentOK) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentOK) IsSuccess() bool
IsSuccess returns true when this create agent o k response has a 2xx status code
func (*CreateAgentOK) String ¶ added in v1.21.0
func (o *CreateAgentOK) String() string
type CreateAgentParams ¶
type CreateAgentParams struct { /* Body. Agent body */ Body *service_model.V1Agent /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAgentParams contains all the parameters to send to the API endpoint
for the create agent operation. Typically these are written to a http.Request.
func NewCreateAgentParams ¶
func NewCreateAgentParams() *CreateAgentParams
NewCreateAgentParams creates a new CreateAgentParams 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 NewCreateAgentParamsWithContext ¶
func NewCreateAgentParamsWithContext(ctx context.Context) *CreateAgentParams
NewCreateAgentParamsWithContext creates a new CreateAgentParams object with the ability to set a context for a request.
func NewCreateAgentParamsWithHTTPClient ¶
func NewCreateAgentParamsWithHTTPClient(client *http.Client) *CreateAgentParams
NewCreateAgentParamsWithHTTPClient creates a new CreateAgentParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAgentParamsWithTimeout ¶
func NewCreateAgentParamsWithTimeout(timeout time.Duration) *CreateAgentParams
NewCreateAgentParamsWithTimeout creates a new CreateAgentParams object with the ability to set a timeout on a request.
func (*CreateAgentParams) SetBody ¶
func (o *CreateAgentParams) SetBody(body *service_model.V1Agent)
SetBody adds the body to the create agent params
func (*CreateAgentParams) SetContext ¶
func (o *CreateAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the create agent params
func (*CreateAgentParams) SetDefaults ¶
func (o *CreateAgentParams) SetDefaults()
SetDefaults hydrates default values in the create agent params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAgentParams) SetHTTPClient ¶
func (o *CreateAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create agent params
func (*CreateAgentParams) SetOwner ¶
func (o *CreateAgentParams) SetOwner(owner string)
SetOwner adds the owner to the create agent params
func (*CreateAgentParams) SetTimeout ¶
func (o *CreateAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create agent params
func (*CreateAgentParams) WithBody ¶
func (o *CreateAgentParams) WithBody(body *service_model.V1Agent) *CreateAgentParams
WithBody adds the body to the create agent params
func (*CreateAgentParams) WithContext ¶
func (o *CreateAgentParams) WithContext(ctx context.Context) *CreateAgentParams
WithContext adds the context to the create agent params
func (*CreateAgentParams) WithDefaults ¶
func (o *CreateAgentParams) WithDefaults() *CreateAgentParams
WithDefaults hydrates default values in the create agent params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAgentParams) WithHTTPClient ¶
func (o *CreateAgentParams) WithHTTPClient(client *http.Client) *CreateAgentParams
WithHTTPClient adds the HTTPClient to the create agent params
func (*CreateAgentParams) WithOwner ¶
func (o *CreateAgentParams) WithOwner(owner string) *CreateAgentParams
WithOwner adds the owner to the create agent params
func (*CreateAgentParams) WithTimeout ¶
func (o *CreateAgentParams) WithTimeout(timeout time.Duration) *CreateAgentParams
WithTimeout adds the timeout to the create agent params
func (*CreateAgentParams) WriteToRequest ¶
func (o *CreateAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAgentReader ¶
type CreateAgentReader struct {
// contains filtered or unexported fields
}
CreateAgentReader is a Reader for the CreateAgent structure.
func (*CreateAgentReader) ReadResponse ¶
func (o *CreateAgentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAgentStatusDefault ¶
type CreateAgentStatusDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
CreateAgentStatusDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateAgentStatusDefault ¶
func NewCreateAgentStatusDefault(code int) *CreateAgentStatusDefault
NewCreateAgentStatusDefault creates a CreateAgentStatusDefault with default headers values
func (*CreateAgentStatusDefault) Code ¶
func (o *CreateAgentStatusDefault) Code() int
Code gets the status code for the create agent status default response
func (*CreateAgentStatusDefault) Error ¶
func (o *CreateAgentStatusDefault) Error() string
func (*CreateAgentStatusDefault) GetPayload ¶
func (o *CreateAgentStatusDefault) GetPayload() *service_model.RuntimeError
func (*CreateAgentStatusDefault) IsClientError ¶ added in v1.21.0
func (o *CreateAgentStatusDefault) IsClientError() bool
IsClientError returns true when this create agent status default response has a 4xx status code
func (*CreateAgentStatusDefault) IsCode ¶ added in v1.21.0
func (o *CreateAgentStatusDefault) IsCode(code int) bool
IsCode returns true when this create agent status default response a status code equal to that given
func (*CreateAgentStatusDefault) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentStatusDefault) IsRedirect() bool
IsRedirect returns true when this create agent status default response has a 3xx status code
func (*CreateAgentStatusDefault) IsServerError ¶ added in v1.21.0
func (o *CreateAgentStatusDefault) IsServerError() bool
IsServerError returns true when this create agent status default response has a 5xx status code
func (*CreateAgentStatusDefault) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentStatusDefault) IsSuccess() bool
IsSuccess returns true when this create agent status default response has a 2xx status code
func (*CreateAgentStatusDefault) String ¶ added in v1.21.0
func (o *CreateAgentStatusDefault) String() string
type CreateAgentStatusForbidden ¶
type CreateAgentStatusForbidden struct {
Payload interface{}
}
CreateAgentStatusForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewCreateAgentStatusForbidden ¶
func NewCreateAgentStatusForbidden() *CreateAgentStatusForbidden
NewCreateAgentStatusForbidden creates a CreateAgentStatusForbidden with default headers values
func (*CreateAgentStatusForbidden) Code ¶ added in v1.22.0
func (o *CreateAgentStatusForbidden) Code() int
Code gets the status code for the create agent status forbidden response
func (*CreateAgentStatusForbidden) Error ¶
func (o *CreateAgentStatusForbidden) Error() string
func (*CreateAgentStatusForbidden) GetPayload ¶
func (o *CreateAgentStatusForbidden) GetPayload() interface{}
func (*CreateAgentStatusForbidden) IsClientError ¶ added in v1.21.0
func (o *CreateAgentStatusForbidden) IsClientError() bool
IsClientError returns true when this create agent status forbidden response has a 4xx status code
func (*CreateAgentStatusForbidden) IsCode ¶ added in v1.21.0
func (o *CreateAgentStatusForbidden) IsCode(code int) bool
IsCode returns true when this create agent status forbidden response a status code equal to that given
func (*CreateAgentStatusForbidden) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentStatusForbidden) IsRedirect() bool
IsRedirect returns true when this create agent status forbidden response has a 3xx status code
func (*CreateAgentStatusForbidden) IsServerError ¶ added in v1.21.0
func (o *CreateAgentStatusForbidden) IsServerError() bool
IsServerError returns true when this create agent status forbidden response has a 5xx status code
func (*CreateAgentStatusForbidden) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentStatusForbidden) IsSuccess() bool
IsSuccess returns true when this create agent status forbidden response has a 2xx status code
func (*CreateAgentStatusForbidden) String ¶ added in v1.21.0
func (o *CreateAgentStatusForbidden) String() string
type CreateAgentStatusNoContent ¶
type CreateAgentStatusNoContent struct {
Payload interface{}
}
CreateAgentStatusNoContent describes a response with status code 204, with default header values.
No content.
func NewCreateAgentStatusNoContent ¶
func NewCreateAgentStatusNoContent() *CreateAgentStatusNoContent
NewCreateAgentStatusNoContent creates a CreateAgentStatusNoContent with default headers values
func (*CreateAgentStatusNoContent) Code ¶ added in v1.22.0
func (o *CreateAgentStatusNoContent) Code() int
Code gets the status code for the create agent status no content response
func (*CreateAgentStatusNoContent) Error ¶
func (o *CreateAgentStatusNoContent) Error() string
func (*CreateAgentStatusNoContent) GetPayload ¶
func (o *CreateAgentStatusNoContent) GetPayload() interface{}
func (*CreateAgentStatusNoContent) IsClientError ¶ added in v1.21.0
func (o *CreateAgentStatusNoContent) IsClientError() bool
IsClientError returns true when this create agent status no content response has a 4xx status code
func (*CreateAgentStatusNoContent) IsCode ¶ added in v1.21.0
func (o *CreateAgentStatusNoContent) IsCode(code int) bool
IsCode returns true when this create agent status no content response a status code equal to that given
func (*CreateAgentStatusNoContent) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentStatusNoContent) IsRedirect() bool
IsRedirect returns true when this create agent status no content response has a 3xx status code
func (*CreateAgentStatusNoContent) IsServerError ¶ added in v1.21.0
func (o *CreateAgentStatusNoContent) IsServerError() bool
IsServerError returns true when this create agent status no content response has a 5xx status code
func (*CreateAgentStatusNoContent) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentStatusNoContent) IsSuccess() bool
IsSuccess returns true when this create agent status no content response has a 2xx status code
func (*CreateAgentStatusNoContent) String ¶ added in v1.21.0
func (o *CreateAgentStatusNoContent) String() string
type CreateAgentStatusNotFound ¶
type CreateAgentStatusNotFound struct {
Payload interface{}
}
CreateAgentStatusNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewCreateAgentStatusNotFound ¶
func NewCreateAgentStatusNotFound() *CreateAgentStatusNotFound
NewCreateAgentStatusNotFound creates a CreateAgentStatusNotFound with default headers values
func (*CreateAgentStatusNotFound) Code ¶ added in v1.22.0
func (o *CreateAgentStatusNotFound) Code() int
Code gets the status code for the create agent status not found response
func (*CreateAgentStatusNotFound) Error ¶
func (o *CreateAgentStatusNotFound) Error() string
func (*CreateAgentStatusNotFound) GetPayload ¶
func (o *CreateAgentStatusNotFound) GetPayload() interface{}
func (*CreateAgentStatusNotFound) IsClientError ¶ added in v1.21.0
func (o *CreateAgentStatusNotFound) IsClientError() bool
IsClientError returns true when this create agent status not found response has a 4xx status code
func (*CreateAgentStatusNotFound) IsCode ¶ added in v1.21.0
func (o *CreateAgentStatusNotFound) IsCode(code int) bool
IsCode returns true when this create agent status not found response a status code equal to that given
func (*CreateAgentStatusNotFound) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentStatusNotFound) IsRedirect() bool
IsRedirect returns true when this create agent status not found response has a 3xx status code
func (*CreateAgentStatusNotFound) IsServerError ¶ added in v1.21.0
func (o *CreateAgentStatusNotFound) IsServerError() bool
IsServerError returns true when this create agent status not found response has a 5xx status code
func (*CreateAgentStatusNotFound) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentStatusNotFound) IsSuccess() bool
IsSuccess returns true when this create agent status not found response has a 2xx status code
func (*CreateAgentStatusNotFound) String ¶ added in v1.21.0
func (o *CreateAgentStatusNotFound) String() string
type CreateAgentStatusOK ¶
type CreateAgentStatusOK struct {
Payload *service_model.V1Status
}
CreateAgentStatusOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateAgentStatusOK ¶
func NewCreateAgentStatusOK() *CreateAgentStatusOK
NewCreateAgentStatusOK creates a CreateAgentStatusOK with default headers values
func (*CreateAgentStatusOK) Code ¶ added in v1.22.0
func (o *CreateAgentStatusOK) Code() int
Code gets the status code for the create agent status o k response
func (*CreateAgentStatusOK) Error ¶
func (o *CreateAgentStatusOK) Error() string
func (*CreateAgentStatusOK) GetPayload ¶
func (o *CreateAgentStatusOK) GetPayload() *service_model.V1Status
func (*CreateAgentStatusOK) IsClientError ¶ added in v1.21.0
func (o *CreateAgentStatusOK) IsClientError() bool
IsClientError returns true when this create agent status o k response has a 4xx status code
func (*CreateAgentStatusOK) IsCode ¶ added in v1.21.0
func (o *CreateAgentStatusOK) IsCode(code int) bool
IsCode returns true when this create agent status o k response a status code equal to that given
func (*CreateAgentStatusOK) IsRedirect ¶ added in v1.21.0
func (o *CreateAgentStatusOK) IsRedirect() bool
IsRedirect returns true when this create agent status o k response has a 3xx status code
func (*CreateAgentStatusOK) IsServerError ¶ added in v1.21.0
func (o *CreateAgentStatusOK) IsServerError() bool
IsServerError returns true when this create agent status o k response has a 5xx status code
func (*CreateAgentStatusOK) IsSuccess ¶ added in v1.21.0
func (o *CreateAgentStatusOK) IsSuccess() bool
IsSuccess returns true when this create agent status o k response has a 2xx status code
func (*CreateAgentStatusOK) String ¶ added in v1.21.0
func (o *CreateAgentStatusOK) String() string
type CreateAgentStatusParams ¶
type CreateAgentStatusParams struct { // Body. Body *service_model.V1AgentStatusBodyRequest /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAgentStatusParams contains all the parameters to send to the API endpoint
for the create agent status operation. Typically these are written to a http.Request.
func NewCreateAgentStatusParams ¶
func NewCreateAgentStatusParams() *CreateAgentStatusParams
NewCreateAgentStatusParams creates a new CreateAgentStatusParams 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 NewCreateAgentStatusParamsWithContext ¶
func NewCreateAgentStatusParamsWithContext(ctx context.Context) *CreateAgentStatusParams
NewCreateAgentStatusParamsWithContext creates a new CreateAgentStatusParams object with the ability to set a context for a request.
func NewCreateAgentStatusParamsWithHTTPClient ¶
func NewCreateAgentStatusParamsWithHTTPClient(client *http.Client) *CreateAgentStatusParams
NewCreateAgentStatusParamsWithHTTPClient creates a new CreateAgentStatusParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAgentStatusParamsWithTimeout ¶
func NewCreateAgentStatusParamsWithTimeout(timeout time.Duration) *CreateAgentStatusParams
NewCreateAgentStatusParamsWithTimeout creates a new CreateAgentStatusParams object with the ability to set a timeout on a request.
func (*CreateAgentStatusParams) SetBody ¶
func (o *CreateAgentStatusParams) SetBody(body *service_model.V1AgentStatusBodyRequest)
SetBody adds the body to the create agent status params
func (*CreateAgentStatusParams) SetContext ¶
func (o *CreateAgentStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the create agent status params
func (*CreateAgentStatusParams) SetDefaults ¶
func (o *CreateAgentStatusParams) SetDefaults()
SetDefaults hydrates default values in the create agent status params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAgentStatusParams) SetHTTPClient ¶
func (o *CreateAgentStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create agent status params
func (*CreateAgentStatusParams) SetOwner ¶
func (o *CreateAgentStatusParams) SetOwner(owner string)
SetOwner adds the owner to the create agent status params
func (*CreateAgentStatusParams) SetTimeout ¶
func (o *CreateAgentStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create agent status params
func (*CreateAgentStatusParams) SetUUID ¶
func (o *CreateAgentStatusParams) SetUUID(uuid string)
SetUUID adds the uuid to the create agent status params
func (*CreateAgentStatusParams) WithBody ¶
func (o *CreateAgentStatusParams) WithBody(body *service_model.V1AgentStatusBodyRequest) *CreateAgentStatusParams
WithBody adds the body to the create agent status params
func (*CreateAgentStatusParams) WithContext ¶
func (o *CreateAgentStatusParams) WithContext(ctx context.Context) *CreateAgentStatusParams
WithContext adds the context to the create agent status params
func (*CreateAgentStatusParams) WithDefaults ¶
func (o *CreateAgentStatusParams) WithDefaults() *CreateAgentStatusParams
WithDefaults hydrates default values in the create agent status params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAgentStatusParams) WithHTTPClient ¶
func (o *CreateAgentStatusParams) WithHTTPClient(client *http.Client) *CreateAgentStatusParams
WithHTTPClient adds the HTTPClient to the create agent status params
func (*CreateAgentStatusParams) WithOwner ¶
func (o *CreateAgentStatusParams) WithOwner(owner string) *CreateAgentStatusParams
WithOwner adds the owner to the create agent status params
func (*CreateAgentStatusParams) WithTimeout ¶
func (o *CreateAgentStatusParams) WithTimeout(timeout time.Duration) *CreateAgentStatusParams
WithTimeout adds the timeout to the create agent status params
func (*CreateAgentStatusParams) WithUUID ¶
func (o *CreateAgentStatusParams) WithUUID(uuid string) *CreateAgentStatusParams
WithUUID adds the uuid to the create agent status params
func (*CreateAgentStatusParams) WriteToRequest ¶
func (o *CreateAgentStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAgentStatusReader ¶
type CreateAgentStatusReader struct {
// contains filtered or unexported fields
}
CreateAgentStatusReader is a Reader for the CreateAgentStatus structure.
func (*CreateAgentStatusReader) ReadResponse ¶
func (o *CreateAgentStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAgentDefault ¶
type DeleteAgentDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
DeleteAgentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteAgentDefault ¶
func NewDeleteAgentDefault(code int) *DeleteAgentDefault
NewDeleteAgentDefault creates a DeleteAgentDefault with default headers values
func (*DeleteAgentDefault) Code ¶
func (o *DeleteAgentDefault) Code() int
Code gets the status code for the delete agent default response
func (*DeleteAgentDefault) Error ¶
func (o *DeleteAgentDefault) Error() string
func (*DeleteAgentDefault) GetPayload ¶
func (o *DeleteAgentDefault) GetPayload() *service_model.RuntimeError
func (*DeleteAgentDefault) IsClientError ¶ added in v1.21.0
func (o *DeleteAgentDefault) IsClientError() bool
IsClientError returns true when this delete agent default response has a 4xx status code
func (*DeleteAgentDefault) IsCode ¶ added in v1.21.0
func (o *DeleteAgentDefault) IsCode(code int) bool
IsCode returns true when this delete agent default response a status code equal to that given
func (*DeleteAgentDefault) IsRedirect ¶ added in v1.21.0
func (o *DeleteAgentDefault) IsRedirect() bool
IsRedirect returns true when this delete agent default response has a 3xx status code
func (*DeleteAgentDefault) IsServerError ¶ added in v1.21.0
func (o *DeleteAgentDefault) IsServerError() bool
IsServerError returns true when this delete agent default response has a 5xx status code
func (*DeleteAgentDefault) IsSuccess ¶ added in v1.21.0
func (o *DeleteAgentDefault) IsSuccess() bool
IsSuccess returns true when this delete agent default response has a 2xx status code
func (*DeleteAgentDefault) String ¶ added in v1.21.0
func (o *DeleteAgentDefault) String() string
type DeleteAgentForbidden ¶
type DeleteAgentForbidden struct {
Payload interface{}
}
DeleteAgentForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewDeleteAgentForbidden ¶
func NewDeleteAgentForbidden() *DeleteAgentForbidden
NewDeleteAgentForbidden creates a DeleteAgentForbidden with default headers values
func (*DeleteAgentForbidden) Code ¶ added in v1.22.0
func (o *DeleteAgentForbidden) Code() int
Code gets the status code for the delete agent forbidden response
func (*DeleteAgentForbidden) Error ¶
func (o *DeleteAgentForbidden) Error() string
func (*DeleteAgentForbidden) GetPayload ¶
func (o *DeleteAgentForbidden) GetPayload() interface{}
func (*DeleteAgentForbidden) IsClientError ¶ added in v1.21.0
func (o *DeleteAgentForbidden) IsClientError() bool
IsClientError returns true when this delete agent forbidden response has a 4xx status code
func (*DeleteAgentForbidden) IsCode ¶ added in v1.21.0
func (o *DeleteAgentForbidden) IsCode(code int) bool
IsCode returns true when this delete agent forbidden response a status code equal to that given
func (*DeleteAgentForbidden) IsRedirect ¶ added in v1.21.0
func (o *DeleteAgentForbidden) IsRedirect() bool
IsRedirect returns true when this delete agent forbidden response has a 3xx status code
func (*DeleteAgentForbidden) IsServerError ¶ added in v1.21.0
func (o *DeleteAgentForbidden) IsServerError() bool
IsServerError returns true when this delete agent forbidden response has a 5xx status code
func (*DeleteAgentForbidden) IsSuccess ¶ added in v1.21.0
func (o *DeleteAgentForbidden) IsSuccess() bool
IsSuccess returns true when this delete agent forbidden response has a 2xx status code
func (*DeleteAgentForbidden) String ¶ added in v1.21.0
func (o *DeleteAgentForbidden) String() string
type DeleteAgentNoContent ¶
type DeleteAgentNoContent struct {
Payload interface{}
}
DeleteAgentNoContent describes a response with status code 204, with default header values.
No content.
func NewDeleteAgentNoContent ¶
func NewDeleteAgentNoContent() *DeleteAgentNoContent
NewDeleteAgentNoContent creates a DeleteAgentNoContent with default headers values
func (*DeleteAgentNoContent) Code ¶ added in v1.22.0
func (o *DeleteAgentNoContent) Code() int
Code gets the status code for the delete agent no content response
func (*DeleteAgentNoContent) Error ¶
func (o *DeleteAgentNoContent) Error() string
func (*DeleteAgentNoContent) GetPayload ¶
func (o *DeleteAgentNoContent) GetPayload() interface{}
func (*DeleteAgentNoContent) IsClientError ¶ added in v1.21.0
func (o *DeleteAgentNoContent) IsClientError() bool
IsClientError returns true when this delete agent no content response has a 4xx status code
func (*DeleteAgentNoContent) IsCode ¶ added in v1.21.0
func (o *DeleteAgentNoContent) IsCode(code int) bool
IsCode returns true when this delete agent no content response a status code equal to that given
func (*DeleteAgentNoContent) IsRedirect ¶ added in v1.21.0
func (o *DeleteAgentNoContent) IsRedirect() bool
IsRedirect returns true when this delete agent no content response has a 3xx status code
func (*DeleteAgentNoContent) IsServerError ¶ added in v1.21.0
func (o *DeleteAgentNoContent) IsServerError() bool
IsServerError returns true when this delete agent no content response has a 5xx status code
func (*DeleteAgentNoContent) IsSuccess ¶ added in v1.21.0
func (o *DeleteAgentNoContent) IsSuccess() bool
IsSuccess returns true when this delete agent no content response has a 2xx status code
func (*DeleteAgentNoContent) String ¶ added in v1.21.0
func (o *DeleteAgentNoContent) String() string
type DeleteAgentNotFound ¶
type DeleteAgentNotFound struct {
Payload interface{}
}
DeleteAgentNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewDeleteAgentNotFound ¶
func NewDeleteAgentNotFound() *DeleteAgentNotFound
NewDeleteAgentNotFound creates a DeleteAgentNotFound with default headers values
func (*DeleteAgentNotFound) Code ¶ added in v1.22.0
func (o *DeleteAgentNotFound) Code() int
Code gets the status code for the delete agent not found response
func (*DeleteAgentNotFound) Error ¶
func (o *DeleteAgentNotFound) Error() string
func (*DeleteAgentNotFound) GetPayload ¶
func (o *DeleteAgentNotFound) GetPayload() interface{}
func (*DeleteAgentNotFound) IsClientError ¶ added in v1.21.0
func (o *DeleteAgentNotFound) IsClientError() bool
IsClientError returns true when this delete agent not found response has a 4xx status code
func (*DeleteAgentNotFound) IsCode ¶ added in v1.21.0
func (o *DeleteAgentNotFound) IsCode(code int) bool
IsCode returns true when this delete agent not found response a status code equal to that given
func (*DeleteAgentNotFound) IsRedirect ¶ added in v1.21.0
func (o *DeleteAgentNotFound) IsRedirect() bool
IsRedirect returns true when this delete agent not found response has a 3xx status code
func (*DeleteAgentNotFound) IsServerError ¶ added in v1.21.0
func (o *DeleteAgentNotFound) IsServerError() bool
IsServerError returns true when this delete agent not found response has a 5xx status code
func (*DeleteAgentNotFound) IsSuccess ¶ added in v1.21.0
func (o *DeleteAgentNotFound) IsSuccess() bool
IsSuccess returns true when this delete agent not found response has a 2xx status code
func (*DeleteAgentNotFound) String ¶ added in v1.21.0
func (o *DeleteAgentNotFound) String() string
type DeleteAgentOK ¶
type DeleteAgentOK struct { }
DeleteAgentOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteAgentOK ¶
func NewDeleteAgentOK() *DeleteAgentOK
NewDeleteAgentOK creates a DeleteAgentOK with default headers values
func (*DeleteAgentOK) Code ¶ added in v1.22.0
func (o *DeleteAgentOK) Code() int
Code gets the status code for the delete agent o k response
func (*DeleteAgentOK) Error ¶
func (o *DeleteAgentOK) Error() string
func (*DeleteAgentOK) IsClientError ¶ added in v1.21.0
func (o *DeleteAgentOK) IsClientError() bool
IsClientError returns true when this delete agent o k response has a 4xx status code
func (*DeleteAgentOK) IsCode ¶ added in v1.21.0
func (o *DeleteAgentOK) IsCode(code int) bool
IsCode returns true when this delete agent o k response a status code equal to that given
func (*DeleteAgentOK) IsRedirect ¶ added in v1.21.0
func (o *DeleteAgentOK) IsRedirect() bool
IsRedirect returns true when this delete agent o k response has a 3xx status code
func (*DeleteAgentOK) IsServerError ¶ added in v1.21.0
func (o *DeleteAgentOK) IsServerError() bool
IsServerError returns true when this delete agent o k response has a 5xx status code
func (*DeleteAgentOK) IsSuccess ¶ added in v1.21.0
func (o *DeleteAgentOK) IsSuccess() bool
IsSuccess returns true when this delete agent o k response has a 2xx status code
func (*DeleteAgentOK) String ¶ added in v1.21.0
func (o *DeleteAgentOK) String() string
type DeleteAgentParams ¶
type DeleteAgentParams struct { /* Entity. Entity: project name, hub name, registry name, ... */ Entity *string /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the sub-entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAgentParams contains all the parameters to send to the API endpoint
for the delete agent operation. Typically these are written to a http.Request.
func NewDeleteAgentParams ¶
func NewDeleteAgentParams() *DeleteAgentParams
NewDeleteAgentParams creates a new DeleteAgentParams 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 NewDeleteAgentParamsWithContext ¶
func NewDeleteAgentParamsWithContext(ctx context.Context) *DeleteAgentParams
NewDeleteAgentParamsWithContext creates a new DeleteAgentParams object with the ability to set a context for a request.
func NewDeleteAgentParamsWithHTTPClient ¶
func NewDeleteAgentParamsWithHTTPClient(client *http.Client) *DeleteAgentParams
NewDeleteAgentParamsWithHTTPClient creates a new DeleteAgentParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAgentParamsWithTimeout ¶
func NewDeleteAgentParamsWithTimeout(timeout time.Duration) *DeleteAgentParams
NewDeleteAgentParamsWithTimeout creates a new DeleteAgentParams object with the ability to set a timeout on a request.
func (*DeleteAgentParams) SetContext ¶
func (o *DeleteAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete agent params
func (*DeleteAgentParams) SetDefaults ¶
func (o *DeleteAgentParams) SetDefaults()
SetDefaults hydrates default values in the delete agent params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAgentParams) SetEntity ¶
func (o *DeleteAgentParams) SetEntity(entity *string)
SetEntity adds the entity to the delete agent params
func (*DeleteAgentParams) SetHTTPClient ¶
func (o *DeleteAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete agent params
func (*DeleteAgentParams) SetOwner ¶
func (o *DeleteAgentParams) SetOwner(owner string)
SetOwner adds the owner to the delete agent params
func (*DeleteAgentParams) SetTimeout ¶
func (o *DeleteAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete agent params
func (*DeleteAgentParams) SetUUID ¶
func (o *DeleteAgentParams) SetUUID(uuid string)
SetUUID adds the uuid to the delete agent params
func (*DeleteAgentParams) WithContext ¶
func (o *DeleteAgentParams) WithContext(ctx context.Context) *DeleteAgentParams
WithContext adds the context to the delete agent params
func (*DeleteAgentParams) WithDefaults ¶
func (o *DeleteAgentParams) WithDefaults() *DeleteAgentParams
WithDefaults hydrates default values in the delete agent params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAgentParams) WithEntity ¶
func (o *DeleteAgentParams) WithEntity(entity *string) *DeleteAgentParams
WithEntity adds the entity to the delete agent params
func (*DeleteAgentParams) WithHTTPClient ¶
func (o *DeleteAgentParams) WithHTTPClient(client *http.Client) *DeleteAgentParams
WithHTTPClient adds the HTTPClient to the delete agent params
func (*DeleteAgentParams) WithOwner ¶
func (o *DeleteAgentParams) WithOwner(owner string) *DeleteAgentParams
WithOwner adds the owner to the delete agent params
func (*DeleteAgentParams) WithTimeout ¶
func (o *DeleteAgentParams) WithTimeout(timeout time.Duration) *DeleteAgentParams
WithTimeout adds the timeout to the delete agent params
func (*DeleteAgentParams) WithUUID ¶
func (o *DeleteAgentParams) WithUUID(uuid string) *DeleteAgentParams
WithUUID adds the uuid to the delete agent params
func (*DeleteAgentParams) WriteToRequest ¶
func (o *DeleteAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAgentReader ¶
type DeleteAgentReader struct {
// contains filtered or unexported fields
}
DeleteAgentReader is a Reader for the DeleteAgent structure.
func (*DeleteAgentReader) ReadResponse ¶
func (o *DeleteAgentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAgentConfigDefault ¶
type GetAgentConfigDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetAgentConfigDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetAgentConfigDefault ¶
func NewGetAgentConfigDefault(code int) *GetAgentConfigDefault
NewGetAgentConfigDefault creates a GetAgentConfigDefault with default headers values
func (*GetAgentConfigDefault) Code ¶
func (o *GetAgentConfigDefault) Code() int
Code gets the status code for the get agent config default response
func (*GetAgentConfigDefault) Error ¶
func (o *GetAgentConfigDefault) Error() string
func (*GetAgentConfigDefault) GetPayload ¶
func (o *GetAgentConfigDefault) GetPayload() *service_model.RuntimeError
func (*GetAgentConfigDefault) IsClientError ¶ added in v1.21.0
func (o *GetAgentConfigDefault) IsClientError() bool
IsClientError returns true when this get agent config default response has a 4xx status code
func (*GetAgentConfigDefault) IsCode ¶ added in v1.21.0
func (o *GetAgentConfigDefault) IsCode(code int) bool
IsCode returns true when this get agent config default response a status code equal to that given
func (*GetAgentConfigDefault) IsRedirect ¶ added in v1.21.0
func (o *GetAgentConfigDefault) IsRedirect() bool
IsRedirect returns true when this get agent config default response has a 3xx status code
func (*GetAgentConfigDefault) IsServerError ¶ added in v1.21.0
func (o *GetAgentConfigDefault) IsServerError() bool
IsServerError returns true when this get agent config default response has a 5xx status code
func (*GetAgentConfigDefault) IsSuccess ¶ added in v1.21.0
func (o *GetAgentConfigDefault) IsSuccess() bool
IsSuccess returns true when this get agent config default response has a 2xx status code
func (*GetAgentConfigDefault) String ¶ added in v1.21.0
func (o *GetAgentConfigDefault) String() string
type GetAgentConfigForbidden ¶
type GetAgentConfigForbidden struct {
Payload interface{}
}
GetAgentConfigForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetAgentConfigForbidden ¶
func NewGetAgentConfigForbidden() *GetAgentConfigForbidden
NewGetAgentConfigForbidden creates a GetAgentConfigForbidden with default headers values
func (*GetAgentConfigForbidden) Code ¶ added in v1.22.0
func (o *GetAgentConfigForbidden) Code() int
Code gets the status code for the get agent config forbidden response
func (*GetAgentConfigForbidden) Error ¶
func (o *GetAgentConfigForbidden) Error() string
func (*GetAgentConfigForbidden) GetPayload ¶
func (o *GetAgentConfigForbidden) GetPayload() interface{}
func (*GetAgentConfigForbidden) IsClientError ¶ added in v1.21.0
func (o *GetAgentConfigForbidden) IsClientError() bool
IsClientError returns true when this get agent config forbidden response has a 4xx status code
func (*GetAgentConfigForbidden) IsCode ¶ added in v1.21.0
func (o *GetAgentConfigForbidden) IsCode(code int) bool
IsCode returns true when this get agent config forbidden response a status code equal to that given
func (*GetAgentConfigForbidden) IsRedirect ¶ added in v1.21.0
func (o *GetAgentConfigForbidden) IsRedirect() bool
IsRedirect returns true when this get agent config forbidden response has a 3xx status code
func (*GetAgentConfigForbidden) IsServerError ¶ added in v1.21.0
func (o *GetAgentConfigForbidden) IsServerError() bool
IsServerError returns true when this get agent config forbidden response has a 5xx status code
func (*GetAgentConfigForbidden) IsSuccess ¶ added in v1.21.0
func (o *GetAgentConfigForbidden) IsSuccess() bool
IsSuccess returns true when this get agent config forbidden response has a 2xx status code
func (*GetAgentConfigForbidden) String ¶ added in v1.21.0
func (o *GetAgentConfigForbidden) String() string
type GetAgentConfigNoContent ¶
type GetAgentConfigNoContent struct {
Payload interface{}
}
GetAgentConfigNoContent describes a response with status code 204, with default header values.
No content.
func NewGetAgentConfigNoContent ¶
func NewGetAgentConfigNoContent() *GetAgentConfigNoContent
NewGetAgentConfigNoContent creates a GetAgentConfigNoContent with default headers values
func (*GetAgentConfigNoContent) Code ¶ added in v1.22.0
func (o *GetAgentConfigNoContent) Code() int
Code gets the status code for the get agent config no content response
func (*GetAgentConfigNoContent) Error ¶
func (o *GetAgentConfigNoContent) Error() string
func (*GetAgentConfigNoContent) GetPayload ¶
func (o *GetAgentConfigNoContent) GetPayload() interface{}
func (*GetAgentConfigNoContent) IsClientError ¶ added in v1.21.0
func (o *GetAgentConfigNoContent) IsClientError() bool
IsClientError returns true when this get agent config no content response has a 4xx status code
func (*GetAgentConfigNoContent) IsCode ¶ added in v1.21.0
func (o *GetAgentConfigNoContent) IsCode(code int) bool
IsCode returns true when this get agent config no content response a status code equal to that given
func (*GetAgentConfigNoContent) IsRedirect ¶ added in v1.21.0
func (o *GetAgentConfigNoContent) IsRedirect() bool
IsRedirect returns true when this get agent config no content response has a 3xx status code
func (*GetAgentConfigNoContent) IsServerError ¶ added in v1.21.0
func (o *GetAgentConfigNoContent) IsServerError() bool
IsServerError returns true when this get agent config no content response has a 5xx status code
func (*GetAgentConfigNoContent) IsSuccess ¶ added in v1.21.0
func (o *GetAgentConfigNoContent) IsSuccess() bool
IsSuccess returns true when this get agent config no content response has a 2xx status code
func (*GetAgentConfigNoContent) String ¶ added in v1.21.0
func (o *GetAgentConfigNoContent) String() string
type GetAgentConfigNotFound ¶
type GetAgentConfigNotFound struct {
Payload interface{}
}
GetAgentConfigNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetAgentConfigNotFound ¶
func NewGetAgentConfigNotFound() *GetAgentConfigNotFound
NewGetAgentConfigNotFound creates a GetAgentConfigNotFound with default headers values
func (*GetAgentConfigNotFound) Code ¶ added in v1.22.0
func (o *GetAgentConfigNotFound) Code() int
Code gets the status code for the get agent config not found response
func (*GetAgentConfigNotFound) Error ¶
func (o *GetAgentConfigNotFound) Error() string
func (*GetAgentConfigNotFound) GetPayload ¶
func (o *GetAgentConfigNotFound) GetPayload() interface{}
func (*GetAgentConfigNotFound) IsClientError ¶ added in v1.21.0
func (o *GetAgentConfigNotFound) IsClientError() bool
IsClientError returns true when this get agent config not found response has a 4xx status code
func (*GetAgentConfigNotFound) IsCode ¶ added in v1.21.0
func (o *GetAgentConfigNotFound) IsCode(code int) bool
IsCode returns true when this get agent config not found response a status code equal to that given
func (*GetAgentConfigNotFound) IsRedirect ¶ added in v1.21.0
func (o *GetAgentConfigNotFound) IsRedirect() bool
IsRedirect returns true when this get agent config not found response has a 3xx status code
func (*GetAgentConfigNotFound) IsServerError ¶ added in v1.21.0
func (o *GetAgentConfigNotFound) IsServerError() bool
IsServerError returns true when this get agent config not found response has a 5xx status code
func (*GetAgentConfigNotFound) IsSuccess ¶ added in v1.21.0
func (o *GetAgentConfigNotFound) IsSuccess() bool
IsSuccess returns true when this get agent config not found response has a 2xx status code
func (*GetAgentConfigNotFound) String ¶ added in v1.21.0
func (o *GetAgentConfigNotFound) String() string
type GetAgentConfigOK ¶
type GetAgentConfigOK struct {
Payload *service_model.V1Agent
}
GetAgentConfigOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAgentConfigOK ¶
func NewGetAgentConfigOK() *GetAgentConfigOK
NewGetAgentConfigOK creates a GetAgentConfigOK with default headers values
func (*GetAgentConfigOK) Code ¶ added in v1.22.0
func (o *GetAgentConfigOK) Code() int
Code gets the status code for the get agent config o k response
func (*GetAgentConfigOK) Error ¶
func (o *GetAgentConfigOK) Error() string
func (*GetAgentConfigOK) GetPayload ¶
func (o *GetAgentConfigOK) GetPayload() *service_model.V1Agent
func (*GetAgentConfigOK) IsClientError ¶ added in v1.21.0
func (o *GetAgentConfigOK) IsClientError() bool
IsClientError returns true when this get agent config o k response has a 4xx status code
func (*GetAgentConfigOK) IsCode ¶ added in v1.21.0
func (o *GetAgentConfigOK) IsCode(code int) bool
IsCode returns true when this get agent config o k response a status code equal to that given
func (*GetAgentConfigOK) IsRedirect ¶ added in v1.21.0
func (o *GetAgentConfigOK) IsRedirect() bool
IsRedirect returns true when this get agent config o k response has a 3xx status code
func (*GetAgentConfigOK) IsServerError ¶ added in v1.21.0
func (o *GetAgentConfigOK) IsServerError() bool
IsServerError returns true when this get agent config o k response has a 5xx status code
func (*GetAgentConfigOK) IsSuccess ¶ added in v1.21.0
func (o *GetAgentConfigOK) IsSuccess() bool
IsSuccess returns true when this get agent config o k response has a 2xx status code
func (*GetAgentConfigOK) String ¶ added in v1.21.0
func (o *GetAgentConfigOK) String() string
type GetAgentConfigParams ¶
type GetAgentConfigParams struct { /* Entity. Entity: project name, hub name, registry name, ... */ Entity *string /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the sub-entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAgentConfigParams contains all the parameters to send to the API endpoint
for the get agent config operation. Typically these are written to a http.Request.
func NewGetAgentConfigParams ¶
func NewGetAgentConfigParams() *GetAgentConfigParams
NewGetAgentConfigParams creates a new GetAgentConfigParams 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 NewGetAgentConfigParamsWithContext ¶
func NewGetAgentConfigParamsWithContext(ctx context.Context) *GetAgentConfigParams
NewGetAgentConfigParamsWithContext creates a new GetAgentConfigParams object with the ability to set a context for a request.
func NewGetAgentConfigParamsWithHTTPClient ¶
func NewGetAgentConfigParamsWithHTTPClient(client *http.Client) *GetAgentConfigParams
NewGetAgentConfigParamsWithHTTPClient creates a new GetAgentConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetAgentConfigParamsWithTimeout ¶
func NewGetAgentConfigParamsWithTimeout(timeout time.Duration) *GetAgentConfigParams
NewGetAgentConfigParamsWithTimeout creates a new GetAgentConfigParams object with the ability to set a timeout on a request.
func (*GetAgentConfigParams) SetContext ¶
func (o *GetAgentConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get agent config params
func (*GetAgentConfigParams) SetDefaults ¶
func (o *GetAgentConfigParams) SetDefaults()
SetDefaults hydrates default values in the get agent config params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentConfigParams) SetEntity ¶
func (o *GetAgentConfigParams) SetEntity(entity *string)
SetEntity adds the entity to the get agent config params
func (*GetAgentConfigParams) SetHTTPClient ¶
func (o *GetAgentConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get agent config params
func (*GetAgentConfigParams) SetOwner ¶
func (o *GetAgentConfigParams) SetOwner(owner string)
SetOwner adds the owner to the get agent config params
func (*GetAgentConfigParams) SetTimeout ¶
func (o *GetAgentConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get agent config params
func (*GetAgentConfigParams) SetUUID ¶
func (o *GetAgentConfigParams) SetUUID(uuid string)
SetUUID adds the uuid to the get agent config params
func (*GetAgentConfigParams) WithContext ¶
func (o *GetAgentConfigParams) WithContext(ctx context.Context) *GetAgentConfigParams
WithContext adds the context to the get agent config params
func (*GetAgentConfigParams) WithDefaults ¶
func (o *GetAgentConfigParams) WithDefaults() *GetAgentConfigParams
WithDefaults hydrates default values in the get agent config params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentConfigParams) WithEntity ¶
func (o *GetAgentConfigParams) WithEntity(entity *string) *GetAgentConfigParams
WithEntity adds the entity to the get agent config params
func (*GetAgentConfigParams) WithHTTPClient ¶
func (o *GetAgentConfigParams) WithHTTPClient(client *http.Client) *GetAgentConfigParams
WithHTTPClient adds the HTTPClient to the get agent config params
func (*GetAgentConfigParams) WithOwner ¶
func (o *GetAgentConfigParams) WithOwner(owner string) *GetAgentConfigParams
WithOwner adds the owner to the get agent config params
func (*GetAgentConfigParams) WithTimeout ¶
func (o *GetAgentConfigParams) WithTimeout(timeout time.Duration) *GetAgentConfigParams
WithTimeout adds the timeout to the get agent config params
func (*GetAgentConfigParams) WithUUID ¶
func (o *GetAgentConfigParams) WithUUID(uuid string) *GetAgentConfigParams
WithUUID adds the uuid to the get agent config params
func (*GetAgentConfigParams) WriteToRequest ¶
func (o *GetAgentConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAgentConfigReader ¶
type GetAgentConfigReader struct {
// contains filtered or unexported fields
}
GetAgentConfigReader is a Reader for the GetAgentConfig structure.
func (*GetAgentConfigReader) ReadResponse ¶
func (o *GetAgentConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAgentDefault ¶
type GetAgentDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetAgentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetAgentDefault ¶
func NewGetAgentDefault(code int) *GetAgentDefault
NewGetAgentDefault creates a GetAgentDefault with default headers values
func (*GetAgentDefault) Code ¶
func (o *GetAgentDefault) Code() int
Code gets the status code for the get agent default response
func (*GetAgentDefault) Error ¶
func (o *GetAgentDefault) Error() string
func (*GetAgentDefault) GetPayload ¶
func (o *GetAgentDefault) GetPayload() *service_model.RuntimeError
func (*GetAgentDefault) IsClientError ¶ added in v1.21.0
func (o *GetAgentDefault) IsClientError() bool
IsClientError returns true when this get agent default response has a 4xx status code
func (*GetAgentDefault) IsCode ¶ added in v1.21.0
func (o *GetAgentDefault) IsCode(code int) bool
IsCode returns true when this get agent default response a status code equal to that given
func (*GetAgentDefault) IsRedirect ¶ added in v1.21.0
func (o *GetAgentDefault) IsRedirect() bool
IsRedirect returns true when this get agent default response has a 3xx status code
func (*GetAgentDefault) IsServerError ¶ added in v1.21.0
func (o *GetAgentDefault) IsServerError() bool
IsServerError returns true when this get agent default response has a 5xx status code
func (*GetAgentDefault) IsSuccess ¶ added in v1.21.0
func (o *GetAgentDefault) IsSuccess() bool
IsSuccess returns true when this get agent default response has a 2xx status code
func (*GetAgentDefault) String ¶ added in v1.21.0
func (o *GetAgentDefault) String() string
type GetAgentForbidden ¶
type GetAgentForbidden struct {
Payload interface{}
}
GetAgentForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetAgentForbidden ¶
func NewGetAgentForbidden() *GetAgentForbidden
NewGetAgentForbidden creates a GetAgentForbidden with default headers values
func (*GetAgentForbidden) Code ¶ added in v1.22.0
func (o *GetAgentForbidden) Code() int
Code gets the status code for the get agent forbidden response
func (*GetAgentForbidden) Error ¶
func (o *GetAgentForbidden) Error() string
func (*GetAgentForbidden) GetPayload ¶
func (o *GetAgentForbidden) GetPayload() interface{}
func (*GetAgentForbidden) IsClientError ¶ added in v1.21.0
func (o *GetAgentForbidden) IsClientError() bool
IsClientError returns true when this get agent forbidden response has a 4xx status code
func (*GetAgentForbidden) IsCode ¶ added in v1.21.0
func (o *GetAgentForbidden) IsCode(code int) bool
IsCode returns true when this get agent forbidden response a status code equal to that given
func (*GetAgentForbidden) IsRedirect ¶ added in v1.21.0
func (o *GetAgentForbidden) IsRedirect() bool
IsRedirect returns true when this get agent forbidden response has a 3xx status code
func (*GetAgentForbidden) IsServerError ¶ added in v1.21.0
func (o *GetAgentForbidden) IsServerError() bool
IsServerError returns true when this get agent forbidden response has a 5xx status code
func (*GetAgentForbidden) IsSuccess ¶ added in v1.21.0
func (o *GetAgentForbidden) IsSuccess() bool
IsSuccess returns true when this get agent forbidden response has a 2xx status code
func (*GetAgentForbidden) String ¶ added in v1.21.0
func (o *GetAgentForbidden) String() string
type GetAgentNoContent ¶
type GetAgentNoContent struct {
Payload interface{}
}
GetAgentNoContent describes a response with status code 204, with default header values.
No content.
func NewGetAgentNoContent ¶
func NewGetAgentNoContent() *GetAgentNoContent
NewGetAgentNoContent creates a GetAgentNoContent with default headers values
func (*GetAgentNoContent) Code ¶ added in v1.22.0
func (o *GetAgentNoContent) Code() int
Code gets the status code for the get agent no content response
func (*GetAgentNoContent) Error ¶
func (o *GetAgentNoContent) Error() string
func (*GetAgentNoContent) GetPayload ¶
func (o *GetAgentNoContent) GetPayload() interface{}
func (*GetAgentNoContent) IsClientError ¶ added in v1.21.0
func (o *GetAgentNoContent) IsClientError() bool
IsClientError returns true when this get agent no content response has a 4xx status code
func (*GetAgentNoContent) IsCode ¶ added in v1.21.0
func (o *GetAgentNoContent) IsCode(code int) bool
IsCode returns true when this get agent no content response a status code equal to that given
func (*GetAgentNoContent) IsRedirect ¶ added in v1.21.0
func (o *GetAgentNoContent) IsRedirect() bool
IsRedirect returns true when this get agent no content response has a 3xx status code
func (*GetAgentNoContent) IsServerError ¶ added in v1.21.0
func (o *GetAgentNoContent) IsServerError() bool
IsServerError returns true when this get agent no content response has a 5xx status code
func (*GetAgentNoContent) IsSuccess ¶ added in v1.21.0
func (o *GetAgentNoContent) IsSuccess() bool
IsSuccess returns true when this get agent no content response has a 2xx status code
func (*GetAgentNoContent) String ¶ added in v1.21.0
func (o *GetAgentNoContent) String() string
type GetAgentNotFound ¶
type GetAgentNotFound struct {
Payload interface{}
}
GetAgentNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetAgentNotFound ¶
func NewGetAgentNotFound() *GetAgentNotFound
NewGetAgentNotFound creates a GetAgentNotFound with default headers values
func (*GetAgentNotFound) Code ¶ added in v1.22.0
func (o *GetAgentNotFound) Code() int
Code gets the status code for the get agent not found response
func (*GetAgentNotFound) Error ¶
func (o *GetAgentNotFound) Error() string
func (*GetAgentNotFound) GetPayload ¶
func (o *GetAgentNotFound) GetPayload() interface{}
func (*GetAgentNotFound) IsClientError ¶ added in v1.21.0
func (o *GetAgentNotFound) IsClientError() bool
IsClientError returns true when this get agent not found response has a 4xx status code
func (*GetAgentNotFound) IsCode ¶ added in v1.21.0
func (o *GetAgentNotFound) IsCode(code int) bool
IsCode returns true when this get agent not found response a status code equal to that given
func (*GetAgentNotFound) IsRedirect ¶ added in v1.21.0
func (o *GetAgentNotFound) IsRedirect() bool
IsRedirect returns true when this get agent not found response has a 3xx status code
func (*GetAgentNotFound) IsServerError ¶ added in v1.21.0
func (o *GetAgentNotFound) IsServerError() bool
IsServerError returns true when this get agent not found response has a 5xx status code
func (*GetAgentNotFound) IsSuccess ¶ added in v1.21.0
func (o *GetAgentNotFound) IsSuccess() bool
IsSuccess returns true when this get agent not found response has a 2xx status code
func (*GetAgentNotFound) String ¶ added in v1.21.0
func (o *GetAgentNotFound) String() string
type GetAgentOK ¶
type GetAgentOK struct {
Payload *service_model.V1Agent
}
GetAgentOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAgentOK ¶
func NewGetAgentOK() *GetAgentOK
NewGetAgentOK creates a GetAgentOK with default headers values
func (*GetAgentOK) Code ¶ added in v1.22.0
func (o *GetAgentOK) Code() int
Code gets the status code for the get agent o k response
func (*GetAgentOK) Error ¶
func (o *GetAgentOK) Error() string
func (*GetAgentOK) GetPayload ¶
func (o *GetAgentOK) GetPayload() *service_model.V1Agent
func (*GetAgentOK) IsClientError ¶ added in v1.21.0
func (o *GetAgentOK) IsClientError() bool
IsClientError returns true when this get agent o k response has a 4xx status code
func (*GetAgentOK) IsCode ¶ added in v1.21.0
func (o *GetAgentOK) IsCode(code int) bool
IsCode returns true when this get agent o k response a status code equal to that given
func (*GetAgentOK) IsRedirect ¶ added in v1.21.0
func (o *GetAgentOK) IsRedirect() bool
IsRedirect returns true when this get agent o k response has a 3xx status code
func (*GetAgentOK) IsServerError ¶ added in v1.21.0
func (o *GetAgentOK) IsServerError() bool
IsServerError returns true when this get agent o k response has a 5xx status code
func (*GetAgentOK) IsSuccess ¶ added in v1.21.0
func (o *GetAgentOK) IsSuccess() bool
IsSuccess returns true when this get agent o k response has a 2xx status code
func (*GetAgentOK) String ¶ added in v1.21.0
func (o *GetAgentOK) String() string
type GetAgentParams ¶
type GetAgentParams struct { /* Entity. Entity: project name, hub name, registry name, ... */ Entity *string /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the sub-entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAgentParams contains all the parameters to send to the API endpoint
for the get agent operation. Typically these are written to a http.Request.
func NewGetAgentParams ¶
func NewGetAgentParams() *GetAgentParams
NewGetAgentParams creates a new GetAgentParams 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 NewGetAgentParamsWithContext ¶
func NewGetAgentParamsWithContext(ctx context.Context) *GetAgentParams
NewGetAgentParamsWithContext creates a new GetAgentParams object with the ability to set a context for a request.
func NewGetAgentParamsWithHTTPClient ¶
func NewGetAgentParamsWithHTTPClient(client *http.Client) *GetAgentParams
NewGetAgentParamsWithHTTPClient creates a new GetAgentParams object with the ability to set a custom HTTPClient for a request.
func NewGetAgentParamsWithTimeout ¶
func NewGetAgentParamsWithTimeout(timeout time.Duration) *GetAgentParams
NewGetAgentParamsWithTimeout creates a new GetAgentParams object with the ability to set a timeout on a request.
func (*GetAgentParams) SetContext ¶
func (o *GetAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the get agent params
func (*GetAgentParams) SetDefaults ¶
func (o *GetAgentParams) SetDefaults()
SetDefaults hydrates default values in the get agent params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentParams) SetEntity ¶
func (o *GetAgentParams) SetEntity(entity *string)
SetEntity adds the entity to the get agent params
func (*GetAgentParams) SetHTTPClient ¶
func (o *GetAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get agent params
func (*GetAgentParams) SetOwner ¶
func (o *GetAgentParams) SetOwner(owner string)
SetOwner adds the owner to the get agent params
func (*GetAgentParams) SetTimeout ¶
func (o *GetAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get agent params
func (*GetAgentParams) SetUUID ¶
func (o *GetAgentParams) SetUUID(uuid string)
SetUUID adds the uuid to the get agent params
func (*GetAgentParams) WithContext ¶
func (o *GetAgentParams) WithContext(ctx context.Context) *GetAgentParams
WithContext adds the context to the get agent params
func (*GetAgentParams) WithDefaults ¶
func (o *GetAgentParams) WithDefaults() *GetAgentParams
WithDefaults hydrates default values in the get agent params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentParams) WithEntity ¶
func (o *GetAgentParams) WithEntity(entity *string) *GetAgentParams
WithEntity adds the entity to the get agent params
func (*GetAgentParams) WithHTTPClient ¶
func (o *GetAgentParams) WithHTTPClient(client *http.Client) *GetAgentParams
WithHTTPClient adds the HTTPClient to the get agent params
func (*GetAgentParams) WithOwner ¶
func (o *GetAgentParams) WithOwner(owner string) *GetAgentParams
WithOwner adds the owner to the get agent params
func (*GetAgentParams) WithTimeout ¶
func (o *GetAgentParams) WithTimeout(timeout time.Duration) *GetAgentParams
WithTimeout adds the timeout to the get agent params
func (*GetAgentParams) WithUUID ¶
func (o *GetAgentParams) WithUUID(uuid string) *GetAgentParams
WithUUID adds the uuid to the get agent params
func (*GetAgentParams) WriteToRequest ¶
func (o *GetAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAgentReader ¶
type GetAgentReader struct {
// contains filtered or unexported fields
}
GetAgentReader is a Reader for the GetAgent structure.
func (*GetAgentReader) ReadResponse ¶
func (o *GetAgentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAgentStateDefault ¶
type GetAgentStateDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetAgentStateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetAgentStateDefault ¶
func NewGetAgentStateDefault(code int) *GetAgentStateDefault
NewGetAgentStateDefault creates a GetAgentStateDefault with default headers values
func (*GetAgentStateDefault) Code ¶
func (o *GetAgentStateDefault) Code() int
Code gets the status code for the get agent state default response
func (*GetAgentStateDefault) Error ¶
func (o *GetAgentStateDefault) Error() string
func (*GetAgentStateDefault) GetPayload ¶
func (o *GetAgentStateDefault) GetPayload() *service_model.RuntimeError
func (*GetAgentStateDefault) IsClientError ¶ added in v1.21.0
func (o *GetAgentStateDefault) IsClientError() bool
IsClientError returns true when this get agent state default response has a 4xx status code
func (*GetAgentStateDefault) IsCode ¶ added in v1.21.0
func (o *GetAgentStateDefault) IsCode(code int) bool
IsCode returns true when this get agent state default response a status code equal to that given
func (*GetAgentStateDefault) IsRedirect ¶ added in v1.21.0
func (o *GetAgentStateDefault) IsRedirect() bool
IsRedirect returns true when this get agent state default response has a 3xx status code
func (*GetAgentStateDefault) IsServerError ¶ added in v1.21.0
func (o *GetAgentStateDefault) IsServerError() bool
IsServerError returns true when this get agent state default response has a 5xx status code
func (*GetAgentStateDefault) IsSuccess ¶ added in v1.21.0
func (o *GetAgentStateDefault) IsSuccess() bool
IsSuccess returns true when this get agent state default response has a 2xx status code
func (*GetAgentStateDefault) String ¶ added in v1.21.0
func (o *GetAgentStateDefault) String() string
type GetAgentStateForbidden ¶
type GetAgentStateForbidden struct {
Payload interface{}
}
GetAgentStateForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetAgentStateForbidden ¶
func NewGetAgentStateForbidden() *GetAgentStateForbidden
NewGetAgentStateForbidden creates a GetAgentStateForbidden with default headers values
func (*GetAgentStateForbidden) Code ¶ added in v1.22.0
func (o *GetAgentStateForbidden) Code() int
Code gets the status code for the get agent state forbidden response
func (*GetAgentStateForbidden) Error ¶
func (o *GetAgentStateForbidden) Error() string
func (*GetAgentStateForbidden) GetPayload ¶
func (o *GetAgentStateForbidden) GetPayload() interface{}
func (*GetAgentStateForbidden) IsClientError ¶ added in v1.21.0
func (o *GetAgentStateForbidden) IsClientError() bool
IsClientError returns true when this get agent state forbidden response has a 4xx status code
func (*GetAgentStateForbidden) IsCode ¶ added in v1.21.0
func (o *GetAgentStateForbidden) IsCode(code int) bool
IsCode returns true when this get agent state forbidden response a status code equal to that given
func (*GetAgentStateForbidden) IsRedirect ¶ added in v1.21.0
func (o *GetAgentStateForbidden) IsRedirect() bool
IsRedirect returns true when this get agent state forbidden response has a 3xx status code
func (*GetAgentStateForbidden) IsServerError ¶ added in v1.21.0
func (o *GetAgentStateForbidden) IsServerError() bool
IsServerError returns true when this get agent state forbidden response has a 5xx status code
func (*GetAgentStateForbidden) IsSuccess ¶ added in v1.21.0
func (o *GetAgentStateForbidden) IsSuccess() bool
IsSuccess returns true when this get agent state forbidden response has a 2xx status code
func (*GetAgentStateForbidden) String ¶ added in v1.21.0
func (o *GetAgentStateForbidden) String() string
type GetAgentStateNoContent ¶
type GetAgentStateNoContent struct {
Payload interface{}
}
GetAgentStateNoContent describes a response with status code 204, with default header values.
No content.
func NewGetAgentStateNoContent ¶
func NewGetAgentStateNoContent() *GetAgentStateNoContent
NewGetAgentStateNoContent creates a GetAgentStateNoContent with default headers values
func (*GetAgentStateNoContent) Code ¶ added in v1.22.0
func (o *GetAgentStateNoContent) Code() int
Code gets the status code for the get agent state no content response
func (*GetAgentStateNoContent) Error ¶
func (o *GetAgentStateNoContent) Error() string
func (*GetAgentStateNoContent) GetPayload ¶
func (o *GetAgentStateNoContent) GetPayload() interface{}
func (*GetAgentStateNoContent) IsClientError ¶ added in v1.21.0
func (o *GetAgentStateNoContent) IsClientError() bool
IsClientError returns true when this get agent state no content response has a 4xx status code
func (*GetAgentStateNoContent) IsCode ¶ added in v1.21.0
func (o *GetAgentStateNoContent) IsCode(code int) bool
IsCode returns true when this get agent state no content response a status code equal to that given
func (*GetAgentStateNoContent) IsRedirect ¶ added in v1.21.0
func (o *GetAgentStateNoContent) IsRedirect() bool
IsRedirect returns true when this get agent state no content response has a 3xx status code
func (*GetAgentStateNoContent) IsServerError ¶ added in v1.21.0
func (o *GetAgentStateNoContent) IsServerError() bool
IsServerError returns true when this get agent state no content response has a 5xx status code
func (*GetAgentStateNoContent) IsSuccess ¶ added in v1.21.0
func (o *GetAgentStateNoContent) IsSuccess() bool
IsSuccess returns true when this get agent state no content response has a 2xx status code
func (*GetAgentStateNoContent) String ¶ added in v1.21.0
func (o *GetAgentStateNoContent) String() string
type GetAgentStateNotFound ¶
type GetAgentStateNotFound struct {
Payload interface{}
}
GetAgentStateNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetAgentStateNotFound ¶
func NewGetAgentStateNotFound() *GetAgentStateNotFound
NewGetAgentStateNotFound creates a GetAgentStateNotFound with default headers values
func (*GetAgentStateNotFound) Code ¶ added in v1.22.0
func (o *GetAgentStateNotFound) Code() int
Code gets the status code for the get agent state not found response
func (*GetAgentStateNotFound) Error ¶
func (o *GetAgentStateNotFound) Error() string
func (*GetAgentStateNotFound) GetPayload ¶
func (o *GetAgentStateNotFound) GetPayload() interface{}
func (*GetAgentStateNotFound) IsClientError ¶ added in v1.21.0
func (o *GetAgentStateNotFound) IsClientError() bool
IsClientError returns true when this get agent state not found response has a 4xx status code
func (*GetAgentStateNotFound) IsCode ¶ added in v1.21.0
func (o *GetAgentStateNotFound) IsCode(code int) bool
IsCode returns true when this get agent state not found response a status code equal to that given
func (*GetAgentStateNotFound) IsRedirect ¶ added in v1.21.0
func (o *GetAgentStateNotFound) IsRedirect() bool
IsRedirect returns true when this get agent state not found response has a 3xx status code
func (*GetAgentStateNotFound) IsServerError ¶ added in v1.21.0
func (o *GetAgentStateNotFound) IsServerError() bool
IsServerError returns true when this get agent state not found response has a 5xx status code
func (*GetAgentStateNotFound) IsSuccess ¶ added in v1.21.0
func (o *GetAgentStateNotFound) IsSuccess() bool
IsSuccess returns true when this get agent state not found response has a 2xx status code
func (*GetAgentStateNotFound) String ¶ added in v1.21.0
func (o *GetAgentStateNotFound) String() string
type GetAgentStateOK ¶
type GetAgentStateOK struct {
Payload *service_model.V1AgentStateResponse
}
GetAgentStateOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAgentStateOK ¶
func NewGetAgentStateOK() *GetAgentStateOK
NewGetAgentStateOK creates a GetAgentStateOK with default headers values
func (*GetAgentStateOK) Code ¶ added in v1.22.0
func (o *GetAgentStateOK) Code() int
Code gets the status code for the get agent state o k response
func (*GetAgentStateOK) Error ¶
func (o *GetAgentStateOK) Error() string
func (*GetAgentStateOK) GetPayload ¶
func (o *GetAgentStateOK) GetPayload() *service_model.V1AgentStateResponse
func (*GetAgentStateOK) IsClientError ¶ added in v1.21.0
func (o *GetAgentStateOK) IsClientError() bool
IsClientError returns true when this get agent state o k response has a 4xx status code
func (*GetAgentStateOK) IsCode ¶ added in v1.21.0
func (o *GetAgentStateOK) IsCode(code int) bool
IsCode returns true when this get agent state o k response a status code equal to that given
func (*GetAgentStateOK) IsRedirect ¶ added in v1.21.0
func (o *GetAgentStateOK) IsRedirect() bool
IsRedirect returns true when this get agent state o k response has a 3xx status code
func (*GetAgentStateOK) IsServerError ¶ added in v1.21.0
func (o *GetAgentStateOK) IsServerError() bool
IsServerError returns true when this get agent state o k response has a 5xx status code
func (*GetAgentStateOK) IsSuccess ¶ added in v1.21.0
func (o *GetAgentStateOK) IsSuccess() bool
IsSuccess returns true when this get agent state o k response has a 2xx status code
func (*GetAgentStateOK) String ¶ added in v1.21.0
func (o *GetAgentStateOK) String() string
type GetAgentStateParams ¶
type GetAgentStateParams struct { /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAgentStateParams contains all the parameters to send to the API endpoint
for the get agent state operation. Typically these are written to a http.Request.
func NewGetAgentStateParams ¶
func NewGetAgentStateParams() *GetAgentStateParams
NewGetAgentStateParams creates a new GetAgentStateParams 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 NewGetAgentStateParamsWithContext ¶
func NewGetAgentStateParamsWithContext(ctx context.Context) *GetAgentStateParams
NewGetAgentStateParamsWithContext creates a new GetAgentStateParams object with the ability to set a context for a request.
func NewGetAgentStateParamsWithHTTPClient ¶
func NewGetAgentStateParamsWithHTTPClient(client *http.Client) *GetAgentStateParams
NewGetAgentStateParamsWithHTTPClient creates a new GetAgentStateParams object with the ability to set a custom HTTPClient for a request.
func NewGetAgentStateParamsWithTimeout ¶
func NewGetAgentStateParamsWithTimeout(timeout time.Duration) *GetAgentStateParams
NewGetAgentStateParamsWithTimeout creates a new GetAgentStateParams object with the ability to set a timeout on a request.
func (*GetAgentStateParams) SetContext ¶
func (o *GetAgentStateParams) SetContext(ctx context.Context)
SetContext adds the context to the get agent state params
func (*GetAgentStateParams) SetDefaults ¶
func (o *GetAgentStateParams) SetDefaults()
SetDefaults hydrates default values in the get agent state params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentStateParams) SetHTTPClient ¶
func (o *GetAgentStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get agent state params
func (*GetAgentStateParams) SetOwner ¶
func (o *GetAgentStateParams) SetOwner(owner string)
SetOwner adds the owner to the get agent state params
func (*GetAgentStateParams) SetTimeout ¶
func (o *GetAgentStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get agent state params
func (*GetAgentStateParams) SetUUID ¶
func (o *GetAgentStateParams) SetUUID(uuid string)
SetUUID adds the uuid to the get agent state params
func (*GetAgentStateParams) WithContext ¶
func (o *GetAgentStateParams) WithContext(ctx context.Context) *GetAgentStateParams
WithContext adds the context to the get agent state params
func (*GetAgentStateParams) WithDefaults ¶
func (o *GetAgentStateParams) WithDefaults() *GetAgentStateParams
WithDefaults hydrates default values in the get agent state params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentStateParams) WithHTTPClient ¶
func (o *GetAgentStateParams) WithHTTPClient(client *http.Client) *GetAgentStateParams
WithHTTPClient adds the HTTPClient to the get agent state params
func (*GetAgentStateParams) WithOwner ¶
func (o *GetAgentStateParams) WithOwner(owner string) *GetAgentStateParams
WithOwner adds the owner to the get agent state params
func (*GetAgentStateParams) WithTimeout ¶
func (o *GetAgentStateParams) WithTimeout(timeout time.Duration) *GetAgentStateParams
WithTimeout adds the timeout to the get agent state params
func (*GetAgentStateParams) WithUUID ¶
func (o *GetAgentStateParams) WithUUID(uuid string) *GetAgentStateParams
WithUUID adds the uuid to the get agent state params
func (*GetAgentStateParams) WriteToRequest ¶
func (o *GetAgentStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAgentStateReader ¶
type GetAgentStateReader struct {
// contains filtered or unexported fields
}
GetAgentStateReader is a Reader for the GetAgentState structure.
func (*GetAgentStateReader) ReadResponse ¶
func (o *GetAgentStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAgentTokenDefault ¶
type GetAgentTokenDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetAgentTokenDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetAgentTokenDefault ¶
func NewGetAgentTokenDefault(code int) *GetAgentTokenDefault
NewGetAgentTokenDefault creates a GetAgentTokenDefault with default headers values
func (*GetAgentTokenDefault) Code ¶
func (o *GetAgentTokenDefault) Code() int
Code gets the status code for the get agent token default response
func (*GetAgentTokenDefault) Error ¶
func (o *GetAgentTokenDefault) Error() string
func (*GetAgentTokenDefault) GetPayload ¶
func (o *GetAgentTokenDefault) GetPayload() *service_model.RuntimeError
func (*GetAgentTokenDefault) IsClientError ¶ added in v1.21.0
func (o *GetAgentTokenDefault) IsClientError() bool
IsClientError returns true when this get agent token default response has a 4xx status code
func (*GetAgentTokenDefault) IsCode ¶ added in v1.21.0
func (o *GetAgentTokenDefault) IsCode(code int) bool
IsCode returns true when this get agent token default response a status code equal to that given
func (*GetAgentTokenDefault) IsRedirect ¶ added in v1.21.0
func (o *GetAgentTokenDefault) IsRedirect() bool
IsRedirect returns true when this get agent token default response has a 3xx status code
func (*GetAgentTokenDefault) IsServerError ¶ added in v1.21.0
func (o *GetAgentTokenDefault) IsServerError() bool
IsServerError returns true when this get agent token default response has a 5xx status code
func (*GetAgentTokenDefault) IsSuccess ¶ added in v1.21.0
func (o *GetAgentTokenDefault) IsSuccess() bool
IsSuccess returns true when this get agent token default response has a 2xx status code
func (*GetAgentTokenDefault) String ¶ added in v1.21.0
func (o *GetAgentTokenDefault) String() string
type GetAgentTokenForbidden ¶
type GetAgentTokenForbidden struct {
Payload interface{}
}
GetAgentTokenForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetAgentTokenForbidden ¶
func NewGetAgentTokenForbidden() *GetAgentTokenForbidden
NewGetAgentTokenForbidden creates a GetAgentTokenForbidden with default headers values
func (*GetAgentTokenForbidden) Code ¶ added in v1.22.0
func (o *GetAgentTokenForbidden) Code() int
Code gets the status code for the get agent token forbidden response
func (*GetAgentTokenForbidden) Error ¶
func (o *GetAgentTokenForbidden) Error() string
func (*GetAgentTokenForbidden) GetPayload ¶
func (o *GetAgentTokenForbidden) GetPayload() interface{}
func (*GetAgentTokenForbidden) IsClientError ¶ added in v1.21.0
func (o *GetAgentTokenForbidden) IsClientError() bool
IsClientError returns true when this get agent token forbidden response has a 4xx status code
func (*GetAgentTokenForbidden) IsCode ¶ added in v1.21.0
func (o *GetAgentTokenForbidden) IsCode(code int) bool
IsCode returns true when this get agent token forbidden response a status code equal to that given
func (*GetAgentTokenForbidden) IsRedirect ¶ added in v1.21.0
func (o *GetAgentTokenForbidden) IsRedirect() bool
IsRedirect returns true when this get agent token forbidden response has a 3xx status code
func (*GetAgentTokenForbidden) IsServerError ¶ added in v1.21.0
func (o *GetAgentTokenForbidden) IsServerError() bool
IsServerError returns true when this get agent token forbidden response has a 5xx status code
func (*GetAgentTokenForbidden) IsSuccess ¶ added in v1.21.0
func (o *GetAgentTokenForbidden) IsSuccess() bool
IsSuccess returns true when this get agent token forbidden response has a 2xx status code
func (*GetAgentTokenForbidden) String ¶ added in v1.21.0
func (o *GetAgentTokenForbidden) String() string
type GetAgentTokenNoContent ¶
type GetAgentTokenNoContent struct {
Payload interface{}
}
GetAgentTokenNoContent describes a response with status code 204, with default header values.
No content.
func NewGetAgentTokenNoContent ¶
func NewGetAgentTokenNoContent() *GetAgentTokenNoContent
NewGetAgentTokenNoContent creates a GetAgentTokenNoContent with default headers values
func (*GetAgentTokenNoContent) Code ¶ added in v1.22.0
func (o *GetAgentTokenNoContent) Code() int
Code gets the status code for the get agent token no content response
func (*GetAgentTokenNoContent) Error ¶
func (o *GetAgentTokenNoContent) Error() string
func (*GetAgentTokenNoContent) GetPayload ¶
func (o *GetAgentTokenNoContent) GetPayload() interface{}
func (*GetAgentTokenNoContent) IsClientError ¶ added in v1.21.0
func (o *GetAgentTokenNoContent) IsClientError() bool
IsClientError returns true when this get agent token no content response has a 4xx status code
func (*GetAgentTokenNoContent) IsCode ¶ added in v1.21.0
func (o *GetAgentTokenNoContent) IsCode(code int) bool
IsCode returns true when this get agent token no content response a status code equal to that given
func (*GetAgentTokenNoContent) IsRedirect ¶ added in v1.21.0
func (o *GetAgentTokenNoContent) IsRedirect() bool
IsRedirect returns true when this get agent token no content response has a 3xx status code
func (*GetAgentTokenNoContent) IsServerError ¶ added in v1.21.0
func (o *GetAgentTokenNoContent) IsServerError() bool
IsServerError returns true when this get agent token no content response has a 5xx status code
func (*GetAgentTokenNoContent) IsSuccess ¶ added in v1.21.0
func (o *GetAgentTokenNoContent) IsSuccess() bool
IsSuccess returns true when this get agent token no content response has a 2xx status code
func (*GetAgentTokenNoContent) String ¶ added in v1.21.0
func (o *GetAgentTokenNoContent) String() string
type GetAgentTokenNotFound ¶
type GetAgentTokenNotFound struct {
Payload interface{}
}
GetAgentTokenNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetAgentTokenNotFound ¶
func NewGetAgentTokenNotFound() *GetAgentTokenNotFound
NewGetAgentTokenNotFound creates a GetAgentTokenNotFound with default headers values
func (*GetAgentTokenNotFound) Code ¶ added in v1.22.0
func (o *GetAgentTokenNotFound) Code() int
Code gets the status code for the get agent token not found response
func (*GetAgentTokenNotFound) Error ¶
func (o *GetAgentTokenNotFound) Error() string
func (*GetAgentTokenNotFound) GetPayload ¶
func (o *GetAgentTokenNotFound) GetPayload() interface{}
func (*GetAgentTokenNotFound) IsClientError ¶ added in v1.21.0
func (o *GetAgentTokenNotFound) IsClientError() bool
IsClientError returns true when this get agent token not found response has a 4xx status code
func (*GetAgentTokenNotFound) IsCode ¶ added in v1.21.0
func (o *GetAgentTokenNotFound) IsCode(code int) bool
IsCode returns true when this get agent token not found response a status code equal to that given
func (*GetAgentTokenNotFound) IsRedirect ¶ added in v1.21.0
func (o *GetAgentTokenNotFound) IsRedirect() bool
IsRedirect returns true when this get agent token not found response has a 3xx status code
func (*GetAgentTokenNotFound) IsServerError ¶ added in v1.21.0
func (o *GetAgentTokenNotFound) IsServerError() bool
IsServerError returns true when this get agent token not found response has a 5xx status code
func (*GetAgentTokenNotFound) IsSuccess ¶ added in v1.21.0
func (o *GetAgentTokenNotFound) IsSuccess() bool
IsSuccess returns true when this get agent token not found response has a 2xx status code
func (*GetAgentTokenNotFound) String ¶ added in v1.21.0
func (o *GetAgentTokenNotFound) String() string
type GetAgentTokenOK ¶
type GetAgentTokenOK struct {
Payload *service_model.V1Token
}
GetAgentTokenOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAgentTokenOK ¶
func NewGetAgentTokenOK() *GetAgentTokenOK
NewGetAgentTokenOK creates a GetAgentTokenOK with default headers values
func (*GetAgentTokenOK) Code ¶ added in v1.22.0
func (o *GetAgentTokenOK) Code() int
Code gets the status code for the get agent token o k response
func (*GetAgentTokenOK) Error ¶
func (o *GetAgentTokenOK) Error() string
func (*GetAgentTokenOK) GetPayload ¶
func (o *GetAgentTokenOK) GetPayload() *service_model.V1Token
func (*GetAgentTokenOK) IsClientError ¶ added in v1.21.0
func (o *GetAgentTokenOK) IsClientError() bool
IsClientError returns true when this get agent token o k response has a 4xx status code
func (*GetAgentTokenOK) IsCode ¶ added in v1.21.0
func (o *GetAgentTokenOK) IsCode(code int) bool
IsCode returns true when this get agent token o k response a status code equal to that given
func (*GetAgentTokenOK) IsRedirect ¶ added in v1.21.0
func (o *GetAgentTokenOK) IsRedirect() bool
IsRedirect returns true when this get agent token o k response has a 3xx status code
func (*GetAgentTokenOK) IsServerError ¶ added in v1.21.0
func (o *GetAgentTokenOK) IsServerError() bool
IsServerError returns true when this get agent token o k response has a 5xx status code
func (*GetAgentTokenOK) IsSuccess ¶ added in v1.21.0
func (o *GetAgentTokenOK) IsSuccess() bool
IsSuccess returns true when this get agent token o k response has a 2xx status code
func (*GetAgentTokenOK) String ¶ added in v1.21.0
func (o *GetAgentTokenOK) String() string
type GetAgentTokenParams ¶
type GetAgentTokenParams struct { /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAgentTokenParams contains all the parameters to send to the API endpoint
for the get agent token operation. Typically these are written to a http.Request.
func NewGetAgentTokenParams ¶
func NewGetAgentTokenParams() *GetAgentTokenParams
NewGetAgentTokenParams creates a new GetAgentTokenParams 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 NewGetAgentTokenParamsWithContext ¶
func NewGetAgentTokenParamsWithContext(ctx context.Context) *GetAgentTokenParams
NewGetAgentTokenParamsWithContext creates a new GetAgentTokenParams object with the ability to set a context for a request.
func NewGetAgentTokenParamsWithHTTPClient ¶
func NewGetAgentTokenParamsWithHTTPClient(client *http.Client) *GetAgentTokenParams
NewGetAgentTokenParamsWithHTTPClient creates a new GetAgentTokenParams object with the ability to set a custom HTTPClient for a request.
func NewGetAgentTokenParamsWithTimeout ¶
func NewGetAgentTokenParamsWithTimeout(timeout time.Duration) *GetAgentTokenParams
NewGetAgentTokenParamsWithTimeout creates a new GetAgentTokenParams object with the ability to set a timeout on a request.
func (*GetAgentTokenParams) SetContext ¶
func (o *GetAgentTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the get agent token params
func (*GetAgentTokenParams) SetDefaults ¶
func (o *GetAgentTokenParams) SetDefaults()
SetDefaults hydrates default values in the get agent token params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentTokenParams) SetHTTPClient ¶
func (o *GetAgentTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get agent token params
func (*GetAgentTokenParams) SetOwner ¶
func (o *GetAgentTokenParams) SetOwner(owner string)
SetOwner adds the owner to the get agent token params
func (*GetAgentTokenParams) SetTimeout ¶
func (o *GetAgentTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get agent token params
func (*GetAgentTokenParams) SetUUID ¶
func (o *GetAgentTokenParams) SetUUID(uuid string)
SetUUID adds the uuid to the get agent token params
func (*GetAgentTokenParams) WithContext ¶
func (o *GetAgentTokenParams) WithContext(ctx context.Context) *GetAgentTokenParams
WithContext adds the context to the get agent token params
func (*GetAgentTokenParams) WithDefaults ¶
func (o *GetAgentTokenParams) WithDefaults() *GetAgentTokenParams
WithDefaults hydrates default values in the get agent token params (not the query body).
All values with no default are reset to their zero value.
func (*GetAgentTokenParams) WithHTTPClient ¶
func (o *GetAgentTokenParams) WithHTTPClient(client *http.Client) *GetAgentTokenParams
WithHTTPClient adds the HTTPClient to the get agent token params
func (*GetAgentTokenParams) WithOwner ¶
func (o *GetAgentTokenParams) WithOwner(owner string) *GetAgentTokenParams
WithOwner adds the owner to the get agent token params
func (*GetAgentTokenParams) WithTimeout ¶
func (o *GetAgentTokenParams) WithTimeout(timeout time.Duration) *GetAgentTokenParams
WithTimeout adds the timeout to the get agent token params
func (*GetAgentTokenParams) WithUUID ¶
func (o *GetAgentTokenParams) WithUUID(uuid string) *GetAgentTokenParams
WithUUID adds the uuid to the get agent token params
func (*GetAgentTokenParams) WriteToRequest ¶
func (o *GetAgentTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAgentTokenReader ¶
type GetAgentTokenReader struct {
// contains filtered or unexported fields
}
GetAgentTokenReader is a Reader for the GetAgentToken structure.
func (*GetAgentTokenReader) ReadResponse ¶
func (o *GetAgentTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAgentNamesDefault ¶
type ListAgentNamesDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListAgentNamesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListAgentNamesDefault ¶
func NewListAgentNamesDefault(code int) *ListAgentNamesDefault
NewListAgentNamesDefault creates a ListAgentNamesDefault with default headers values
func (*ListAgentNamesDefault) Code ¶
func (o *ListAgentNamesDefault) Code() int
Code gets the status code for the list agent names default response
func (*ListAgentNamesDefault) Error ¶
func (o *ListAgentNamesDefault) Error() string
func (*ListAgentNamesDefault) GetPayload ¶
func (o *ListAgentNamesDefault) GetPayload() *service_model.RuntimeError
func (*ListAgentNamesDefault) IsClientError ¶ added in v1.21.0
func (o *ListAgentNamesDefault) IsClientError() bool
IsClientError returns true when this list agent names default response has a 4xx status code
func (*ListAgentNamesDefault) IsCode ¶ added in v1.21.0
func (o *ListAgentNamesDefault) IsCode(code int) bool
IsCode returns true when this list agent names default response a status code equal to that given
func (*ListAgentNamesDefault) IsRedirect ¶ added in v1.21.0
func (o *ListAgentNamesDefault) IsRedirect() bool
IsRedirect returns true when this list agent names default response has a 3xx status code
func (*ListAgentNamesDefault) IsServerError ¶ added in v1.21.0
func (o *ListAgentNamesDefault) IsServerError() bool
IsServerError returns true when this list agent names default response has a 5xx status code
func (*ListAgentNamesDefault) IsSuccess ¶ added in v1.21.0
func (o *ListAgentNamesDefault) IsSuccess() bool
IsSuccess returns true when this list agent names default response has a 2xx status code
func (*ListAgentNamesDefault) String ¶ added in v1.21.0
func (o *ListAgentNamesDefault) String() string
type ListAgentNamesForbidden ¶
type ListAgentNamesForbidden struct {
Payload interface{}
}
ListAgentNamesForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListAgentNamesForbidden ¶
func NewListAgentNamesForbidden() *ListAgentNamesForbidden
NewListAgentNamesForbidden creates a ListAgentNamesForbidden with default headers values
func (*ListAgentNamesForbidden) Code ¶ added in v1.22.0
func (o *ListAgentNamesForbidden) Code() int
Code gets the status code for the list agent names forbidden response
func (*ListAgentNamesForbidden) Error ¶
func (o *ListAgentNamesForbidden) Error() string
func (*ListAgentNamesForbidden) GetPayload ¶
func (o *ListAgentNamesForbidden) GetPayload() interface{}
func (*ListAgentNamesForbidden) IsClientError ¶ added in v1.21.0
func (o *ListAgentNamesForbidden) IsClientError() bool
IsClientError returns true when this list agent names forbidden response has a 4xx status code
func (*ListAgentNamesForbidden) IsCode ¶ added in v1.21.0
func (o *ListAgentNamesForbidden) IsCode(code int) bool
IsCode returns true when this list agent names forbidden response a status code equal to that given
func (*ListAgentNamesForbidden) IsRedirect ¶ added in v1.21.0
func (o *ListAgentNamesForbidden) IsRedirect() bool
IsRedirect returns true when this list agent names forbidden response has a 3xx status code
func (*ListAgentNamesForbidden) IsServerError ¶ added in v1.21.0
func (o *ListAgentNamesForbidden) IsServerError() bool
IsServerError returns true when this list agent names forbidden response has a 5xx status code
func (*ListAgentNamesForbidden) IsSuccess ¶ added in v1.21.0
func (o *ListAgentNamesForbidden) IsSuccess() bool
IsSuccess returns true when this list agent names forbidden response has a 2xx status code
func (*ListAgentNamesForbidden) String ¶ added in v1.21.0
func (o *ListAgentNamesForbidden) String() string
type ListAgentNamesNoContent ¶
type ListAgentNamesNoContent struct {
Payload interface{}
}
ListAgentNamesNoContent describes a response with status code 204, with default header values.
No content.
func NewListAgentNamesNoContent ¶
func NewListAgentNamesNoContent() *ListAgentNamesNoContent
NewListAgentNamesNoContent creates a ListAgentNamesNoContent with default headers values
func (*ListAgentNamesNoContent) Code ¶ added in v1.22.0
func (o *ListAgentNamesNoContent) Code() int
Code gets the status code for the list agent names no content response
func (*ListAgentNamesNoContent) Error ¶
func (o *ListAgentNamesNoContent) Error() string
func (*ListAgentNamesNoContent) GetPayload ¶
func (o *ListAgentNamesNoContent) GetPayload() interface{}
func (*ListAgentNamesNoContent) IsClientError ¶ added in v1.21.0
func (o *ListAgentNamesNoContent) IsClientError() bool
IsClientError returns true when this list agent names no content response has a 4xx status code
func (*ListAgentNamesNoContent) IsCode ¶ added in v1.21.0
func (o *ListAgentNamesNoContent) IsCode(code int) bool
IsCode returns true when this list agent names no content response a status code equal to that given
func (*ListAgentNamesNoContent) IsRedirect ¶ added in v1.21.0
func (o *ListAgentNamesNoContent) IsRedirect() bool
IsRedirect returns true when this list agent names no content response has a 3xx status code
func (*ListAgentNamesNoContent) IsServerError ¶ added in v1.21.0
func (o *ListAgentNamesNoContent) IsServerError() bool
IsServerError returns true when this list agent names no content response has a 5xx status code
func (*ListAgentNamesNoContent) IsSuccess ¶ added in v1.21.0
func (o *ListAgentNamesNoContent) IsSuccess() bool
IsSuccess returns true when this list agent names no content response has a 2xx status code
func (*ListAgentNamesNoContent) String ¶ added in v1.21.0
func (o *ListAgentNamesNoContent) String() string
type ListAgentNamesNotFound ¶
type ListAgentNamesNotFound struct {
Payload interface{}
}
ListAgentNamesNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListAgentNamesNotFound ¶
func NewListAgentNamesNotFound() *ListAgentNamesNotFound
NewListAgentNamesNotFound creates a ListAgentNamesNotFound with default headers values
func (*ListAgentNamesNotFound) Code ¶ added in v1.22.0
func (o *ListAgentNamesNotFound) Code() int
Code gets the status code for the list agent names not found response
func (*ListAgentNamesNotFound) Error ¶
func (o *ListAgentNamesNotFound) Error() string
func (*ListAgentNamesNotFound) GetPayload ¶
func (o *ListAgentNamesNotFound) GetPayload() interface{}
func (*ListAgentNamesNotFound) IsClientError ¶ added in v1.21.0
func (o *ListAgentNamesNotFound) IsClientError() bool
IsClientError returns true when this list agent names not found response has a 4xx status code
func (*ListAgentNamesNotFound) IsCode ¶ added in v1.21.0
func (o *ListAgentNamesNotFound) IsCode(code int) bool
IsCode returns true when this list agent names not found response a status code equal to that given
func (*ListAgentNamesNotFound) IsRedirect ¶ added in v1.21.0
func (o *ListAgentNamesNotFound) IsRedirect() bool
IsRedirect returns true when this list agent names not found response has a 3xx status code
func (*ListAgentNamesNotFound) IsServerError ¶ added in v1.21.0
func (o *ListAgentNamesNotFound) IsServerError() bool
IsServerError returns true when this list agent names not found response has a 5xx status code
func (*ListAgentNamesNotFound) IsSuccess ¶ added in v1.21.0
func (o *ListAgentNamesNotFound) IsSuccess() bool
IsSuccess returns true when this list agent names not found response has a 2xx status code
func (*ListAgentNamesNotFound) String ¶ added in v1.21.0
func (o *ListAgentNamesNotFound) String() string
type ListAgentNamesOK ¶
type ListAgentNamesOK struct {
Payload *service_model.V1ListAgentsResponse
}
ListAgentNamesOK describes a response with status code 200, with default header values.
A successful response.
func NewListAgentNamesOK ¶
func NewListAgentNamesOK() *ListAgentNamesOK
NewListAgentNamesOK creates a ListAgentNamesOK with default headers values
func (*ListAgentNamesOK) Code ¶ added in v1.22.0
func (o *ListAgentNamesOK) Code() int
Code gets the status code for the list agent names o k response
func (*ListAgentNamesOK) Error ¶
func (o *ListAgentNamesOK) Error() string
func (*ListAgentNamesOK) GetPayload ¶
func (o *ListAgentNamesOK) GetPayload() *service_model.V1ListAgentsResponse
func (*ListAgentNamesOK) IsClientError ¶ added in v1.21.0
func (o *ListAgentNamesOK) IsClientError() bool
IsClientError returns true when this list agent names o k response has a 4xx status code
func (*ListAgentNamesOK) IsCode ¶ added in v1.21.0
func (o *ListAgentNamesOK) IsCode(code int) bool
IsCode returns true when this list agent names o k response a status code equal to that given
func (*ListAgentNamesOK) IsRedirect ¶ added in v1.21.0
func (o *ListAgentNamesOK) IsRedirect() bool
IsRedirect returns true when this list agent names o k response has a 3xx status code
func (*ListAgentNamesOK) IsServerError ¶ added in v1.21.0
func (o *ListAgentNamesOK) IsServerError() bool
IsServerError returns true when this list agent names o k response has a 5xx status code
func (*ListAgentNamesOK) IsSuccess ¶ added in v1.21.0
func (o *ListAgentNamesOK) IsSuccess() bool
IsSuccess returns true when this list agent names o k response has a 2xx status code
func (*ListAgentNamesOK) String ¶ added in v1.21.0
func (o *ListAgentNamesOK) String() string
type ListAgentNamesParams ¶
type ListAgentNamesParams struct { /* Bookmarks. Filter by bookmarks. */ Bookmarks *bool /* Limit. Limit size. Format: int32 */ Limit *int32 /* Mode. Mode of the search. */ Mode *string /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAgentNamesParams contains all the parameters to send to the API endpoint
for the list agent names operation. Typically these are written to a http.Request.
func NewListAgentNamesParams ¶
func NewListAgentNamesParams() *ListAgentNamesParams
NewListAgentNamesParams creates a new ListAgentNamesParams 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 NewListAgentNamesParamsWithContext ¶
func NewListAgentNamesParamsWithContext(ctx context.Context) *ListAgentNamesParams
NewListAgentNamesParamsWithContext creates a new ListAgentNamesParams object with the ability to set a context for a request.
func NewListAgentNamesParamsWithHTTPClient ¶
func NewListAgentNamesParamsWithHTTPClient(client *http.Client) *ListAgentNamesParams
NewListAgentNamesParamsWithHTTPClient creates a new ListAgentNamesParams object with the ability to set a custom HTTPClient for a request.
func NewListAgentNamesParamsWithTimeout ¶
func NewListAgentNamesParamsWithTimeout(timeout time.Duration) *ListAgentNamesParams
NewListAgentNamesParamsWithTimeout creates a new ListAgentNamesParams object with the ability to set a timeout on a request.
func (*ListAgentNamesParams) SetBookmarks ¶
func (o *ListAgentNamesParams) SetBookmarks(bookmarks *bool)
SetBookmarks adds the bookmarks to the list agent names params
func (*ListAgentNamesParams) SetContext ¶
func (o *ListAgentNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the list agent names params
func (*ListAgentNamesParams) SetDefaults ¶
func (o *ListAgentNamesParams) SetDefaults()
SetDefaults hydrates default values in the list agent names params (not the query body).
All values with no default are reset to their zero value.
func (*ListAgentNamesParams) SetHTTPClient ¶
func (o *ListAgentNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list agent names params
func (*ListAgentNamesParams) SetLimit ¶
func (o *ListAgentNamesParams) SetLimit(limit *int32)
SetLimit adds the limit to the list agent names params
func (*ListAgentNamesParams) SetMode ¶
func (o *ListAgentNamesParams) SetMode(mode *string)
SetMode adds the mode to the list agent names params
func (*ListAgentNamesParams) SetNoPage ¶
func (o *ListAgentNamesParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list agent names params
func (*ListAgentNamesParams) SetOffset ¶
func (o *ListAgentNamesParams) SetOffset(offset *int32)
SetOffset adds the offset to the list agent names params
func (*ListAgentNamesParams) SetOwner ¶
func (o *ListAgentNamesParams) SetOwner(owner string)
SetOwner adds the owner to the list agent names params
func (*ListAgentNamesParams) SetQuery ¶
func (o *ListAgentNamesParams) SetQuery(query *string)
SetQuery adds the query to the list agent names params
func (*ListAgentNamesParams) SetSort ¶
func (o *ListAgentNamesParams) SetSort(sort *string)
SetSort adds the sort to the list agent names params
func (*ListAgentNamesParams) SetTimeout ¶
func (o *ListAgentNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list agent names params
func (*ListAgentNamesParams) WithBookmarks ¶
func (o *ListAgentNamesParams) WithBookmarks(bookmarks *bool) *ListAgentNamesParams
WithBookmarks adds the bookmarks to the list agent names params
func (*ListAgentNamesParams) WithContext ¶
func (o *ListAgentNamesParams) WithContext(ctx context.Context) *ListAgentNamesParams
WithContext adds the context to the list agent names params
func (*ListAgentNamesParams) WithDefaults ¶
func (o *ListAgentNamesParams) WithDefaults() *ListAgentNamesParams
WithDefaults hydrates default values in the list agent names params (not the query body).
All values with no default are reset to their zero value.
func (*ListAgentNamesParams) WithHTTPClient ¶
func (o *ListAgentNamesParams) WithHTTPClient(client *http.Client) *ListAgentNamesParams
WithHTTPClient adds the HTTPClient to the list agent names params
func (*ListAgentNamesParams) WithLimit ¶
func (o *ListAgentNamesParams) WithLimit(limit *int32) *ListAgentNamesParams
WithLimit adds the limit to the list agent names params
func (*ListAgentNamesParams) WithMode ¶
func (o *ListAgentNamesParams) WithMode(mode *string) *ListAgentNamesParams
WithMode adds the mode to the list agent names params
func (*ListAgentNamesParams) WithNoPage ¶
func (o *ListAgentNamesParams) WithNoPage(noPage *bool) *ListAgentNamesParams
WithNoPage adds the noPage to the list agent names params
func (*ListAgentNamesParams) WithOffset ¶
func (o *ListAgentNamesParams) WithOffset(offset *int32) *ListAgentNamesParams
WithOffset adds the offset to the list agent names params
func (*ListAgentNamesParams) WithOwner ¶
func (o *ListAgentNamesParams) WithOwner(owner string) *ListAgentNamesParams
WithOwner adds the owner to the list agent names params
func (*ListAgentNamesParams) WithQuery ¶
func (o *ListAgentNamesParams) WithQuery(query *string) *ListAgentNamesParams
WithQuery adds the query to the list agent names params
func (*ListAgentNamesParams) WithSort ¶
func (o *ListAgentNamesParams) WithSort(sort *string) *ListAgentNamesParams
WithSort adds the sort to the list agent names params
func (*ListAgentNamesParams) WithTimeout ¶
func (o *ListAgentNamesParams) WithTimeout(timeout time.Duration) *ListAgentNamesParams
WithTimeout adds the timeout to the list agent names params
func (*ListAgentNamesParams) WriteToRequest ¶
func (o *ListAgentNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAgentNamesReader ¶
type ListAgentNamesReader struct {
// contains filtered or unexported fields
}
ListAgentNamesReader is a Reader for the ListAgentNames structure.
func (*ListAgentNamesReader) ReadResponse ¶
func (o *ListAgentNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAgentsDefault ¶
type ListAgentsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListAgentsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListAgentsDefault ¶
func NewListAgentsDefault(code int) *ListAgentsDefault
NewListAgentsDefault creates a ListAgentsDefault with default headers values
func (*ListAgentsDefault) Code ¶
func (o *ListAgentsDefault) Code() int
Code gets the status code for the list agents default response
func (*ListAgentsDefault) Error ¶
func (o *ListAgentsDefault) Error() string
func (*ListAgentsDefault) GetPayload ¶
func (o *ListAgentsDefault) GetPayload() *service_model.RuntimeError
func (*ListAgentsDefault) IsClientError ¶ added in v1.21.0
func (o *ListAgentsDefault) IsClientError() bool
IsClientError returns true when this list agents default response has a 4xx status code
func (*ListAgentsDefault) IsCode ¶ added in v1.21.0
func (o *ListAgentsDefault) IsCode(code int) bool
IsCode returns true when this list agents default response a status code equal to that given
func (*ListAgentsDefault) IsRedirect ¶ added in v1.21.0
func (o *ListAgentsDefault) IsRedirect() bool
IsRedirect returns true when this list agents default response has a 3xx status code
func (*ListAgentsDefault) IsServerError ¶ added in v1.21.0
func (o *ListAgentsDefault) IsServerError() bool
IsServerError returns true when this list agents default response has a 5xx status code
func (*ListAgentsDefault) IsSuccess ¶ added in v1.21.0
func (o *ListAgentsDefault) IsSuccess() bool
IsSuccess returns true when this list agents default response has a 2xx status code
func (*ListAgentsDefault) String ¶ added in v1.21.0
func (o *ListAgentsDefault) String() string
type ListAgentsForbidden ¶
type ListAgentsForbidden struct {
Payload interface{}
}
ListAgentsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListAgentsForbidden ¶
func NewListAgentsForbidden() *ListAgentsForbidden
NewListAgentsForbidden creates a ListAgentsForbidden with default headers values
func (*ListAgentsForbidden) Code ¶ added in v1.22.0
func (o *ListAgentsForbidden) Code() int
Code gets the status code for the list agents forbidden response
func (*ListAgentsForbidden) Error ¶
func (o *ListAgentsForbidden) Error() string
func (*ListAgentsForbidden) GetPayload ¶
func (o *ListAgentsForbidden) GetPayload() interface{}
func (*ListAgentsForbidden) IsClientError ¶ added in v1.21.0
func (o *ListAgentsForbidden) IsClientError() bool
IsClientError returns true when this list agents forbidden response has a 4xx status code
func (*ListAgentsForbidden) IsCode ¶ added in v1.21.0
func (o *ListAgentsForbidden) IsCode(code int) bool
IsCode returns true when this list agents forbidden response a status code equal to that given
func (*ListAgentsForbidden) IsRedirect ¶ added in v1.21.0
func (o *ListAgentsForbidden) IsRedirect() bool
IsRedirect returns true when this list agents forbidden response has a 3xx status code
func (*ListAgentsForbidden) IsServerError ¶ added in v1.21.0
func (o *ListAgentsForbidden) IsServerError() bool
IsServerError returns true when this list agents forbidden response has a 5xx status code
func (*ListAgentsForbidden) IsSuccess ¶ added in v1.21.0
func (o *ListAgentsForbidden) IsSuccess() bool
IsSuccess returns true when this list agents forbidden response has a 2xx status code
func (*ListAgentsForbidden) String ¶ added in v1.21.0
func (o *ListAgentsForbidden) String() string
type ListAgentsNoContent ¶
type ListAgentsNoContent struct {
Payload interface{}
}
ListAgentsNoContent describes a response with status code 204, with default header values.
No content.
func NewListAgentsNoContent ¶
func NewListAgentsNoContent() *ListAgentsNoContent
NewListAgentsNoContent creates a ListAgentsNoContent with default headers values
func (*ListAgentsNoContent) Code ¶ added in v1.22.0
func (o *ListAgentsNoContent) Code() int
Code gets the status code for the list agents no content response
func (*ListAgentsNoContent) Error ¶
func (o *ListAgentsNoContent) Error() string
func (*ListAgentsNoContent) GetPayload ¶
func (o *ListAgentsNoContent) GetPayload() interface{}
func (*ListAgentsNoContent) IsClientError ¶ added in v1.21.0
func (o *ListAgentsNoContent) IsClientError() bool
IsClientError returns true when this list agents no content response has a 4xx status code
func (*ListAgentsNoContent) IsCode ¶ added in v1.21.0
func (o *ListAgentsNoContent) IsCode(code int) bool
IsCode returns true when this list agents no content response a status code equal to that given
func (*ListAgentsNoContent) IsRedirect ¶ added in v1.21.0
func (o *ListAgentsNoContent) IsRedirect() bool
IsRedirect returns true when this list agents no content response has a 3xx status code
func (*ListAgentsNoContent) IsServerError ¶ added in v1.21.0
func (o *ListAgentsNoContent) IsServerError() bool
IsServerError returns true when this list agents no content response has a 5xx status code
func (*ListAgentsNoContent) IsSuccess ¶ added in v1.21.0
func (o *ListAgentsNoContent) IsSuccess() bool
IsSuccess returns true when this list agents no content response has a 2xx status code
func (*ListAgentsNoContent) String ¶ added in v1.21.0
func (o *ListAgentsNoContent) String() string
type ListAgentsNotFound ¶
type ListAgentsNotFound struct {
Payload interface{}
}
ListAgentsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListAgentsNotFound ¶
func NewListAgentsNotFound() *ListAgentsNotFound
NewListAgentsNotFound creates a ListAgentsNotFound with default headers values
func (*ListAgentsNotFound) Code ¶ added in v1.22.0
func (o *ListAgentsNotFound) Code() int
Code gets the status code for the list agents not found response
func (*ListAgentsNotFound) Error ¶
func (o *ListAgentsNotFound) Error() string
func (*ListAgentsNotFound) GetPayload ¶
func (o *ListAgentsNotFound) GetPayload() interface{}
func (*ListAgentsNotFound) IsClientError ¶ added in v1.21.0
func (o *ListAgentsNotFound) IsClientError() bool
IsClientError returns true when this list agents not found response has a 4xx status code
func (*ListAgentsNotFound) IsCode ¶ added in v1.21.0
func (o *ListAgentsNotFound) IsCode(code int) bool
IsCode returns true when this list agents not found response a status code equal to that given
func (*ListAgentsNotFound) IsRedirect ¶ added in v1.21.0
func (o *ListAgentsNotFound) IsRedirect() bool
IsRedirect returns true when this list agents not found response has a 3xx status code
func (*ListAgentsNotFound) IsServerError ¶ added in v1.21.0
func (o *ListAgentsNotFound) IsServerError() bool
IsServerError returns true when this list agents not found response has a 5xx status code
func (*ListAgentsNotFound) IsSuccess ¶ added in v1.21.0
func (o *ListAgentsNotFound) IsSuccess() bool
IsSuccess returns true when this list agents not found response has a 2xx status code
func (*ListAgentsNotFound) String ¶ added in v1.21.0
func (o *ListAgentsNotFound) String() string
type ListAgentsOK ¶
type ListAgentsOK struct {
Payload *service_model.V1ListAgentsResponse
}
ListAgentsOK describes a response with status code 200, with default header values.
A successful response.
func NewListAgentsOK ¶
func NewListAgentsOK() *ListAgentsOK
NewListAgentsOK creates a ListAgentsOK with default headers values
func (*ListAgentsOK) Code ¶ added in v1.22.0
func (o *ListAgentsOK) Code() int
Code gets the status code for the list agents o k response
func (*ListAgentsOK) Error ¶
func (o *ListAgentsOK) Error() string
func (*ListAgentsOK) GetPayload ¶
func (o *ListAgentsOK) GetPayload() *service_model.V1ListAgentsResponse
func (*ListAgentsOK) IsClientError ¶ added in v1.21.0
func (o *ListAgentsOK) IsClientError() bool
IsClientError returns true when this list agents o k response has a 4xx status code
func (*ListAgentsOK) IsCode ¶ added in v1.21.0
func (o *ListAgentsOK) IsCode(code int) bool
IsCode returns true when this list agents o k response a status code equal to that given
func (*ListAgentsOK) IsRedirect ¶ added in v1.21.0
func (o *ListAgentsOK) IsRedirect() bool
IsRedirect returns true when this list agents o k response has a 3xx status code
func (*ListAgentsOK) IsServerError ¶ added in v1.21.0
func (o *ListAgentsOK) IsServerError() bool
IsServerError returns true when this list agents o k response has a 5xx status code
func (*ListAgentsOK) IsSuccess ¶ added in v1.21.0
func (o *ListAgentsOK) IsSuccess() bool
IsSuccess returns true when this list agents o k response has a 2xx status code
func (*ListAgentsOK) String ¶ added in v1.21.0
func (o *ListAgentsOK) String() string
type ListAgentsParams ¶
type ListAgentsParams struct { /* Bookmarks. Filter by bookmarks. */ Bookmarks *bool /* Limit. Limit size. Format: int32 */ Limit *int32 /* Mode. Mode of the search. */ Mode *string /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAgentsParams contains all the parameters to send to the API endpoint
for the list agents operation. Typically these are written to a http.Request.
func NewListAgentsParams ¶
func NewListAgentsParams() *ListAgentsParams
NewListAgentsParams creates a new ListAgentsParams 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 NewListAgentsParamsWithContext ¶
func NewListAgentsParamsWithContext(ctx context.Context) *ListAgentsParams
NewListAgentsParamsWithContext creates a new ListAgentsParams object with the ability to set a context for a request.
func NewListAgentsParamsWithHTTPClient ¶
func NewListAgentsParamsWithHTTPClient(client *http.Client) *ListAgentsParams
NewListAgentsParamsWithHTTPClient creates a new ListAgentsParams object with the ability to set a custom HTTPClient for a request.
func NewListAgentsParamsWithTimeout ¶
func NewListAgentsParamsWithTimeout(timeout time.Duration) *ListAgentsParams
NewListAgentsParamsWithTimeout creates a new ListAgentsParams object with the ability to set a timeout on a request.
func (*ListAgentsParams) SetBookmarks ¶
func (o *ListAgentsParams) SetBookmarks(bookmarks *bool)
SetBookmarks adds the bookmarks to the list agents params
func (*ListAgentsParams) SetContext ¶
func (o *ListAgentsParams) SetContext(ctx context.Context)
SetContext adds the context to the list agents params
func (*ListAgentsParams) SetDefaults ¶
func (o *ListAgentsParams) SetDefaults()
SetDefaults hydrates default values in the list agents params (not the query body).
All values with no default are reset to their zero value.
func (*ListAgentsParams) SetHTTPClient ¶
func (o *ListAgentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list agents params
func (*ListAgentsParams) SetLimit ¶
func (o *ListAgentsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list agents params
func (*ListAgentsParams) SetMode ¶
func (o *ListAgentsParams) SetMode(mode *string)
SetMode adds the mode to the list agents params
func (*ListAgentsParams) SetNoPage ¶
func (o *ListAgentsParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list agents params
func (*ListAgentsParams) SetOffset ¶
func (o *ListAgentsParams) SetOffset(offset *int32)
SetOffset adds the offset to the list agents params
func (*ListAgentsParams) SetOwner ¶
func (o *ListAgentsParams) SetOwner(owner string)
SetOwner adds the owner to the list agents params
func (*ListAgentsParams) SetQuery ¶
func (o *ListAgentsParams) SetQuery(query *string)
SetQuery adds the query to the list agents params
func (*ListAgentsParams) SetSort ¶
func (o *ListAgentsParams) SetSort(sort *string)
SetSort adds the sort to the list agents params
func (*ListAgentsParams) SetTimeout ¶
func (o *ListAgentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list agents params
func (*ListAgentsParams) WithBookmarks ¶
func (o *ListAgentsParams) WithBookmarks(bookmarks *bool) *ListAgentsParams
WithBookmarks adds the bookmarks to the list agents params
func (*ListAgentsParams) WithContext ¶
func (o *ListAgentsParams) WithContext(ctx context.Context) *ListAgentsParams
WithContext adds the context to the list agents params
func (*ListAgentsParams) WithDefaults ¶
func (o *ListAgentsParams) WithDefaults() *ListAgentsParams
WithDefaults hydrates default values in the list agents params (not the query body).
All values with no default are reset to their zero value.
func (*ListAgentsParams) WithHTTPClient ¶
func (o *ListAgentsParams) WithHTTPClient(client *http.Client) *ListAgentsParams
WithHTTPClient adds the HTTPClient to the list agents params
func (*ListAgentsParams) WithLimit ¶
func (o *ListAgentsParams) WithLimit(limit *int32) *ListAgentsParams
WithLimit adds the limit to the list agents params
func (*ListAgentsParams) WithMode ¶
func (o *ListAgentsParams) WithMode(mode *string) *ListAgentsParams
WithMode adds the mode to the list agents params
func (*ListAgentsParams) WithNoPage ¶
func (o *ListAgentsParams) WithNoPage(noPage *bool) *ListAgentsParams
WithNoPage adds the noPage to the list agents params
func (*ListAgentsParams) WithOffset ¶
func (o *ListAgentsParams) WithOffset(offset *int32) *ListAgentsParams
WithOffset adds the offset to the list agents params
func (*ListAgentsParams) WithOwner ¶
func (o *ListAgentsParams) WithOwner(owner string) *ListAgentsParams
WithOwner adds the owner to the list agents params
func (*ListAgentsParams) WithQuery ¶
func (o *ListAgentsParams) WithQuery(query *string) *ListAgentsParams
WithQuery adds the query to the list agents params
func (*ListAgentsParams) WithSort ¶
func (o *ListAgentsParams) WithSort(sort *string) *ListAgentsParams
WithSort adds the sort to the list agents params
func (*ListAgentsParams) WithTimeout ¶
func (o *ListAgentsParams) WithTimeout(timeout time.Duration) *ListAgentsParams
WithTimeout adds the timeout to the list agents params
func (*ListAgentsParams) WriteToRequest ¶
func (o *ListAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAgentsReader ¶
type ListAgentsReader struct {
// contains filtered or unexported fields
}
ListAgentsReader is a Reader for the ListAgents structure.
func (*ListAgentsReader) ReadResponse ¶
func (o *ListAgentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAgentDefault ¶
type PatchAgentDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
PatchAgentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPatchAgentDefault ¶
func NewPatchAgentDefault(code int) *PatchAgentDefault
NewPatchAgentDefault creates a PatchAgentDefault with default headers values
func (*PatchAgentDefault) Code ¶
func (o *PatchAgentDefault) Code() int
Code gets the status code for the patch agent default response
func (*PatchAgentDefault) Error ¶
func (o *PatchAgentDefault) Error() string
func (*PatchAgentDefault) GetPayload ¶
func (o *PatchAgentDefault) GetPayload() *service_model.RuntimeError
func (*PatchAgentDefault) IsClientError ¶ added in v1.21.0
func (o *PatchAgentDefault) IsClientError() bool
IsClientError returns true when this patch agent default response has a 4xx status code
func (*PatchAgentDefault) IsCode ¶ added in v1.21.0
func (o *PatchAgentDefault) IsCode(code int) bool
IsCode returns true when this patch agent default response a status code equal to that given
func (*PatchAgentDefault) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentDefault) IsRedirect() bool
IsRedirect returns true when this patch agent default response has a 3xx status code
func (*PatchAgentDefault) IsServerError ¶ added in v1.21.0
func (o *PatchAgentDefault) IsServerError() bool
IsServerError returns true when this patch agent default response has a 5xx status code
func (*PatchAgentDefault) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentDefault) IsSuccess() bool
IsSuccess returns true when this patch agent default response has a 2xx status code
func (*PatchAgentDefault) String ¶ added in v1.21.0
func (o *PatchAgentDefault) String() string
type PatchAgentForbidden ¶
type PatchAgentForbidden struct {
Payload interface{}
}
PatchAgentForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewPatchAgentForbidden ¶
func NewPatchAgentForbidden() *PatchAgentForbidden
NewPatchAgentForbidden creates a PatchAgentForbidden with default headers values
func (*PatchAgentForbidden) Code ¶ added in v1.22.0
func (o *PatchAgentForbidden) Code() int
Code gets the status code for the patch agent forbidden response
func (*PatchAgentForbidden) Error ¶
func (o *PatchAgentForbidden) Error() string
func (*PatchAgentForbidden) GetPayload ¶
func (o *PatchAgentForbidden) GetPayload() interface{}
func (*PatchAgentForbidden) IsClientError ¶ added in v1.21.0
func (o *PatchAgentForbidden) IsClientError() bool
IsClientError returns true when this patch agent forbidden response has a 4xx status code
func (*PatchAgentForbidden) IsCode ¶ added in v1.21.0
func (o *PatchAgentForbidden) IsCode(code int) bool
IsCode returns true when this patch agent forbidden response a status code equal to that given
func (*PatchAgentForbidden) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentForbidden) IsRedirect() bool
IsRedirect returns true when this patch agent forbidden response has a 3xx status code
func (*PatchAgentForbidden) IsServerError ¶ added in v1.21.0
func (o *PatchAgentForbidden) IsServerError() bool
IsServerError returns true when this patch agent forbidden response has a 5xx status code
func (*PatchAgentForbidden) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentForbidden) IsSuccess() bool
IsSuccess returns true when this patch agent forbidden response has a 2xx status code
func (*PatchAgentForbidden) String ¶ added in v1.21.0
func (o *PatchAgentForbidden) String() string
type PatchAgentNoContent ¶
type PatchAgentNoContent struct {
Payload interface{}
}
PatchAgentNoContent describes a response with status code 204, with default header values.
No content.
func NewPatchAgentNoContent ¶
func NewPatchAgentNoContent() *PatchAgentNoContent
NewPatchAgentNoContent creates a PatchAgentNoContent with default headers values
func (*PatchAgentNoContent) Code ¶ added in v1.22.0
func (o *PatchAgentNoContent) Code() int
Code gets the status code for the patch agent no content response
func (*PatchAgentNoContent) Error ¶
func (o *PatchAgentNoContent) Error() string
func (*PatchAgentNoContent) GetPayload ¶
func (o *PatchAgentNoContent) GetPayload() interface{}
func (*PatchAgentNoContent) IsClientError ¶ added in v1.21.0
func (o *PatchAgentNoContent) IsClientError() bool
IsClientError returns true when this patch agent no content response has a 4xx status code
func (*PatchAgentNoContent) IsCode ¶ added in v1.21.0
func (o *PatchAgentNoContent) IsCode(code int) bool
IsCode returns true when this patch agent no content response a status code equal to that given
func (*PatchAgentNoContent) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentNoContent) IsRedirect() bool
IsRedirect returns true when this patch agent no content response has a 3xx status code
func (*PatchAgentNoContent) IsServerError ¶ added in v1.21.0
func (o *PatchAgentNoContent) IsServerError() bool
IsServerError returns true when this patch agent no content response has a 5xx status code
func (*PatchAgentNoContent) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentNoContent) IsSuccess() bool
IsSuccess returns true when this patch agent no content response has a 2xx status code
func (*PatchAgentNoContent) String ¶ added in v1.21.0
func (o *PatchAgentNoContent) String() string
type PatchAgentNotFound ¶
type PatchAgentNotFound struct {
Payload interface{}
}
PatchAgentNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewPatchAgentNotFound ¶
func NewPatchAgentNotFound() *PatchAgentNotFound
NewPatchAgentNotFound creates a PatchAgentNotFound with default headers values
func (*PatchAgentNotFound) Code ¶ added in v1.22.0
func (o *PatchAgentNotFound) Code() int
Code gets the status code for the patch agent not found response
func (*PatchAgentNotFound) Error ¶
func (o *PatchAgentNotFound) Error() string
func (*PatchAgentNotFound) GetPayload ¶
func (o *PatchAgentNotFound) GetPayload() interface{}
func (*PatchAgentNotFound) IsClientError ¶ added in v1.21.0
func (o *PatchAgentNotFound) IsClientError() bool
IsClientError returns true when this patch agent not found response has a 4xx status code
func (*PatchAgentNotFound) IsCode ¶ added in v1.21.0
func (o *PatchAgentNotFound) IsCode(code int) bool
IsCode returns true when this patch agent not found response a status code equal to that given
func (*PatchAgentNotFound) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentNotFound) IsRedirect() bool
IsRedirect returns true when this patch agent not found response has a 3xx status code
func (*PatchAgentNotFound) IsServerError ¶ added in v1.21.0
func (o *PatchAgentNotFound) IsServerError() bool
IsServerError returns true when this patch agent not found response has a 5xx status code
func (*PatchAgentNotFound) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentNotFound) IsSuccess() bool
IsSuccess returns true when this patch agent not found response has a 2xx status code
func (*PatchAgentNotFound) String ¶ added in v1.21.0
func (o *PatchAgentNotFound) String() string
type PatchAgentOK ¶
type PatchAgentOK struct {
Payload *service_model.V1Agent
}
PatchAgentOK describes a response with status code 200, with default header values.
A successful response.
func NewPatchAgentOK ¶
func NewPatchAgentOK() *PatchAgentOK
NewPatchAgentOK creates a PatchAgentOK with default headers values
func (*PatchAgentOK) Code ¶ added in v1.22.0
func (o *PatchAgentOK) Code() int
Code gets the status code for the patch agent o k response
func (*PatchAgentOK) Error ¶
func (o *PatchAgentOK) Error() string
func (*PatchAgentOK) GetPayload ¶
func (o *PatchAgentOK) GetPayload() *service_model.V1Agent
func (*PatchAgentOK) IsClientError ¶ added in v1.21.0
func (o *PatchAgentOK) IsClientError() bool
IsClientError returns true when this patch agent o k response has a 4xx status code
func (*PatchAgentOK) IsCode ¶ added in v1.21.0
func (o *PatchAgentOK) IsCode(code int) bool
IsCode returns true when this patch agent o k response a status code equal to that given
func (*PatchAgentOK) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentOK) IsRedirect() bool
IsRedirect returns true when this patch agent o k response has a 3xx status code
func (*PatchAgentOK) IsServerError ¶ added in v1.21.0
func (o *PatchAgentOK) IsServerError() bool
IsServerError returns true when this patch agent o k response has a 5xx status code
func (*PatchAgentOK) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentOK) IsSuccess() bool
IsSuccess returns true when this patch agent o k response has a 2xx status code
func (*PatchAgentOK) String ¶ added in v1.21.0
func (o *PatchAgentOK) String() string
type PatchAgentParams ¶
type PatchAgentParams struct { /* AgentUUID. UUID */ AgentUUID string /* Body. Agent body */ Body *service_model.V1Agent /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAgentParams contains all the parameters to send to the API endpoint
for the patch agent operation. Typically these are written to a http.Request.
func NewPatchAgentParams ¶
func NewPatchAgentParams() *PatchAgentParams
NewPatchAgentParams creates a new PatchAgentParams 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 NewPatchAgentParamsWithContext ¶
func NewPatchAgentParamsWithContext(ctx context.Context) *PatchAgentParams
NewPatchAgentParamsWithContext creates a new PatchAgentParams object with the ability to set a context for a request.
func NewPatchAgentParamsWithHTTPClient ¶
func NewPatchAgentParamsWithHTTPClient(client *http.Client) *PatchAgentParams
NewPatchAgentParamsWithHTTPClient creates a new PatchAgentParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAgentParamsWithTimeout ¶
func NewPatchAgentParamsWithTimeout(timeout time.Duration) *PatchAgentParams
NewPatchAgentParamsWithTimeout creates a new PatchAgentParams object with the ability to set a timeout on a request.
func (*PatchAgentParams) SetAgentUUID ¶
func (o *PatchAgentParams) SetAgentUUID(agentUUID string)
SetAgentUUID adds the agentUuid to the patch agent params
func (*PatchAgentParams) SetBody ¶
func (o *PatchAgentParams) SetBody(body *service_model.V1Agent)
SetBody adds the body to the patch agent params
func (*PatchAgentParams) SetContext ¶
func (o *PatchAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the patch agent params
func (*PatchAgentParams) SetDefaults ¶
func (o *PatchAgentParams) SetDefaults()
SetDefaults hydrates default values in the patch agent params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAgentParams) SetHTTPClient ¶
func (o *PatchAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch agent params
func (*PatchAgentParams) SetOwner ¶
func (o *PatchAgentParams) SetOwner(owner string)
SetOwner adds the owner to the patch agent params
func (*PatchAgentParams) SetTimeout ¶
func (o *PatchAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch agent params
func (*PatchAgentParams) WithAgentUUID ¶
func (o *PatchAgentParams) WithAgentUUID(agentUUID string) *PatchAgentParams
WithAgentUUID adds the agentUUID to the patch agent params
func (*PatchAgentParams) WithBody ¶
func (o *PatchAgentParams) WithBody(body *service_model.V1Agent) *PatchAgentParams
WithBody adds the body to the patch agent params
func (*PatchAgentParams) WithContext ¶
func (o *PatchAgentParams) WithContext(ctx context.Context) *PatchAgentParams
WithContext adds the context to the patch agent params
func (*PatchAgentParams) WithDefaults ¶
func (o *PatchAgentParams) WithDefaults() *PatchAgentParams
WithDefaults hydrates default values in the patch agent params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAgentParams) WithHTTPClient ¶
func (o *PatchAgentParams) WithHTTPClient(client *http.Client) *PatchAgentParams
WithHTTPClient adds the HTTPClient to the patch agent params
func (*PatchAgentParams) WithOwner ¶
func (o *PatchAgentParams) WithOwner(owner string) *PatchAgentParams
WithOwner adds the owner to the patch agent params
func (*PatchAgentParams) WithTimeout ¶
func (o *PatchAgentParams) WithTimeout(timeout time.Duration) *PatchAgentParams
WithTimeout adds the timeout to the patch agent params
func (*PatchAgentParams) WriteToRequest ¶
func (o *PatchAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAgentReader ¶
type PatchAgentReader struct {
// contains filtered or unexported fields
}
PatchAgentReader is a Reader for the PatchAgent structure.
func (*PatchAgentReader) ReadResponse ¶
func (o *PatchAgentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAgentTokenDefault ¶
type PatchAgentTokenDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
PatchAgentTokenDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPatchAgentTokenDefault ¶
func NewPatchAgentTokenDefault(code int) *PatchAgentTokenDefault
NewPatchAgentTokenDefault creates a PatchAgentTokenDefault with default headers values
func (*PatchAgentTokenDefault) Code ¶
func (o *PatchAgentTokenDefault) Code() int
Code gets the status code for the patch agent token default response
func (*PatchAgentTokenDefault) Error ¶
func (o *PatchAgentTokenDefault) Error() string
func (*PatchAgentTokenDefault) GetPayload ¶
func (o *PatchAgentTokenDefault) GetPayload() *service_model.RuntimeError
func (*PatchAgentTokenDefault) IsClientError ¶ added in v1.21.0
func (o *PatchAgentTokenDefault) IsClientError() bool
IsClientError returns true when this patch agent token default response has a 4xx status code
func (*PatchAgentTokenDefault) IsCode ¶ added in v1.21.0
func (o *PatchAgentTokenDefault) IsCode(code int) bool
IsCode returns true when this patch agent token default response a status code equal to that given
func (*PatchAgentTokenDefault) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentTokenDefault) IsRedirect() bool
IsRedirect returns true when this patch agent token default response has a 3xx status code
func (*PatchAgentTokenDefault) IsServerError ¶ added in v1.21.0
func (o *PatchAgentTokenDefault) IsServerError() bool
IsServerError returns true when this patch agent token default response has a 5xx status code
func (*PatchAgentTokenDefault) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentTokenDefault) IsSuccess() bool
IsSuccess returns true when this patch agent token default response has a 2xx status code
func (*PatchAgentTokenDefault) String ¶ added in v1.21.0
func (o *PatchAgentTokenDefault) String() string
type PatchAgentTokenForbidden ¶
type PatchAgentTokenForbidden struct {
Payload interface{}
}
PatchAgentTokenForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewPatchAgentTokenForbidden ¶
func NewPatchAgentTokenForbidden() *PatchAgentTokenForbidden
NewPatchAgentTokenForbidden creates a PatchAgentTokenForbidden with default headers values
func (*PatchAgentTokenForbidden) Code ¶ added in v1.22.0
func (o *PatchAgentTokenForbidden) Code() int
Code gets the status code for the patch agent token forbidden response
func (*PatchAgentTokenForbidden) Error ¶
func (o *PatchAgentTokenForbidden) Error() string
func (*PatchAgentTokenForbidden) GetPayload ¶
func (o *PatchAgentTokenForbidden) GetPayload() interface{}
func (*PatchAgentTokenForbidden) IsClientError ¶ added in v1.21.0
func (o *PatchAgentTokenForbidden) IsClientError() bool
IsClientError returns true when this patch agent token forbidden response has a 4xx status code
func (*PatchAgentTokenForbidden) IsCode ¶ added in v1.21.0
func (o *PatchAgentTokenForbidden) IsCode(code int) bool
IsCode returns true when this patch agent token forbidden response a status code equal to that given
func (*PatchAgentTokenForbidden) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentTokenForbidden) IsRedirect() bool
IsRedirect returns true when this patch agent token forbidden response has a 3xx status code
func (*PatchAgentTokenForbidden) IsServerError ¶ added in v1.21.0
func (o *PatchAgentTokenForbidden) IsServerError() bool
IsServerError returns true when this patch agent token forbidden response has a 5xx status code
func (*PatchAgentTokenForbidden) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentTokenForbidden) IsSuccess() bool
IsSuccess returns true when this patch agent token forbidden response has a 2xx status code
func (*PatchAgentTokenForbidden) String ¶ added in v1.21.0
func (o *PatchAgentTokenForbidden) String() string
type PatchAgentTokenNoContent ¶
type PatchAgentTokenNoContent struct {
Payload interface{}
}
PatchAgentTokenNoContent describes a response with status code 204, with default header values.
No content.
func NewPatchAgentTokenNoContent ¶
func NewPatchAgentTokenNoContent() *PatchAgentTokenNoContent
NewPatchAgentTokenNoContent creates a PatchAgentTokenNoContent with default headers values
func (*PatchAgentTokenNoContent) Code ¶ added in v1.22.0
func (o *PatchAgentTokenNoContent) Code() int
Code gets the status code for the patch agent token no content response
func (*PatchAgentTokenNoContent) Error ¶
func (o *PatchAgentTokenNoContent) Error() string
func (*PatchAgentTokenNoContent) GetPayload ¶
func (o *PatchAgentTokenNoContent) GetPayload() interface{}
func (*PatchAgentTokenNoContent) IsClientError ¶ added in v1.21.0
func (o *PatchAgentTokenNoContent) IsClientError() bool
IsClientError returns true when this patch agent token no content response has a 4xx status code
func (*PatchAgentTokenNoContent) IsCode ¶ added in v1.21.0
func (o *PatchAgentTokenNoContent) IsCode(code int) bool
IsCode returns true when this patch agent token no content response a status code equal to that given
func (*PatchAgentTokenNoContent) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentTokenNoContent) IsRedirect() bool
IsRedirect returns true when this patch agent token no content response has a 3xx status code
func (*PatchAgentTokenNoContent) IsServerError ¶ added in v1.21.0
func (o *PatchAgentTokenNoContent) IsServerError() bool
IsServerError returns true when this patch agent token no content response has a 5xx status code
func (*PatchAgentTokenNoContent) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentTokenNoContent) IsSuccess() bool
IsSuccess returns true when this patch agent token no content response has a 2xx status code
func (*PatchAgentTokenNoContent) String ¶ added in v1.21.0
func (o *PatchAgentTokenNoContent) String() string
type PatchAgentTokenNotFound ¶
type PatchAgentTokenNotFound struct {
Payload interface{}
}
PatchAgentTokenNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewPatchAgentTokenNotFound ¶
func NewPatchAgentTokenNotFound() *PatchAgentTokenNotFound
NewPatchAgentTokenNotFound creates a PatchAgentTokenNotFound with default headers values
func (*PatchAgentTokenNotFound) Code ¶ added in v1.22.0
func (o *PatchAgentTokenNotFound) Code() int
Code gets the status code for the patch agent token not found response
func (*PatchAgentTokenNotFound) Error ¶
func (o *PatchAgentTokenNotFound) Error() string
func (*PatchAgentTokenNotFound) GetPayload ¶
func (o *PatchAgentTokenNotFound) GetPayload() interface{}
func (*PatchAgentTokenNotFound) IsClientError ¶ added in v1.21.0
func (o *PatchAgentTokenNotFound) IsClientError() bool
IsClientError returns true when this patch agent token not found response has a 4xx status code
func (*PatchAgentTokenNotFound) IsCode ¶ added in v1.21.0
func (o *PatchAgentTokenNotFound) IsCode(code int) bool
IsCode returns true when this patch agent token not found response a status code equal to that given
func (*PatchAgentTokenNotFound) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentTokenNotFound) IsRedirect() bool
IsRedirect returns true when this patch agent token not found response has a 3xx status code
func (*PatchAgentTokenNotFound) IsServerError ¶ added in v1.21.0
func (o *PatchAgentTokenNotFound) IsServerError() bool
IsServerError returns true when this patch agent token not found response has a 5xx status code
func (*PatchAgentTokenNotFound) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentTokenNotFound) IsSuccess() bool
IsSuccess returns true when this patch agent token not found response has a 2xx status code
func (*PatchAgentTokenNotFound) String ¶ added in v1.21.0
func (o *PatchAgentTokenNotFound) String() string
type PatchAgentTokenOK ¶
type PatchAgentTokenOK struct {
Payload *service_model.V1Token
}
PatchAgentTokenOK describes a response with status code 200, with default header values.
A successful response.
func NewPatchAgentTokenOK ¶
func NewPatchAgentTokenOK() *PatchAgentTokenOK
NewPatchAgentTokenOK creates a PatchAgentTokenOK with default headers values
func (*PatchAgentTokenOK) Code ¶ added in v1.22.0
func (o *PatchAgentTokenOK) Code() int
Code gets the status code for the patch agent token o k response
func (*PatchAgentTokenOK) Error ¶
func (o *PatchAgentTokenOK) Error() string
func (*PatchAgentTokenOK) GetPayload ¶
func (o *PatchAgentTokenOK) GetPayload() *service_model.V1Token
func (*PatchAgentTokenOK) IsClientError ¶ added in v1.21.0
func (o *PatchAgentTokenOK) IsClientError() bool
IsClientError returns true when this patch agent token o k response has a 4xx status code
func (*PatchAgentTokenOK) IsCode ¶ added in v1.21.0
func (o *PatchAgentTokenOK) IsCode(code int) bool
IsCode returns true when this patch agent token o k response a status code equal to that given
func (*PatchAgentTokenOK) IsRedirect ¶ added in v1.21.0
func (o *PatchAgentTokenOK) IsRedirect() bool
IsRedirect returns true when this patch agent token o k response has a 3xx status code
func (*PatchAgentTokenOK) IsServerError ¶ added in v1.21.0
func (o *PatchAgentTokenOK) IsServerError() bool
IsServerError returns true when this patch agent token o k response has a 5xx status code
func (*PatchAgentTokenOK) IsSuccess ¶ added in v1.21.0
func (o *PatchAgentTokenOK) IsSuccess() bool
IsSuccess returns true when this patch agent token o k response has a 2xx status code
func (*PatchAgentTokenOK) String ¶ added in v1.21.0
func (o *PatchAgentTokenOK) String() string
type PatchAgentTokenParams ¶
type PatchAgentTokenParams struct { /* Body. Token body */ Body *service_model.V1Token /* Entity. Rntity */ Entity string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAgentTokenParams contains all the parameters to send to the API endpoint
for the patch agent token operation. Typically these are written to a http.Request.
func NewPatchAgentTokenParams ¶
func NewPatchAgentTokenParams() *PatchAgentTokenParams
NewPatchAgentTokenParams creates a new PatchAgentTokenParams 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 NewPatchAgentTokenParamsWithContext ¶
func NewPatchAgentTokenParamsWithContext(ctx context.Context) *PatchAgentTokenParams
NewPatchAgentTokenParamsWithContext creates a new PatchAgentTokenParams object with the ability to set a context for a request.
func NewPatchAgentTokenParamsWithHTTPClient ¶
func NewPatchAgentTokenParamsWithHTTPClient(client *http.Client) *PatchAgentTokenParams
NewPatchAgentTokenParamsWithHTTPClient creates a new PatchAgentTokenParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAgentTokenParamsWithTimeout ¶
func NewPatchAgentTokenParamsWithTimeout(timeout time.Duration) *PatchAgentTokenParams
NewPatchAgentTokenParamsWithTimeout creates a new PatchAgentTokenParams object with the ability to set a timeout on a request.
func (*PatchAgentTokenParams) SetBody ¶
func (o *PatchAgentTokenParams) SetBody(body *service_model.V1Token)
SetBody adds the body to the patch agent token params
func (*PatchAgentTokenParams) SetContext ¶
func (o *PatchAgentTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the patch agent token params
func (*PatchAgentTokenParams) SetDefaults ¶
func (o *PatchAgentTokenParams) SetDefaults()
SetDefaults hydrates default values in the patch agent token params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAgentTokenParams) SetEntity ¶
func (o *PatchAgentTokenParams) SetEntity(entity string)
SetEntity adds the entity to the patch agent token params
func (*PatchAgentTokenParams) SetHTTPClient ¶
func (o *PatchAgentTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch agent token params
func (*PatchAgentTokenParams) SetOwner ¶
func (o *PatchAgentTokenParams) SetOwner(owner string)
SetOwner adds the owner to the patch agent token params
func (*PatchAgentTokenParams) SetTimeout ¶
func (o *PatchAgentTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch agent token params
func (*PatchAgentTokenParams) WithBody ¶
func (o *PatchAgentTokenParams) WithBody(body *service_model.V1Token) *PatchAgentTokenParams
WithBody adds the body to the patch agent token params
func (*PatchAgentTokenParams) WithContext ¶
func (o *PatchAgentTokenParams) WithContext(ctx context.Context) *PatchAgentTokenParams
WithContext adds the context to the patch agent token params
func (*PatchAgentTokenParams) WithDefaults ¶
func (o *PatchAgentTokenParams) WithDefaults() *PatchAgentTokenParams
WithDefaults hydrates default values in the patch agent token params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAgentTokenParams) WithEntity ¶
func (o *PatchAgentTokenParams) WithEntity(entity string) *PatchAgentTokenParams
WithEntity adds the entity to the patch agent token params
func (*PatchAgentTokenParams) WithHTTPClient ¶
func (o *PatchAgentTokenParams) WithHTTPClient(client *http.Client) *PatchAgentTokenParams
WithHTTPClient adds the HTTPClient to the patch agent token params
func (*PatchAgentTokenParams) WithOwner ¶
func (o *PatchAgentTokenParams) WithOwner(owner string) *PatchAgentTokenParams
WithOwner adds the owner to the patch agent token params
func (*PatchAgentTokenParams) WithTimeout ¶
func (o *PatchAgentTokenParams) WithTimeout(timeout time.Duration) *PatchAgentTokenParams
WithTimeout adds the timeout to the patch agent token params
func (*PatchAgentTokenParams) WriteToRequest ¶
func (o *PatchAgentTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAgentTokenReader ¶
type PatchAgentTokenReader struct {
// contains filtered or unexported fields
}
PatchAgentTokenReader is a Reader for the PatchAgentToken structure.
func (*PatchAgentTokenReader) ReadResponse ¶
func (o *PatchAgentTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SyncAgentDefault ¶
type SyncAgentDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
SyncAgentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewSyncAgentDefault ¶
func NewSyncAgentDefault(code int) *SyncAgentDefault
NewSyncAgentDefault creates a SyncAgentDefault with default headers values
func (*SyncAgentDefault) Code ¶
func (o *SyncAgentDefault) Code() int
Code gets the status code for the sync agent default response
func (*SyncAgentDefault) Error ¶
func (o *SyncAgentDefault) Error() string
func (*SyncAgentDefault) GetPayload ¶
func (o *SyncAgentDefault) GetPayload() *service_model.RuntimeError
func (*SyncAgentDefault) IsClientError ¶ added in v1.21.0
func (o *SyncAgentDefault) IsClientError() bool
IsClientError returns true when this sync agent default response has a 4xx status code
func (*SyncAgentDefault) IsCode ¶ added in v1.21.0
func (o *SyncAgentDefault) IsCode(code int) bool
IsCode returns true when this sync agent default response a status code equal to that given
func (*SyncAgentDefault) IsRedirect ¶ added in v1.21.0
func (o *SyncAgentDefault) IsRedirect() bool
IsRedirect returns true when this sync agent default response has a 3xx status code
func (*SyncAgentDefault) IsServerError ¶ added in v1.21.0
func (o *SyncAgentDefault) IsServerError() bool
IsServerError returns true when this sync agent default response has a 5xx status code
func (*SyncAgentDefault) IsSuccess ¶ added in v1.21.0
func (o *SyncAgentDefault) IsSuccess() bool
IsSuccess returns true when this sync agent default response has a 2xx status code
func (*SyncAgentDefault) String ¶ added in v1.21.0
func (o *SyncAgentDefault) String() string
type SyncAgentForbidden ¶
type SyncAgentForbidden struct {
Payload interface{}
}
SyncAgentForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewSyncAgentForbidden ¶
func NewSyncAgentForbidden() *SyncAgentForbidden
NewSyncAgentForbidden creates a SyncAgentForbidden with default headers values
func (*SyncAgentForbidden) Code ¶ added in v1.22.0
func (o *SyncAgentForbidden) Code() int
Code gets the status code for the sync agent forbidden response
func (*SyncAgentForbidden) Error ¶
func (o *SyncAgentForbidden) Error() string
func (*SyncAgentForbidden) GetPayload ¶
func (o *SyncAgentForbidden) GetPayload() interface{}
func (*SyncAgentForbidden) IsClientError ¶ added in v1.21.0
func (o *SyncAgentForbidden) IsClientError() bool
IsClientError returns true when this sync agent forbidden response has a 4xx status code
func (*SyncAgentForbidden) IsCode ¶ added in v1.21.0
func (o *SyncAgentForbidden) IsCode(code int) bool
IsCode returns true when this sync agent forbidden response a status code equal to that given
func (*SyncAgentForbidden) IsRedirect ¶ added in v1.21.0
func (o *SyncAgentForbidden) IsRedirect() bool
IsRedirect returns true when this sync agent forbidden response has a 3xx status code
func (*SyncAgentForbidden) IsServerError ¶ added in v1.21.0
func (o *SyncAgentForbidden) IsServerError() bool
IsServerError returns true when this sync agent forbidden response has a 5xx status code
func (*SyncAgentForbidden) IsSuccess ¶ added in v1.21.0
func (o *SyncAgentForbidden) IsSuccess() bool
IsSuccess returns true when this sync agent forbidden response has a 2xx status code
func (*SyncAgentForbidden) String ¶ added in v1.21.0
func (o *SyncAgentForbidden) String() string
type SyncAgentNoContent ¶
type SyncAgentNoContent struct {
Payload interface{}
}
SyncAgentNoContent describes a response with status code 204, with default header values.
No content.
func NewSyncAgentNoContent ¶
func NewSyncAgentNoContent() *SyncAgentNoContent
NewSyncAgentNoContent creates a SyncAgentNoContent with default headers values
func (*SyncAgentNoContent) Code ¶ added in v1.22.0
func (o *SyncAgentNoContent) Code() int
Code gets the status code for the sync agent no content response
func (*SyncAgentNoContent) Error ¶
func (o *SyncAgentNoContent) Error() string
func (*SyncAgentNoContent) GetPayload ¶
func (o *SyncAgentNoContent) GetPayload() interface{}
func (*SyncAgentNoContent) IsClientError ¶ added in v1.21.0
func (o *SyncAgentNoContent) IsClientError() bool
IsClientError returns true when this sync agent no content response has a 4xx status code
func (*SyncAgentNoContent) IsCode ¶ added in v1.21.0
func (o *SyncAgentNoContent) IsCode(code int) bool
IsCode returns true when this sync agent no content response a status code equal to that given
func (*SyncAgentNoContent) IsRedirect ¶ added in v1.21.0
func (o *SyncAgentNoContent) IsRedirect() bool
IsRedirect returns true when this sync agent no content response has a 3xx status code
func (*SyncAgentNoContent) IsServerError ¶ added in v1.21.0
func (o *SyncAgentNoContent) IsServerError() bool
IsServerError returns true when this sync agent no content response has a 5xx status code
func (*SyncAgentNoContent) IsSuccess ¶ added in v1.21.0
func (o *SyncAgentNoContent) IsSuccess() bool
IsSuccess returns true when this sync agent no content response has a 2xx status code
func (*SyncAgentNoContent) String ¶ added in v1.21.0
func (o *SyncAgentNoContent) String() string
type SyncAgentNotFound ¶
type SyncAgentNotFound struct {
Payload interface{}
}
SyncAgentNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewSyncAgentNotFound ¶
func NewSyncAgentNotFound() *SyncAgentNotFound
NewSyncAgentNotFound creates a SyncAgentNotFound with default headers values
func (*SyncAgentNotFound) Code ¶ added in v1.22.0
func (o *SyncAgentNotFound) Code() int
Code gets the status code for the sync agent not found response
func (*SyncAgentNotFound) Error ¶
func (o *SyncAgentNotFound) Error() string
func (*SyncAgentNotFound) GetPayload ¶
func (o *SyncAgentNotFound) GetPayload() interface{}
func (*SyncAgentNotFound) IsClientError ¶ added in v1.21.0
func (o *SyncAgentNotFound) IsClientError() bool
IsClientError returns true when this sync agent not found response has a 4xx status code
func (*SyncAgentNotFound) IsCode ¶ added in v1.21.0
func (o *SyncAgentNotFound) IsCode(code int) bool
IsCode returns true when this sync agent not found response a status code equal to that given
func (*SyncAgentNotFound) IsRedirect ¶ added in v1.21.0
func (o *SyncAgentNotFound) IsRedirect() bool
IsRedirect returns true when this sync agent not found response has a 3xx status code
func (*SyncAgentNotFound) IsServerError ¶ added in v1.21.0
func (o *SyncAgentNotFound) IsServerError() bool
IsServerError returns true when this sync agent not found response has a 5xx status code
func (*SyncAgentNotFound) IsSuccess ¶ added in v1.21.0
func (o *SyncAgentNotFound) IsSuccess() bool
IsSuccess returns true when this sync agent not found response has a 2xx status code
func (*SyncAgentNotFound) String ¶ added in v1.21.0
func (o *SyncAgentNotFound) String() string
type SyncAgentOK ¶
type SyncAgentOK struct { }
SyncAgentOK describes a response with status code 200, with default header values.
A successful response.
func NewSyncAgentOK ¶
func NewSyncAgentOK() *SyncAgentOK
NewSyncAgentOK creates a SyncAgentOK with default headers values
func (*SyncAgentOK) Code ¶ added in v1.22.0
func (o *SyncAgentOK) Code() int
Code gets the status code for the sync agent o k response
func (*SyncAgentOK) Error ¶
func (o *SyncAgentOK) Error() string
func (*SyncAgentOK) IsClientError ¶ added in v1.21.0
func (o *SyncAgentOK) IsClientError() bool
IsClientError returns true when this sync agent o k response has a 4xx status code
func (*SyncAgentOK) IsCode ¶ added in v1.21.0
func (o *SyncAgentOK) IsCode(code int) bool
IsCode returns true when this sync agent o k response a status code equal to that given
func (*SyncAgentOK) IsRedirect ¶ added in v1.21.0
func (o *SyncAgentOK) IsRedirect() bool
IsRedirect returns true when this sync agent o k response has a 3xx status code
func (*SyncAgentOK) IsServerError ¶ added in v1.21.0
func (o *SyncAgentOK) IsServerError() bool
IsServerError returns true when this sync agent o k response has a 5xx status code
func (*SyncAgentOK) IsSuccess ¶ added in v1.21.0
func (o *SyncAgentOK) IsSuccess() bool
IsSuccess returns true when this sync agent o k response has a 2xx status code
func (*SyncAgentOK) String ¶ added in v1.21.0
func (o *SyncAgentOK) String() string
type SyncAgentParams ¶
type SyncAgentParams struct { /* AgentUUID. UUID */ AgentUUID string /* Body. Agent body */ Body *service_model.V1Agent /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SyncAgentParams contains all the parameters to send to the API endpoint
for the sync agent operation. Typically these are written to a http.Request.
func NewSyncAgentParams ¶
func NewSyncAgentParams() *SyncAgentParams
NewSyncAgentParams creates a new SyncAgentParams 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 NewSyncAgentParamsWithContext ¶
func NewSyncAgentParamsWithContext(ctx context.Context) *SyncAgentParams
NewSyncAgentParamsWithContext creates a new SyncAgentParams object with the ability to set a context for a request.
func NewSyncAgentParamsWithHTTPClient ¶
func NewSyncAgentParamsWithHTTPClient(client *http.Client) *SyncAgentParams
NewSyncAgentParamsWithHTTPClient creates a new SyncAgentParams object with the ability to set a custom HTTPClient for a request.
func NewSyncAgentParamsWithTimeout ¶
func NewSyncAgentParamsWithTimeout(timeout time.Duration) *SyncAgentParams
NewSyncAgentParamsWithTimeout creates a new SyncAgentParams object with the ability to set a timeout on a request.
func (*SyncAgentParams) SetAgentUUID ¶
func (o *SyncAgentParams) SetAgentUUID(agentUUID string)
SetAgentUUID adds the agentUuid to the sync agent params
func (*SyncAgentParams) SetBody ¶
func (o *SyncAgentParams) SetBody(body *service_model.V1Agent)
SetBody adds the body to the sync agent params
func (*SyncAgentParams) SetContext ¶
func (o *SyncAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the sync agent params
func (*SyncAgentParams) SetDefaults ¶
func (o *SyncAgentParams) SetDefaults()
SetDefaults hydrates default values in the sync agent params (not the query body).
All values with no default are reset to their zero value.
func (*SyncAgentParams) SetHTTPClient ¶
func (o *SyncAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sync agent params
func (*SyncAgentParams) SetOwner ¶
func (o *SyncAgentParams) SetOwner(owner string)
SetOwner adds the owner to the sync agent params
func (*SyncAgentParams) SetTimeout ¶
func (o *SyncAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sync agent params
func (*SyncAgentParams) WithAgentUUID ¶
func (o *SyncAgentParams) WithAgentUUID(agentUUID string) *SyncAgentParams
WithAgentUUID adds the agentUUID to the sync agent params
func (*SyncAgentParams) WithBody ¶
func (o *SyncAgentParams) WithBody(body *service_model.V1Agent) *SyncAgentParams
WithBody adds the body to the sync agent params
func (*SyncAgentParams) WithContext ¶
func (o *SyncAgentParams) WithContext(ctx context.Context) *SyncAgentParams
WithContext adds the context to the sync agent params
func (*SyncAgentParams) WithDefaults ¶
func (o *SyncAgentParams) WithDefaults() *SyncAgentParams
WithDefaults hydrates default values in the sync agent params (not the query body).
All values with no default are reset to their zero value.
func (*SyncAgentParams) WithHTTPClient ¶
func (o *SyncAgentParams) WithHTTPClient(client *http.Client) *SyncAgentParams
WithHTTPClient adds the HTTPClient to the sync agent params
func (*SyncAgentParams) WithOwner ¶
func (o *SyncAgentParams) WithOwner(owner string) *SyncAgentParams
WithOwner adds the owner to the sync agent params
func (*SyncAgentParams) WithTimeout ¶
func (o *SyncAgentParams) WithTimeout(timeout time.Duration) *SyncAgentParams
WithTimeout adds the timeout to the sync agent params
func (*SyncAgentParams) WriteToRequest ¶
func (o *SyncAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SyncAgentReader ¶
type SyncAgentReader struct {
// contains filtered or unexported fields
}
SyncAgentReader is a Reader for the SyncAgent structure.
func (*SyncAgentReader) ReadResponse ¶
func (o *SyncAgentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAgentConfigDefault ¶
type UpdateAgentConfigDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UpdateAgentConfigDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateAgentConfigDefault ¶
func NewUpdateAgentConfigDefault(code int) *UpdateAgentConfigDefault
NewUpdateAgentConfigDefault creates a UpdateAgentConfigDefault with default headers values
func (*UpdateAgentConfigDefault) Code ¶
func (o *UpdateAgentConfigDefault) Code() int
Code gets the status code for the update agent config default response
func (*UpdateAgentConfigDefault) Error ¶
func (o *UpdateAgentConfigDefault) Error() string
func (*UpdateAgentConfigDefault) GetPayload ¶
func (o *UpdateAgentConfigDefault) GetPayload() *service_model.RuntimeError
func (*UpdateAgentConfigDefault) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentConfigDefault) IsClientError() bool
IsClientError returns true when this update agent config default response has a 4xx status code
func (*UpdateAgentConfigDefault) IsCode ¶ added in v1.21.0
func (o *UpdateAgentConfigDefault) IsCode(code int) bool
IsCode returns true when this update agent config default response a status code equal to that given
func (*UpdateAgentConfigDefault) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentConfigDefault) IsRedirect() bool
IsRedirect returns true when this update agent config default response has a 3xx status code
func (*UpdateAgentConfigDefault) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentConfigDefault) IsServerError() bool
IsServerError returns true when this update agent config default response has a 5xx status code
func (*UpdateAgentConfigDefault) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentConfigDefault) IsSuccess() bool
IsSuccess returns true when this update agent config default response has a 2xx status code
func (*UpdateAgentConfigDefault) String ¶ added in v1.21.0
func (o *UpdateAgentConfigDefault) String() string
type UpdateAgentConfigForbidden ¶
type UpdateAgentConfigForbidden struct {
Payload interface{}
}
UpdateAgentConfigForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUpdateAgentConfigForbidden ¶
func NewUpdateAgentConfigForbidden() *UpdateAgentConfigForbidden
NewUpdateAgentConfigForbidden creates a UpdateAgentConfigForbidden with default headers values
func (*UpdateAgentConfigForbidden) Code ¶ added in v1.22.0
func (o *UpdateAgentConfigForbidden) Code() int
Code gets the status code for the update agent config forbidden response
func (*UpdateAgentConfigForbidden) Error ¶
func (o *UpdateAgentConfigForbidden) Error() string
func (*UpdateAgentConfigForbidden) GetPayload ¶
func (o *UpdateAgentConfigForbidden) GetPayload() interface{}
func (*UpdateAgentConfigForbidden) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentConfigForbidden) IsClientError() bool
IsClientError returns true when this update agent config forbidden response has a 4xx status code
func (*UpdateAgentConfigForbidden) IsCode ¶ added in v1.21.0
func (o *UpdateAgentConfigForbidden) IsCode(code int) bool
IsCode returns true when this update agent config forbidden response a status code equal to that given
func (*UpdateAgentConfigForbidden) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentConfigForbidden) IsRedirect() bool
IsRedirect returns true when this update agent config forbidden response has a 3xx status code
func (*UpdateAgentConfigForbidden) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentConfigForbidden) IsServerError() bool
IsServerError returns true when this update agent config forbidden response has a 5xx status code
func (*UpdateAgentConfigForbidden) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentConfigForbidden) IsSuccess() bool
IsSuccess returns true when this update agent config forbidden response has a 2xx status code
func (*UpdateAgentConfigForbidden) String ¶ added in v1.21.0
func (o *UpdateAgentConfigForbidden) String() string
type UpdateAgentConfigNoContent ¶
type UpdateAgentConfigNoContent struct {
Payload interface{}
}
UpdateAgentConfigNoContent describes a response with status code 204, with default header values.
No content.
func NewUpdateAgentConfigNoContent ¶
func NewUpdateAgentConfigNoContent() *UpdateAgentConfigNoContent
NewUpdateAgentConfigNoContent creates a UpdateAgentConfigNoContent with default headers values
func (*UpdateAgentConfigNoContent) Code ¶ added in v1.22.0
func (o *UpdateAgentConfigNoContent) Code() int
Code gets the status code for the update agent config no content response
func (*UpdateAgentConfigNoContent) Error ¶
func (o *UpdateAgentConfigNoContent) Error() string
func (*UpdateAgentConfigNoContent) GetPayload ¶
func (o *UpdateAgentConfigNoContent) GetPayload() interface{}
func (*UpdateAgentConfigNoContent) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentConfigNoContent) IsClientError() bool
IsClientError returns true when this update agent config no content response has a 4xx status code
func (*UpdateAgentConfigNoContent) IsCode ¶ added in v1.21.0
func (o *UpdateAgentConfigNoContent) IsCode(code int) bool
IsCode returns true when this update agent config no content response a status code equal to that given
func (*UpdateAgentConfigNoContent) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentConfigNoContent) IsRedirect() bool
IsRedirect returns true when this update agent config no content response has a 3xx status code
func (*UpdateAgentConfigNoContent) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentConfigNoContent) IsServerError() bool
IsServerError returns true when this update agent config no content response has a 5xx status code
func (*UpdateAgentConfigNoContent) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentConfigNoContent) IsSuccess() bool
IsSuccess returns true when this update agent config no content response has a 2xx status code
func (*UpdateAgentConfigNoContent) String ¶ added in v1.21.0
func (o *UpdateAgentConfigNoContent) String() string
type UpdateAgentConfigNotFound ¶
type UpdateAgentConfigNotFound struct {
Payload interface{}
}
UpdateAgentConfigNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUpdateAgentConfigNotFound ¶
func NewUpdateAgentConfigNotFound() *UpdateAgentConfigNotFound
NewUpdateAgentConfigNotFound creates a UpdateAgentConfigNotFound with default headers values
func (*UpdateAgentConfigNotFound) Code ¶ added in v1.22.0
func (o *UpdateAgentConfigNotFound) Code() int
Code gets the status code for the update agent config not found response
func (*UpdateAgentConfigNotFound) Error ¶
func (o *UpdateAgentConfigNotFound) Error() string
func (*UpdateAgentConfigNotFound) GetPayload ¶
func (o *UpdateAgentConfigNotFound) GetPayload() interface{}
func (*UpdateAgentConfigNotFound) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentConfigNotFound) IsClientError() bool
IsClientError returns true when this update agent config not found response has a 4xx status code
func (*UpdateAgentConfigNotFound) IsCode ¶ added in v1.21.0
func (o *UpdateAgentConfigNotFound) IsCode(code int) bool
IsCode returns true when this update agent config not found response a status code equal to that given
func (*UpdateAgentConfigNotFound) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentConfigNotFound) IsRedirect() bool
IsRedirect returns true when this update agent config not found response has a 3xx status code
func (*UpdateAgentConfigNotFound) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentConfigNotFound) IsServerError() bool
IsServerError returns true when this update agent config not found response has a 5xx status code
func (*UpdateAgentConfigNotFound) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentConfigNotFound) IsSuccess() bool
IsSuccess returns true when this update agent config not found response has a 2xx status code
func (*UpdateAgentConfigNotFound) String ¶ added in v1.21.0
func (o *UpdateAgentConfigNotFound) String() string
type UpdateAgentConfigOK ¶
type UpdateAgentConfigOK struct {
Payload *service_model.V1Agent
}
UpdateAgentConfigOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateAgentConfigOK ¶
func NewUpdateAgentConfigOK() *UpdateAgentConfigOK
NewUpdateAgentConfigOK creates a UpdateAgentConfigOK with default headers values
func (*UpdateAgentConfigOK) Code ¶ added in v1.22.0
func (o *UpdateAgentConfigOK) Code() int
Code gets the status code for the update agent config o k response
func (*UpdateAgentConfigOK) Error ¶
func (o *UpdateAgentConfigOK) Error() string
func (*UpdateAgentConfigOK) GetPayload ¶
func (o *UpdateAgentConfigOK) GetPayload() *service_model.V1Agent
func (*UpdateAgentConfigOK) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentConfigOK) IsClientError() bool
IsClientError returns true when this update agent config o k response has a 4xx status code
func (*UpdateAgentConfigOK) IsCode ¶ added in v1.21.0
func (o *UpdateAgentConfigOK) IsCode(code int) bool
IsCode returns true when this update agent config o k response a status code equal to that given
func (*UpdateAgentConfigOK) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentConfigOK) IsRedirect() bool
IsRedirect returns true when this update agent config o k response has a 3xx status code
func (*UpdateAgentConfigOK) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentConfigOK) IsServerError() bool
IsServerError returns true when this update agent config o k response has a 5xx status code
func (*UpdateAgentConfigOK) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentConfigOK) IsSuccess() bool
IsSuccess returns true when this update agent config o k response has a 2xx status code
func (*UpdateAgentConfigOK) String ¶ added in v1.21.0
func (o *UpdateAgentConfigOK) String() string
type UpdateAgentConfigParams ¶
type UpdateAgentConfigParams struct { /* AgentUUID. UUID */ AgentUUID string /* Body. Agent body */ Body *service_model.V1Agent /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAgentConfigParams contains all the parameters to send to the API endpoint
for the update agent config operation. Typically these are written to a http.Request.
func NewUpdateAgentConfigParams ¶
func NewUpdateAgentConfigParams() *UpdateAgentConfigParams
NewUpdateAgentConfigParams creates a new UpdateAgentConfigParams 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 NewUpdateAgentConfigParamsWithContext ¶
func NewUpdateAgentConfigParamsWithContext(ctx context.Context) *UpdateAgentConfigParams
NewUpdateAgentConfigParamsWithContext creates a new UpdateAgentConfigParams object with the ability to set a context for a request.
func NewUpdateAgentConfigParamsWithHTTPClient ¶
func NewUpdateAgentConfigParamsWithHTTPClient(client *http.Client) *UpdateAgentConfigParams
NewUpdateAgentConfigParamsWithHTTPClient creates a new UpdateAgentConfigParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAgentConfigParamsWithTimeout ¶
func NewUpdateAgentConfigParamsWithTimeout(timeout time.Duration) *UpdateAgentConfigParams
NewUpdateAgentConfigParamsWithTimeout creates a new UpdateAgentConfigParams object with the ability to set a timeout on a request.
func (*UpdateAgentConfigParams) SetAgentUUID ¶
func (o *UpdateAgentConfigParams) SetAgentUUID(agentUUID string)
SetAgentUUID adds the agentUuid to the update agent config params
func (*UpdateAgentConfigParams) SetBody ¶
func (o *UpdateAgentConfigParams) SetBody(body *service_model.V1Agent)
SetBody adds the body to the update agent config params
func (*UpdateAgentConfigParams) SetContext ¶
func (o *UpdateAgentConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update agent config params
func (*UpdateAgentConfigParams) SetDefaults ¶
func (o *UpdateAgentConfigParams) SetDefaults()
SetDefaults hydrates default values in the update agent config params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAgentConfigParams) SetHTTPClient ¶
func (o *UpdateAgentConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update agent config params
func (*UpdateAgentConfigParams) SetOwner ¶
func (o *UpdateAgentConfigParams) SetOwner(owner string)
SetOwner adds the owner to the update agent config params
func (*UpdateAgentConfigParams) SetTimeout ¶
func (o *UpdateAgentConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update agent config params
func (*UpdateAgentConfigParams) WithAgentUUID ¶
func (o *UpdateAgentConfigParams) WithAgentUUID(agentUUID string) *UpdateAgentConfigParams
WithAgentUUID adds the agentUUID to the update agent config params
func (*UpdateAgentConfigParams) WithBody ¶
func (o *UpdateAgentConfigParams) WithBody(body *service_model.V1Agent) *UpdateAgentConfigParams
WithBody adds the body to the update agent config params
func (*UpdateAgentConfigParams) WithContext ¶
func (o *UpdateAgentConfigParams) WithContext(ctx context.Context) *UpdateAgentConfigParams
WithContext adds the context to the update agent config params
func (*UpdateAgentConfigParams) WithDefaults ¶
func (o *UpdateAgentConfigParams) WithDefaults() *UpdateAgentConfigParams
WithDefaults hydrates default values in the update agent config params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAgentConfigParams) WithHTTPClient ¶
func (o *UpdateAgentConfigParams) WithHTTPClient(client *http.Client) *UpdateAgentConfigParams
WithHTTPClient adds the HTTPClient to the update agent config params
func (*UpdateAgentConfigParams) WithOwner ¶
func (o *UpdateAgentConfigParams) WithOwner(owner string) *UpdateAgentConfigParams
WithOwner adds the owner to the update agent config params
func (*UpdateAgentConfigParams) WithTimeout ¶
func (o *UpdateAgentConfigParams) WithTimeout(timeout time.Duration) *UpdateAgentConfigParams
WithTimeout adds the timeout to the update agent config params
func (*UpdateAgentConfigParams) WriteToRequest ¶
func (o *UpdateAgentConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAgentConfigReader ¶
type UpdateAgentConfigReader struct {
// contains filtered or unexported fields
}
UpdateAgentConfigReader is a Reader for the UpdateAgentConfig structure.
func (*UpdateAgentConfigReader) ReadResponse ¶
func (o *UpdateAgentConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAgentDefault ¶
type UpdateAgentDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UpdateAgentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateAgentDefault ¶
func NewUpdateAgentDefault(code int) *UpdateAgentDefault
NewUpdateAgentDefault creates a UpdateAgentDefault with default headers values
func (*UpdateAgentDefault) Code ¶
func (o *UpdateAgentDefault) Code() int
Code gets the status code for the update agent default response
func (*UpdateAgentDefault) Error ¶
func (o *UpdateAgentDefault) Error() string
func (*UpdateAgentDefault) GetPayload ¶
func (o *UpdateAgentDefault) GetPayload() *service_model.RuntimeError
func (*UpdateAgentDefault) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentDefault) IsClientError() bool
IsClientError returns true when this update agent default response has a 4xx status code
func (*UpdateAgentDefault) IsCode ¶ added in v1.21.0
func (o *UpdateAgentDefault) IsCode(code int) bool
IsCode returns true when this update agent default response a status code equal to that given
func (*UpdateAgentDefault) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentDefault) IsRedirect() bool
IsRedirect returns true when this update agent default response has a 3xx status code
func (*UpdateAgentDefault) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentDefault) IsServerError() bool
IsServerError returns true when this update agent default response has a 5xx status code
func (*UpdateAgentDefault) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentDefault) IsSuccess() bool
IsSuccess returns true when this update agent default response has a 2xx status code
func (*UpdateAgentDefault) String ¶ added in v1.21.0
func (o *UpdateAgentDefault) String() string
type UpdateAgentForbidden ¶
type UpdateAgentForbidden struct {
Payload interface{}
}
UpdateAgentForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUpdateAgentForbidden ¶
func NewUpdateAgentForbidden() *UpdateAgentForbidden
NewUpdateAgentForbidden creates a UpdateAgentForbidden with default headers values
func (*UpdateAgentForbidden) Code ¶ added in v1.22.0
func (o *UpdateAgentForbidden) Code() int
Code gets the status code for the update agent forbidden response
func (*UpdateAgentForbidden) Error ¶
func (o *UpdateAgentForbidden) Error() string
func (*UpdateAgentForbidden) GetPayload ¶
func (o *UpdateAgentForbidden) GetPayload() interface{}
func (*UpdateAgentForbidden) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentForbidden) IsClientError() bool
IsClientError returns true when this update agent forbidden response has a 4xx status code
func (*UpdateAgentForbidden) IsCode ¶ added in v1.21.0
func (o *UpdateAgentForbidden) IsCode(code int) bool
IsCode returns true when this update agent forbidden response a status code equal to that given
func (*UpdateAgentForbidden) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentForbidden) IsRedirect() bool
IsRedirect returns true when this update agent forbidden response has a 3xx status code
func (*UpdateAgentForbidden) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentForbidden) IsServerError() bool
IsServerError returns true when this update agent forbidden response has a 5xx status code
func (*UpdateAgentForbidden) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentForbidden) IsSuccess() bool
IsSuccess returns true when this update agent forbidden response has a 2xx status code
func (*UpdateAgentForbidden) String ¶ added in v1.21.0
func (o *UpdateAgentForbidden) String() string
type UpdateAgentNoContent ¶
type UpdateAgentNoContent struct {
Payload interface{}
}
UpdateAgentNoContent describes a response with status code 204, with default header values.
No content.
func NewUpdateAgentNoContent ¶
func NewUpdateAgentNoContent() *UpdateAgentNoContent
NewUpdateAgentNoContent creates a UpdateAgentNoContent with default headers values
func (*UpdateAgentNoContent) Code ¶ added in v1.22.0
func (o *UpdateAgentNoContent) Code() int
Code gets the status code for the update agent no content response
func (*UpdateAgentNoContent) Error ¶
func (o *UpdateAgentNoContent) Error() string
func (*UpdateAgentNoContent) GetPayload ¶
func (o *UpdateAgentNoContent) GetPayload() interface{}
func (*UpdateAgentNoContent) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentNoContent) IsClientError() bool
IsClientError returns true when this update agent no content response has a 4xx status code
func (*UpdateAgentNoContent) IsCode ¶ added in v1.21.0
func (o *UpdateAgentNoContent) IsCode(code int) bool
IsCode returns true when this update agent no content response a status code equal to that given
func (*UpdateAgentNoContent) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentNoContent) IsRedirect() bool
IsRedirect returns true when this update agent no content response has a 3xx status code
func (*UpdateAgentNoContent) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentNoContent) IsServerError() bool
IsServerError returns true when this update agent no content response has a 5xx status code
func (*UpdateAgentNoContent) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentNoContent) IsSuccess() bool
IsSuccess returns true when this update agent no content response has a 2xx status code
func (*UpdateAgentNoContent) String ¶ added in v1.21.0
func (o *UpdateAgentNoContent) String() string
type UpdateAgentNotFound ¶
type UpdateAgentNotFound struct {
Payload interface{}
}
UpdateAgentNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUpdateAgentNotFound ¶
func NewUpdateAgentNotFound() *UpdateAgentNotFound
NewUpdateAgentNotFound creates a UpdateAgentNotFound with default headers values
func (*UpdateAgentNotFound) Code ¶ added in v1.22.0
func (o *UpdateAgentNotFound) Code() int
Code gets the status code for the update agent not found response
func (*UpdateAgentNotFound) Error ¶
func (o *UpdateAgentNotFound) Error() string
func (*UpdateAgentNotFound) GetPayload ¶
func (o *UpdateAgentNotFound) GetPayload() interface{}
func (*UpdateAgentNotFound) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentNotFound) IsClientError() bool
IsClientError returns true when this update agent not found response has a 4xx status code
func (*UpdateAgentNotFound) IsCode ¶ added in v1.21.0
func (o *UpdateAgentNotFound) IsCode(code int) bool
IsCode returns true when this update agent not found response a status code equal to that given
func (*UpdateAgentNotFound) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentNotFound) IsRedirect() bool
IsRedirect returns true when this update agent not found response has a 3xx status code
func (*UpdateAgentNotFound) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentNotFound) IsServerError() bool
IsServerError returns true when this update agent not found response has a 5xx status code
func (*UpdateAgentNotFound) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentNotFound) IsSuccess() bool
IsSuccess returns true when this update agent not found response has a 2xx status code
func (*UpdateAgentNotFound) String ¶ added in v1.21.0
func (o *UpdateAgentNotFound) String() string
type UpdateAgentOK ¶
type UpdateAgentOK struct {
Payload *service_model.V1Agent
}
UpdateAgentOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateAgentOK ¶
func NewUpdateAgentOK() *UpdateAgentOK
NewUpdateAgentOK creates a UpdateAgentOK with default headers values
func (*UpdateAgentOK) Code ¶ added in v1.22.0
func (o *UpdateAgentOK) Code() int
Code gets the status code for the update agent o k response
func (*UpdateAgentOK) Error ¶
func (o *UpdateAgentOK) Error() string
func (*UpdateAgentOK) GetPayload ¶
func (o *UpdateAgentOK) GetPayload() *service_model.V1Agent
func (*UpdateAgentOK) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentOK) IsClientError() bool
IsClientError returns true when this update agent o k response has a 4xx status code
func (*UpdateAgentOK) IsCode ¶ added in v1.21.0
func (o *UpdateAgentOK) IsCode(code int) bool
IsCode returns true when this update agent o k response a status code equal to that given
func (*UpdateAgentOK) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentOK) IsRedirect() bool
IsRedirect returns true when this update agent o k response has a 3xx status code
func (*UpdateAgentOK) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentOK) IsServerError() bool
IsServerError returns true when this update agent o k response has a 5xx status code
func (*UpdateAgentOK) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentOK) IsSuccess() bool
IsSuccess returns true when this update agent o k response has a 2xx status code
func (*UpdateAgentOK) String ¶ added in v1.21.0
func (o *UpdateAgentOK) String() string
type UpdateAgentParams ¶
type UpdateAgentParams struct { /* AgentUUID. UUID */ AgentUUID string /* Body. Agent body */ Body *service_model.V1Agent /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAgentParams contains all the parameters to send to the API endpoint
for the update agent operation. Typically these are written to a http.Request.
func NewUpdateAgentParams ¶
func NewUpdateAgentParams() *UpdateAgentParams
NewUpdateAgentParams creates a new UpdateAgentParams 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 NewUpdateAgentParamsWithContext ¶
func NewUpdateAgentParamsWithContext(ctx context.Context) *UpdateAgentParams
NewUpdateAgentParamsWithContext creates a new UpdateAgentParams object with the ability to set a context for a request.
func NewUpdateAgentParamsWithHTTPClient ¶
func NewUpdateAgentParamsWithHTTPClient(client *http.Client) *UpdateAgentParams
NewUpdateAgentParamsWithHTTPClient creates a new UpdateAgentParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAgentParamsWithTimeout ¶
func NewUpdateAgentParamsWithTimeout(timeout time.Duration) *UpdateAgentParams
NewUpdateAgentParamsWithTimeout creates a new UpdateAgentParams object with the ability to set a timeout on a request.
func (*UpdateAgentParams) SetAgentUUID ¶
func (o *UpdateAgentParams) SetAgentUUID(agentUUID string)
SetAgentUUID adds the agentUuid to the update agent params
func (*UpdateAgentParams) SetBody ¶
func (o *UpdateAgentParams) SetBody(body *service_model.V1Agent)
SetBody adds the body to the update agent params
func (*UpdateAgentParams) SetContext ¶
func (o *UpdateAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the update agent params
func (*UpdateAgentParams) SetDefaults ¶
func (o *UpdateAgentParams) SetDefaults()
SetDefaults hydrates default values in the update agent params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAgentParams) SetHTTPClient ¶
func (o *UpdateAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update agent params
func (*UpdateAgentParams) SetOwner ¶
func (o *UpdateAgentParams) SetOwner(owner string)
SetOwner adds the owner to the update agent params
func (*UpdateAgentParams) SetTimeout ¶
func (o *UpdateAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update agent params
func (*UpdateAgentParams) WithAgentUUID ¶
func (o *UpdateAgentParams) WithAgentUUID(agentUUID string) *UpdateAgentParams
WithAgentUUID adds the agentUUID to the update agent params
func (*UpdateAgentParams) WithBody ¶
func (o *UpdateAgentParams) WithBody(body *service_model.V1Agent) *UpdateAgentParams
WithBody adds the body to the update agent params
func (*UpdateAgentParams) WithContext ¶
func (o *UpdateAgentParams) WithContext(ctx context.Context) *UpdateAgentParams
WithContext adds the context to the update agent params
func (*UpdateAgentParams) WithDefaults ¶
func (o *UpdateAgentParams) WithDefaults() *UpdateAgentParams
WithDefaults hydrates default values in the update agent params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAgentParams) WithHTTPClient ¶
func (o *UpdateAgentParams) WithHTTPClient(client *http.Client) *UpdateAgentParams
WithHTTPClient adds the HTTPClient to the update agent params
func (*UpdateAgentParams) WithOwner ¶
func (o *UpdateAgentParams) WithOwner(owner string) *UpdateAgentParams
WithOwner adds the owner to the update agent params
func (*UpdateAgentParams) WithTimeout ¶
func (o *UpdateAgentParams) WithTimeout(timeout time.Duration) *UpdateAgentParams
WithTimeout adds the timeout to the update agent params
func (*UpdateAgentParams) WriteToRequest ¶
func (o *UpdateAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAgentReader ¶
type UpdateAgentReader struct {
// contains filtered or unexported fields
}
UpdateAgentReader is a Reader for the UpdateAgent structure.
func (*UpdateAgentReader) ReadResponse ¶
func (o *UpdateAgentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAgentTokenDefault ¶
type UpdateAgentTokenDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UpdateAgentTokenDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateAgentTokenDefault ¶
func NewUpdateAgentTokenDefault(code int) *UpdateAgentTokenDefault
NewUpdateAgentTokenDefault creates a UpdateAgentTokenDefault with default headers values
func (*UpdateAgentTokenDefault) Code ¶
func (o *UpdateAgentTokenDefault) Code() int
Code gets the status code for the update agent token default response
func (*UpdateAgentTokenDefault) Error ¶
func (o *UpdateAgentTokenDefault) Error() string
func (*UpdateAgentTokenDefault) GetPayload ¶
func (o *UpdateAgentTokenDefault) GetPayload() *service_model.RuntimeError
func (*UpdateAgentTokenDefault) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentTokenDefault) IsClientError() bool
IsClientError returns true when this update agent token default response has a 4xx status code
func (*UpdateAgentTokenDefault) IsCode ¶ added in v1.21.0
func (o *UpdateAgentTokenDefault) IsCode(code int) bool
IsCode returns true when this update agent token default response a status code equal to that given
func (*UpdateAgentTokenDefault) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentTokenDefault) IsRedirect() bool
IsRedirect returns true when this update agent token default response has a 3xx status code
func (*UpdateAgentTokenDefault) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentTokenDefault) IsServerError() bool
IsServerError returns true when this update agent token default response has a 5xx status code
func (*UpdateAgentTokenDefault) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentTokenDefault) IsSuccess() bool
IsSuccess returns true when this update agent token default response has a 2xx status code
func (*UpdateAgentTokenDefault) String ¶ added in v1.21.0
func (o *UpdateAgentTokenDefault) String() string
type UpdateAgentTokenForbidden ¶
type UpdateAgentTokenForbidden struct {
Payload interface{}
}
UpdateAgentTokenForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUpdateAgentTokenForbidden ¶
func NewUpdateAgentTokenForbidden() *UpdateAgentTokenForbidden
NewUpdateAgentTokenForbidden creates a UpdateAgentTokenForbidden with default headers values
func (*UpdateAgentTokenForbidden) Code ¶ added in v1.22.0
func (o *UpdateAgentTokenForbidden) Code() int
Code gets the status code for the update agent token forbidden response
func (*UpdateAgentTokenForbidden) Error ¶
func (o *UpdateAgentTokenForbidden) Error() string
func (*UpdateAgentTokenForbidden) GetPayload ¶
func (o *UpdateAgentTokenForbidden) GetPayload() interface{}
func (*UpdateAgentTokenForbidden) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentTokenForbidden) IsClientError() bool
IsClientError returns true when this update agent token forbidden response has a 4xx status code
func (*UpdateAgentTokenForbidden) IsCode ¶ added in v1.21.0
func (o *UpdateAgentTokenForbidden) IsCode(code int) bool
IsCode returns true when this update agent token forbidden response a status code equal to that given
func (*UpdateAgentTokenForbidden) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentTokenForbidden) IsRedirect() bool
IsRedirect returns true when this update agent token forbidden response has a 3xx status code
func (*UpdateAgentTokenForbidden) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentTokenForbidden) IsServerError() bool
IsServerError returns true when this update agent token forbidden response has a 5xx status code
func (*UpdateAgentTokenForbidden) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentTokenForbidden) IsSuccess() bool
IsSuccess returns true when this update agent token forbidden response has a 2xx status code
func (*UpdateAgentTokenForbidden) String ¶ added in v1.21.0
func (o *UpdateAgentTokenForbidden) String() string
type UpdateAgentTokenNoContent ¶
type UpdateAgentTokenNoContent struct {
Payload interface{}
}
UpdateAgentTokenNoContent describes a response with status code 204, with default header values.
No content.
func NewUpdateAgentTokenNoContent ¶
func NewUpdateAgentTokenNoContent() *UpdateAgentTokenNoContent
NewUpdateAgentTokenNoContent creates a UpdateAgentTokenNoContent with default headers values
func (*UpdateAgentTokenNoContent) Code ¶ added in v1.22.0
func (o *UpdateAgentTokenNoContent) Code() int
Code gets the status code for the update agent token no content response
func (*UpdateAgentTokenNoContent) Error ¶
func (o *UpdateAgentTokenNoContent) Error() string
func (*UpdateAgentTokenNoContent) GetPayload ¶
func (o *UpdateAgentTokenNoContent) GetPayload() interface{}
func (*UpdateAgentTokenNoContent) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentTokenNoContent) IsClientError() bool
IsClientError returns true when this update agent token no content response has a 4xx status code
func (*UpdateAgentTokenNoContent) IsCode ¶ added in v1.21.0
func (o *UpdateAgentTokenNoContent) IsCode(code int) bool
IsCode returns true when this update agent token no content response a status code equal to that given
func (*UpdateAgentTokenNoContent) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentTokenNoContent) IsRedirect() bool
IsRedirect returns true when this update agent token no content response has a 3xx status code
func (*UpdateAgentTokenNoContent) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentTokenNoContent) IsServerError() bool
IsServerError returns true when this update agent token no content response has a 5xx status code
func (*UpdateAgentTokenNoContent) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentTokenNoContent) IsSuccess() bool
IsSuccess returns true when this update agent token no content response has a 2xx status code
func (*UpdateAgentTokenNoContent) String ¶ added in v1.21.0
func (o *UpdateAgentTokenNoContent) String() string
type UpdateAgentTokenNotFound ¶
type UpdateAgentTokenNotFound struct {
Payload interface{}
}
UpdateAgentTokenNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUpdateAgentTokenNotFound ¶
func NewUpdateAgentTokenNotFound() *UpdateAgentTokenNotFound
NewUpdateAgentTokenNotFound creates a UpdateAgentTokenNotFound with default headers values
func (*UpdateAgentTokenNotFound) Code ¶ added in v1.22.0
func (o *UpdateAgentTokenNotFound) Code() int
Code gets the status code for the update agent token not found response
func (*UpdateAgentTokenNotFound) Error ¶
func (o *UpdateAgentTokenNotFound) Error() string
func (*UpdateAgentTokenNotFound) GetPayload ¶
func (o *UpdateAgentTokenNotFound) GetPayload() interface{}
func (*UpdateAgentTokenNotFound) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentTokenNotFound) IsClientError() bool
IsClientError returns true when this update agent token not found response has a 4xx status code
func (*UpdateAgentTokenNotFound) IsCode ¶ added in v1.21.0
func (o *UpdateAgentTokenNotFound) IsCode(code int) bool
IsCode returns true when this update agent token not found response a status code equal to that given
func (*UpdateAgentTokenNotFound) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentTokenNotFound) IsRedirect() bool
IsRedirect returns true when this update agent token not found response has a 3xx status code
func (*UpdateAgentTokenNotFound) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentTokenNotFound) IsServerError() bool
IsServerError returns true when this update agent token not found response has a 5xx status code
func (*UpdateAgentTokenNotFound) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentTokenNotFound) IsSuccess() bool
IsSuccess returns true when this update agent token not found response has a 2xx status code
func (*UpdateAgentTokenNotFound) String ¶ added in v1.21.0
func (o *UpdateAgentTokenNotFound) String() string
type UpdateAgentTokenOK ¶
type UpdateAgentTokenOK struct {
Payload *service_model.V1Token
}
UpdateAgentTokenOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateAgentTokenOK ¶
func NewUpdateAgentTokenOK() *UpdateAgentTokenOK
NewUpdateAgentTokenOK creates a UpdateAgentTokenOK with default headers values
func (*UpdateAgentTokenOK) Code ¶ added in v1.22.0
func (o *UpdateAgentTokenOK) Code() int
Code gets the status code for the update agent token o k response
func (*UpdateAgentTokenOK) Error ¶
func (o *UpdateAgentTokenOK) Error() string
func (*UpdateAgentTokenOK) GetPayload ¶
func (o *UpdateAgentTokenOK) GetPayload() *service_model.V1Token
func (*UpdateAgentTokenOK) IsClientError ¶ added in v1.21.0
func (o *UpdateAgentTokenOK) IsClientError() bool
IsClientError returns true when this update agent token o k response has a 4xx status code
func (*UpdateAgentTokenOK) IsCode ¶ added in v1.21.0
func (o *UpdateAgentTokenOK) IsCode(code int) bool
IsCode returns true when this update agent token o k response a status code equal to that given
func (*UpdateAgentTokenOK) IsRedirect ¶ added in v1.21.0
func (o *UpdateAgentTokenOK) IsRedirect() bool
IsRedirect returns true when this update agent token o k response has a 3xx status code
func (*UpdateAgentTokenOK) IsServerError ¶ added in v1.21.0
func (o *UpdateAgentTokenOK) IsServerError() bool
IsServerError returns true when this update agent token o k response has a 5xx status code
func (*UpdateAgentTokenOK) IsSuccess ¶ added in v1.21.0
func (o *UpdateAgentTokenOK) IsSuccess() bool
IsSuccess returns true when this update agent token o k response has a 2xx status code
func (*UpdateAgentTokenOK) String ¶ added in v1.21.0
func (o *UpdateAgentTokenOK) String() string
type UpdateAgentTokenParams ¶
type UpdateAgentTokenParams struct { /* Body. Token body */ Body *service_model.V1Token /* Entity. Rntity */ Entity string /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAgentTokenParams contains all the parameters to send to the API endpoint
for the update agent token operation. Typically these are written to a http.Request.
func NewUpdateAgentTokenParams ¶
func NewUpdateAgentTokenParams() *UpdateAgentTokenParams
NewUpdateAgentTokenParams creates a new UpdateAgentTokenParams 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 NewUpdateAgentTokenParamsWithContext ¶
func NewUpdateAgentTokenParamsWithContext(ctx context.Context) *UpdateAgentTokenParams
NewUpdateAgentTokenParamsWithContext creates a new UpdateAgentTokenParams object with the ability to set a context for a request.
func NewUpdateAgentTokenParamsWithHTTPClient ¶
func NewUpdateAgentTokenParamsWithHTTPClient(client *http.Client) *UpdateAgentTokenParams
NewUpdateAgentTokenParamsWithHTTPClient creates a new UpdateAgentTokenParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAgentTokenParamsWithTimeout ¶
func NewUpdateAgentTokenParamsWithTimeout(timeout time.Duration) *UpdateAgentTokenParams
NewUpdateAgentTokenParamsWithTimeout creates a new UpdateAgentTokenParams object with the ability to set a timeout on a request.
func (*UpdateAgentTokenParams) SetBody ¶
func (o *UpdateAgentTokenParams) SetBody(body *service_model.V1Token)
SetBody adds the body to the update agent token params
func (*UpdateAgentTokenParams) SetContext ¶
func (o *UpdateAgentTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the update agent token params
func (*UpdateAgentTokenParams) SetDefaults ¶
func (o *UpdateAgentTokenParams) SetDefaults()
SetDefaults hydrates default values in the update agent token params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAgentTokenParams) SetEntity ¶
func (o *UpdateAgentTokenParams) SetEntity(entity string)
SetEntity adds the entity to the update agent token params
func (*UpdateAgentTokenParams) SetHTTPClient ¶
func (o *UpdateAgentTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update agent token params
func (*UpdateAgentTokenParams) SetOwner ¶
func (o *UpdateAgentTokenParams) SetOwner(owner string)
SetOwner adds the owner to the update agent token params
func (*UpdateAgentTokenParams) SetTimeout ¶
func (o *UpdateAgentTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update agent token params
func (*UpdateAgentTokenParams) WithBody ¶
func (o *UpdateAgentTokenParams) WithBody(body *service_model.V1Token) *UpdateAgentTokenParams
WithBody adds the body to the update agent token params
func (*UpdateAgentTokenParams) WithContext ¶
func (o *UpdateAgentTokenParams) WithContext(ctx context.Context) *UpdateAgentTokenParams
WithContext adds the context to the update agent token params
func (*UpdateAgentTokenParams) WithDefaults ¶
func (o *UpdateAgentTokenParams) WithDefaults() *UpdateAgentTokenParams
WithDefaults hydrates default values in the update agent token params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAgentTokenParams) WithEntity ¶
func (o *UpdateAgentTokenParams) WithEntity(entity string) *UpdateAgentTokenParams
WithEntity adds the entity to the update agent token params
func (*UpdateAgentTokenParams) WithHTTPClient ¶
func (o *UpdateAgentTokenParams) WithHTTPClient(client *http.Client) *UpdateAgentTokenParams
WithHTTPClient adds the HTTPClient to the update agent token params
func (*UpdateAgentTokenParams) WithOwner ¶
func (o *UpdateAgentTokenParams) WithOwner(owner string) *UpdateAgentTokenParams
WithOwner adds the owner to the update agent token params
func (*UpdateAgentTokenParams) WithTimeout ¶
func (o *UpdateAgentTokenParams) WithTimeout(timeout time.Duration) *UpdateAgentTokenParams
WithTimeout adds the timeout to the update agent token params
func (*UpdateAgentTokenParams) WriteToRequest ¶
func (o *UpdateAgentTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAgentTokenReader ¶
type UpdateAgentTokenReader struct {
// contains filtered or unexported fields
}
UpdateAgentTokenReader is a Reader for the UpdateAgentToken structure.
func (*UpdateAgentTokenReader) ReadResponse ¶
func (o *UpdateAgentTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- agents_v1_client.go
- create_agent_parameters.go
- create_agent_responses.go
- create_agent_status_parameters.go
- create_agent_status_responses.go
- delete_agent_parameters.go
- delete_agent_responses.go
- get_agent_config_parameters.go
- get_agent_config_responses.go
- get_agent_parameters.go
- get_agent_responses.go
- get_agent_state_parameters.go
- get_agent_state_responses.go
- get_agent_token_parameters.go
- get_agent_token_responses.go
- list_agent_names_parameters.go
- list_agent_names_responses.go
- list_agents_parameters.go
- list_agents_responses.go
- patch_agent_parameters.go
- patch_agent_responses.go
- patch_agent_token_parameters.go
- patch_agent_token_responses.go
- sync_agent_parameters.go
- sync_agent_responses.go
- update_agent_config_parameters.go
- update_agent_config_responses.go
- update_agent_parameters.go
- update_agent_responses.go
- update_agent_token_parameters.go
- update_agent_token_responses.go