repo_manager

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2019 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 manager API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new repo manager API client.

func (*Client) CreateRepo

func (a *Client) CreateRepo(params *CreateRepoParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRepoOK, error)

CreateRepo creates repository repository used to store package of app

func (*Client) DeleteRepos

func (a *Client) DeleteRepos(params *DeleteReposParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReposOK, error)

DeleteRepos batches delete repositories

func (*Client) DescribeRepos

func (a *Client) DescribeRepos(params *DescribeReposParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeReposOK, error)

DescribeRepos gets repositories filter with these fields repo id name type visibility status app default status owner controller default return all repositories

func (*Client) ModifyRepo

func (a *Client) ModifyRepo(params *ModifyRepoParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyRepoOK, error)

ModifyRepo modifies repository

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ValidateRepo

func (a *Client) ValidateRepo(params *ValidateRepoParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateRepoOK, error)

ValidateRepo validates repository

type CreateRepoOK

type CreateRepoOK struct {
	Payload *models.OpenpitrixCreateRepoResponse
}

CreateRepoOK handles this case with default header values.

A successful response.

func NewCreateRepoOK

func NewCreateRepoOK() *CreateRepoOK

NewCreateRepoOK creates a CreateRepoOK with default headers values

func (*CreateRepoOK) Error

func (o *CreateRepoOK) Error() string

type CreateRepoParams

