Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRepo(params *CreateRepoParams) (*CreateRepoOK, error)
- func (a *Client) DeleteRepos(params *DeleteReposParams) (*DeleteReposOK, error)
- func (a *Client) DescribeRepos(params *DescribeReposParams) (*DescribeReposOK, error)
- func (a *Client) ModifyRepo(params *ModifyRepoParams) (*ModifyRepoOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ValidateRepo(params *ValidateRepoParams) (*ValidateRepoOK, error)
- type CreateRepoOK
- type CreateRepoParams
- func (o *CreateRepoParams) SetBody(body *models.OpenpitrixCreateRepoRequest)
- func (o *CreateRepoParams) SetContext(ctx context.Context)
- func (o *CreateRepoParams) SetHTTPClient(client *http.Client)
- func (o *CreateRepoParams) SetTimeout(timeout time.Duration)
- func (o *CreateRepoParams) WithBody(body *models.OpenpitrixCreateRepoRequest) *CreateRepoParams
- func (o *CreateRepoParams) WithContext(ctx context.Context) *CreateRepoParams
- func (o *CreateRepoParams) WithHTTPClient(client *http.Client) *CreateRepoParams
- func (o *CreateRepoParams) WithTimeout(timeout time.Duration) *CreateRepoParams
- func (o *CreateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRepoReader
- type DeleteReposOK
- type DeleteReposParams
- func (o *DeleteReposParams) SetBody(body *models.OpenpitrixDeleteReposRequest)
- func (o *DeleteReposParams) SetContext(ctx context.Context)
- func (o *DeleteReposParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReposParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReposParams) WithBody(body *models.OpenpitrixDeleteReposRequest) *DeleteReposParams
- func (o *DeleteReposParams) WithContext(ctx context.Context) *DeleteReposParams
- func (o *DeleteReposParams) WithHTTPClient(client *http.Client) *DeleteReposParams
- func (o *DeleteReposParams) WithTimeout(timeout time.Duration) *DeleteReposParams
- func (o *DeleteReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReposReader
- type DescribeReposOK
- type DescribeReposParams
- func (o *DescribeReposParams) SetCategoryID(categoryID []string)
- func (o *DescribeReposParams) SetContext(ctx context.Context)
- func (o *DescribeReposParams) SetHTTPClient(client *http.Client)
- func (o *DescribeReposParams) SetLabel(label *string)
- func (o *DescribeReposParams) SetLimit(limit *int64)
- func (o *DescribeReposParams) SetName(name []string)
- func (o *DescribeReposParams) SetOffset(offset *int64)
- func (o *DescribeReposParams) SetProvider(provider []string)
- func (o *DescribeReposParams) SetRepoID(repoID []string)
- func (o *DescribeReposParams) SetReverse(reverse *bool)
- func (o *DescribeReposParams) SetSearchWord(searchWord *string)
- func (o *DescribeReposParams) SetSelector(selector *string)
- func (o *DescribeReposParams) SetSortKey(sortKey *string)
- func (o *DescribeReposParams) SetStatus(status []string)
- func (o *DescribeReposParams) SetTimeout(timeout time.Duration)
- func (o *DescribeReposParams) SetType(typeVar []string)
- func (o *DescribeReposParams) SetVisibility(visibility []string)
- func (o *DescribeReposParams) WithCategoryID(categoryID []string) *DescribeReposParams
- func (o *DescribeReposParams) WithContext(ctx context.Context) *DescribeReposParams
- func (o *DescribeReposParams) WithHTTPClient(client *http.Client) *DescribeReposParams
- func (o *DescribeReposParams) WithLabel(label *string) *DescribeReposParams
- func (o *DescribeReposParams) WithLimit(limit *int64) *DescribeReposParams
- func (o *DescribeReposParams) WithName(name []string) *DescribeReposParams
- func (o *DescribeReposParams) WithOffset(offset *int64) *DescribeReposParams
- func (o *DescribeReposParams) WithProvider(provider []string) *DescribeReposParams
- func (o *DescribeReposParams) WithRepoID(repoID []string) *DescribeReposParams
- func (o *DescribeReposParams) WithReverse(reverse *bool) *DescribeReposParams
- func (o *DescribeReposParams) WithSearchWord(searchWord *string) *DescribeReposParams
- func (o *DescribeReposParams) WithSelector(selector *string) *DescribeReposParams
- func (o *DescribeReposParams) WithSortKey(sortKey *string) *DescribeReposParams
- func (o *DescribeReposParams) WithStatus(status []string) *DescribeReposParams
- func (o *DescribeReposParams) WithTimeout(timeout time.Duration) *DescribeReposParams
- func (o *DescribeReposParams) WithType(typeVar []string) *DescribeReposParams
- func (o *DescribeReposParams) WithVisibility(visibility []string) *DescribeReposParams
- func (o *DescribeReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeReposReader
- type ModifyRepoOK
- type ModifyRepoParams
- func (o *ModifyRepoParams) SetBody(body *models.OpenpitrixModifyRepoRequest)
- func (o *ModifyRepoParams) SetContext(ctx context.Context)
- func (o *ModifyRepoParams) SetHTTPClient(client *http.Client)
- func (o *ModifyRepoParams) SetTimeout(timeout time.Duration)
- func (o *ModifyRepoParams) WithBody(body *models.OpenpitrixModifyRepoRequest) *ModifyRepoParams
- func (o *ModifyRepoParams) WithContext(ctx context.Context) *ModifyRepoParams
- func (o *ModifyRepoParams) WithHTTPClient(client *http.Client) *ModifyRepoParams
- func (o *ModifyRepoParams) WithTimeout(timeout time.Duration) *ModifyRepoParams
- func (o *ModifyRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyRepoReader
- type ValidateRepoOK
- type ValidateRepoParams
- func (o *ValidateRepoParams) SetContext(ctx context.Context)
- func (o *ValidateRepoParams) SetCredential(credential *string)
- func (o *ValidateRepoParams) SetHTTPClient(client *http.Client)
- func (o *ValidateRepoParams) SetTimeout(timeout time.Duration)
- func (o *ValidateRepoParams) SetType(typeVar *string)
- func (o *ValidateRepoParams) SetURL(url *string)
- func (o *ValidateRepoParams) WithContext(ctx context.Context) *ValidateRepoParams
- func (o *ValidateRepoParams) WithCredential(credential *string) *ValidateRepoParams
- func (o *ValidateRepoParams) WithHTTPClient(client *http.Client) *ValidateRepoParams
- func (o *ValidateRepoParams) WithTimeout(timeout time.Duration) *ValidateRepoParams
- func (o *ValidateRepoParams) WithType(typeVar *string) *ValidateRepoParams
- func (o *ValidateRepoParams) WithURL(url *string) *ValidateRepoParams
- func (o *ValidateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateRepoReader
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) (*CreateRepoOK, error)
CreateRepo creates repo
func (*Client) DeleteRepos ¶
func (a *Client) DeleteRepos(params *DeleteReposParams) (*DeleteReposOK, error)
DeleteRepos deletes repos
func (*Client) DescribeRepos ¶
func (a *Client) DescribeRepos(params *DescribeReposParams) (*DescribeReposOK, error)
DescribeRepos describes repos with filter
func (*Client) ModifyRepo ¶
func (a *Client) ModifyRepo(params *ModifyRepoParams) (*ModifyRepoOK, error)
ModifyRepo modifies repo
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) (*ValidateRepoOK, error)
ValidateRepo validates repo
type CreateRepoOK ¶
type CreateRepoOK struct {
Payload *models.OpenpitrixCreateRepoResponse
}
CreateRepoOK handles this case with default header values.
CreateRepoOK create repo o k
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 ¶
func (o *CreateRepoParams) SetBody(body *models.OpenpitrixCreateRepoRequest)
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 ¶
func (o *CreateRepoParams) WithBody(body *models.OpenpitrixCreateRepoRequest) *CreateRepoParams
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.
DeleteReposOK delete repos o k
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 ¶
func (o *DeleteReposParams) SetBody(body *models.OpenpitrixDeleteReposRequest)
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 ¶
func (o *DeleteReposParams) WithBody(body *models.OpenpitrixDeleteReposRequest) *DeleteReposParams
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.
DescribeReposOK describe repos o k
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 { /*CategoryID*/ CategoryID []string /*Label*/ Label *string /*Limit*/ Limit *int64 /*Name*/ Name []string /*Offset*/ Offset *int64 /*Provider*/ Provider []string /*RepoID*/ RepoID []string /*Reverse*/ Reverse *bool /*SearchWord*/ SearchWord *string /*Selector*/ Selector *string /*SortKey*/ SortKey *string /*Status*/ Status []string /*Type*/ Type []string /*Visibility*/ 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) 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) 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) 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) SetVisibility ¶
func (o *DescribeReposParams) SetVisibility(visibility []string)
SetVisibility adds the visibility 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 ¶
func (o *DescribeReposParams) WithContext(ctx context.Context) *DescribeReposParams
WithContext adds the context 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) 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) 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.
ModifyRepoOK modify repo o k
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 ¶
func (o *ModifyRepoParams) SetBody(body *models.OpenpitrixModifyRepoRequest)
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 ¶
func (o *ModifyRepoParams) WithBody(body *models.OpenpitrixModifyRepoRequest) *ModifyRepoParams
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.
ValidateRepoOK validate repo o k
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*/ Credential *string /*Type*/ Type *string /*URL*/ 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 ¶
func (o *ValidateRepoParams) WithContext(ctx context.Context) *ValidateRepoParams
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.