Documentation ¶
Index ¶
- type AddStaticTargetsOK
- type AddStaticTargetsParams
- func NewAddStaticTargetsParams() *AddStaticTargetsParams
- func NewAddStaticTargetsParamsWithContext(ctx context.Context) *AddStaticTargetsParams
- func NewAddStaticTargetsParamsWithHTTPClient(client *http.Client) *AddStaticTargetsParams
- func NewAddStaticTargetsParamsWithTimeout(timeout time.Duration) *AddStaticTargetsParams
- func (o *AddStaticTargetsParams) SetBody(body *models.APIScrapeConfigsAddStaticTargetsRequest)
- func (o *AddStaticTargetsParams) SetContext(ctx context.Context)
- func (o *AddStaticTargetsParams) SetHTTPClient(client *http.Client)
- func (o *AddStaticTargetsParams) SetJobName(jobName string)
- func (o *AddStaticTargetsParams) SetTimeout(timeout time.Duration)
- func (o *AddStaticTargetsParams) WithBody(body *models.APIScrapeConfigsAddStaticTargetsRequest) *AddStaticTargetsParams
- func (o *AddStaticTargetsParams) WithContext(ctx context.Context) *AddStaticTargetsParams
- func (o *AddStaticTargetsParams) WithHTTPClient(client *http.Client) *AddStaticTargetsParams
- func (o *AddStaticTargetsParams) WithJobName(jobName string) *AddStaticTargetsParams
- func (o *AddStaticTargetsParams) WithTimeout(timeout time.Duration) *AddStaticTargetsParams
- func (o *AddStaticTargetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddStaticTargetsReader
- type Client
- func (a *Client) AddStaticTargets(params *AddStaticTargetsParams) (*AddStaticTargetsOK, error)
- func (a *Client) Create(params *CreateParams) (*CreateOK, error)
- func (a *Client) Delete(params *DeleteParams) (*DeleteOK, error)
- func (a *Client) GetMixin3(params *GetMixin3Params) (*GetMixin3OK, error)
- func (a *Client) ListMixin3(params *ListMixin3Params) (*ListMixin3OK, error)
- func (a *Client) RemoveStaticTargets(params *RemoveStaticTargetsParams) (*RemoveStaticTargetsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateOK
- type CreateParams
- func (o *CreateParams) SetBody(body *models.APIScrapeConfigsCreateRequest)
- func (o *CreateParams) SetContext(ctx context.Context)
- func (o *CreateParams) SetHTTPClient(client *http.Client)
- func (o *CreateParams) SetTimeout(timeout time.Duration)
- func (o *CreateParams) WithBody(body *models.APIScrapeConfigsCreateRequest) *CreateParams
- func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
- func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
- func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
- func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReader
- type DeleteOK
- type DeleteParams
- func (o *DeleteParams) SetContext(ctx context.Context)
- func (o *DeleteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteParams) SetJobName(jobName string)
- func (o *DeleteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
- func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
- func (o *DeleteParams) WithJobName(jobName string) *DeleteParams
- func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
- func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReader
- type GetMixin3OK
- type GetMixin3Params
- func (o *GetMixin3Params) SetContext(ctx context.Context)
- func (o *GetMixin3Params) SetHTTPClient(client *http.Client)
- func (o *GetMixin3Params) SetJobName(jobName string)
- func (o *GetMixin3Params) SetTimeout(timeout time.Duration)
- func (o *GetMixin3Params) WithContext(ctx context.Context) *GetMixin3Params
- func (o *GetMixin3Params) WithHTTPClient(client *http.Client) *GetMixin3Params
- func (o *GetMixin3Params) WithJobName(jobName string) *GetMixin3Params
- func (o *GetMixin3Params) WithTimeout(timeout time.Duration) *GetMixin3Params
- func (o *GetMixin3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMixin3Reader
- type ListMixin3OK
- type ListMixin3Params
- func (o *ListMixin3Params) SetContext(ctx context.Context)
- func (o *ListMixin3Params) SetHTTPClient(client *http.Client)
- func (o *ListMixin3Params) SetTimeout(timeout time.Duration)
- func (o *ListMixin3Params) WithContext(ctx context.Context) *ListMixin3Params
- func (o *ListMixin3Params) WithHTTPClient(client *http.Client) *ListMixin3Params
- func (o *ListMixin3Params) WithTimeout(timeout time.Duration) *ListMixin3Params
- func (o *ListMixin3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMixin3Reader
- type RemoveStaticTargetsOK
- type RemoveStaticTargetsParams
- func NewRemoveStaticTargetsParams() *RemoveStaticTargetsParams
- func NewRemoveStaticTargetsParamsWithContext(ctx context.Context) *RemoveStaticTargetsParams
- func NewRemoveStaticTargetsParamsWithHTTPClient(client *http.Client) *RemoveStaticTargetsParams
- func NewRemoveStaticTargetsParamsWithTimeout(timeout time.Duration) *RemoveStaticTargetsParams
- func (o *RemoveStaticTargetsParams) SetBody(body *models.APIScrapeConfigsRemoveStaticTargetsRequest)
- func (o *RemoveStaticTargetsParams) SetContext(ctx context.Context)
- func (o *RemoveStaticTargetsParams) SetHTTPClient(client *http.Client)
- func (o *RemoveStaticTargetsParams) SetJobName(jobName string)
- func (o *RemoveStaticTargetsParams) SetTimeout(timeout time.Duration)
- func (o *RemoveStaticTargetsParams) WithBody(body *models.APIScrapeConfigsRemoveStaticTargetsRequest) *RemoveStaticTargetsParams
- func (o *RemoveStaticTargetsParams) WithContext(ctx context.Context) *RemoveStaticTargetsParams
- func (o *RemoveStaticTargetsParams) WithHTTPClient(client *http.Client) *RemoveStaticTargetsParams
- func (o *RemoveStaticTargetsParams) WithJobName(jobName string) *RemoveStaticTargetsParams
- func (o *RemoveStaticTargetsParams) WithTimeout(timeout time.Duration) *RemoveStaticTargetsParams
- func (o *RemoveStaticTargetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveStaticTargetsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddStaticTargetsOK ¶
type AddStaticTargetsOK struct {
Payload models.APIScrapeConfigsAddStaticTargetsResponse
}
AddStaticTargetsOK handles this case with default header values.
(empty)
func NewAddStaticTargetsOK ¶
func NewAddStaticTargetsOK() *AddStaticTargetsOK
NewAddStaticTargetsOK creates a AddStaticTargetsOK with default headers values
func (*AddStaticTargetsOK) Error ¶
func (o *AddStaticTargetsOK) Error() string
type AddStaticTargetsParams ¶
type AddStaticTargetsParams struct { /*Body*/ Body *models.APIScrapeConfigsAddStaticTargetsRequest /*JobName*/ JobName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddStaticTargetsParams contains all the parameters to send to the API endpoint for the add static targets operation typically these are written to a http.Request
func NewAddStaticTargetsParams ¶
func NewAddStaticTargetsParams() *AddStaticTargetsParams
NewAddStaticTargetsParams creates a new AddStaticTargetsParams object with the default values initialized.
func NewAddStaticTargetsParamsWithContext ¶
func NewAddStaticTargetsParamsWithContext(ctx context.Context) *AddStaticTargetsParams
NewAddStaticTargetsParamsWithContext creates a new AddStaticTargetsParams object with the default values initialized, and the ability to set a context for a request
func NewAddStaticTargetsParamsWithHTTPClient ¶
func NewAddStaticTargetsParamsWithHTTPClient(client *http.Client) *AddStaticTargetsParams
NewAddStaticTargetsParamsWithHTTPClient creates a new AddStaticTargetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddStaticTargetsParamsWithTimeout ¶
func NewAddStaticTargetsParamsWithTimeout(timeout time.Duration) *AddStaticTargetsParams
NewAddStaticTargetsParamsWithTimeout creates a new AddStaticTargetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddStaticTargetsParams) SetBody ¶
func (o *AddStaticTargetsParams) SetBody(body *models.APIScrapeConfigsAddStaticTargetsRequest)
SetBody adds the body to the add static targets params
func (*AddStaticTargetsParams) SetContext ¶
func (o *AddStaticTargetsParams) SetContext(ctx context.Context)
SetContext adds the context to the add static targets params
func (*AddStaticTargetsParams) SetHTTPClient ¶
func (o *AddStaticTargetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add static targets params
func (*AddStaticTargetsParams) SetJobName ¶
func (o *AddStaticTargetsParams) SetJobName(jobName string)
SetJobName adds the jobName to the add static targets params
func (*AddStaticTargetsParams) SetTimeout ¶
func (o *AddStaticTargetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add static targets params
func (*AddStaticTargetsParams) WithBody ¶
func (o *AddStaticTargetsParams) WithBody(body *models.APIScrapeConfigsAddStaticTargetsRequest) *AddStaticTargetsParams
WithBody adds the body to the add static targets params
func (*AddStaticTargetsParams) WithContext ¶
func (o *AddStaticTargetsParams) WithContext(ctx context.Context) *AddStaticTargetsParams
WithContext adds the context to the add static targets params
func (*AddStaticTargetsParams) WithHTTPClient ¶
func (o *AddStaticTargetsParams) WithHTTPClient(client *http.Client) *AddStaticTargetsParams
WithHTTPClient adds the HTTPClient to the add static targets params
func (*AddStaticTargetsParams) WithJobName ¶
func (o *AddStaticTargetsParams) WithJobName(jobName string) *AddStaticTargetsParams
WithJobName adds the jobName to the add static targets params
func (*AddStaticTargetsParams) WithTimeout ¶
func (o *AddStaticTargetsParams) WithTimeout(timeout time.Duration) *AddStaticTargetsParams
WithTimeout adds the timeout to the add static targets params
func (*AddStaticTargetsParams) WriteToRequest ¶
func (o *AddStaticTargetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddStaticTargetsReader ¶
type AddStaticTargetsReader struct {
// contains filtered or unexported fields
}
AddStaticTargetsReader is a Reader for the AddStaticTargets structure.
func (*AddStaticTargetsReader) ReadResponse ¶
func (o *AddStaticTargetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for scrape configs API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new scrape configs API client.
func (*Client) AddStaticTargets ¶
func (a *Client) AddStaticTargets(params *AddStaticTargetsParams) (*AddStaticTargetsOK, error)
AddStaticTargets add static targets API
func (*Client) Create ¶
func (a *Client) Create(params *CreateParams) (*CreateOK, error)
Create creates creates a new scrape config errors invalid argument 3 if some argument is not valid already exists 6 if scrape config with that job name is already present
func (*Client) Delete ¶
func (a *Client) Delete(params *DeleteParams) (*DeleteOK, error)
Delete deletes removes existing scrape config by job name errors not found 5 if no such scrape config is present
func (*Client) GetMixin3 ¶ added in v1.5.0
func (a *Client) GetMixin3(params *GetMixin3Params) (*GetMixin3OK, error)
GetMixin3 gets returns a scrape config by job name errors not found 5 if no such scrape config is present
func (*Client) ListMixin3 ¶ added in v1.5.0
func (a *Client) ListMixin3(params *ListMixin3Params) (*ListMixin3OK, error)
ListMixin3 lists returns all scrape configs
func (*Client) RemoveStaticTargets ¶
func (a *Client) RemoveStaticTargets(params *RemoveStaticTargetsParams) (*RemoveStaticTargetsOK, error)
RemoveStaticTargets remove static targets API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateOK ¶
type CreateOK struct {
Payload models.APIScrapeConfigsCreateResponse
}
CreateOK handles this case with default header values.
(empty)
func NewCreateOK ¶
func NewCreateOK() *CreateOK
NewCreateOK creates a CreateOK with default headers values
type CreateParams ¶
type CreateParams struct { /*Body*/ Body *models.APIScrapeConfigsCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateParams contains all the parameters to send to the API endpoint for the create operation typically these are written to a http.Request
func NewCreateParams ¶
func NewCreateParams() *CreateParams
NewCreateParams creates a new CreateParams object with the default values initialized.
func NewCreateParamsWithContext ¶
func NewCreateParamsWithContext(ctx context.Context) *CreateParams
NewCreateParamsWithContext creates a new CreateParams object with the default values initialized, and the ability to set a context for a request
func NewCreateParamsWithHTTPClient ¶
func NewCreateParamsWithHTTPClient(client *http.Client) *CreateParams
NewCreateParamsWithHTTPClient creates a new CreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateParamsWithTimeout ¶
func NewCreateParamsWithTimeout(timeout time.Duration) *CreateParams
NewCreateParamsWithTimeout creates a new CreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateParams) SetBody ¶
func (o *CreateParams) SetBody(body *models.APIScrapeConfigsCreateRequest)
SetBody adds the body to the create params
func (*CreateParams) SetContext ¶
func (o *CreateParams) SetContext(ctx context.Context)
SetContext adds the context to the create params
func (*CreateParams) SetHTTPClient ¶
func (o *CreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create params
func (*CreateParams) SetTimeout ¶
func (o *CreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create params
func (*CreateParams) WithBody ¶
func (o *CreateParams) WithBody(body *models.APIScrapeConfigsCreateRequest) *CreateParams
WithBody adds the body to the create params
func (*CreateParams) WithContext ¶
func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
WithContext adds the context to the create params
func (*CreateParams) WithHTTPClient ¶
func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
WithHTTPClient adds the HTTPClient to the create params
func (*CreateParams) WithTimeout ¶
func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
WithTimeout adds the timeout to the create params
func (*CreateParams) WriteToRequest ¶
func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReader ¶
type CreateReader struct {
// contains filtered or unexported fields
}
CreateReader is a Reader for the Create structure.
func (*CreateReader) ReadResponse ¶
func (o *CreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOK ¶
type DeleteOK struct {
Payload models.APIScrapeConfigsDeleteResponse
}
DeleteOK handles this case with default header values.
(empty)
func NewDeleteOK ¶
func NewDeleteOK() *DeleteOK
NewDeleteOK creates a DeleteOK with default headers values
type DeleteParams ¶
type DeleteParams struct { /*JobName*/ JobName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteParams contains all the parameters to send to the API endpoint for the delete operation typically these are written to a http.Request
func NewDeleteParams ¶
func NewDeleteParams() *DeleteParams
NewDeleteParams creates a new DeleteParams object with the default values initialized.
func NewDeleteParamsWithContext ¶
func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams
NewDeleteParamsWithContext creates a new DeleteParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteParamsWithHTTPClient ¶
func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams
NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteParamsWithTimeout ¶
func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams
NewDeleteParamsWithTimeout creates a new DeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteParams) SetContext ¶
func (o *DeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete params
func (*DeleteParams) SetHTTPClient ¶
func (o *DeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete params
func (*DeleteParams) SetJobName ¶
func (o *DeleteParams) SetJobName(jobName string)
SetJobName adds the jobName to the delete params
func (*DeleteParams) SetTimeout ¶
func (o *DeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete params
func (*DeleteParams) WithContext ¶
func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
WithContext adds the context to the delete params
func (*DeleteParams) WithHTTPClient ¶
func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
WithHTTPClient adds the HTTPClient to the delete params
func (*DeleteParams) WithJobName ¶
func (o *DeleteParams) WithJobName(jobName string) *DeleteParams
WithJobName adds the jobName to the delete params
func (*DeleteParams) WithTimeout ¶
func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
WithTimeout adds the timeout to the delete params
func (*DeleteParams) WriteToRequest ¶
func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReader ¶
type DeleteReader struct {
// contains filtered or unexported fields
}
DeleteReader is a Reader for the Delete structure.
func (*DeleteReader) ReadResponse ¶
func (o *DeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMixin3OK ¶ added in v1.5.0
type GetMixin3OK struct {
Payload *models.APIScrapeConfigsGetResponse
}
GetMixin3OK handles this case with default header values.
(empty)
func NewGetMixin3OK ¶ added in v1.5.0
func NewGetMixin3OK() *GetMixin3OK
NewGetMixin3OK creates a GetMixin3OK with default headers values
func (*GetMixin3OK) Error ¶ added in v1.5.0
func (o *GetMixin3OK) Error() string
type GetMixin3Params ¶ added in v1.5.0
type GetMixin3Params struct { /*JobName*/ JobName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMixin3Params contains all the parameters to send to the API endpoint for the get mixin3 operation typically these are written to a http.Request
func NewGetMixin3Params ¶ added in v1.5.0
func NewGetMixin3Params() *GetMixin3Params
NewGetMixin3Params creates a new GetMixin3Params object with the default values initialized.
func NewGetMixin3ParamsWithContext ¶ added in v1.5.0
func NewGetMixin3ParamsWithContext(ctx context.Context) *GetMixin3Params
NewGetMixin3ParamsWithContext creates a new GetMixin3Params object with the default values initialized, and the ability to set a context for a request
func NewGetMixin3ParamsWithHTTPClient ¶ added in v1.5.0
func NewGetMixin3ParamsWithHTTPClient(client *http.Client) *GetMixin3Params
NewGetMixin3ParamsWithHTTPClient creates a new GetMixin3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMixin3ParamsWithTimeout ¶ added in v1.5.0
func NewGetMixin3ParamsWithTimeout(timeout time.Duration) *GetMixin3Params
NewGetMixin3ParamsWithTimeout creates a new GetMixin3Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetMixin3Params) SetContext ¶ added in v1.5.0
func (o *GetMixin3Params) SetContext(ctx context.Context)
SetContext adds the context to the get mixin3 params
func (*GetMixin3Params) SetHTTPClient ¶ added in v1.5.0
func (o *GetMixin3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get mixin3 params
func (*GetMixin3Params) SetJobName ¶ added in v1.5.0
func (o *GetMixin3Params) SetJobName(jobName string)
SetJobName adds the jobName to the get mixin3 params
func (*GetMixin3Params) SetTimeout ¶ added in v1.5.0
func (o *GetMixin3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get mixin3 params
func (*GetMixin3Params) WithContext ¶ added in v1.5.0
func (o *GetMixin3Params) WithContext(ctx context.Context) *GetMixin3Params
WithContext adds the context to the get mixin3 params
func (*GetMixin3Params) WithHTTPClient ¶ added in v1.5.0
func (o *GetMixin3Params) WithHTTPClient(client *http.Client) *GetMixin3Params
WithHTTPClient adds the HTTPClient to the get mixin3 params
func (*GetMixin3Params) WithJobName ¶ added in v1.5.0
func (o *GetMixin3Params) WithJobName(jobName string) *GetMixin3Params
WithJobName adds the jobName to the get mixin3 params
func (*GetMixin3Params) WithTimeout ¶ added in v1.5.0
func (o *GetMixin3Params) WithTimeout(timeout time.Duration) *GetMixin3Params
WithTimeout adds the timeout to the get mixin3 params
func (*GetMixin3Params) WriteToRequest ¶ added in v1.5.0
func (o *GetMixin3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMixin3Reader ¶ added in v1.5.0
type GetMixin3Reader struct {
// contains filtered or unexported fields
}
GetMixin3Reader is a Reader for the GetMixin3 structure.
func (*GetMixin3Reader) ReadResponse ¶ added in v1.5.0
func (o *GetMixin3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListMixin3OK ¶ added in v1.5.0
type ListMixin3OK struct {
Payload *models.APIScrapeConfigsListResponse
}
ListMixin3OK handles this case with default header values.
(empty)
func NewListMixin3OK ¶ added in v1.5.0
func NewListMixin3OK() *ListMixin3OK
NewListMixin3OK creates a ListMixin3OK with default headers values
func (*ListMixin3OK) Error ¶ added in v1.5.0
func (o *ListMixin3OK) Error() string
type ListMixin3Params ¶ added in v1.5.0
type ListMixin3Params struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMixin3Params contains all the parameters to send to the API endpoint for the list mixin3 operation typically these are written to a http.Request
func NewListMixin3Params ¶ added in v1.5.0
func NewListMixin3Params() *ListMixin3Params
NewListMixin3Params creates a new ListMixin3Params object with the default values initialized.
func NewListMixin3ParamsWithContext ¶ added in v1.5.0
func NewListMixin3ParamsWithContext(ctx context.Context) *ListMixin3Params
NewListMixin3ParamsWithContext creates a new ListMixin3Params object with the default values initialized, and the ability to set a context for a request
func NewListMixin3ParamsWithHTTPClient ¶ added in v1.5.0
func NewListMixin3ParamsWithHTTPClient(client *http.Client) *ListMixin3Params
NewListMixin3ParamsWithHTTPClient creates a new ListMixin3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListMixin3ParamsWithTimeout ¶ added in v1.5.0
func NewListMixin3ParamsWithTimeout(timeout time.Duration) *ListMixin3Params
NewListMixin3ParamsWithTimeout creates a new ListMixin3Params object with the default values initialized, and the ability to set a timeout on a request
func (*ListMixin3Params) SetContext ¶ added in v1.5.0
func (o *ListMixin3Params) SetContext(ctx context.Context)
SetContext adds the context to the list mixin3 params
func (*ListMixin3Params) SetHTTPClient ¶ added in v1.5.0
func (o *ListMixin3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list mixin3 params
func (*ListMixin3Params) SetTimeout ¶ added in v1.5.0
func (o *ListMixin3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list mixin3 params
func (*ListMixin3Params) WithContext ¶ added in v1.5.0
func (o *ListMixin3Params) WithContext(ctx context.Context) *ListMixin3Params
WithContext adds the context to the list mixin3 params
func (*ListMixin3Params) WithHTTPClient ¶ added in v1.5.0
func (o *ListMixin3Params) WithHTTPClient(client *http.Client) *ListMixin3Params
WithHTTPClient adds the HTTPClient to the list mixin3 params
func (*ListMixin3Params) WithTimeout ¶ added in v1.5.0
func (o *ListMixin3Params) WithTimeout(timeout time.Duration) *ListMixin3Params
WithTimeout adds the timeout to the list mixin3 params
func (*ListMixin3Params) WriteToRequest ¶ added in v1.5.0
func (o *ListMixin3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMixin3Reader ¶ added in v1.5.0
type ListMixin3Reader struct {
// contains filtered or unexported fields
}
ListMixin3Reader is a Reader for the ListMixin3 structure.
func (*ListMixin3Reader) ReadResponse ¶ added in v1.5.0
func (o *ListMixin3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveStaticTargetsOK ¶
type RemoveStaticTargetsOK struct {
Payload models.APIScrapeConfigsRemoveStaticTargetsResponse
}
RemoveStaticTargetsOK handles this case with default header values.
(empty)
func NewRemoveStaticTargetsOK ¶
func NewRemoveStaticTargetsOK() *RemoveStaticTargetsOK
NewRemoveStaticTargetsOK creates a RemoveStaticTargetsOK with default headers values
func (*RemoveStaticTargetsOK) Error ¶
func (o *RemoveStaticTargetsOK) Error() string
type RemoveStaticTargetsParams ¶
type RemoveStaticTargetsParams struct { /*Body*/ Body *models.APIScrapeConfigsRemoveStaticTargetsRequest /*JobName*/ JobName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveStaticTargetsParams contains all the parameters to send to the API endpoint for the remove static targets operation typically these are written to a http.Request
func NewRemoveStaticTargetsParams ¶
func NewRemoveStaticTargetsParams() *RemoveStaticTargetsParams
NewRemoveStaticTargetsParams creates a new RemoveStaticTargetsParams object with the default values initialized.
func NewRemoveStaticTargetsParamsWithContext ¶
func NewRemoveStaticTargetsParamsWithContext(ctx context.Context) *RemoveStaticTargetsParams
NewRemoveStaticTargetsParamsWithContext creates a new RemoveStaticTargetsParams object with the default values initialized, and the ability to set a context for a request
func NewRemoveStaticTargetsParamsWithHTTPClient ¶
func NewRemoveStaticTargetsParamsWithHTTPClient(client *http.Client) *RemoveStaticTargetsParams
NewRemoveStaticTargetsParamsWithHTTPClient creates a new RemoveStaticTargetsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemoveStaticTargetsParamsWithTimeout ¶
func NewRemoveStaticTargetsParamsWithTimeout(timeout time.Duration) *RemoveStaticTargetsParams
NewRemoveStaticTargetsParamsWithTimeout creates a new RemoveStaticTargetsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemoveStaticTargetsParams) SetBody ¶
func (o *RemoveStaticTargetsParams) SetBody(body *models.APIScrapeConfigsRemoveStaticTargetsRequest)
SetBody adds the body to the remove static targets params
func (*RemoveStaticTargetsParams) SetContext ¶
func (o *RemoveStaticTargetsParams) SetContext(ctx context.Context)
SetContext adds the context to the remove static targets params
func (*RemoveStaticTargetsParams) SetHTTPClient ¶
func (o *RemoveStaticTargetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove static targets params
func (*RemoveStaticTargetsParams) SetJobName ¶
func (o *RemoveStaticTargetsParams) SetJobName(jobName string)
SetJobName adds the jobName to the remove static targets params
func (*RemoveStaticTargetsParams) SetTimeout ¶
func (o *RemoveStaticTargetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove static targets params
func (*RemoveStaticTargetsParams) WithBody ¶
func (o *RemoveStaticTargetsParams) WithBody(body *models.APIScrapeConfigsRemoveStaticTargetsRequest) *RemoveStaticTargetsParams
WithBody adds the body to the remove static targets params
func (*RemoveStaticTargetsParams) WithContext ¶
func (o *RemoveStaticTargetsParams) WithContext(ctx context.Context) *RemoveStaticTargetsParams
WithContext adds the context to the remove static targets params
func (*RemoveStaticTargetsParams) WithHTTPClient ¶
func (o *RemoveStaticTargetsParams) WithHTTPClient(client *http.Client) *RemoveStaticTargetsParams
WithHTTPClient adds the HTTPClient to the remove static targets params
func (*RemoveStaticTargetsParams) WithJobName ¶
func (o *RemoveStaticTargetsParams) WithJobName(jobName string) *RemoveStaticTargetsParams
WithJobName adds the jobName to the remove static targets params
func (*RemoveStaticTargetsParams) WithTimeout ¶
func (o *RemoveStaticTargetsParams) WithTimeout(timeout time.Duration) *RemoveStaticTargetsParams
WithTimeout adds the timeout to the remove static targets params
func (*RemoveStaticTargetsParams) WriteToRequest ¶
func (o *RemoveStaticTargetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveStaticTargetsReader ¶
type RemoveStaticTargetsReader struct {
// contains filtered or unexported fields
}
RemoveStaticTargetsReader is a Reader for the RemoveStaticTargets structure.
func (*RemoveStaticTargetsReader) ReadResponse ¶
func (o *RemoveStaticTargetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_static_targets_parameters.go
- add_static_targets_responses.go
- create_parameters.go
- create_responses.go
- delete_parameters.go
- delete_responses.go
- get_mixin3_parameters.go
- get_mixin3_responses.go
- list_mixin3_parameters.go
- list_mixin3_responses.go
- remove_static_targets_parameters.go
- remove_static_targets_responses.go
- scrape_configs_client.go