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
- type CreateAgentForbidden
- type CreateAgentNoContent
- type CreateAgentNotFound
- type CreateAgentOK
- 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
- type CreateAgentStatusForbidden
- type CreateAgentStatusNoContent
- type CreateAgentStatusNotFound
- type CreateAgentStatusOK
- 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
- type DeleteAgentForbidden
- type DeleteAgentNoContent
- type DeleteAgentNotFound
- type DeleteAgentOK
- 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
- type GetAgentConfigForbidden
- type GetAgentConfigNoContent
- type GetAgentConfigNotFound
- type GetAgentConfigOK
- 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
- type GetAgentForbidden
- type GetAgentNoContent
- type GetAgentNotFound
- type GetAgentOK
- 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
- type GetAgentStateForbidden
- type GetAgentStateNoContent
- type GetAgentStateNotFound
- type GetAgentStateOK
- 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
- type GetAgentTokenForbidden
- type GetAgentTokenNoContent
- type GetAgentTokenNotFound
- type GetAgentTokenOK
- 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
- type ListAgentNamesForbidden
- type ListAgentNamesNoContent
- type ListAgentNamesNotFound
- type ListAgentNamesOK
- 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) SetContext(ctx context.Context)
- func (o *ListAgentNamesParams) SetDefaults()
- func (o *ListAgentNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListAgentNamesParams) SetLimit(limit *int32)
- 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) 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) 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
- type ListAgentsForbidden
- type ListAgentsNoContent
- type ListAgentsNotFound
- type ListAgentsOK
- type ListAgentsParams
- 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) 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) 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) 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
- type PatchAgentForbidden
- type PatchAgentNoContent
- type PatchAgentNotFound
- type PatchAgentOK
- 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
- type PatchAgentTokenForbidden
- type PatchAgentTokenNoContent
- type PatchAgentTokenNotFound
- type PatchAgentTokenOK
- 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) SetAgent(agent string)
- func (o *PatchAgentTokenParams) SetBody(body *service_model.V1Token)
- func (o *PatchAgentTokenParams) SetContext(ctx context.Context)
- func (o *PatchAgentTokenParams) SetDefaults()
- func (o *PatchAgentTokenParams) SetHTTPClient(client *http.Client)
- func (o *PatchAgentTokenParams) SetOwner(owner string)
- func (o *PatchAgentTokenParams) SetTimeout(timeout time.Duration)
- func (o *PatchAgentTokenParams) WithAgent(agent string) *PatchAgentTokenParams
- 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) 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
- type SyncAgentForbidden
- type SyncAgentNoContent
- type SyncAgentNotFound
- type SyncAgentOK
- 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
- type UpdateAgentConfigForbidden
- type UpdateAgentConfigNoContent
- type UpdateAgentConfigNotFound
- type UpdateAgentConfigOK
- 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
- type UpdateAgentForbidden
- type UpdateAgentNoContent
- type UpdateAgentNotFound
- type UpdateAgentOK
- 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
- type UpdateAgentTokenForbidden
- type UpdateAgentTokenNoContent
- type UpdateAgentTokenNotFound
- type UpdateAgentTokenOK
- 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) SetAgent(agent string)
- func (o *UpdateAgentTokenParams) SetBody(body *service_model.V1Token)
- func (o *UpdateAgentTokenParams) SetContext(ctx context.Context)
- func (o *UpdateAgentTokenParams) SetDefaults()
- func (o *UpdateAgentTokenParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAgentTokenParams) SetOwner(owner string)
- func (o *UpdateAgentTokenParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAgentTokenParams) WithAgent(agent string) *UpdateAgentTokenParams
- 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) 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
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) Error ¶
func (o *CreateAgentForbidden) Error() string
func (*CreateAgentForbidden) GetPayload ¶
func (o *CreateAgentForbidden) GetPayload() interface{}
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) Error ¶
func (o *CreateAgentNoContent) Error() string
func (*CreateAgentNoContent) GetPayload ¶
func (o *CreateAgentNoContent) GetPayload() interface{}
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) Error ¶
func (o *CreateAgentNotFound) Error() string
func (*CreateAgentNotFound) GetPayload ¶
func (o *CreateAgentNotFound) GetPayload() interface{}
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) Error ¶
func (o *CreateAgentOK) Error() string
func (*CreateAgentOK) GetPayload ¶
func (o *CreateAgentOK) GetPayload() *service_model.V1Agent
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
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) Error ¶
func (o *CreateAgentStatusForbidden) Error() string
func (*CreateAgentStatusForbidden) GetPayload ¶
func (o *CreateAgentStatusForbidden) GetPayload() interface{}
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) Error ¶
func (o *CreateAgentStatusNoContent) Error() string
func (*CreateAgentStatusNoContent) GetPayload ¶
func (o *CreateAgentStatusNoContent) GetPayload() interface{}
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) Error ¶
func (o *CreateAgentStatusNotFound) Error() string
func (*CreateAgentStatusNotFound) GetPayload ¶
func (o *CreateAgentStatusNotFound) GetPayload() interface{}
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) Error ¶
func (o *CreateAgentStatusOK) Error() string
func (*CreateAgentStatusOK) GetPayload ¶
func (o *CreateAgentStatusOK) GetPayload() *service_model.V1Status
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
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) Error ¶
func (o *DeleteAgentForbidden) Error() string
func (*DeleteAgentForbidden) GetPayload ¶
func (o *DeleteAgentForbidden) GetPayload() interface{}
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) Error ¶
func (o *DeleteAgentNoContent) Error() string
func (*DeleteAgentNoContent) GetPayload ¶
func (o *DeleteAgentNoContent) GetPayload() interface{}
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) Error ¶
func (o *DeleteAgentNotFound) Error() string
func (*DeleteAgentNotFound) GetPayload ¶
func (o *DeleteAgentNotFound) GetPayload() interface{}
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) Error ¶
func (o *DeleteAgentOK) Error() 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
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) Error ¶
func (o *GetAgentConfigForbidden) Error() string
func (*GetAgentConfigForbidden) GetPayload ¶
func (o *GetAgentConfigForbidden) GetPayload() interface{}
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) Error ¶
func (o *GetAgentConfigNoContent) Error() string
func (*GetAgentConfigNoContent) GetPayload ¶
func (o *GetAgentConfigNoContent) GetPayload() interface{}
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) Error ¶
func (o *GetAgentConfigNotFound) Error() string
func (*GetAgentConfigNotFound) GetPayload ¶
func (o *GetAgentConfigNotFound) GetPayload() interface{}
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) Error ¶
func (o *GetAgentConfigOK) Error() string
func (*GetAgentConfigOK) GetPayload ¶
func (o *GetAgentConfigOK) GetPayload() *service_model.V1Agent
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
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) Error ¶
func (o *GetAgentForbidden) Error() string
func (*GetAgentForbidden) GetPayload ¶
func (o *GetAgentForbidden) GetPayload() interface{}
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) Error ¶
func (o *GetAgentNoContent) Error() string
func (*GetAgentNoContent) GetPayload ¶
func (o *GetAgentNoContent) GetPayload() interface{}
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) Error ¶
func (o *GetAgentNotFound) Error() string
func (*GetAgentNotFound) GetPayload ¶
func (o *GetAgentNotFound) GetPayload() interface{}
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) Error ¶
func (o *GetAgentOK) Error() string
func (*GetAgentOK) GetPayload ¶
func (o *GetAgentOK) GetPayload() *service_model.V1Agent
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
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) Error ¶
func (o *GetAgentStateForbidden) Error() string
func (*GetAgentStateForbidden) GetPayload ¶
func (o *GetAgentStateForbidden) GetPayload() interface{}
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) Error ¶
func (o *GetAgentStateNoContent) Error() string
func (*GetAgentStateNoContent) GetPayload ¶
func (o *GetAgentStateNoContent) GetPayload() interface{}
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) Error ¶
func (o *GetAgentStateNotFound) Error() string
func (*GetAgentStateNotFound) GetPayload ¶
func (o *GetAgentStateNotFound) GetPayload() interface{}
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) Error ¶
func (o *GetAgentStateOK) Error() string
func (*GetAgentStateOK) GetPayload ¶
func (o *GetAgentStateOK) GetPayload() *service_model.V1AgentStateResponse
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
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) Error ¶
func (o *GetAgentTokenForbidden) Error() string
func (*GetAgentTokenForbidden) GetPayload ¶
func (o *GetAgentTokenForbidden) GetPayload() interface{}
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) Error ¶
func (o *GetAgentTokenNoContent) Error() string
func (*GetAgentTokenNoContent) GetPayload ¶
func (o *GetAgentTokenNoContent) GetPayload() interface{}
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) Error ¶
func (o *GetAgentTokenNotFound) Error() string
func (*GetAgentTokenNotFound) GetPayload ¶
func (o *GetAgentTokenNotFound) GetPayload() interface{}
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) Error ¶
func (o *GetAgentTokenOK) Error() string
func (*GetAgentTokenOK) GetPayload ¶
func (o *GetAgentTokenOK) GetPayload() *service_model.V1Token
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
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) Error ¶
func (o *ListAgentNamesForbidden) Error() string
func (*ListAgentNamesForbidden) GetPayload ¶
func (o *ListAgentNamesForbidden) GetPayload() interface{}
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) Error ¶
func (o *ListAgentNamesNoContent) Error() string
func (*ListAgentNamesNoContent) GetPayload ¶
func (o *ListAgentNamesNoContent) GetPayload() interface{}
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) Error ¶
func (o *ListAgentNamesNotFound) Error() string
func (*ListAgentNamesNotFound) GetPayload ¶
func (o *ListAgentNamesNotFound) GetPayload() interface{}
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) Error ¶
func (o *ListAgentNamesOK) Error() string
func (*ListAgentNamesOK) GetPayload ¶
func (o *ListAgentNamesOK) GetPayload() *service_model.V1ListAgentsResponse
type ListAgentNamesParams ¶
type ListAgentNamesParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* 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) 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) 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) 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) 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
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) Error ¶
func (o *ListAgentsForbidden) Error() string
func (*ListAgentsForbidden) GetPayload ¶
func (o *ListAgentsForbidden) GetPayload() interface{}
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) Error ¶
func (o *ListAgentsNoContent) Error() string
func (*ListAgentsNoContent) GetPayload ¶
func (o *ListAgentsNoContent) GetPayload() interface{}
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) Error ¶
func (o *ListAgentsNotFound) Error() string
func (*ListAgentsNotFound) GetPayload ¶
func (o *ListAgentsNotFound) GetPayload() interface{}
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) Error ¶
func (o *ListAgentsOK) Error() string
func (*ListAgentsOK) GetPayload ¶
func (o *ListAgentsOK) GetPayload() *service_model.V1ListAgentsResponse
type ListAgentsParams ¶
type ListAgentsParams struct { /* Limit. Limit size. Format: int32 */ Limit *int32 /* 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) 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) 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) 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) 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
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) Error ¶
func (o *PatchAgentForbidden) Error() string
func (*PatchAgentForbidden) GetPayload ¶
func (o *PatchAgentForbidden) GetPayload() interface{}
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) Error ¶
func (o *PatchAgentNoContent) Error() string
func (*PatchAgentNoContent) GetPayload ¶
func (o *PatchAgentNoContent) GetPayload() interface{}
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) Error ¶
func (o *PatchAgentNotFound) Error() string
func (*PatchAgentNotFound) GetPayload ¶
func (o *PatchAgentNotFound) GetPayload() interface{}
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) Error ¶
func (o *PatchAgentOK) Error() string
func (*PatchAgentOK) GetPayload ¶
func (o *PatchAgentOK) GetPayload() *service_model.V1Agent
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
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) Error ¶
func (o *PatchAgentTokenForbidden) Error() string
func (*PatchAgentTokenForbidden) GetPayload ¶
func (o *PatchAgentTokenForbidden) GetPayload() interface{}
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) Error ¶
func (o *PatchAgentTokenNoContent) Error() string
func (*PatchAgentTokenNoContent) GetPayload ¶
func (o *PatchAgentTokenNoContent) GetPayload() interface{}
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) Error ¶
func (o *PatchAgentTokenNotFound) Error() string
func (*PatchAgentTokenNotFound) GetPayload ¶
func (o *PatchAgentTokenNotFound) GetPayload() interface{}
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) Error ¶
func (o *PatchAgentTokenOK) Error() string
func (*PatchAgentTokenOK) GetPayload ¶
func (o *PatchAgentTokenOK) GetPayload() *service_model.V1Token
type PatchAgentTokenParams ¶
type PatchAgentTokenParams struct { /* Agent. Agent */ Agent string /* Body. Token body */ Body *service_model.V1Token /* 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) SetAgent ¶
func (o *PatchAgentTokenParams) SetAgent(agent string)
SetAgent adds the agent to the patch agent token params
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) 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) WithAgent ¶
func (o *PatchAgentTokenParams) WithAgent(agent string) *PatchAgentTokenParams
WithAgent adds the agent 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) 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
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) Error ¶
func (o *SyncAgentForbidden) Error() string
func (*SyncAgentForbidden) GetPayload ¶
func (o *SyncAgentForbidden) GetPayload() interface{}
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) Error ¶
func (o *SyncAgentNoContent) Error() string
func (*SyncAgentNoContent) GetPayload ¶
func (o *SyncAgentNoContent) GetPayload() interface{}
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) Error ¶
func (o *SyncAgentNotFound) Error() string
func (*SyncAgentNotFound) GetPayload ¶
func (o *SyncAgentNotFound) GetPayload() interface{}
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) Error ¶
func (o *SyncAgentOK) Error() 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
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) Error ¶
func (o *UpdateAgentConfigForbidden) Error() string
func (*UpdateAgentConfigForbidden) GetPayload ¶
func (o *UpdateAgentConfigForbidden) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentConfigNoContent) Error() string
func (*UpdateAgentConfigNoContent) GetPayload ¶
func (o *UpdateAgentConfigNoContent) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentConfigNotFound) Error() string
func (*UpdateAgentConfigNotFound) GetPayload ¶
func (o *UpdateAgentConfigNotFound) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentConfigOK) Error() string
func (*UpdateAgentConfigOK) GetPayload ¶
func (o *UpdateAgentConfigOK) GetPayload() *service_model.V1Agent
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
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) Error ¶
func (o *UpdateAgentForbidden) Error() string
func (*UpdateAgentForbidden) GetPayload ¶
func (o *UpdateAgentForbidden) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentNoContent) Error() string
func (*UpdateAgentNoContent) GetPayload ¶
func (o *UpdateAgentNoContent) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentNotFound) Error() string
func (*UpdateAgentNotFound) GetPayload ¶
func (o *UpdateAgentNotFound) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentOK) Error() string
func (*UpdateAgentOK) GetPayload ¶
func (o *UpdateAgentOK) GetPayload() *service_model.V1Agent
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
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) Error ¶
func (o *UpdateAgentTokenForbidden) Error() string
func (*UpdateAgentTokenForbidden) GetPayload ¶
func (o *UpdateAgentTokenForbidden) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentTokenNoContent) Error() string
func (*UpdateAgentTokenNoContent) GetPayload ¶
func (o *UpdateAgentTokenNoContent) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentTokenNotFound) Error() string
func (*UpdateAgentTokenNotFound) GetPayload ¶
func (o *UpdateAgentTokenNotFound) GetPayload() interface{}
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) Error ¶
func (o *UpdateAgentTokenOK) Error() string
func (*UpdateAgentTokenOK) GetPayload ¶
func (o *UpdateAgentTokenOK) GetPayload() *service_model.V1Token
type UpdateAgentTokenParams ¶
type UpdateAgentTokenParams struct { /* Agent. Agent */ Agent string /* Body. Token body */ Body *service_model.V1Token /* 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) SetAgent ¶
func (o *UpdateAgentTokenParams) SetAgent(agent string)
SetAgent adds the agent to the update agent token params
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) 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) WithAgent ¶
func (o *UpdateAgentTokenParams) WithAgent(agent string) *UpdateAgentTokenParams
WithAgent adds the agent 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) 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