repo_indexer

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 11 Imported by: 4

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) DescribeRepoEvents

func (a *Client) DescribeRepoEvents(params *DescribeRepoEventsParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeRepoEventsOK, error)

DescribeRepoEvents gets repository events

func (*Client) IndexRepo

func (a *Client) IndexRepo(params *IndexRepoParams, authInfo runtime.ClientAuthInfoWriter) (*IndexRepoOK, error)

IndexRepo starts index repository event

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DescribeRepoEventsOK

type DescribeRepoEventsOK struct {
	Payload *models.OpenpitrixDescribeRepoEventsResponse
}

DescribeRepoEventsOK handles this case with default header values.

A successful response.

func NewDescribeRepoEventsOK

func NewDescribeRepoEventsOK() *DescribeRepoEventsOK

NewDescribeRepoEventsOK creates a DescribeRepoEventsOK with default headers values

func (*DescribeRepoEventsOK) Error

func (o *DescribeRepoEventsOK) Error() string

type DescribeRepoEventsParams

type DescribeRepoEventsParams struct {

	/*Limit
	  data limit per page, default value 20, max value 200.

	*/
	Limit *int64
	/*Offset
	  data offset, default 0.

	*/
	Offset *int64
	/*Owner
	  owner.

	*/
	Owner []string
	/*RepoEventID
	  repository event ids.

	*/
	RepoEventID []string
	/*RepoID
	  repository ids.

	*/
	RepoID []string
	/*Status
	  repository event status eg.[failed|successful|working|pending].

	*/
	Status []string

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

DescribeRepoEventsParams contains all the parameters to send to the API endpoint for the describe repo events operation typically these are written to a http.Request

func NewDescribeRepoEventsParams

func NewDescribeRepoEventsParams() *DescribeRepoEventsParams

NewDescribeRepoEventsParams creates a new DescribeRepoEventsParams object with the default values initialized.

func NewDescribeRepoEventsParamsWithContext

func NewDescribeRepoEventsParamsWithContext(ctx context.Context) *DescribeRepoEventsParams

NewDescribeRepoEventsParamsWithContext creates a new DescribeRepoEventsParams object with the default values initialized, and the ability to set a context for a request

func NewDescribeRepoEventsParamsWithHTTPClient

func NewDescribeRepoEventsParamsWithHTTPClient(client *http.Client) *DescribeRepoEventsParams

NewDescribeRepoEventsParamsWithHTTPClient creates a new DescribeRepoEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribeRepoEventsParamsWithTimeout

func NewDescribeRepoEventsParamsWithTimeout(timeout time.Duration) *DescribeRepoEventsParams

NewDescribeRepoEventsParamsWithTimeout creates a new DescribeRepoEventsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribeRepoEventsParams) SetContext

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

SetContext adds the context to the describe repo events params

func (*DescribeRepoEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe repo events params

func (*DescribeRepoEventsParams) SetLimit

func (o *DescribeRepoEventsParams) SetLimit(limit *int64)

SetLimit adds the limit to the describe repo events params

func (*DescribeRepoEventsParams) SetOffset

func (o *DescribeRepoEventsParams) SetOffset(offset *int64)

SetOffset adds the offset to the describe repo events params

func (*DescribeRepoEventsParams) SetOwner

func (o *DescribeRepoEventsParams) SetOwner(owner []string)

SetOwner adds the owner to the describe repo events params

func (*DescribeRepoEventsParams) SetRepoEventID

func (o *DescribeRepoEventsParams) SetRepoEventID(repoEventID []string)

SetRepoEventID adds the repoEventId to the describe repo events params

func (*DescribeRepoEventsParams) SetRepoID

func (o *DescribeRepoEventsParams) SetRepoID(repoID []string)

SetRepoID adds the repoId to the describe repo events params

func (*DescribeRepoEventsParams) SetStatus

func (o *DescribeRepoEventsParams) SetStatus(status []string)

SetStatus adds the status to the describe repo events params

func (*DescribeRepoEventsParams) SetTimeout

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

SetTimeout adds the timeout to the describe repo events params

func (*DescribeRepoEventsParams) WithContext

WithContext adds the context to the describe repo events params

func (*DescribeRepoEventsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe repo events params

func (*DescribeRepoEventsParams) WithLimit

WithLimit adds the limit to the describe repo events params

func (*DescribeRepoEventsParams) WithOffset

WithOffset adds the offset to the describe repo events params

func (*DescribeRepoEventsParams) WithOwner

WithOwner adds the owner to the describe repo events params

func (*DescribeRepoEventsParams) WithRepoEventID

func (o *DescribeRepoEventsParams) WithRepoEventID(repoEventID []string) *DescribeRepoEventsParams

WithRepoEventID adds the repoEventID to the describe repo events params

func (*DescribeRepoEventsParams) WithRepoID

func (o *DescribeRepoEventsParams) WithRepoID(repoID []string) *DescribeRepoEventsParams

WithRepoID adds the repoID to the describe repo events params

func (*DescribeRepoEventsParams) WithStatus

func (o *DescribeRepoEventsParams) WithStatus(status []string) *DescribeRepoEventsParams

WithStatus adds the status to the describe repo events params

func (*DescribeRepoEventsParams) WithTimeout

WithTimeout adds the timeout to the describe repo events params

func (*DescribeRepoEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeRepoEventsReader

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

DescribeRepoEventsReader is a Reader for the DescribeRepoEvents structure.

func (*DescribeRepoEventsReader) ReadResponse

func (o *DescribeRepoEventsReader) 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.

A successful response.

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