data_collector

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

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 data collector API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new data collector API client.

func (*Client) CreateDataCollector

func (a *Client) CreateDataCollector(params *CreateDataCollectorParams) (*CreateDataCollectorCreated, error)

CreateDataCollector creates data collector

Create a new Data Collector.

Note: Data collector endpoints are not available in vRA on-prem release.

func (*Client) DeleteDataCollector

func (a *Client) DeleteDataCollector(params *DeleteDataCollectorParams) (*DeleteDataCollectorNoContent, error)

DeleteDataCollector deletes data collector

Delete Data Collector with a given id.

Note: Data collector endpoints are not available in vRA on-prem release.

func (*Client) GetDataCollector

func (a *Client) GetDataCollector(params *GetDataCollectorParams) (*GetDataCollectorOK, error)

GetDataCollector gets data collector

Get Data Collector with a given id.

Note: Data collector endpoints are not available in vRA on-prem release.

func (*Client) GetDataCollectors

func (a *Client) GetDataCollectors(params *GetDataCollectorsParams) (*GetDataCollectorsOK, error)

GetDataCollectors gets data collectors

Get all Data Collectors.

Note: Data collector endpoints are not available in vRA on-prem release.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateDataCollectorBadRequest

type CreateDataCollectorBadRequest struct {
}

CreateDataCollectorBadRequest handles this case with default header values.

Invalid Request - bad data

func NewCreateDataCollectorBadRequest

func NewCreateDataCollectorBadRequest() *CreateDataCollectorBadRequest

NewCreateDataCollectorBadRequest creates a CreateDataCollectorBadRequest with default headers values

func (*CreateDataCollectorBadRequest) Error

type CreateDataCollectorCreated

type CreateDataCollectorCreated struct {
	Payload *models.DataCollectorRegistration
}

CreateDataCollectorCreated handles this case with default header values.

successful operation

func NewCreateDataCollectorCreated

func NewCreateDataCollectorCreated() *CreateDataCollectorCreated

NewCreateDataCollectorCreated creates a CreateDataCollectorCreated with default headers values

func (*CreateDataCollectorCreated) Error

func (*CreateDataCollectorCreated) GetPayload

type CreateDataCollectorForbidden

type CreateDataCollectorForbidden struct {
}

CreateDataCollectorForbidden handles this case with default header values.

Forbidden

func NewCreateDataCollectorForbidden

func NewCreateDataCollectorForbidden() *CreateDataCollectorForbidden

NewCreateDataCollectorForbidden creates a CreateDataCollectorForbidden with default headers values

func (*CreateDataCollectorForbidden) Error

type CreateDataCollectorParams

type CreateDataCollectorParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about

	*/
	APIVersion *string

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

CreateDataCollectorParams contains all the parameters to send to the API endpoint for the create data collector operation typically these are written to a http.Request

func NewCreateDataCollectorParams

func NewCreateDataCollectorParams() *CreateDataCollectorParams

NewCreateDataCollectorParams creates a new CreateDataCollectorParams object with the default values initialized.

func NewCreateDataCollectorParamsWithContext

func NewCreateDataCollectorParamsWithContext(ctx context.Context) *CreateDataCollectorParams

NewCreateDataCollectorParamsWithContext creates a new CreateDataCollectorParams object with the default values initialized, and the ability to set a context for a request

func NewCreateDataCollectorParamsWithHTTPClient

func NewCreateDataCollectorParamsWithHTTPClient(client *http.Client) *CreateDataCollectorParams

NewCreateDataCollectorParamsWithHTTPClient creates a new CreateDataCollectorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateDataCollectorParamsWithTimeout

func NewCreateDataCollectorParamsWithTimeout(timeout time.Duration) *CreateDataCollectorParams

NewCreateDataCollectorParamsWithTimeout creates a new CreateDataCollectorParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateDataCollectorParams) SetAPIVersion

