Documentation ¶
Index ¶
- type Client
- type DescribeRepoTasksOK
- type DescribeRepoTasksParams
- func NewDescribeRepoTasksParams() *DescribeRepoTasksParams
- func NewDescribeRepoTasksParamsWithContext(ctx context.Context) *DescribeRepoTasksParams
- func NewDescribeRepoTasksParamsWithHTTPClient(client *http.Client) *DescribeRepoTasksParams
- func NewDescribeRepoTasksParamsWithTimeout(timeout time.Duration) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) SetContext(ctx context.Context)
- func (o *DescribeRepoTasksParams) SetHTTPClient(client *http.Client)
- func (o *DescribeRepoTasksParams) SetLimit(limit *int64)
- func (o *DescribeRepoTasksParams) SetOffset(offset *int64)
- func (o *DescribeRepoTasksParams) SetOwner(owner []string)
- func (o *DescribeRepoTasksParams) SetRepoID(repoID []string)
- func (o *DescribeRepoTasksParams) SetRepoTaskID(repoTaskID []string)
- func (o *DescribeRepoTasksParams) SetStatus(status []string)
- func (o *DescribeRepoTasksParams) SetTimeout(timeout time.Duration)
- func (o *DescribeRepoTasksParams) WithContext(ctx context.Context) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WithHTTPClient(client *http.Client) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WithLimit(limit *int64) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WithOffset(offset *int64) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WithOwner(owner []string) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WithRepoID(repoID []string) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WithRepoTaskID(repoTaskID []string) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WithStatus(status []string) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WithTimeout(timeout time.Duration) *DescribeRepoTasksParams
- func (o *DescribeRepoTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeRepoTasksReader
- type IndexRepoOK
- type IndexRepoParams
- func (o *IndexRepoParams) SetBody(body *models.OpenpitrixIndexRepoRequest)
- func (o *IndexRepoParams) SetContext(ctx context.Context)
- func (o *IndexRepoParams) SetHTTPClient(client *http.Client)
- func (o *IndexRepoParams) SetTimeout(timeout time.Duration)
- func (o *IndexRepoParams) WithBody(body *models.OpenpitrixIndexRepoRequest) *IndexRepoParams
- func (o *IndexRepoParams) WithContext(ctx context.Context) *IndexRepoParams
- func (o *IndexRepoParams) WithHTTPClient(client *http.Client) *IndexRepoParams
- func (o *IndexRepoParams) WithTimeout(timeout time.Duration) *IndexRepoParams
- func (o *IndexRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndexRepoReader
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 repo indexer API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new repo indexer API client.
func (*Client) DescribeRepoTasks ¶
func (a *Client) DescribeRepoTasks(params *DescribeRepoTasksParams) (*DescribeRepoTasksOK, error)
DescribeRepoTasks describes repo tasks
func (*Client) IndexRepo ¶
func (a *Client) IndexRepo(params *IndexRepoParams) (*IndexRepoOK, error)
IndexRepo starts a index repo task
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DescribeRepoTasksOK ¶
type DescribeRepoTasksOK struct {
Payload *models.OpenpitrixDescribeRepoTasksResponse
}
DescribeRepoTasksOK handles this case with default header values.
DescribeRepoTasksOK describe repo tasks o k
func NewDescribeRepoTasksOK ¶
func NewDescribeRepoTasksOK() *DescribeRepoTasksOK
NewDescribeRepoTasksOK creates a DescribeRepoTasksOK with default headers values
func (*DescribeRepoTasksOK) Error ¶
func (o *DescribeRepoTasksOK) Error() string
type DescribeRepoTasksParams ¶
type DescribeRepoTasksParams struct { /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 /*Owner*/ Owner []string /*RepoID*/ RepoID []string /*RepoTaskID*/ RepoTaskID []string /*Status*/ Status []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeRepoTasksParams contains all the parameters to send to the API endpoint for the describe repo tasks operation typically these are written to a http.Request
func NewDescribeRepoTasksParams ¶
func NewDescribeRepoTasksParams() *DescribeRepoTasksParams
NewDescribeRepoTasksParams creates a new DescribeRepoTasksParams object with the default values initialized.
func NewDescribeRepoTasksParamsWithContext ¶
func NewDescribeRepoTasksParamsWithContext(ctx context.Context) *DescribeRepoTasksParams
NewDescribeRepoTasksParamsWithContext creates a new DescribeRepoTasksParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeRepoTasksParamsWithHTTPClient ¶
func NewDescribeRepoTasksParamsWithHTTPClient(client *http.Client) *DescribeRepoTasksParams
NewDescribeRepoTasksParamsWithHTTPClient creates a new DescribeRepoTasksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeRepoTasksParamsWithTimeout ¶
func NewDescribeRepoTasksParamsWithTimeout(timeout time.Duration) *DescribeRepoTasksParams
NewDescribeRepoTasksParamsWithTimeout creates a new DescribeRepoTasksParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeRepoTasksParams) SetContext ¶
func (o *DescribeRepoTasksParams) SetContext(ctx context.Context)
SetContext adds the context to the describe repo tasks params
func (*DescribeRepoTasksParams) SetHTTPClient ¶
func (o *DescribeRepoTasksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe repo tasks params
func (*DescribeRepoTasksParams) SetLimit ¶
func (o *DescribeRepoTasksParams) SetLimit(limit *int64)
SetLimit adds the limit to the describe repo tasks params
func (*DescribeRepoTasksParams) SetOffset ¶
func (o *DescribeRepoTasksParams) SetOffset(offset *int64)
SetOffset adds the offset to the describe repo tasks params
func (*DescribeRepoTasksParams) SetOwner ¶
func (o *DescribeRepoTasksParams) SetOwner(owner []string)
SetOwner adds the owner to the describe repo tasks params
func (*DescribeRepoTasksParams) SetRepoID ¶
func (o *DescribeRepoTasksParams) SetRepoID(repoID []string)
SetRepoID adds the repoId to the describe repo tasks params
func (*DescribeRepoTasksParams) SetRepoTaskID ¶
func (o *DescribeRepoTasksParams) SetRepoTaskID(repoTaskID []string)
SetRepoTaskID adds the repoTaskId to the describe repo tasks params
func (*DescribeRepoTasksParams) SetStatus ¶
func (o *DescribeRepoTasksParams) SetStatus(status []string)
SetStatus adds the status to the describe repo tasks params
func (*DescribeRepoTasksParams) SetTimeout ¶
func (o *DescribeRepoTasksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe repo tasks params
func (*DescribeRepoTasksParams) WithContext ¶
func (o *DescribeRepoTasksParams) WithContext(ctx context.Context) *DescribeRepoTasksParams
WithContext adds the context to the describe repo tasks params
func (*DescribeRepoTasksParams) WithHTTPClient ¶
func (o *DescribeRepoTasksParams) WithHTTPClient(client *http.Client) *DescribeRepoTasksParams
WithHTTPClient adds the HTTPClient to the describe repo tasks params
func (*DescribeRepoTasksParams) WithLimit ¶
func (o *DescribeRepoTasksParams) WithLimit(limit *int64) *DescribeRepoTasksParams
WithLimit adds the limit to the describe repo tasks params
func (*DescribeRepoTasksParams) WithOffset ¶
func (o *DescribeRepoTasksParams) WithOffset(offset *int64) *DescribeRepoTasksParams
WithOffset adds the offset to the describe repo tasks params
func (*DescribeRepoTasksParams) WithOwner ¶
func (o *DescribeRepoTasksParams) WithOwner(owner []string) *DescribeRepoTasksParams
WithOwner adds the owner to the describe repo tasks params
func (*DescribeRepoTasksParams) WithRepoID ¶
func (o *DescribeRepoTasksParams) WithRepoID(repoID []string) *DescribeRepoTasksParams
WithRepoID adds the repoID to the describe repo tasks params
func (*DescribeRepoTasksParams) WithRepoTaskID ¶
func (o *DescribeRepoTasksParams) WithRepoTaskID(repoTaskID []string) *DescribeRepoTasksParams
WithRepoTaskID adds the repoTaskID to the describe repo tasks params
func (*DescribeRepoTasksParams) WithStatus ¶
func (o *DescribeRepoTasksParams) WithStatus(status []string) *DescribeRepoTasksParams
WithStatus adds the status to the describe repo tasks params
func (*DescribeRepoTasksParams) WithTimeout ¶
func (o *DescribeRepoTasksParams) WithTimeout(timeout time.Duration) *DescribeRepoTasksParams
WithTimeout adds the timeout to the describe repo tasks params
func (*DescribeRepoTasksParams) WriteToRequest ¶
func (o *DescribeRepoTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeRepoTasksReader ¶
type DescribeRepoTasksReader struct {
// contains filtered or unexported fields
}
DescribeRepoTasksReader is a Reader for the DescribeRepoTasks structure.
func (*DescribeRepoTasksReader) ReadResponse ¶
func (o *DescribeRepoTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IndexRepoOK ¶
type IndexRepoOK struct {
Payload *models.OpenpitrixIndexRepoResponse
}
IndexRepoOK handles this case with default header values.
IndexRepoOK index repo o k
func NewIndexRepoOK ¶
func NewIndexRepoOK() *IndexRepoOK
NewIndexRepoOK creates a IndexRepoOK with default headers values
func (*IndexRepoOK) Error ¶
func (o *IndexRepoOK) Error() string
type IndexRepoParams ¶
type IndexRepoParams struct { /*Body*/ Body *models.OpenpitrixIndexRepoRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IndexRepoParams contains all the parameters to send to the API endpoint for the index repo operation typically these are written to a http.Request
func NewIndexRepoParams ¶
func NewIndexRepoParams() *IndexRepoParams
NewIndexRepoParams creates a new IndexRepoParams object with the default values initialized.
func NewIndexRepoParamsWithContext ¶
func NewIndexRepoParamsWithContext(ctx context.Context) *IndexRepoParams
NewIndexRepoParamsWithContext creates a new IndexRepoParams object with the default values initialized, and the ability to set a context for a request
func NewIndexRepoParamsWithHTTPClient ¶
func NewIndexRepoParamsWithHTTPClient(client *http.Client) *IndexRepoParams
NewIndexRepoParamsWithHTTPClient creates a new IndexRepoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewIndexRepoParamsWithTimeout ¶
func NewIndexRepoParamsWithTimeout(timeout time.Duration) *IndexRepoParams
NewIndexRepoParamsWithTimeout creates a new IndexRepoParams object with the default values initialized, and the ability to set a timeout on a request
func (*IndexRepoParams) SetBody ¶
func (o *IndexRepoParams) SetBody(body *models.OpenpitrixIndexRepoRequest)
SetBody adds the body to the index repo params
func (*IndexRepoParams) SetContext ¶
func (o *IndexRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the index repo params
func (*IndexRepoParams) SetHTTPClient ¶
func (o *IndexRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the index repo params
func (*IndexRepoParams) SetTimeout ¶
func (o *IndexRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the index repo params
func (*IndexRepoParams) WithBody ¶
func (o *IndexRepoParams) WithBody(body *models.OpenpitrixIndexRepoRequest) *IndexRepoParams
WithBody adds the body to the index repo params
func (*IndexRepoParams) WithContext ¶
func (o *IndexRepoParams) WithContext(ctx context.Context) *IndexRepoParams
WithContext adds the context to the index repo params
func (*IndexRepoParams) WithHTTPClient ¶
func (o *IndexRepoParams) WithHTTPClient(client *http.Client) *IndexRepoParams
WithHTTPClient adds the HTTPClient to the index repo params
func (*IndexRepoParams) WithTimeout ¶
func (o *IndexRepoParams) WithTimeout(timeout time.Duration) *IndexRepoParams
WithTimeout adds the timeout to the index repo params
func (*IndexRepoParams) WriteToRequest ¶
func (o *IndexRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IndexRepoReader ¶
type IndexRepoReader struct {
// contains filtered or unexported fields
}
IndexRepoReader is a Reader for the IndexRepo structure.
func (*IndexRepoReader) ReadResponse ¶
func (o *IndexRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.