cmdb_meta

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 IdentifyReconcile API

func (*Client) GetCmdbMetaByClassName

func (a *Client) GetCmdbMetaByClassName(params *GetTableItemsParams, opts ...ClientOption) (*GetTableItemsOK, error)

CreateIdentifyReconcile creates IdentifyReconcile

Create IdentifyReconcile

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

type ClientService

type ClientService interface {
	GetCmdbMetaByClassName(params *GetTableItemsParams, opts ...ClientOption) (*GetTableItemsOK, 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 IdentifyReconcile API client.

type GetTableItemsForbidden

type GetTableItemsForbidden struct {
}
GetTableItemsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetTableItemsForbidden

func NewGetTableItemsForbidden() *GetTableItemsForbidden

NewGetTableItemsForbidden creates a GetTableItemsForbidden with default headers values

func (*GetTableItemsForbidden) Error

func (o *GetTableItemsForbidden) Error() string

type GetTableItemsNotFound

type GetTableItemsNotFound struct {
	Payload *models.Error
}
GetTableItemsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetTableItemsNotFound

func NewGetTableItemsNotFound() *GetTableItemsNotFound

NewGetTableItemsNotFound creates a GetTableItemsNotFound with default headers values

func (*GetTableItemsNotFound) Error

func (o *GetTableItemsNotFound) Error() string

func (*GetTableItemsNotFound) GetPayload

func (o *GetTableItemsNotFound) GetPayload() *models.Error

type GetTableItemsOK

type GetTableItemsOK struct {
	Payload *models.GetCMDClassSchema
}

func NewGetTableItemsOK

func NewGetTableItemsOK() *GetTableItemsOK

NewCreateIdentifyReconcileCreated creates a CreateIdentifyReconcileCreated with default headers values

func (*GetTableItemsOK) Error

func (o *GetTableItemsOK) Error() string

func (*GetTableItemsOK) GetPayload

func (o *GetTableItemsOK) GetPayload() *models.GetCMDClassSchema

type GetTableItemsParams

type GetTableItemsParams struct {

	/* APIVersion.

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

	/* Body.

	   Project Specification instance
	*/
	ClassName string

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

CreateProjectParams contains all the parameters to send to the API endpoint

for the create project operation.

Typically these are written to a http.Request.

func NewGetTableItemParams

func NewGetTableItemParams() *GetTableItemsParams

NewCreateProjectParams creates a new CreateProjectParams 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 NewGetTableItemParamsWithContext

func NewGetTableItemParamsWithContext(ctx context.Context) *GetTableItemsParams

NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.

func NewGetTableItemParamsWithHTTPClient

func NewGetTableItemParamsWithHTTPClient(client *http.Client) *GetTableItemsParams

NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.

func NewGetTableItemParamsWithTimeout

func NewGetTableItemParamsWithTimeout(timeout time.Duration) *GetTableItemsParams

NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.

func (*GetTableItemsParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the create project params

func (*GetTableItemsParams) SetClassName

func (o *GetTableItemsParams) SetClassName(className string)

func (*GetTableItemsParams) SetContext

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

SetContext adds the context to the create project params

func (*GetTableItemsParams) SetDefaults

func (o *GetTableItemsParams) SetDefaults()

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

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

func (*GetTableItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create project params

func (*GetTableItemsParams) SetTimeout

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

SetTimeout adds the timeout to the create project params

func (*GetTableItemsParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the create project params

func (*GetTableItemsParams) WithClassName

func (o *GetTableItemsParams) WithClassName(className string) *GetTableItemsParams

func (*GetTableItemsParams) WithContext

WithContext adds the context to the create project params

func (*GetTableItemsParams) WithDefaults

func (o *GetTableItemsParams) WithDefaults() *GetTableItemsParams

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

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

func (*GetTableItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create project params

func (*GetTableItemsParams) WithTimeout

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

WithTimeout adds the timeout to the create project params

func (*GetTableItemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTableItemsReader

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

CreateIdentifyReconcileReader is a Reader for the CreateIdentifyReconcile structure.

func (*GetTableItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTableItemsUnauthorized

type GetTableItemsUnauthorized struct {
}
GetTableItemsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetTableItemsUnauthorized

func NewGetTableItemsUnauthorized() *GetTableItemsUnauthorized

func (*GetTableItemsUnauthorized) Error

func (o *GetTableItemsUnauthorized) Error() string

Jump to

Keyboard shortcuts

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