type CreateRepoParams struct {

	/*Body*/
	Body *models.OpenpitrixCreateRepoRequest

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

CreateRepoParams contains all the parameters to send to the API endpoint for the create repo operation typically these are written to a http.Request

func NewCreateRepoParams

func NewCreateRepoParams() *CreateRepoParams

NewCreateRepoParams creates a new CreateRepoParams object with the default values initialized.

func NewCreateRepoParamsWithContext

func NewCreateRepoParamsWithContext(ctx context.Context) *CreateRepoParams

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

func NewCreateRepoParamsWithHTTPClient

func NewCreateRepoParamsWithHTTPClient(client *http.Client) *CreateRepoParams

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

func NewCreateRepoParamsWithTimeout

func NewCreateRepoParamsWithTimeout(timeout time.Duration) *CreateRepoParams

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

func (*CreateRepoParams) SetBody

SetBody adds the body to the create repo params

func (*CreateRepoParams) SetContext

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

SetContext adds the context to the create repo params

func (*CreateRepoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create repo params

func (*CreateRepoParams) SetTimeout

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

SetTimeout adds the timeout to the create repo params

func (*CreateRepoParams) WithBody

WithBody adds the body to the create repo params

func (*CreateRepoParams) WithContext

func (o *CreateRepoParams) WithContext(ctx context.Context) *CreateRepoParams

WithContext adds the context to the create repo params

func (*CreateRepoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create repo params

func (*CreateRepoParams) WithTimeout

func (o *CreateRepoParams) WithTimeout(timeout time.Duration) *CreateRepoParams

WithTimeout adds the timeout to the create repo params

func (*CreateRepoParams) WriteToRequest

func (o *CreateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateRepoReader

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

CreateRepoReader is a Reader for the CreateRepo structure.

func (*CreateRepoReader) ReadResponse

func (o *CreateRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteReposOK

type DeleteReposOK struct {
	Payload *models.OpenpitrixDeleteReposResponse
}

DeleteReposOK handles this case with default header values.

A successful response.

func NewDeleteReposOK

func NewDeleteReposOK() *DeleteReposOK

NewDeleteReposOK creates a DeleteReposOK with default headers values

func (*DeleteReposOK) Error

func (o *DeleteReposOK) Error() string

type DeleteReposParams

type DeleteReposParams struct {

	/*Body*/
	Body *models.OpenpitrixDeleteReposRequest

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

DeleteReposParams contains all the parameters to send to the API endpoint for the delete repos operation typically these are written to a http.Request

func NewDeleteReposParams

func NewDeleteReposParams() *DeleteReposParams

NewDeleteReposParams creates a new DeleteReposParams object with the default values initialized.

func NewDeleteReposParamsWithContext

func NewDeleteReposParamsWithContext(ctx context.Context) *DeleteReposParams

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

func NewDeleteReposParamsWithHTTPClient

func NewDeleteReposParamsWithHTTPClient(client *http.Client) *DeleteReposParams

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

func NewDeleteReposParamsWithTimeout

func NewDeleteReposParamsWithTimeout(timeout time.Duration) *DeleteReposParams

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

func (*DeleteReposParams) SetBody

SetBody adds the body to the delete repos params

func (*DeleteReposParams) SetContext

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

SetContext adds the context to the delete repos params

func (*DeleteReposParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete repos params

func (*DeleteReposParams) SetTimeout

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

SetTimeout adds the timeout to the delete repos params

func (*DeleteReposParams) WithBody

WithBody adds the body to the delete repos params

func (*DeleteReposParams) WithContext

func (o *DeleteReposParams) WithContext(ctx context.Context) *DeleteReposParams

WithContext adds the context to the delete repos params

func (*DeleteReposParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete repos params

func (*DeleteReposParams) WithTimeout

func (o *DeleteReposParams) WithTimeout(timeout time.Duration) *DeleteReposParams

WithTimeout adds the timeout to the delete repos params

func (*DeleteReposParams) WriteToRequest

func (o *DeleteReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteReposReader

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

DeleteReposReader is a Reader for the DeleteRepos structure.

func (*DeleteReposReader) ReadResponse

func (o *DeleteReposReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DescribeReposOK

type DescribeReposOK struct {
	Payload *models.OpenpitrixDescribeReposResponse
}

DescribeReposOK handles this case with default header values.

A successful response.

func NewDescribeReposOK

func NewDescribeReposOK() *DescribeReposOK

NewDescribeReposOK creates a DescribeReposOK with default headers values

func (*DescribeReposOK) Error

func (o *DescribeReposOK) Error() string

type DescribeReposParams

type DescribeReposParams struct {

	/*AppDefaultStatus
	  app default status eg.[draft|active].

	*/
	AppDefaultStatus []string
	/*CategoryID
	  category ids.

	*/
	CategoryID []string
	/*Controller
	  controller, value 0 for self resource, value1 for openpitrix resource.

	*/
	Controller *int32
	/*Label
	  a kv string, tags of server.

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

	*/
	Limit *int64
	/*Name
	  repository name.

	*/
	Name []string
	/*Offset
	  data offset, default 0.

	*/
	Offset *int64
	/*Owner
	  owner.

	*/
	Owner []string
	/*Provider
	  runtime provider eg.[qingcloud|aliyun|aws|kubernetes].

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

	*/
	RepoID []string
	/*Reverse
	  value = 0 sort ASC, value = 1 sort DESC.

	*/
	Reverse *bool
	/*SearchWord
	  query key, support these fields(repo_id, name, type, visibility, status, app_default_status, owner, controller).

	*/
	SearchWord *string
	/*Selector
	  selector of label.

	*/
	Selector *string
	/*SortKey
	  sort key, order by sort_key, default create_time.

	*/
	SortKey *string
	/*Status
	  status eg.[active|deleted].

	*/
	Status []string
	/*Type
	  repository type.

	*/
	Type []string
	/*UserID
	  user id.

	*/
	UserID *string
	/*Visibility
	  visibility eg:[public|private].

	*/
	Visibility []string

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

DescribeReposParams contains all the parameters to send to the API endpoint for the describe repos operation typically these are written to a http.Request

func NewDescribeReposParams

func NewDescribeReposParams() *DescribeReposParams

NewDescribeReposParams creates a new DescribeReposParams object with the default values initialized.

func NewDescribeReposParamsWithContext

func NewDescribeReposParamsWithContext(ctx context.Context) *DescribeReposParams

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

func NewDescribeReposParamsWithHTTPClient

func NewDescribeReposParamsWithHTTPClient(client *http.Client) *DescribeReposParams

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

func NewDescribeReposParamsWithTimeout

func NewDescribeReposParamsWithTimeout(timeout time.Duration) *DescribeReposParams

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

func (*DescribeReposParams) SetAppDefaultStatus added in v0.2.3

func (o *DescribeReposParams) SetAppDefaultStatus(appDefaultStatus []string)

SetAppDefaultStatus adds the appDefaultStatus to the describe repos params

func (*DescribeReposParams) SetCategoryID

func (o *DescribeReposParams) SetCategoryID(categoryID []string)

SetCategoryID adds the categoryId to the describe repos params

func (*DescribeReposParams) SetContext

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

SetContext adds the context to the describe repos params

func (*DescribeReposParams) SetController added in v0.3.5

func (o *DescribeReposParams) SetController(controller *int32)

SetController adds the controller to the describe repos params

func (*DescribeReposParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe repos params

func (*DescribeReposParams) SetLabel

func (o *DescribeReposParams) SetLabel(label *string)

SetLabel adds the label to the describe repos params

func (*DescribeReposParams) SetLimit

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

SetLimit adds the limit to the describe repos params

func (*DescribeReposParams) SetName

func (o *DescribeReposParams) SetName(name []string)

SetName adds the name to the describe repos params

func (*DescribeReposParams) SetOffset

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

SetOffset adds the offset to the describe repos params

func (*DescribeReposParams) SetOwner added in v0.2.3

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

SetOwner adds the owner to the describe repos params

func (*DescribeReposParams) SetProvider

func (o *DescribeReposParams) SetProvider(provider []string)

SetProvider adds the provider to the describe repos params

func (*DescribeReposParams) SetRepoID

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

SetRepoID adds the repoId to the describe repos params

func (*DescribeReposParams) SetReverse added in v0.1.5

func (o *DescribeReposParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the describe repos params

func (*DescribeReposParams) SetSearchWord added in v0.1.5

func (o *DescribeReposParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the describe repos params

func (*DescribeReposParams) SetSelector

func (o *DescribeReposParams) SetSelector(selector *string)

SetSelector adds the selector to the describe repos params

func (*DescribeReposParams) SetSortKey added in v0.1.5

func (o *DescribeReposParams) SetSortKey(sortKey *string)

SetSortKey adds the sortKey to the describe repos params

func (*DescribeReposParams) SetStatus

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

SetStatus adds the status to the describe repos params

func (*DescribeReposParams) SetTimeout

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

SetTimeout adds the timeout to the describe repos params

func (*DescribeReposParams) SetType

func (o *DescribeReposParams) SetType(typeVar []string)

SetType adds the type to the describe repos params

func (*DescribeReposParams) SetUserID added in v0.2.3

func (o *DescribeReposParams) SetUserID(userID *string)

SetUserID adds the userId to the describe repos params

func (*DescribeReposParams) SetVisibility

func (o *DescribeReposParams) SetVisibility(visibility []string)

SetVisibility adds the visibility to the describe repos params

func (*DescribeReposParams) WithAppDefaultStatus added in v0.2.3

func (o *DescribeReposParams) WithAppDefaultStatus(appDefaultStatus []string) *DescribeReposParams

WithAppDefaultStatus adds the appDefaultStatus to the describe repos params

func (*DescribeReposParams) WithCategoryID

func (o *DescribeReposParams) WithCategoryID(categoryID []string) *DescribeReposParams

WithCategoryID adds the categoryID to the describe repos params

func (*DescribeReposParams) WithContext

WithContext adds the context to the describe repos params

func (*DescribeReposParams) WithController added in v0.3.5

func (o *DescribeReposParams) WithController(controller *int32) *DescribeReposParams

WithController adds the controller to the describe repos params

func (*DescribeReposParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe repos params

func (*DescribeReposParams) WithLabel

func (o *DescribeReposParams) WithLabel(label *string) *DescribeReposParams

WithLabel adds the label to the describe repos params

func (*DescribeReposParams) WithLimit

func (o *DescribeReposParams) WithLimit(limit *int64) *DescribeReposParams

WithLimit adds the limit to the describe repos params

func (*DescribeReposParams) WithName

func (o *DescribeReposParams) WithName(name []string) *DescribeReposParams

WithName adds the name to the describe repos params

func (*DescribeReposParams) WithOffset

func (o *DescribeReposParams) WithOffset(offset *int64) *DescribeReposParams

WithOffset adds the offset to the describe repos params

func (*DescribeReposParams) WithOwner added in v0.2.3

func (o *DescribeReposParams) WithOwner(owner []string) *DescribeReposParams

WithOwner adds the owner to the describe repos params

func (*DescribeReposParams) WithProvider

func (o *DescribeReposParams) WithProvider(provider []string) *DescribeReposParams

WithProvider adds the provider to the describe repos params

func (*DescribeReposParams) WithRepoID

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

WithRepoID adds the repoID to the describe repos params

func (*DescribeReposParams) WithReverse added in v0.1.5

func (o *DescribeReposParams) WithReverse(reverse *bool) *DescribeReposParams

WithReverse adds the reverse to the describe repos params

func (*DescribeReposParams) WithSearchWord added in v0.1.5

func (o *DescribeReposParams) WithSearchWord(searchWord *string) *DescribeReposParams

WithSearchWord adds the searchWord to the describe repos params

func (*DescribeReposParams) WithSelector

func (o *DescribeReposParams) WithSelector(selector *string) *DescribeReposParams

WithSelector adds the selector to the describe repos params

func (*DescribeReposParams) WithSortKey added in v0.1.5

func (o *DescribeReposParams) WithSortKey(sortKey *string) *DescribeReposParams

WithSortKey adds the sortKey to the describe repos params

func (*DescribeReposParams) WithStatus

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

WithStatus adds the status to the describe repos params

func (*DescribeReposParams) WithTimeout

func (o *DescribeReposParams) WithTimeout(timeout time.Duration) *DescribeReposParams

WithTimeout adds the timeout to the describe repos params

func (*DescribeReposParams) WithType

func (o *DescribeReposParams) WithType(typeVar []string) *DescribeReposParams

WithType adds the typeVar to the describe repos params

func (*DescribeReposParams) WithUserID added in v0.2.3

func (o *DescribeReposParams) WithUserID(userID *string) *DescribeReposParams

WithUserID adds the userID to the describe repos params

func (*DescribeReposParams) WithVisibility

func (o *DescribeReposParams) WithVisibility(visibility []string) *DescribeReposParams

WithVisibility adds the visibility to the describe repos params

func (*DescribeReposParams) WriteToRequest

func (o *DescribeReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DescribeReposReader

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

DescribeReposReader is a Reader for the DescribeRepos structure.

func (*DescribeReposReader) ReadResponse

func (o *DescribeReposReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModifyRepoOK

type ModifyRepoOK struct {
	Payload *models.OpenpitrixModifyRepoResponse
}

ModifyRepoOK handles this case with default header values.

A successful response.

func NewModifyRepoOK

func NewModifyRepoOK() *ModifyRepoOK

NewModifyRepoOK creates a ModifyRepoOK with default headers values

func (*ModifyRepoOK) Error

func (o *ModifyRepoOK) Error() string

type ModifyRepoParams

type ModifyRepoParams struct {

	/*Body*/
	Body *models.OpenpitrixModifyRepoRequest

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

ModifyRepoParams contains all the parameters to send to the API endpoint for the modify repo operation typically these are written to a http.Request

func NewModifyRepoParams

func NewModifyRepoParams() *ModifyRepoParams

NewModifyRepoParams creates a new ModifyRepoParams object with the default values initialized.

func NewModifyRepoParamsWithContext

func NewModifyRepoParamsWithContext(ctx context.Context) *ModifyRepoParams

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

func NewModifyRepoParamsWithHTTPClient

func NewModifyRepoParamsWithHTTPClient(client *http.Client) *ModifyRepoParams

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

func NewModifyRepoParamsWithTimeout

func NewModifyRepoParamsWithTimeout(timeout time.Duration) *ModifyRepoParams

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

func (*ModifyRepoParams) SetBody

SetBody adds the body to the modify repo params

func (*ModifyRepoParams) SetContext

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

SetContext adds the context to the modify repo params

func (*ModifyRepoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify repo params

func (*ModifyRepoParams) SetTimeout

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

SetTimeout adds the timeout to the modify repo params

func (*ModifyRepoParams) WithBody

WithBody adds the body to the modify repo params

func (*ModifyRepoParams) WithContext

func (o *ModifyRepoParams) WithContext(ctx context.Context) *ModifyRepoParams

WithContext adds the context to the modify repo params

func (*ModifyRepoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the modify repo params

func (*ModifyRepoParams) WithTimeout

func (o *ModifyRepoParams) WithTimeout(timeout time.Duration) *ModifyRepoParams

WithTimeout adds the timeout to the modify repo params

func (*ModifyRepoParams) WriteToRequest

func (o *ModifyRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ModifyRepoReader

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

ModifyRepoReader is a Reader for the ModifyRepo structure.

func (*ModifyRepoReader) ReadResponse

func (o *ModifyRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateRepoOK

type ValidateRepoOK struct {
	Payload *models.OpenpitrixValidateRepoResponse
}

ValidateRepoOK handles this case with default header values.

A successful response.

func NewValidateRepoOK

func NewValidateRepoOK() *ValidateRepoOK

NewValidateRepoOK creates a ValidateRepoOK with default headers values

func (*ValidateRepoOK) Error

func (o *ValidateRepoOK) Error() string

type ValidateRepoParams

type ValidateRepoParams struct {

	/*Credential
	  required, credential of visiting the repository.

	*/
	Credential *string
	/*Type
	  required, type of repository.

	*/
	Type *string
	/*URL
	  required, url of visiting the repository.

	*/
	URL *string

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

ValidateRepoParams contains all the parameters to send to the API endpoint for the validate repo operation typically these are written to a http.Request

func NewValidateRepoParams

func NewValidateRepoParams() *ValidateRepoParams

NewValidateRepoParams creates a new ValidateRepoParams object with the default values initialized.

func NewValidateRepoParamsWithContext

func NewValidateRepoParamsWithContext(ctx context.Context) *ValidateRepoParams

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

func NewValidateRepoParamsWithHTTPClient

func NewValidateRepoParamsWithHTTPClient(client *http.Client) *ValidateRepoParams

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

func NewValidateRepoParamsWithTimeout

func NewValidateRepoParamsWithTimeout(timeout time.Duration) *ValidateRepoParams

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

func (*ValidateRepoParams) SetContext

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

SetContext adds the context to the validate repo params

func (*ValidateRepoParams) SetCredential

func (o *ValidateRepoParams) SetCredential(credential *string)

SetCredential adds the credential to the validate repo params

func (*ValidateRepoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate repo params

func (*ValidateRepoParams) SetTimeout

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

SetTimeout adds the timeout to the validate repo params

func (*ValidateRepoParams) SetType

func (o *ValidateRepoParams) SetType(typeVar *string)

SetType adds the type to the validate repo params

func (*ValidateRepoParams) SetURL

func (o *ValidateRepoParams) SetURL(url *string)

SetURL adds the url to the validate repo params

func (*ValidateRepoParams) WithContext

WithContext adds the context to the validate repo params

func (*ValidateRepoParams) WithCredential

func (o *ValidateRepoParams) WithCredential(credential *string) *ValidateRepoParams

WithCredential adds the credential to the validate repo params

func (*ValidateRepoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the validate repo params

func (*ValidateRepoParams) WithTimeout

func (o *ValidateRepoParams) WithTimeout(timeout time.Duration) *ValidateRepoParams

WithTimeout adds the timeout to the validate repo params

func (*ValidateRepoParams) WithType

func (o *ValidateRepoParams) WithType(typeVar *string) *ValidateRepoParams

WithType adds the typeVar to the validate repo params

func (*ValidateRepoParams) WithURL

func (o *ValidateRepoParams) WithURL(url *string) *ValidateRepoParams

WithURL adds the url to the validate repo params

func (*ValidateRepoParams) WriteToRequest

func (o *ValidateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ValidateRepoReader

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

ValidateRepoReader is a Reader for the ValidateRepo structure.

func (*ValidateRepoReader) ReadResponse

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