func (o *CreateDataCollectorParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create data collector params

func (*CreateDataCollectorParams) SetContext

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

SetContext adds the context to the create data collector params

func (*CreateDataCollectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create data collector params

func (*CreateDataCollectorParams) SetTimeout

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

SetTimeout adds the timeout to the create data collector params

func (*CreateDataCollectorParams) WithAPIVersion

func (o *CreateDataCollectorParams) WithAPIVersion(aPIVersion *string) *CreateDataCollectorParams

WithAPIVersion adds the aPIVersion to the create data collector params

func (*CreateDataCollectorParams) WithContext

WithContext adds the context to the create data collector params

func (*CreateDataCollectorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create data collector params

func (*CreateDataCollectorParams) WithTimeout

WithTimeout adds the timeout to the create data collector params

func (*CreateDataCollectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDataCollectorReader

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

CreateDataCollectorReader is a Reader for the CreateDataCollector structure.

func (*CreateDataCollectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDataCollectorForbidden

type DeleteDataCollectorForbidden struct {
}

DeleteDataCollectorForbidden handles this case with default header values.

Forbidden

func NewDeleteDataCollectorForbidden

func NewDeleteDataCollectorForbidden() *DeleteDataCollectorForbidden

NewDeleteDataCollectorForbidden creates a DeleteDataCollectorForbidden with default headers values

func (*DeleteDataCollectorForbidden) Error

type DeleteDataCollectorNoContent

type DeleteDataCollectorNoContent struct {
}

DeleteDataCollectorNoContent handles this case with default header values.

No Content

func NewDeleteDataCollectorNoContent

func NewDeleteDataCollectorNoContent() *DeleteDataCollectorNoContent

NewDeleteDataCollectorNoContent creates a DeleteDataCollectorNoContent with default headers values

func (*DeleteDataCollectorNoContent) Error

type DeleteDataCollectorParams

type DeleteDataCollectorParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about

	*/
	APIVersion *string
	/*ID
	  The ID of the Data Collector.

	*/
	ID string

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

DeleteDataCollectorParams contains all the parameters to send to the API endpoint for the delete data collector operation typically these are written to a http.Request

func NewDeleteDataCollectorParams

func NewDeleteDataCollectorParams() *DeleteDataCollectorParams

NewDeleteDataCollectorParams creates a new DeleteDataCollectorParams object with the default values initialized.

func NewDeleteDataCollectorParamsWithContext

func NewDeleteDataCollectorParamsWithContext(ctx context.Context) *DeleteDataCollectorParams

NewDeleteDataCollectorParamsWithContext creates a new DeleteDataCollectorParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDataCollectorParamsWithHTTPClient

func NewDeleteDataCollectorParamsWithHTTPClient(client *http.Client) *DeleteDataCollectorParams

NewDeleteDataCollectorParamsWithHTTPClient creates a new DeleteDataCollectorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDataCollectorParamsWithTimeout

func NewDeleteDataCollectorParamsWithTimeout(timeout time.Duration) *DeleteDataCollectorParams

NewDeleteDataCollectorParamsWithTimeout creates a new DeleteDataCollectorParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDataCollectorParams) SetAPIVersion

func (o *DeleteDataCollectorParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete data collector params

func (*DeleteDataCollectorParams) SetContext

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

SetContext adds the context to the delete data collector params

func (*DeleteDataCollectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete data collector params

func (*DeleteDataCollectorParams) SetID

func (o *DeleteDataCollectorParams) SetID(id string)

SetID adds the id to the delete data collector params

func (*DeleteDataCollectorParams) SetTimeout

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

SetTimeout adds the timeout to the delete data collector params

func (*DeleteDataCollectorParams) WithAPIVersion

func (o *DeleteDataCollectorParams) WithAPIVersion(aPIVersion *string) *DeleteDataCollectorParams

WithAPIVersion adds the aPIVersion to the delete data collector params

func (*DeleteDataCollectorParams) WithContext

WithContext adds the context to the delete data collector params

func (*DeleteDataCollectorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete data collector params

func (*DeleteDataCollectorParams) WithID

WithID adds the id to the delete data collector params

func (*DeleteDataCollectorParams) WithTimeout

WithTimeout adds the timeout to the delete data collector params

func (*DeleteDataCollectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDataCollectorReader

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

DeleteDataCollectorReader is a Reader for the DeleteDataCollector structure.

func (*DeleteDataCollectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataCollectorForbidden

type GetDataCollectorForbidden struct {
}

GetDataCollectorForbidden handles this case with default header values.

Forbidden

func NewGetDataCollectorForbidden

func NewGetDataCollectorForbidden() *GetDataCollectorForbidden

NewGetDataCollectorForbidden creates a GetDataCollectorForbidden with default headers values

func (*GetDataCollectorForbidden) Error

func (o *GetDataCollectorForbidden) Error() string

type GetDataCollectorNotFound

type GetDataCollectorNotFound struct {
}

GetDataCollectorNotFound handles this case with default header values.

Not Found

func NewGetDataCollectorNotFound

func NewGetDataCollectorNotFound() *GetDataCollectorNotFound

NewGetDataCollectorNotFound creates a GetDataCollectorNotFound with default headers values

func (*GetDataCollectorNotFound) Error

func (o *GetDataCollectorNotFound) Error() string

type GetDataCollectorOK

type GetDataCollectorOK struct {
	Payload *models.DataCollector
}

GetDataCollectorOK handles this case with default header values.

successful operation

func NewGetDataCollectorOK

func NewGetDataCollectorOK() *GetDataCollectorOK

NewGetDataCollectorOK creates a GetDataCollectorOK with default headers values

func (*GetDataCollectorOK) Error

func (o *GetDataCollectorOK) Error() string

func (*GetDataCollectorOK) GetPayload

func (o *GetDataCollectorOK) GetPayload() *models.DataCollector

type GetDataCollectorParams

type GetDataCollectorParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about

	*/
	APIVersion *string
	/*ID
	  The ID of the Data Collector.

	*/
	ID string

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

GetDataCollectorParams contains all the parameters to send to the API endpoint for the get data collector operation typically these are written to a http.Request

func NewGetDataCollectorParams

func NewGetDataCollectorParams() *GetDataCollectorParams

NewGetDataCollectorParams creates a new GetDataCollectorParams object with the default values initialized.

func NewGetDataCollectorParamsWithContext

func NewGetDataCollectorParamsWithContext(ctx context.Context) *GetDataCollectorParams

NewGetDataCollectorParamsWithContext creates a new GetDataCollectorParams object with the default values initialized, and the ability to set a context for a request

func NewGetDataCollectorParamsWithHTTPClient

func NewGetDataCollectorParamsWithHTTPClient(client *http.Client) *GetDataCollectorParams

NewGetDataCollectorParamsWithHTTPClient creates a new GetDataCollectorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDataCollectorParamsWithTimeout

func NewGetDataCollectorParamsWithTimeout(timeout time.Duration) *GetDataCollectorParams

NewGetDataCollectorParamsWithTimeout creates a new GetDataCollectorParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDataCollectorParams) SetAPIVersion

func (o *GetDataCollectorParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get data collector params

func (*GetDataCollectorParams) SetContext

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

SetContext adds the context to the get data collector params

func (*GetDataCollectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data collector params

func (*GetDataCollectorParams) SetID

func (o *GetDataCollectorParams) SetID(id string)

SetID adds the id to the get data collector params

func (*GetDataCollectorParams) SetTimeout

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

SetTimeout adds the timeout to the get data collector params

func (*GetDataCollectorParams) WithAPIVersion

func (o *GetDataCollectorParams) WithAPIVersion(aPIVersion *string) *GetDataCollectorParams

WithAPIVersion adds the aPIVersion to the get data collector params

func (*GetDataCollectorParams) WithContext

WithContext adds the context to the get data collector params

func (*GetDataCollectorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data collector params

func (*GetDataCollectorParams) WithID

WithID adds the id to the get data collector params

func (*GetDataCollectorParams) WithTimeout

WithTimeout adds the timeout to the get data collector params

func (*GetDataCollectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataCollectorReader

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

GetDataCollectorReader is a Reader for the GetDataCollector structure.

func (*GetDataCollectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataCollectorsForbidden

type GetDataCollectorsForbidden struct {
}

GetDataCollectorsForbidden handles this case with default header values.

Forbidden

func NewGetDataCollectorsForbidden

func NewGetDataCollectorsForbidden() *GetDataCollectorsForbidden

NewGetDataCollectorsForbidden creates a GetDataCollectorsForbidden with default headers values

func (*GetDataCollectorsForbidden) Error

type GetDataCollectorsOK

type GetDataCollectorsOK struct {
	Payload *models.DataCollectorResult
}

GetDataCollectorsOK handles this case with default header values.

successful operation

func NewGetDataCollectorsOK

func NewGetDataCollectorsOK() *GetDataCollectorsOK

NewGetDataCollectorsOK creates a GetDataCollectorsOK with default headers values

func (*GetDataCollectorsOK) Error

func (o *GetDataCollectorsOK) Error() string

func (*GetDataCollectorsOK) GetPayload

type GetDataCollectorsParams

type GetDataCollectorsParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about

	*/
	APIVersion *string
	/*Disabled
	  If query param is provided with value equals to true, only disabled data collectors will be retrieved.

	*/
	Disabled *bool

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

GetDataCollectorsParams contains all the parameters to send to the API endpoint for the get data collectors operation typically these are written to a http.Request

func NewGetDataCollectorsParams

func NewGetDataCollectorsParams() *GetDataCollectorsParams

NewGetDataCollectorsParams creates a new GetDataCollectorsParams object with the default values initialized.

func NewGetDataCollectorsParamsWithContext

func NewGetDataCollectorsParamsWithContext(ctx context.Context) *GetDataCollectorsParams

NewGetDataCollectorsParamsWithContext creates a new GetDataCollectorsParams object with the default values initialized, and the ability to set a context for a request

func NewGetDataCollectorsParamsWithHTTPClient

func NewGetDataCollectorsParamsWithHTTPClient(client *http.Client) *GetDataCollectorsParams

NewGetDataCollectorsParamsWithHTTPClient creates a new GetDataCollectorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDataCollectorsParamsWithTimeout

func NewGetDataCollectorsParamsWithTimeout(timeout time.Duration) *GetDataCollectorsParams

NewGetDataCollectorsParamsWithTimeout creates a new GetDataCollectorsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDataCollectorsParams) SetAPIVersion

func (o *GetDataCollectorsParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get data collectors params

func (*GetDataCollectorsParams) SetContext

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

SetContext adds the context to the get data collectors params

func (*GetDataCollectorsParams) SetDisabled

func (o *GetDataCollectorsParams) SetDisabled(disabled *bool)

SetDisabled adds the disabled to the get data collectors params

func (*GetDataCollectorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data collectors params

func (*GetDataCollectorsParams) SetTimeout

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

SetTimeout adds the timeout to the get data collectors params

func (*GetDataCollectorsParams) WithAPIVersion

func (o *GetDataCollectorsParams) WithAPIVersion(aPIVersion *string) *GetDataCollectorsParams

WithAPIVersion adds the aPIVersion to the get data collectors params

func (*GetDataCollectorsParams) WithContext

WithContext adds the context to the get data collectors params

func (*GetDataCollectorsParams) WithDisabled

func (o *GetDataCollectorsParams) WithDisabled(disabled *bool) *GetDataCollectorsParams

WithDisabled adds the disabled to the get data collectors params

func (*GetDataCollectorsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data collectors params

func (*GetDataCollectorsParams) WithTimeout

WithTimeout adds the timeout to the get data collectors params

func (*GetDataCollectorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataCollectorsReader

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

GetDataCollectorsReader is a Reader for the GetDataCollectors structure.

func (*GetDataCollectorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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