Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteMeta(params *DeleteMetaParams) (*DeleteMetaOK, error)
- func (a *Client) GetBulkMeta(params *GetBulkMetaParams) (*GetBulkMetaOK, error)
- func (a *Client) GetMeta(params *GetMetaParams) (*GetMetaOK, error)
- func (a *Client) SetMeta(params *SetMetaParams) (*SetMetaOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteMetaOK
- type DeleteMetaParams
- func (o *DeleteMetaParams) SetBody(body *models.RestMetaNamespaceRequest)
- func (o *DeleteMetaParams) SetContext(ctx context.Context)
- func (o *DeleteMetaParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMetaParams) SetNodePath(nodePath string)
- func (o *DeleteMetaParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMetaParams) WithBody(body *models.RestMetaNamespaceRequest) *DeleteMetaParams
- func (o *DeleteMetaParams) WithContext(ctx context.Context) *DeleteMetaParams
- func (o *DeleteMetaParams) WithHTTPClient(client *http.Client) *DeleteMetaParams
- func (o *DeleteMetaParams) WithNodePath(nodePath string) *DeleteMetaParams
- func (o *DeleteMetaParams) WithTimeout(timeout time.Duration) *DeleteMetaParams
- func (o *DeleteMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMetaReader
- type GetBulkMetaOK
- type GetBulkMetaParams
- func (o *GetBulkMetaParams) SetBody(body *models.RestGetBulkMetaRequest)
- func (o *GetBulkMetaParams) SetContext(ctx context.Context)
- func (o *GetBulkMetaParams) SetHTTPClient(client *http.Client)
- func (o *GetBulkMetaParams) SetTimeout(timeout time.Duration)
- func (o *GetBulkMetaParams) WithBody(body *models.RestGetBulkMetaRequest) *GetBulkMetaParams
- func (o *GetBulkMetaParams) WithContext(ctx context.Context) *GetBulkMetaParams
- func (o *GetBulkMetaParams) WithHTTPClient(client *http.Client) *GetBulkMetaParams
- func (o *GetBulkMetaParams) WithTimeout(timeout time.Duration) *GetBulkMetaParams
- func (o *GetBulkMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBulkMetaReader
- type GetMetaOK
- type GetMetaParams
- func (o *GetMetaParams) SetBody(body *models.RestMetaNamespaceRequest)
- func (o *GetMetaParams) SetContext(ctx context.Context)
- func (o *GetMetaParams) SetHTTPClient(client *http.Client)
- func (o *GetMetaParams) SetNodePath(nodePath string)
- func (o *GetMetaParams) SetTimeout(timeout time.Duration)
- func (o *GetMetaParams) WithBody(body *models.RestMetaNamespaceRequest) *GetMetaParams
- func (o *GetMetaParams) WithContext(ctx context.Context) *GetMetaParams
- func (o *GetMetaParams) WithHTTPClient(client *http.Client) *GetMetaParams
- func (o *GetMetaParams) WithNodePath(nodePath string) *GetMetaParams
- func (o *GetMetaParams) WithTimeout(timeout time.Duration) *GetMetaParams
- func (o *GetMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetaReader
- type SetMetaOK
- type SetMetaParams
- func (o *SetMetaParams) SetBody(body *models.RestMetaCollection)
- func (o *SetMetaParams) SetContext(ctx context.Context)
- func (o *SetMetaParams) SetHTTPClient(client *http.Client)
- func (o *SetMetaParams) SetNodePath(nodePath string)
- func (o *SetMetaParams) SetTimeout(timeout time.Duration)
- func (o *SetMetaParams) WithBody(body *models.RestMetaCollection) *SetMetaParams
- func (o *SetMetaParams) WithContext(ctx context.Context) *SetMetaParams
- func (o *SetMetaParams) WithHTTPClient(client *http.Client) *SetMetaParams
- func (o *SetMetaParams) WithNodePath(nodePath string) *SetMetaParams
- func (o *SetMetaParams) WithTimeout(timeout time.Duration) *SetMetaParams
- func (o *SetMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetMetaReader
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 meta service API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new meta service API client.
func (*Client) DeleteMeta ¶
func (a *Client) DeleteMeta(params *DeleteMetaParams) (*DeleteMetaOK, error)
DeleteMeta deletes metadata of a given node
func (*Client) GetBulkMeta ¶
func (a *Client) GetBulkMeta(params *GetBulkMetaParams) (*GetBulkMetaOK, error)
GetBulkMeta lists meta for a list of nodes or a full directory using path syntax
func (*Client) GetMeta ¶
func (a *Client) GetMeta(params *GetMetaParams) (*GetMetaOK, error)
GetMeta loads metadata for a given node
func (*Client) SetMeta ¶
func (a *Client) SetMeta(params *SetMetaParams) (*SetMetaOK, error)
SetMeta updates metadata for a given node
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteMetaOK ¶
DeleteMetaOK handles this case with default header values.
DeleteMetaOK delete meta o k
func NewDeleteMetaOK ¶
func NewDeleteMetaOK() *DeleteMetaOK
NewDeleteMetaOK creates a DeleteMetaOK with default headers values
func (*DeleteMetaOK) Error ¶
func (o *DeleteMetaOK) Error() string
type DeleteMetaParams ¶
type DeleteMetaParams struct { /*NodePath*/ NodePath string /*Body*/ Body *models.RestMetaNamespaceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMetaParams contains all the parameters to send to the API endpoint for the delete meta operation typically these are written to a http.Request
func NewDeleteMetaParams ¶
func NewDeleteMetaParams() *DeleteMetaParams
NewDeleteMetaParams creates a new DeleteMetaParams object with the default values initialized.
func NewDeleteMetaParamsWithContext ¶
func NewDeleteMetaParamsWithContext(ctx context.Context) *DeleteMetaParams
NewDeleteMetaParamsWithContext creates a new DeleteMetaParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMetaParamsWithHTTPClient ¶
func NewDeleteMetaParamsWithHTTPClient(client *http.Client) *DeleteMetaParams
NewDeleteMetaParamsWithHTTPClient creates a new DeleteMetaParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMetaParamsWithTimeout ¶
func NewDeleteMetaParamsWithTimeout(timeout time.Duration) *DeleteMetaParams
NewDeleteMetaParamsWithTimeout creates a new DeleteMetaParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMetaParams) SetBody ¶
func (o *DeleteMetaParams) SetBody(body *models.RestMetaNamespaceRequest)
SetBody adds the body to the delete meta params
func (*DeleteMetaParams) SetContext ¶
func (o *DeleteMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the delete meta params
func (*DeleteMetaParams) SetHTTPClient ¶
func (o *DeleteMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete meta params
func (*DeleteMetaParams) SetNodePath ¶
func (o *DeleteMetaParams) SetNodePath(nodePath string)
SetNodePath adds the nodePath to the delete meta params
func (*DeleteMetaParams) SetTimeout ¶
func (o *DeleteMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete meta params
func (*DeleteMetaParams) WithBody ¶
func (o *DeleteMetaParams) WithBody(body *models.RestMetaNamespaceRequest) *DeleteMetaParams
WithBody adds the body to the delete meta params
func (*DeleteMetaParams) WithContext ¶
func (o *DeleteMetaParams) WithContext(ctx context.Context) *DeleteMetaParams
WithContext adds the context to the delete meta params
func (*DeleteMetaParams) WithHTTPClient ¶
func (o *DeleteMetaParams) WithHTTPClient(client *http.Client) *DeleteMetaParams
WithHTTPClient adds the HTTPClient to the delete meta params
func (*DeleteMetaParams) WithNodePath ¶
func (o *DeleteMetaParams) WithNodePath(nodePath string) *DeleteMetaParams
WithNodePath adds the nodePath to the delete meta params
func (*DeleteMetaParams) WithTimeout ¶
func (o *DeleteMetaParams) WithTimeout(timeout time.Duration) *DeleteMetaParams
WithTimeout adds the timeout to the delete meta params
func (*DeleteMetaParams) WriteToRequest ¶
func (o *DeleteMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMetaReader ¶
type DeleteMetaReader struct {
// contains filtered or unexported fields
}
DeleteMetaReader is a Reader for the DeleteMeta structure.
func (*DeleteMetaReader) ReadResponse ¶
func (o *DeleteMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBulkMetaOK ¶
type GetBulkMetaOK struct {
Payload *models.RestBulkMetaResponse
}
GetBulkMetaOK handles this case with default header values.
GetBulkMetaOK get bulk meta o k
func NewGetBulkMetaOK ¶
func NewGetBulkMetaOK() *GetBulkMetaOK
NewGetBulkMetaOK creates a GetBulkMetaOK with default headers values
func (*GetBulkMetaOK) Error ¶
func (o *GetBulkMetaOK) Error() string
type GetBulkMetaParams ¶
type GetBulkMetaParams struct { /*Body*/ Body *models.RestGetBulkMetaRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBulkMetaParams contains all the parameters to send to the API endpoint for the get bulk meta operation typically these are written to a http.Request
func NewGetBulkMetaParams ¶
func NewGetBulkMetaParams() *GetBulkMetaParams
NewGetBulkMetaParams creates a new GetBulkMetaParams object with the default values initialized.
func NewGetBulkMetaParamsWithContext ¶
func NewGetBulkMetaParamsWithContext(ctx context.Context) *GetBulkMetaParams
NewGetBulkMetaParamsWithContext creates a new GetBulkMetaParams object with the default values initialized, and the ability to set a context for a request
func NewGetBulkMetaParamsWithHTTPClient ¶
func NewGetBulkMetaParamsWithHTTPClient(client *http.Client) *GetBulkMetaParams
NewGetBulkMetaParamsWithHTTPClient creates a new GetBulkMetaParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBulkMetaParamsWithTimeout ¶
func NewGetBulkMetaParamsWithTimeout(timeout time.Duration) *GetBulkMetaParams
NewGetBulkMetaParamsWithTimeout creates a new GetBulkMetaParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBulkMetaParams) SetBody ¶
func (o *GetBulkMetaParams) SetBody(body *models.RestGetBulkMetaRequest)
SetBody adds the body to the get bulk meta params
func (*GetBulkMetaParams) SetContext ¶
func (o *GetBulkMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the get bulk meta params
func (*GetBulkMetaParams) SetHTTPClient ¶
func (o *GetBulkMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get bulk meta params
func (*GetBulkMetaParams) SetTimeout ¶
func (o *GetBulkMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get bulk meta params
func (*GetBulkMetaParams) WithBody ¶
func (o *GetBulkMetaParams) WithBody(body *models.RestGetBulkMetaRequest) *GetBulkMetaParams
WithBody adds the body to the get bulk meta params
func (*GetBulkMetaParams) WithContext ¶
func (o *GetBulkMetaParams) WithContext(ctx context.Context) *GetBulkMetaParams
WithContext adds the context to the get bulk meta params
func (*GetBulkMetaParams) WithHTTPClient ¶
func (o *GetBulkMetaParams) WithHTTPClient(client *http.Client) *GetBulkMetaParams
WithHTTPClient adds the HTTPClient to the get bulk meta params
func (*GetBulkMetaParams) WithTimeout ¶
func (o *GetBulkMetaParams) WithTimeout(timeout time.Duration) *GetBulkMetaParams
WithTimeout adds the timeout to the get bulk meta params
func (*GetBulkMetaParams) WriteToRequest ¶
func (o *GetBulkMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBulkMetaReader ¶
type GetBulkMetaReader struct {
// contains filtered or unexported fields
}
GetBulkMetaReader is a Reader for the GetBulkMeta structure.
func (*GetBulkMetaReader) ReadResponse ¶
func (o *GetBulkMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMetaOK ¶
GetMetaOK handles this case with default header values.
GetMetaOK get meta o k
func NewGetMetaOK ¶
func NewGetMetaOK() *GetMetaOK
NewGetMetaOK creates a GetMetaOK with default headers values
type GetMetaParams ¶
type GetMetaParams struct { /*NodePath*/ NodePath string /*Body*/ Body *models.RestMetaNamespaceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMetaParams contains all the parameters to send to the API endpoint for the get meta operation typically these are written to a http.Request
func NewGetMetaParams ¶
func NewGetMetaParams() *GetMetaParams
NewGetMetaParams creates a new GetMetaParams object with the default values initialized.
func NewGetMetaParamsWithContext ¶
func NewGetMetaParamsWithContext(ctx context.Context) *GetMetaParams
NewGetMetaParamsWithContext creates a new GetMetaParams object with the default values initialized, and the ability to set a context for a request
func NewGetMetaParamsWithHTTPClient ¶
func NewGetMetaParamsWithHTTPClient(client *http.Client) *GetMetaParams
NewGetMetaParamsWithHTTPClient creates a new GetMetaParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMetaParamsWithTimeout ¶
func NewGetMetaParamsWithTimeout(timeout time.Duration) *GetMetaParams
NewGetMetaParamsWithTimeout creates a new GetMetaParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMetaParams) SetBody ¶
func (o *GetMetaParams) SetBody(body *models.RestMetaNamespaceRequest)
SetBody adds the body to the get meta params
func (*GetMetaParams) SetContext ¶
func (o *GetMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the get meta params
func (*GetMetaParams) SetHTTPClient ¶
func (o *GetMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get meta params
func (*GetMetaParams) SetNodePath ¶
func (o *GetMetaParams) SetNodePath(nodePath string)
SetNodePath adds the nodePath to the get meta params
func (*GetMetaParams) SetTimeout ¶
func (o *GetMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get meta params
func (*GetMetaParams) WithBody ¶
func (o *GetMetaParams) WithBody(body *models.RestMetaNamespaceRequest) *GetMetaParams
WithBody adds the body to the get meta params
func (*GetMetaParams) WithContext ¶
func (o *GetMetaParams) WithContext(ctx context.Context) *GetMetaParams
WithContext adds the context to the get meta params
func (*GetMetaParams) WithHTTPClient ¶
func (o *GetMetaParams) WithHTTPClient(client *http.Client) *GetMetaParams
WithHTTPClient adds the HTTPClient to the get meta params
func (*GetMetaParams) WithNodePath ¶
func (o *GetMetaParams) WithNodePath(nodePath string) *GetMetaParams
WithNodePath adds the nodePath to the get meta params
func (*GetMetaParams) WithTimeout ¶
func (o *GetMetaParams) WithTimeout(timeout time.Duration) *GetMetaParams
WithTimeout adds the timeout to the get meta params
func (*GetMetaParams) WriteToRequest ¶
func (o *GetMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMetaReader ¶
type GetMetaReader struct {
// contains filtered or unexported fields
}
GetMetaReader is a Reader for the GetMeta structure.
func (*GetMetaReader) ReadResponse ¶
func (o *GetMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetMetaOK ¶
SetMetaOK handles this case with default header values.
SetMetaOK set meta o k
func NewSetMetaOK ¶
func NewSetMetaOK() *SetMetaOK
NewSetMetaOK creates a SetMetaOK with default headers values
type SetMetaParams ¶
type SetMetaParams struct { /*NodePath*/ NodePath string /*Body*/ Body *models.RestMetaCollection Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetMetaParams contains all the parameters to send to the API endpoint for the set meta operation typically these are written to a http.Request
func NewSetMetaParams ¶
func NewSetMetaParams() *SetMetaParams
NewSetMetaParams creates a new SetMetaParams object with the default values initialized.
func NewSetMetaParamsWithContext ¶
func NewSetMetaParamsWithContext(ctx context.Context) *SetMetaParams
NewSetMetaParamsWithContext creates a new SetMetaParams object with the default values initialized, and the ability to set a context for a request
func NewSetMetaParamsWithHTTPClient ¶
func NewSetMetaParamsWithHTTPClient(client *http.Client) *SetMetaParams
NewSetMetaParamsWithHTTPClient creates a new SetMetaParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetMetaParamsWithTimeout ¶
func NewSetMetaParamsWithTimeout(timeout time.Duration) *SetMetaParams
NewSetMetaParamsWithTimeout creates a new SetMetaParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetMetaParams) SetBody ¶
func (o *SetMetaParams) SetBody(body *models.RestMetaCollection)
SetBody adds the body to the set meta params
func (*SetMetaParams) SetContext ¶
func (o *SetMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the set meta params
func (*SetMetaParams) SetHTTPClient ¶
func (o *SetMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set meta params
func (*SetMetaParams) SetNodePath ¶
func (o *SetMetaParams) SetNodePath(nodePath string)
SetNodePath adds the nodePath to the set meta params
func (*SetMetaParams) SetTimeout ¶
func (o *SetMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set meta params
func (*SetMetaParams) WithBody ¶
func (o *SetMetaParams) WithBody(body *models.RestMetaCollection) *SetMetaParams
WithBody adds the body to the set meta params
func (*SetMetaParams) WithContext ¶
func (o *SetMetaParams) WithContext(ctx context.Context) *SetMetaParams
WithContext adds the context to the set meta params
func (*SetMetaParams) WithHTTPClient ¶
func (o *SetMetaParams) WithHTTPClient(client *http.Client) *SetMetaParams
WithHTTPClient adds the HTTPClient to the set meta params
func (*SetMetaParams) WithNodePath ¶
func (o *SetMetaParams) WithNodePath(nodePath string) *SetMetaParams
WithNodePath adds the nodePath to the set meta params
func (*SetMetaParams) WithTimeout ¶
func (o *SetMetaParams) WithTimeout(timeout time.Duration) *SetMetaParams
WithTimeout adds the timeout to the set meta params
func (*SetMetaParams) WriteToRequest ¶
func (o *SetMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetMetaReader ¶
type SetMetaReader struct {
// contains filtered or unexported fields
}
SetMetaReader is a Reader for the SetMeta structure.
func (*SetMetaReader) ReadResponse ¶
func (o *SetMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.