Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetCmdbMetaForbidden
- type GetCmdbMetaNotFound
- type GetCmdbMetaOK
- type GetCmdbMetaParams
- func (o *GetCmdbMetaParams) SetAPIVersion(aPIVersion *string)
- func (o *GetCmdbMetaParams) SetClassName(className string)
- func (o *GetCmdbMetaParams) SetContext(ctx context.Context)
- func (o *GetCmdbMetaParams) SetDefaults()
- func (o *GetCmdbMetaParams) SetHTTPClient(client *http.Client)
- func (o *GetCmdbMetaParams) SetTimeout(timeout time.Duration)
- func (o *GetCmdbMetaParams) WithAPIVersion(aPIVersion *string) *GetCmdbMetaParams
- func (o *GetCmdbMetaParams) WithClassName(className string) *GetCmdbMetaParams
- func (o *GetCmdbMetaParams) WithContext(ctx context.Context) *GetCmdbMetaParams
- func (o *GetCmdbMetaParams) WithDefaults() *GetCmdbMetaParams
- func (o *GetCmdbMetaParams) WithHTTPClient(client *http.Client) *GetCmdbMetaParams
- func (o *GetCmdbMetaParams) WithTimeout(timeout time.Duration) *GetCmdbMetaParams
- func (o *GetCmdbMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCmdbMetaReader
- type GetCmdbMetaUnauthorized
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 *GetCmdbMetaParams, opts ...ClientOption) (*GetCmdbMetaOK, 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 *GetCmdbMetaParams, opts ...ClientOption) (*GetCmdbMetaOK, 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 GetCmdbMetaForbidden ¶ added in v0.1.8
type GetCmdbMetaForbidden struct { }
GetCmdbMetaForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetCmdbMetaForbidden ¶ added in v0.1.8
func NewGetCmdbMetaForbidden() *GetCmdbMetaForbidden
NewGetCmdbMetaForbidden creates a GetCmdbMetaForbidden with default headers values
func (*GetCmdbMetaForbidden) Error ¶ added in v0.1.8
func (o *GetCmdbMetaForbidden) Error() string
type GetCmdbMetaNotFound ¶ added in v0.1.8
GetCmdbMetaNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCmdbMetaNotFound ¶ added in v0.1.8
func NewGetCmdbMetaNotFound() *GetCmdbMetaNotFound
NewGetCmdbMetaNotFound creates a GetCmdbMetaNotFound with default headers values
func (*GetCmdbMetaNotFound) Error ¶ added in v0.1.8
func (o *GetCmdbMetaNotFound) Error() string
func (*GetCmdbMetaNotFound) GetPayload ¶ added in v0.1.8
func (o *GetCmdbMetaNotFound) GetPayload() *models.Error
type GetCmdbMetaOK ¶ added in v0.1.8
type GetCmdbMetaOK struct {
Payload *models.GetCMDClassSchema
}
func NewGetCmdbMetaOK ¶ added in v0.1.8
func NewGetCmdbMetaOK() *GetCmdbMetaOK
NewCreateIdentifyReconcileCreated creates a CreateIdentifyReconcileCreated with default headers values
func (*GetCmdbMetaOK) Error ¶ added in v0.1.8
func (o *GetCmdbMetaOK) Error() string
func (*GetCmdbMetaOK) GetPayload ¶ added in v0.1.8
func (o *GetCmdbMetaOK) GetPayload() *models.GetCMDClassSchema
type GetCmdbMetaParams ¶ added in v0.1.8
type GetCmdbMetaParams 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 NewGetCmdbMetaParams ¶ added in v0.1.9
func NewGetCmdbMetaParams() *GetCmdbMetaParams
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 NewGetCmdbMetaParamsWithContext ¶ added in v0.1.9
func NewGetCmdbMetaParamsWithContext(ctx context.Context) *GetCmdbMetaParams
NewCreateProjectParamsWithContext creates a new CreateProjectParams object with the ability to set a context for a request.
func NewGetCmdbMetaParamsWithHTTPClient ¶ added in v0.1.9
func NewGetCmdbMetaParamsWithHTTPClient(client *http.Client) *GetCmdbMetaParams
NewCreateProjectParamsWithHTTPClient creates a new CreateProjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetCmdbMetaParamsWithTimeout ¶ added in v0.1.9
func NewGetCmdbMetaParamsWithTimeout(timeout time.Duration) *GetCmdbMetaParams
NewCreateProjectParamsWithTimeout creates a new CreateProjectParams object with the ability to set a timeout on a request.
func (*GetCmdbMetaParams) SetAPIVersion ¶ added in v0.1.8
func (o *GetCmdbMetaParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create project params
func (*GetCmdbMetaParams) SetClassName ¶ added in v0.1.8
func (o *GetCmdbMetaParams) SetClassName(className string)
func (*GetCmdbMetaParams) SetContext ¶ added in v0.1.8
func (o *GetCmdbMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the create project params
func (*GetCmdbMetaParams) SetDefaults ¶ added in v0.1.8
func (o *GetCmdbMetaParams) 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 (*GetCmdbMetaParams) SetHTTPClient ¶ added in v0.1.8
func (o *GetCmdbMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create project params
func (*GetCmdbMetaParams) SetTimeout ¶ added in v0.1.8
func (o *GetCmdbMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create project params
func (*GetCmdbMetaParams) WithAPIVersion ¶ added in v0.1.8
func (o *GetCmdbMetaParams) WithAPIVersion(aPIVersion *string) *GetCmdbMetaParams
WithAPIVersion adds the aPIVersion to the create project params
func (*GetCmdbMetaParams) WithClassName ¶ added in v0.1.8
func (o *GetCmdbMetaParams) WithClassName(className string) *GetCmdbMetaParams
func (*GetCmdbMetaParams) WithContext ¶ added in v0.1.8
func (o *GetCmdbMetaParams) WithContext(ctx context.Context) *GetCmdbMetaParams
WithContext adds the context to the create project params
func (*GetCmdbMetaParams) WithDefaults ¶ added in v0.1.8
func (o *GetCmdbMetaParams) WithDefaults() *GetCmdbMetaParams
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 (*GetCmdbMetaParams) WithHTTPClient ¶ added in v0.1.8
func (o *GetCmdbMetaParams) WithHTTPClient(client *http.Client) *GetCmdbMetaParams
WithHTTPClient adds the HTTPClient to the create project params
func (*GetCmdbMetaParams) WithTimeout ¶ added in v0.1.8
func (o *GetCmdbMetaParams) WithTimeout(timeout time.Duration) *GetCmdbMetaParams
WithTimeout adds the timeout to the create project params
func (*GetCmdbMetaParams) WriteToRequest ¶ added in v0.1.8
func (o *GetCmdbMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCmdbMetaReader ¶ added in v0.1.8
type GetCmdbMetaReader struct {
// contains filtered or unexported fields
}
CreateIdentifyReconcileReader is a Reader for the CreateIdentifyReconcile structure.
func (*GetCmdbMetaReader) ReadResponse ¶ added in v0.1.8
func (o *GetCmdbMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCmdbMetaUnauthorized ¶ added in v0.1.8
type GetCmdbMetaUnauthorized struct { }
GetCmdbMetaUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCmdbMetaUnauthorized ¶ added in v0.1.8
func NewGetCmdbMetaUnauthorized() *GetCmdbMetaUnauthorized
func (*GetCmdbMetaUnauthorized) Error ¶ added in v0.1.8
func (o *GetCmdbMetaUnauthorized) Error() string