repo_indexer

package
v0.0.0-...-162f8c7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: Apache-2.0 Imports: 11 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 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

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

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

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

WithTimeout adds the timeout to the describe repo tasks params

func (*DescribeRepoTasksParams) WriteToRequest

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

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

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.

Jump to

Keyboard shortcuts

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