Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateRepo(params *CreateRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRepoOK, error)
- func (a *Client) CreateRepoPool(params *CreateRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRepoPoolOK, error)
- func (a *Client) DeleteRepo(params *DeleteRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) DeleteRepoPool(params *DeleteRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) GetRepo(params *GetRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRepoOK, error)
- func (a *Client) GetRepoPool(params *GetRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRepoPoolOK, error)
- func (a *Client) GetRepoWebhookInfo(params *GetRepoWebhookInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRepoWebhookInfoOK, error)
- func (a *Client) InstallRepoWebhook(params *InstallRepoWebhookParams, authInfo runtime.ClientAuthInfoWriter, ...) (*InstallRepoWebhookOK, error)
- func (a *Client) ListRepoInstances(params *ListRepoInstancesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRepoInstancesOK, error)
- func (a *Client) ListRepoPools(params *ListRepoPoolsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRepoPoolsOK, error)
- func (a *Client) ListRepos(params *ListReposParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListReposOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UninstallRepoWebhook(params *UninstallRepoWebhookParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) UpdateRepo(params *UpdateRepoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRepoOK, error)
- func (a *Client) UpdateRepoPool(params *UpdateRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRepoPoolOK, error)
- type ClientOption
- type ClientService
- type CreateRepoDefault
- func (o *CreateRepoDefault) Code() int
- func (o *CreateRepoDefault) Error() string
- func (o *CreateRepoDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *CreateRepoDefault) IsClientError() bool
- func (o *CreateRepoDefault) IsCode(code int) bool
- func (o *CreateRepoDefault) IsRedirect() bool
- func (o *CreateRepoDefault) IsServerError() bool
- func (o *CreateRepoDefault) IsSuccess() bool
- func (o *CreateRepoDefault) String() string
- type CreateRepoOK
- func (o *CreateRepoOK) Code() int
- func (o *CreateRepoOK) Error() string
- func (o *CreateRepoOK) GetPayload() garm_params.Repository
- func (o *CreateRepoOK) IsClientError() bool
- func (o *CreateRepoOK) IsCode(code int) bool
- func (o *CreateRepoOK) IsRedirect() bool
- func (o *CreateRepoOK) IsServerError() bool
- func (o *CreateRepoOK) IsSuccess() bool
- func (o *CreateRepoOK) String() string
- type CreateRepoParams
- func (o *CreateRepoParams) SetBody(body garm_params.CreateRepoParams)
- func (o *CreateRepoParams) SetContext(ctx context.Context)
- func (o *CreateRepoParams) SetDefaults()
- func (o *CreateRepoParams) SetHTTPClient(client *http.Client)
- func (o *CreateRepoParams) SetTimeout(timeout time.Duration)
- func (o *CreateRepoParams) WithBody(body garm_params.CreateRepoParams) *CreateRepoParams
- func (o *CreateRepoParams) WithContext(ctx context.Context) *CreateRepoParams
- func (o *CreateRepoParams) WithDefaults() *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 CreateRepoPoolDefault
- func (o *CreateRepoPoolDefault) Code() int
- func (o *CreateRepoPoolDefault) Error() string
- func (o *CreateRepoPoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *CreateRepoPoolDefault) IsClientError() bool
- func (o *CreateRepoPoolDefault) IsCode(code int) bool
- func (o *CreateRepoPoolDefault) IsRedirect() bool
- func (o *CreateRepoPoolDefault) IsServerError() bool
- func (o *CreateRepoPoolDefault) IsSuccess() bool
- func (o *CreateRepoPoolDefault) String() string
- type CreateRepoPoolOK
- func (o *CreateRepoPoolOK) Code() int
- func (o *CreateRepoPoolOK) Error() string
- func (o *CreateRepoPoolOK) GetPayload() garm_params.Pool
- func (o *CreateRepoPoolOK) IsClientError() bool
- func (o *CreateRepoPoolOK) IsCode(code int) bool
- func (o *CreateRepoPoolOK) IsRedirect() bool
- func (o *CreateRepoPoolOK) IsServerError() bool
- func (o *CreateRepoPoolOK) IsSuccess() bool
- func (o *CreateRepoPoolOK) String() string
- type CreateRepoPoolParams
- func NewCreateRepoPoolParams() *CreateRepoPoolParams
- func NewCreateRepoPoolParamsWithContext(ctx context.Context) *CreateRepoPoolParams
- func NewCreateRepoPoolParamsWithHTTPClient(client *http.Client) *CreateRepoPoolParams
- func NewCreateRepoPoolParamsWithTimeout(timeout time.Duration) *CreateRepoPoolParams
- func (o *CreateRepoPoolParams) SetBody(body garm_params.CreatePoolParams)
- func (o *CreateRepoPoolParams) SetContext(ctx context.Context)
- func (o *CreateRepoPoolParams) SetDefaults()
- func (o *CreateRepoPoolParams) SetHTTPClient(client *http.Client)
- func (o *CreateRepoPoolParams) SetRepoID(repoID string)
- func (o *CreateRepoPoolParams) SetTimeout(timeout time.Duration)
- func (o *CreateRepoPoolParams) WithBody(body garm_params.CreatePoolParams) *CreateRepoPoolParams
- func (o *CreateRepoPoolParams) WithContext(ctx context.Context) *CreateRepoPoolParams
- func (o *CreateRepoPoolParams) WithDefaults() *CreateRepoPoolParams
- func (o *CreateRepoPoolParams) WithHTTPClient(client *http.Client) *CreateRepoPoolParams
- func (o *CreateRepoPoolParams) WithRepoID(repoID string) *CreateRepoPoolParams
- func (o *CreateRepoPoolParams) WithTimeout(timeout time.Duration) *CreateRepoPoolParams
- func (o *CreateRepoPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRepoPoolReader
- type CreateRepoReader
- type DeleteRepoDefault
- func (o *DeleteRepoDefault) Code() int
- func (o *DeleteRepoDefault) Error() string
- func (o *DeleteRepoDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *DeleteRepoDefault) IsClientError() bool
- func (o *DeleteRepoDefault) IsCode(code int) bool
- func (o *DeleteRepoDefault) IsRedirect() bool
- func (o *DeleteRepoDefault) IsServerError() bool
- func (o *DeleteRepoDefault) IsSuccess() bool
- func (o *DeleteRepoDefault) String() string
- type DeleteRepoParams
- func (o *DeleteRepoParams) SetContext(ctx context.Context)
- func (o *DeleteRepoParams) SetDefaults()
- func (o *DeleteRepoParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepoParams) SetKeepWebhook(keepWebhook *bool)
- func (o *DeleteRepoParams) SetRepoID(repoID string)
- func (o *DeleteRepoParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepoParams) WithContext(ctx context.Context) *DeleteRepoParams
- func (o *DeleteRepoParams) WithDefaults() *DeleteRepoParams
- func (o *DeleteRepoParams) WithHTTPClient(client *http.Client) *DeleteRepoParams
- func (o *DeleteRepoParams) WithKeepWebhook(keepWebhook *bool) *DeleteRepoParams
- func (o *DeleteRepoParams) WithRepoID(repoID string) *DeleteRepoParams
- func (o *DeleteRepoParams) WithTimeout(timeout time.Duration) *DeleteRepoParams
- func (o *DeleteRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepoPoolDefault
- func (o *DeleteRepoPoolDefault) Code() int
- func (o *DeleteRepoPoolDefault) Error() string
- func (o *DeleteRepoPoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *DeleteRepoPoolDefault) IsClientError() bool
- func (o *DeleteRepoPoolDefault) IsCode(code int) bool
- func (o *DeleteRepoPoolDefault) IsRedirect() bool
- func (o *DeleteRepoPoolDefault) IsServerError() bool
- func (o *DeleteRepoPoolDefault) IsSuccess() bool
- func (o *DeleteRepoPoolDefault) String() string
- type DeleteRepoPoolParams
- func NewDeleteRepoPoolParams() *DeleteRepoPoolParams
- func NewDeleteRepoPoolParamsWithContext(ctx context.Context) *DeleteRepoPoolParams
- func NewDeleteRepoPoolParamsWithHTTPClient(client *http.Client) *DeleteRepoPoolParams
- func NewDeleteRepoPoolParamsWithTimeout(timeout time.Duration) *DeleteRepoPoolParams
- func (o *DeleteRepoPoolParams) SetContext(ctx context.Context)
- func (o *DeleteRepoPoolParams) SetDefaults()
- func (o *DeleteRepoPoolParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepoPoolParams) SetPoolID(poolID string)
- func (o *DeleteRepoPoolParams) SetRepoID(repoID string)
- func (o *DeleteRepoPoolParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepoPoolParams) WithContext(ctx context.Context) *DeleteRepoPoolParams
- func (o *DeleteRepoPoolParams) WithDefaults() *DeleteRepoPoolParams
- func (o *DeleteRepoPoolParams) WithHTTPClient(client *http.Client) *DeleteRepoPoolParams
- func (o *DeleteRepoPoolParams) WithPoolID(poolID string) *DeleteRepoPoolParams
- func (o *DeleteRepoPoolParams) WithRepoID(repoID string) *DeleteRepoPoolParams
- func (o *DeleteRepoPoolParams) WithTimeout(timeout time.Duration) *DeleteRepoPoolParams
- func (o *DeleteRepoPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepoPoolReader
- type DeleteRepoReader
- type GetRepoDefault
- func (o *GetRepoDefault) Code() int
- func (o *GetRepoDefault) Error() string
- func (o *GetRepoDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetRepoDefault) IsClientError() bool
- func (o *GetRepoDefault) IsCode(code int) bool
- func (o *GetRepoDefault) IsRedirect() bool
- func (o *GetRepoDefault) IsServerError() bool
- func (o *GetRepoDefault) IsSuccess() bool
- func (o *GetRepoDefault) String() string
- type GetRepoOK
- func (o *GetRepoOK) Code() int
- func (o *GetRepoOK) Error() string
- func (o *GetRepoOK) GetPayload() garm_params.Repository
- func (o *GetRepoOK) IsClientError() bool
- func (o *GetRepoOK) IsCode(code int) bool
- func (o *GetRepoOK) IsRedirect() bool
- func (o *GetRepoOK) IsServerError() bool
- func (o *GetRepoOK) IsSuccess() bool
- func (o *GetRepoOK) String() string
- type GetRepoParams
- func (o *GetRepoParams) SetContext(ctx context.Context)
- func (o *GetRepoParams) SetDefaults()
- func (o *GetRepoParams) SetHTTPClient(client *http.Client)
- func (o *GetRepoParams) SetRepoID(repoID string)
- func (o *GetRepoParams) SetTimeout(timeout time.Duration)
- func (o *GetRepoParams) WithContext(ctx context.Context) *GetRepoParams
- func (o *GetRepoParams) WithDefaults() *GetRepoParams
- func (o *GetRepoParams) WithHTTPClient(client *http.Client) *GetRepoParams
- func (o *GetRepoParams) WithRepoID(repoID string) *GetRepoParams
- func (o *GetRepoParams) WithTimeout(timeout time.Duration) *GetRepoParams
- func (o *GetRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepoPoolDefault
- func (o *GetRepoPoolDefault) Code() int
- func (o *GetRepoPoolDefault) Error() string
- func (o *GetRepoPoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetRepoPoolDefault) IsClientError() bool
- func (o *GetRepoPoolDefault) IsCode(code int) bool
- func (o *GetRepoPoolDefault) IsRedirect() bool
- func (o *GetRepoPoolDefault) IsServerError() bool
- func (o *GetRepoPoolDefault) IsSuccess() bool
- func (o *GetRepoPoolDefault) String() string
- type GetRepoPoolOK
- func (o *GetRepoPoolOK) Code() int
- func (o *GetRepoPoolOK) Error() string
- func (o *GetRepoPoolOK) GetPayload() garm_params.Pool
- func (o *GetRepoPoolOK) IsClientError() bool
- func (o *GetRepoPoolOK) IsCode(code int) bool
- func (o *GetRepoPoolOK) IsRedirect() bool
- func (o *GetRepoPoolOK) IsServerError() bool
- func (o *GetRepoPoolOK) IsSuccess() bool
- func (o *GetRepoPoolOK) String() string
- type GetRepoPoolParams
- func (o *GetRepoPoolParams) SetContext(ctx context.Context)
- func (o *GetRepoPoolParams) SetDefaults()
- func (o *GetRepoPoolParams) SetHTTPClient(client *http.Client)
- func (o *GetRepoPoolParams) SetPoolID(poolID string)
- func (o *GetRepoPoolParams) SetRepoID(repoID string)
- func (o *GetRepoPoolParams) SetTimeout(timeout time.Duration)
- func (o *GetRepoPoolParams) WithContext(ctx context.Context) *GetRepoPoolParams
- func (o *GetRepoPoolParams) WithDefaults() *GetRepoPoolParams
- func (o *GetRepoPoolParams) WithHTTPClient(client *http.Client) *GetRepoPoolParams
- func (o *GetRepoPoolParams) WithPoolID(poolID string) *GetRepoPoolParams
- func (o *GetRepoPoolParams) WithRepoID(repoID string) *GetRepoPoolParams
- func (o *GetRepoPoolParams) WithTimeout(timeout time.Duration) *GetRepoPoolParams
- func (o *GetRepoPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepoPoolReader
- type GetRepoReader
- type GetRepoWebhookInfoDefault
- func (o *GetRepoWebhookInfoDefault) Code() int
- func (o *GetRepoWebhookInfoDefault) Error() string
- func (o *GetRepoWebhookInfoDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetRepoWebhookInfoDefault) IsClientError() bool
- func (o *GetRepoWebhookInfoDefault) IsCode(code int) bool
- func (o *GetRepoWebhookInfoDefault) IsRedirect() bool
- func (o *GetRepoWebhookInfoDefault) IsServerError() bool
- func (o *GetRepoWebhookInfoDefault) IsSuccess() bool
- func (o *GetRepoWebhookInfoDefault) String() string
- type GetRepoWebhookInfoOK
- func (o *GetRepoWebhookInfoOK) Code() int
- func (o *GetRepoWebhookInfoOK) Error() string
- func (o *GetRepoWebhookInfoOK) GetPayload() garm_params.HookInfo
- func (o *GetRepoWebhookInfoOK) IsClientError() bool
- func (o *GetRepoWebhookInfoOK) IsCode(code int) bool
- func (o *GetRepoWebhookInfoOK) IsRedirect() bool
- func (o *GetRepoWebhookInfoOK) IsServerError() bool
- func (o *GetRepoWebhookInfoOK) IsSuccess() bool
- func (o *GetRepoWebhookInfoOK) String() string
- type GetRepoWebhookInfoParams
- func NewGetRepoWebhookInfoParams() *GetRepoWebhookInfoParams
- func NewGetRepoWebhookInfoParamsWithContext(ctx context.Context) *GetRepoWebhookInfoParams
- func NewGetRepoWebhookInfoParamsWithHTTPClient(client *http.Client) *GetRepoWebhookInfoParams
- func NewGetRepoWebhookInfoParamsWithTimeout(timeout time.Duration) *GetRepoWebhookInfoParams
- func (o *GetRepoWebhookInfoParams) SetContext(ctx context.Context)
- func (o *GetRepoWebhookInfoParams) SetDefaults()
- func (o *GetRepoWebhookInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetRepoWebhookInfoParams) SetRepoID(repoID string)
- func (o *GetRepoWebhookInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetRepoWebhookInfoParams) WithContext(ctx context.Context) *GetRepoWebhookInfoParams
- func (o *GetRepoWebhookInfoParams) WithDefaults() *GetRepoWebhookInfoParams
- func (o *GetRepoWebhookInfoParams) WithHTTPClient(client *http.Client) *GetRepoWebhookInfoParams
- func (o *GetRepoWebhookInfoParams) WithRepoID(repoID string) *GetRepoWebhookInfoParams
- func (o *GetRepoWebhookInfoParams) WithTimeout(timeout time.Duration) *GetRepoWebhookInfoParams
- func (o *GetRepoWebhookInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepoWebhookInfoReader
- type InstallRepoWebhookDefault
- func (o *InstallRepoWebhookDefault) Code() int
- func (o *InstallRepoWebhookDefault) Error() string
- func (o *InstallRepoWebhookDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *InstallRepoWebhookDefault) IsClientError() bool
- func (o *InstallRepoWebhookDefault) IsCode(code int) bool
- func (o *InstallRepoWebhookDefault) IsRedirect() bool
- func (o *InstallRepoWebhookDefault) IsServerError() bool
- func (o *InstallRepoWebhookDefault) IsSuccess() bool
- func (o *InstallRepoWebhookDefault) String() string
- type InstallRepoWebhookOK
- func (o *InstallRepoWebhookOK) Code() int
- func (o *InstallRepoWebhookOK) Error() string
- func (o *InstallRepoWebhookOK) GetPayload() garm_params.HookInfo
- func (o *InstallRepoWebhookOK) IsClientError() bool
- func (o *InstallRepoWebhookOK) IsCode(code int) bool
- func (o *InstallRepoWebhookOK) IsRedirect() bool
- func (o *InstallRepoWebhookOK) IsServerError() bool
- func (o *InstallRepoWebhookOK) IsSuccess() bool
- func (o *InstallRepoWebhookOK) String() string
- type InstallRepoWebhookParams
- func NewInstallRepoWebhookParams() *InstallRepoWebhookParams
- func NewInstallRepoWebhookParamsWithContext(ctx context.Context) *InstallRepoWebhookParams
- func NewInstallRepoWebhookParamsWithHTTPClient(client *http.Client) *InstallRepoWebhookParams
- func NewInstallRepoWebhookParamsWithTimeout(timeout time.Duration) *InstallRepoWebhookParams
- func (o *InstallRepoWebhookParams) SetBody(body garm_params.InstallWebhookParams)
- func (o *InstallRepoWebhookParams) SetContext(ctx context.Context)
- func (o *InstallRepoWebhookParams) SetDefaults()
- func (o *InstallRepoWebhookParams) SetHTTPClient(client *http.Client)
- func (o *InstallRepoWebhookParams) SetRepoID(repoID string)
- func (o *InstallRepoWebhookParams) SetTimeout(timeout time.Duration)
- func (o *InstallRepoWebhookParams) WithBody(body garm_params.InstallWebhookParams) *InstallRepoWebhookParams
- func (o *InstallRepoWebhookParams) WithContext(ctx context.Context) *InstallRepoWebhookParams
- func (o *InstallRepoWebhookParams) WithDefaults() *InstallRepoWebhookParams
- func (o *InstallRepoWebhookParams) WithHTTPClient(client *http.Client) *InstallRepoWebhookParams
- func (o *InstallRepoWebhookParams) WithRepoID(repoID string) *InstallRepoWebhookParams
- func (o *InstallRepoWebhookParams) WithTimeout(timeout time.Duration) *InstallRepoWebhookParams
- func (o *InstallRepoWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InstallRepoWebhookReader
- type ListRepoInstancesDefault
- func (o *ListRepoInstancesDefault) Code() int
- func (o *ListRepoInstancesDefault) Error() string
- func (o *ListRepoInstancesDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListRepoInstancesDefault) IsClientError() bool
- func (o *ListRepoInstancesDefault) IsCode(code int) bool
- func (o *ListRepoInstancesDefault) IsRedirect() bool
- func (o *ListRepoInstancesDefault) IsServerError() bool
- func (o *ListRepoInstancesDefault) IsSuccess() bool
- func (o *ListRepoInstancesDefault) String() string
- type ListRepoInstancesOK
- func (o *ListRepoInstancesOK) Code() int
- func (o *ListRepoInstancesOK) Error() string
- func (o *ListRepoInstancesOK) GetPayload() garm_params.Instances
- func (o *ListRepoInstancesOK) IsClientError() bool
- func (o *ListRepoInstancesOK) IsCode(code int) bool
- func (o *ListRepoInstancesOK) IsRedirect() bool
- func (o *ListRepoInstancesOK) IsServerError() bool
- func (o *ListRepoInstancesOK) IsSuccess() bool
- func (o *ListRepoInstancesOK) String() string
- type ListRepoInstancesParams
- func NewListRepoInstancesParams() *ListRepoInstancesParams
- func NewListRepoInstancesParamsWithContext(ctx context.Context) *ListRepoInstancesParams
- func NewListRepoInstancesParamsWithHTTPClient(client *http.Client) *ListRepoInstancesParams
- func NewListRepoInstancesParamsWithTimeout(timeout time.Duration) *ListRepoInstancesParams
- func (o *ListRepoInstancesParams) SetContext(ctx context.Context)
- func (o *ListRepoInstancesParams) SetDefaults()
- func (o *ListRepoInstancesParams) SetHTTPClient(client *http.Client)
- func (o *ListRepoInstancesParams) SetRepoID(repoID string)
- func (o *ListRepoInstancesParams) SetTimeout(timeout time.Duration)
- func (o *ListRepoInstancesParams) WithContext(ctx context.Context) *ListRepoInstancesParams
- func (o *ListRepoInstancesParams) WithDefaults() *ListRepoInstancesParams
- func (o *ListRepoInstancesParams) WithHTTPClient(client *http.Client) *ListRepoInstancesParams
- func (o *ListRepoInstancesParams) WithRepoID(repoID string) *ListRepoInstancesParams
- func (o *ListRepoInstancesParams) WithTimeout(timeout time.Duration) *ListRepoInstancesParams
- func (o *ListRepoInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRepoInstancesReader
- type ListRepoPoolsDefault
- func (o *ListRepoPoolsDefault) Code() int
- func (o *ListRepoPoolsDefault) Error() string
- func (o *ListRepoPoolsDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListRepoPoolsDefault) IsClientError() bool
- func (o *ListRepoPoolsDefault) IsCode(code int) bool
- func (o *ListRepoPoolsDefault) IsRedirect() bool
- func (o *ListRepoPoolsDefault) IsServerError() bool
- func (o *ListRepoPoolsDefault) IsSuccess() bool
- func (o *ListRepoPoolsDefault) String() string
- type ListRepoPoolsOK
- func (o *ListRepoPoolsOK) Code() int
- func (o *ListRepoPoolsOK) Error() string
- func (o *ListRepoPoolsOK) GetPayload() garm_params.Pools
- func (o *ListRepoPoolsOK) IsClientError() bool
- func (o *ListRepoPoolsOK) IsCode(code int) bool
- func (o *ListRepoPoolsOK) IsRedirect() bool
- func (o *ListRepoPoolsOK) IsServerError() bool
- func (o *ListRepoPoolsOK) IsSuccess() bool
- func (o *ListRepoPoolsOK) String() string
- type ListRepoPoolsParams
- func (o *ListRepoPoolsParams) SetContext(ctx context.Context)
- func (o *ListRepoPoolsParams) SetDefaults()
- func (o *ListRepoPoolsParams) SetHTTPClient(client *http.Client)
- func (o *ListRepoPoolsParams) SetRepoID(repoID string)
- func (o *ListRepoPoolsParams) SetTimeout(timeout time.Duration)
- func (o *ListRepoPoolsParams) WithContext(ctx context.Context) *ListRepoPoolsParams
- func (o *ListRepoPoolsParams) WithDefaults() *ListRepoPoolsParams
- func (o *ListRepoPoolsParams) WithHTTPClient(client *http.Client) *ListRepoPoolsParams
- func (o *ListRepoPoolsParams) WithRepoID(repoID string) *ListRepoPoolsParams
- func (o *ListRepoPoolsParams) WithTimeout(timeout time.Duration) *ListRepoPoolsParams
- func (o *ListRepoPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRepoPoolsReader
- type ListReposDefault
- func (o *ListReposDefault) Code() int
- func (o *ListReposDefault) Error() string
- func (o *ListReposDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListReposDefault) IsClientError() bool
- func (o *ListReposDefault) IsCode(code int) bool
- func (o *ListReposDefault) IsRedirect() bool
- func (o *ListReposDefault) IsServerError() bool
- func (o *ListReposDefault) IsSuccess() bool
- func (o *ListReposDefault) String() string
- type ListReposOK
- func (o *ListReposOK) Code() int
- func (o *ListReposOK) Error() string
- func (o *ListReposOK) GetPayload() garm_params.Repositories
- func (o *ListReposOK) IsClientError() bool
- func (o *ListReposOK) IsCode(code int) bool
- func (o *ListReposOK) IsRedirect() bool
- func (o *ListReposOK) IsServerError() bool
- func (o *ListReposOK) IsSuccess() bool
- func (o *ListReposOK) String() string
- type ListReposParams
- func (o *ListReposParams) SetContext(ctx context.Context)
- func (o *ListReposParams) SetDefaults()
- func (o *ListReposParams) SetHTTPClient(client *http.Client)
- func (o *ListReposParams) SetTimeout(timeout time.Duration)
- func (o *ListReposParams) WithContext(ctx context.Context) *ListReposParams
- func (o *ListReposParams) WithDefaults() *ListReposParams
- func (o *ListReposParams) WithHTTPClient(client *http.Client) *ListReposParams
- func (o *ListReposParams) WithTimeout(timeout time.Duration) *ListReposParams
- func (o *ListReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReposReader
- type UninstallRepoWebhookDefault
- func (o *UninstallRepoWebhookDefault) Code() int
- func (o *UninstallRepoWebhookDefault) Error() string
- func (o *UninstallRepoWebhookDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UninstallRepoWebhookDefault) IsClientError() bool
- func (o *UninstallRepoWebhookDefault) IsCode(code int) bool
- func (o *UninstallRepoWebhookDefault) IsRedirect() bool
- func (o *UninstallRepoWebhookDefault) IsServerError() bool
- func (o *UninstallRepoWebhookDefault) IsSuccess() bool
- func (o *UninstallRepoWebhookDefault) String() string
- type UninstallRepoWebhookParams
- func NewUninstallRepoWebhookParams() *UninstallRepoWebhookParams
- func NewUninstallRepoWebhookParamsWithContext(ctx context.Context) *UninstallRepoWebhookParams
- func NewUninstallRepoWebhookParamsWithHTTPClient(client *http.Client) *UninstallRepoWebhookParams
- func NewUninstallRepoWebhookParamsWithTimeout(timeout time.Duration) *UninstallRepoWebhookParams
- func (o *UninstallRepoWebhookParams) SetContext(ctx context.Context)
- func (o *UninstallRepoWebhookParams) SetDefaults()
- func (o *UninstallRepoWebhookParams) SetHTTPClient(client *http.Client)
- func (o *UninstallRepoWebhookParams) SetRepoID(repoID string)
- func (o *UninstallRepoWebhookParams) SetTimeout(timeout time.Duration)
- func (o *UninstallRepoWebhookParams) WithContext(ctx context.Context) *UninstallRepoWebhookParams
- func (o *UninstallRepoWebhookParams) WithDefaults() *UninstallRepoWebhookParams
- func (o *UninstallRepoWebhookParams) WithHTTPClient(client *http.Client) *UninstallRepoWebhookParams
- func (o *UninstallRepoWebhookParams) WithRepoID(repoID string) *UninstallRepoWebhookParams
- func (o *UninstallRepoWebhookParams) WithTimeout(timeout time.Duration) *UninstallRepoWebhookParams
- func (o *UninstallRepoWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UninstallRepoWebhookReader
- type UpdateRepoDefault
- func (o *UpdateRepoDefault) Code() int
- func (o *UpdateRepoDefault) Error() string
- func (o *UpdateRepoDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UpdateRepoDefault) IsClientError() bool
- func (o *UpdateRepoDefault) IsCode(code int) bool
- func (o *UpdateRepoDefault) IsRedirect() bool
- func (o *UpdateRepoDefault) IsServerError() bool
- func (o *UpdateRepoDefault) IsSuccess() bool
- func (o *UpdateRepoDefault) String() string
- type UpdateRepoOK
- func (o *UpdateRepoOK) Code() int
- func (o *UpdateRepoOK) Error() string
- func (o *UpdateRepoOK) GetPayload() garm_params.Repository
- func (o *UpdateRepoOK) IsClientError() bool
- func (o *UpdateRepoOK) IsCode(code int) bool
- func (o *UpdateRepoOK) IsRedirect() bool
- func (o *UpdateRepoOK) IsServerError() bool
- func (o *UpdateRepoOK) IsSuccess() bool
- func (o *UpdateRepoOK) String() string
- type UpdateRepoParams
- func (o *UpdateRepoParams) SetBody(body garm_params.UpdateEntityParams)
- func (o *UpdateRepoParams) SetContext(ctx context.Context)
- func (o *UpdateRepoParams) SetDefaults()
- func (o *UpdateRepoParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRepoParams) SetRepoID(repoID string)
- func (o *UpdateRepoParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRepoParams) WithBody(body garm_params.UpdateEntityParams) *UpdateRepoParams
- func (o *UpdateRepoParams) WithContext(ctx context.Context) *UpdateRepoParams
- func (o *UpdateRepoParams) WithDefaults() *UpdateRepoParams
- func (o *UpdateRepoParams) WithHTTPClient(client *http.Client) *UpdateRepoParams
- func (o *UpdateRepoParams) WithRepoID(repoID string) *UpdateRepoParams
- func (o *UpdateRepoParams) WithTimeout(timeout time.Duration) *UpdateRepoParams
- func (o *UpdateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRepoPoolDefault
- func (o *UpdateRepoPoolDefault) Code() int
- func (o *UpdateRepoPoolDefault) Error() string
- func (o *UpdateRepoPoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UpdateRepoPoolDefault) IsClientError() bool
- func (o *UpdateRepoPoolDefault) IsCode(code int) bool
- func (o *UpdateRepoPoolDefault) IsRedirect() bool
- func (o *UpdateRepoPoolDefault) IsServerError() bool
- func (o *UpdateRepoPoolDefault) IsSuccess() bool
- func (o *UpdateRepoPoolDefault) String() string
- type UpdateRepoPoolOK
- func (o *UpdateRepoPoolOK) Code() int
- func (o *UpdateRepoPoolOK) Error() string
- func (o *UpdateRepoPoolOK) GetPayload() garm_params.Pool
- func (o *UpdateRepoPoolOK) IsClientError() bool
- func (o *UpdateRepoPoolOK) IsCode(code int) bool
- func (o *UpdateRepoPoolOK) IsRedirect() bool
- func (o *UpdateRepoPoolOK) IsServerError() bool
- func (o *UpdateRepoPoolOK) IsSuccess() bool
- func (o *UpdateRepoPoolOK) String() string
- type UpdateRepoPoolParams
- func NewUpdateRepoPoolParams() *UpdateRepoPoolParams
- func NewUpdateRepoPoolParamsWithContext(ctx context.Context) *UpdateRepoPoolParams
- func NewUpdateRepoPoolParamsWithHTTPClient(client *http.Client) *UpdateRepoPoolParams
- func NewUpdateRepoPoolParamsWithTimeout(timeout time.Duration) *UpdateRepoPoolParams
- func (o *UpdateRepoPoolParams) SetBody(body garm_params.UpdatePoolParams)
- func (o *UpdateRepoPoolParams) SetContext(ctx context.Context)
- func (o *UpdateRepoPoolParams) SetDefaults()
- func (o *UpdateRepoPoolParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRepoPoolParams) SetPoolID(poolID string)
- func (o *UpdateRepoPoolParams) SetRepoID(repoID string)
- func (o *UpdateRepoPoolParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRepoPoolParams) WithBody(body garm_params.UpdatePoolParams) *UpdateRepoPoolParams
- func (o *UpdateRepoPoolParams) WithContext(ctx context.Context) *UpdateRepoPoolParams
- func (o *UpdateRepoPoolParams) WithDefaults() *UpdateRepoPoolParams
- func (o *UpdateRepoPoolParams) WithHTTPClient(client *http.Client) *UpdateRepoPoolParams
- func (o *UpdateRepoPoolParams) WithPoolID(poolID string) *UpdateRepoPoolParams
- func (o *UpdateRepoPoolParams) WithRepoID(repoID string) *UpdateRepoPoolParams
- func (o *UpdateRepoPoolParams) WithTimeout(timeout time.Duration) *UpdateRepoPoolParams
- func (o *UpdateRepoPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRepoPoolReader
- type UpdateRepoReader
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 repositories API
func (*Client) CreateRepo ¶
func (a *Client) CreateRepo(params *CreateRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRepoOK, error)
CreateRepo creates repository with the parameters given
func (*Client) CreateRepoPool ¶
func (a *Client) CreateRepoPool(params *CreateRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRepoPoolOK, error)
CreateRepoPool creates repository pool with the parameters given
func (*Client) DeleteRepo ¶
func (a *Client) DeleteRepo(params *DeleteRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteRepo deletes repository by ID
func (*Client) DeleteRepoPool ¶
func (a *Client) DeleteRepoPool(params *DeleteRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
DeleteRepoPool deletes repository pool by ID
func (*Client) GetRepo ¶
func (a *Client) GetRepo(params *GetRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepoOK, error)
GetRepo gets repository by ID
func (*Client) GetRepoPool ¶
func (a *Client) GetRepoPool(params *GetRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepoPoolOK, error)
GetRepoPool gets repository pool by ID
func (*Client) GetRepoWebhookInfo ¶ added in v0.1.4
func (a *Client) GetRepoWebhookInfo(params *GetRepoWebhookInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepoWebhookInfoOK, error)
GetRepoWebhookInfo gets information about the g a r m installed webhook on a repository
func (*Client) InstallRepoWebhook ¶ added in v0.1.4
func (a *Client) InstallRepoWebhook(params *InstallRepoWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InstallRepoWebhookOK, error)
InstallRepoWebhook Install the GARM webhook for an organization. The secret configured on the organization will
be used to validate the requests.
func (*Client) ListRepoInstances ¶
func (a *Client) ListRepoInstances(params *ListRepoInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRepoInstancesOK, error)
ListRepoInstances lists repository instances
func (*Client) ListRepoPools ¶
func (a *Client) ListRepoPools(params *ListRepoPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRepoPoolsOK, error)
ListRepoPools lists repository pools
func (*Client) ListRepos ¶
func (a *Client) ListRepos(params *ListReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListReposOK, error)
ListRepos lists repositories
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UninstallRepoWebhook ¶ added in v0.1.4
func (a *Client) UninstallRepoWebhook(params *UninstallRepoWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error
UninstallRepoWebhook uninstalls organization webhook
func (*Client) UpdateRepo ¶
func (a *Client) UpdateRepo(params *UpdateRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRepoOK, error)
UpdateRepo updates repository with the parameters given
func (*Client) UpdateRepoPool ¶
func (a *Client) UpdateRepoPool(params *UpdateRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRepoPoolOK, error)
UpdateRepoPool updates repository pool with the parameters given
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CreateRepo(params *CreateRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRepoOK, error) CreateRepoPool(params *CreateRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRepoPoolOK, error) DeleteRepo(params *DeleteRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error DeleteRepoPool(params *DeleteRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error GetRepo(params *GetRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepoOK, error) GetRepoPool(params *GetRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepoPoolOK, error) GetRepoWebhookInfo(params *GetRepoWebhookInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepoWebhookInfoOK, error) InstallRepoWebhook(params *InstallRepoWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InstallRepoWebhookOK, error) ListRepoInstances(params *ListRepoInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRepoInstancesOK, error) ListRepoPools(params *ListRepoPoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRepoPoolsOK, error) ListRepos(params *ListReposParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListReposOK, error) UninstallRepoWebhook(params *UninstallRepoWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error UpdateRepo(params *UpdateRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRepoOK, error) UpdateRepoPool(params *UpdateRepoPoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRepoPoolOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new repositories API client.
func NewClientWithBasicAuth ¶ added in v0.1.5
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new repositories API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.1.5
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new repositories API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateRepoDefault ¶
type CreateRepoDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
CreateRepoDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewCreateRepoDefault ¶
func NewCreateRepoDefault(code int) *CreateRepoDefault
NewCreateRepoDefault creates a CreateRepoDefault with default headers values
func (*CreateRepoDefault) Code ¶
func (o *CreateRepoDefault) Code() int
Code gets the status code for the create repo default response
func (*CreateRepoDefault) Error ¶
func (o *CreateRepoDefault) Error() string
func (*CreateRepoDefault) GetPayload ¶
func (o *CreateRepoDefault) GetPayload() apiserver_params.APIErrorResponse
func (*CreateRepoDefault) IsClientError ¶
func (o *CreateRepoDefault) IsClientError() bool
IsClientError returns true when this create repo default response has a 4xx status code
func (*CreateRepoDefault) IsCode ¶
func (o *CreateRepoDefault) IsCode(code int) bool
IsCode returns true when this create repo default response a status code equal to that given
func (*CreateRepoDefault) IsRedirect ¶
func (o *CreateRepoDefault) IsRedirect() bool
IsRedirect returns true when this create repo default response has a 3xx status code
func (*CreateRepoDefault) IsServerError ¶
func (o *CreateRepoDefault) IsServerError() bool
IsServerError returns true when this create repo default response has a 5xx status code
func (*CreateRepoDefault) IsSuccess ¶
func (o *CreateRepoDefault) IsSuccess() bool
IsSuccess returns true when this create repo default response has a 2xx status code
func (*CreateRepoDefault) String ¶
func (o *CreateRepoDefault) String() string
type CreateRepoOK ¶
type CreateRepoOK struct {
Payload garm_params.Repository
}
CreateRepoOK describes a response with status code 200, with default header values.
Repository
func NewCreateRepoOK ¶
func NewCreateRepoOK() *CreateRepoOK
NewCreateRepoOK creates a CreateRepoOK with default headers values
func (*CreateRepoOK) Code ¶
func (o *CreateRepoOK) Code() int
Code gets the status code for the create repo o k response
func (*CreateRepoOK) Error ¶
func (o *CreateRepoOK) Error() string
func (*CreateRepoOK) GetPayload ¶
func (o *CreateRepoOK) GetPayload() garm_params.Repository
func (*CreateRepoOK) IsClientError ¶
func (o *CreateRepoOK) IsClientError() bool
IsClientError returns true when this create repo o k response has a 4xx status code
func (*CreateRepoOK) IsCode ¶
func (o *CreateRepoOK) IsCode(code int) bool
IsCode returns true when this create repo o k response a status code equal to that given
func (*CreateRepoOK) IsRedirect ¶
func (o *CreateRepoOK) IsRedirect() bool
IsRedirect returns true when this create repo o k response has a 3xx status code
func (*CreateRepoOK) IsServerError ¶
func (o *CreateRepoOK) IsServerError() bool
IsServerError returns true when this create repo o k response has a 5xx status code
func (*CreateRepoOK) IsSuccess ¶
func (o *CreateRepoOK) IsSuccess() bool
IsSuccess returns true when this create repo o k response has a 2xx status code
func (*CreateRepoOK) String ¶
func (o *CreateRepoOK) String() string
type CreateRepoParams ¶
type CreateRepoParams struct { /* Body. Parameters used when creating the repository. */ Body garm_params.CreateRepoParams 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateRepoParamsWithContext ¶
func NewCreateRepoParamsWithContext(ctx context.Context) *CreateRepoParams
NewCreateRepoParamsWithContext creates a new CreateRepoParams object with 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 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 ability to set a timeout on a request.
func (*CreateRepoParams) SetBody ¶
func (o *CreateRepoParams) SetBody(body garm_params.CreateRepoParams)
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) SetDefaults ¶
func (o *CreateRepoParams) SetDefaults()
SetDefaults hydrates default values in the create repo params (not the query body).
All values with no default are reset to their zero value.
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 garm_params.CreateRepoParams) *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) WithDefaults ¶
func (o *CreateRepoParams) WithDefaults() *CreateRepoParams
WithDefaults hydrates default values in the create repo params (not the query body).
All values with no default are reset to their zero value.
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 CreateRepoPoolDefault ¶
type CreateRepoPoolDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
CreateRepoPoolDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewCreateRepoPoolDefault ¶
func NewCreateRepoPoolDefault(code int) *CreateRepoPoolDefault
NewCreateRepoPoolDefault creates a CreateRepoPoolDefault with default headers values
func (*CreateRepoPoolDefault) Code ¶
func (o *CreateRepoPoolDefault) Code() int
Code gets the status code for the create repo pool default response
func (*CreateRepoPoolDefault) Error ¶
func (o *CreateRepoPoolDefault) Error() string
func (*CreateRepoPoolDefault) GetPayload ¶
func (o *CreateRepoPoolDefault) GetPayload() apiserver_params.APIErrorResponse
func (*CreateRepoPoolDefault) IsClientError ¶
func (o *CreateRepoPoolDefault) IsClientError() bool
IsClientError returns true when this create repo pool default response has a 4xx status code
func (*CreateRepoPoolDefault) IsCode ¶
func (o *CreateRepoPoolDefault) IsCode(code int) bool
IsCode returns true when this create repo pool default response a status code equal to that given
func (*CreateRepoPoolDefault) IsRedirect ¶
func (o *CreateRepoPoolDefault) IsRedirect() bool
IsRedirect returns true when this create repo pool default response has a 3xx status code
func (*CreateRepoPoolDefault) IsServerError ¶
func (o *CreateRepoPoolDefault) IsServerError() bool
IsServerError returns true when this create repo pool default response has a 5xx status code
func (*CreateRepoPoolDefault) IsSuccess ¶
func (o *CreateRepoPoolDefault) IsSuccess() bool
IsSuccess returns true when this create repo pool default response has a 2xx status code
func (*CreateRepoPoolDefault) String ¶
func (o *CreateRepoPoolDefault) String() string
type CreateRepoPoolOK ¶
type CreateRepoPoolOK struct {
Payload garm_params.Pool
}
CreateRepoPoolOK describes a response with status code 200, with default header values.
Pool
func NewCreateRepoPoolOK ¶
func NewCreateRepoPoolOK() *CreateRepoPoolOK
NewCreateRepoPoolOK creates a CreateRepoPoolOK with default headers values
func (*CreateRepoPoolOK) Code ¶
func (o *CreateRepoPoolOK) Code() int
Code gets the status code for the create repo pool o k response
func (*CreateRepoPoolOK) Error ¶
func (o *CreateRepoPoolOK) Error() string
func (*CreateRepoPoolOK) GetPayload ¶
func (o *CreateRepoPoolOK) GetPayload() garm_params.Pool
func (*CreateRepoPoolOK) IsClientError ¶
func (o *CreateRepoPoolOK) IsClientError() bool
IsClientError returns true when this create repo pool o k response has a 4xx status code
func (*CreateRepoPoolOK) IsCode ¶
func (o *CreateRepoPoolOK) IsCode(code int) bool
IsCode returns true when this create repo pool o k response a status code equal to that given
func (*CreateRepoPoolOK) IsRedirect ¶
func (o *CreateRepoPoolOK) IsRedirect() bool
IsRedirect returns true when this create repo pool o k response has a 3xx status code
func (*CreateRepoPoolOK) IsServerError ¶
func (o *CreateRepoPoolOK) IsServerError() bool
IsServerError returns true when this create repo pool o k response has a 5xx status code
func (*CreateRepoPoolOK) IsSuccess ¶
func (o *CreateRepoPoolOK) IsSuccess() bool
IsSuccess returns true when this create repo pool o k response has a 2xx status code
func (*CreateRepoPoolOK) String ¶
func (o *CreateRepoPoolOK) String() string
type CreateRepoPoolParams ¶
type CreateRepoPoolParams struct { /* Body. Parameters used when creating the repository pool. */ Body garm_params.CreatePoolParams /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRepoPoolParams contains all the parameters to send to the API endpoint
for the create repo pool operation. Typically these are written to a http.Request.
func NewCreateRepoPoolParams ¶
func NewCreateRepoPoolParams() *CreateRepoPoolParams
NewCreateRepoPoolParams creates a new CreateRepoPoolParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateRepoPoolParamsWithContext ¶
func NewCreateRepoPoolParamsWithContext(ctx context.Context) *CreateRepoPoolParams
NewCreateRepoPoolParamsWithContext creates a new CreateRepoPoolParams object with the ability to set a context for a request.
func NewCreateRepoPoolParamsWithHTTPClient ¶
func NewCreateRepoPoolParamsWithHTTPClient(client *http.Client) *CreateRepoPoolParams
NewCreateRepoPoolParamsWithHTTPClient creates a new CreateRepoPoolParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRepoPoolParamsWithTimeout ¶
func NewCreateRepoPoolParamsWithTimeout(timeout time.Duration) *CreateRepoPoolParams
NewCreateRepoPoolParamsWithTimeout creates a new CreateRepoPoolParams object with the ability to set a timeout on a request.
func (*CreateRepoPoolParams) SetBody ¶
func (o *CreateRepoPoolParams) SetBody(body garm_params.CreatePoolParams)
SetBody adds the body to the create repo pool params
func (*CreateRepoPoolParams) SetContext ¶
func (o *CreateRepoPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the create repo pool params
func (*CreateRepoPoolParams) SetDefaults ¶
func (o *CreateRepoPoolParams) SetDefaults()
SetDefaults hydrates default values in the create repo pool params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRepoPoolParams) SetHTTPClient ¶
func (o *CreateRepoPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create repo pool params
func (*CreateRepoPoolParams) SetRepoID ¶
func (o *CreateRepoPoolParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the create repo pool params
func (*CreateRepoPoolParams) SetTimeout ¶
func (o *CreateRepoPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create repo pool params
func (*CreateRepoPoolParams) WithBody ¶
func (o *CreateRepoPoolParams) WithBody(body garm_params.CreatePoolParams) *CreateRepoPoolParams
WithBody adds the body to the create repo pool params
func (*CreateRepoPoolParams) WithContext ¶
func (o *CreateRepoPoolParams) WithContext(ctx context.Context) *CreateRepoPoolParams
WithContext adds the context to the create repo pool params
func (*CreateRepoPoolParams) WithDefaults ¶
func (o *CreateRepoPoolParams) WithDefaults() *CreateRepoPoolParams
WithDefaults hydrates default values in the create repo pool params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRepoPoolParams) WithHTTPClient ¶
func (o *CreateRepoPoolParams) WithHTTPClient(client *http.Client) *CreateRepoPoolParams
WithHTTPClient adds the HTTPClient to the create repo pool params
func (*CreateRepoPoolParams) WithRepoID ¶
func (o *CreateRepoPoolParams) WithRepoID(repoID string) *CreateRepoPoolParams
WithRepoID adds the repoID to the create repo pool params
func (*CreateRepoPoolParams) WithTimeout ¶
func (o *CreateRepoPoolParams) WithTimeout(timeout time.Duration) *CreateRepoPoolParams
WithTimeout adds the timeout to the create repo pool params
func (*CreateRepoPoolParams) WriteToRequest ¶
func (o *CreateRepoPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRepoPoolReader ¶
type CreateRepoPoolReader struct {
// contains filtered or unexported fields
}
CreateRepoPoolReader is a Reader for the CreateRepoPool structure.
func (*CreateRepoPoolReader) ReadResponse ¶
func (o *CreateRepoPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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 DeleteRepoDefault ¶
type DeleteRepoDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
DeleteRepoDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewDeleteRepoDefault ¶
func NewDeleteRepoDefault(code int) *DeleteRepoDefault
NewDeleteRepoDefault creates a DeleteRepoDefault with default headers values
func (*DeleteRepoDefault) Code ¶
func (o *DeleteRepoDefault) Code() int
Code gets the status code for the delete repo default response
func (*DeleteRepoDefault) Error ¶
func (o *DeleteRepoDefault) Error() string
func (*DeleteRepoDefault) GetPayload ¶
func (o *DeleteRepoDefault) GetPayload() apiserver_params.APIErrorResponse
func (*DeleteRepoDefault) IsClientError ¶
func (o *DeleteRepoDefault) IsClientError() bool
IsClientError returns true when this delete repo default response has a 4xx status code
func (*DeleteRepoDefault) IsCode ¶
func (o *DeleteRepoDefault) IsCode(code int) bool
IsCode returns true when this delete repo default response a status code equal to that given
func (*DeleteRepoDefault) IsRedirect ¶
func (o *DeleteRepoDefault) IsRedirect() bool
IsRedirect returns true when this delete repo default response has a 3xx status code
func (*DeleteRepoDefault) IsServerError ¶
func (o *DeleteRepoDefault) IsServerError() bool
IsServerError returns true when this delete repo default response has a 5xx status code
func (*DeleteRepoDefault) IsSuccess ¶
func (o *DeleteRepoDefault) IsSuccess() bool
IsSuccess returns true when this delete repo default response has a 2xx status code
func (*DeleteRepoDefault) String ¶
func (o *DeleteRepoDefault) String() string
type DeleteRepoParams ¶
type DeleteRepoParams struct { /* KeepWebhook. If true and a webhook is installed for this repo, it will not be removed. */ KeepWebhook *bool /* RepoID. ID of the repository to delete. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepoParams contains all the parameters to send to the API endpoint
for the delete repo operation. Typically these are written to a http.Request.
func NewDeleteRepoParams ¶
func NewDeleteRepoParams() *DeleteRepoParams
NewDeleteRepoParams creates a new DeleteRepoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteRepoParamsWithContext ¶
func NewDeleteRepoParamsWithContext(ctx context.Context) *DeleteRepoParams
NewDeleteRepoParamsWithContext creates a new DeleteRepoParams object with the ability to set a context for a request.
func NewDeleteRepoParamsWithHTTPClient ¶
func NewDeleteRepoParamsWithHTTPClient(client *http.Client) *DeleteRepoParams
NewDeleteRepoParamsWithHTTPClient creates a new DeleteRepoParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRepoParamsWithTimeout ¶
func NewDeleteRepoParamsWithTimeout(timeout time.Duration) *DeleteRepoParams
NewDeleteRepoParamsWithTimeout creates a new DeleteRepoParams object with the ability to set a timeout on a request.
func (*DeleteRepoParams) SetContext ¶
func (o *DeleteRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repo params
func (*DeleteRepoParams) SetDefaults ¶
func (o *DeleteRepoParams) SetDefaults()
SetDefaults hydrates default values in the delete repo params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRepoParams) SetHTTPClient ¶
func (o *DeleteRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repo params
func (*DeleteRepoParams) SetKeepWebhook ¶ added in v0.1.4
func (o *DeleteRepoParams) SetKeepWebhook(keepWebhook *bool)
SetKeepWebhook adds the keepWebhook to the delete repo params
func (*DeleteRepoParams) SetRepoID ¶
func (o *DeleteRepoParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the delete repo params
func (*DeleteRepoParams) SetTimeout ¶
func (o *DeleteRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repo params
func (*DeleteRepoParams) WithContext ¶
func (o *DeleteRepoParams) WithContext(ctx context.Context) *DeleteRepoParams
WithContext adds the context to the delete repo params
func (*DeleteRepoParams) WithDefaults ¶
func (o *DeleteRepoParams) WithDefaults() *DeleteRepoParams
WithDefaults hydrates default values in the delete repo params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRepoParams) WithHTTPClient ¶
func (o *DeleteRepoParams) WithHTTPClient(client *http.Client) *DeleteRepoParams
WithHTTPClient adds the HTTPClient to the delete repo params
func (*DeleteRepoParams) WithKeepWebhook ¶ added in v0.1.4
func (o *DeleteRepoParams) WithKeepWebhook(keepWebhook *bool) *DeleteRepoParams
WithKeepWebhook adds the keepWebhook to the delete repo params
func (*DeleteRepoParams) WithRepoID ¶
func (o *DeleteRepoParams) WithRepoID(repoID string) *DeleteRepoParams
WithRepoID adds the repoID to the delete repo params
func (*DeleteRepoParams) WithTimeout ¶
func (o *DeleteRepoParams) WithTimeout(timeout time.Duration) *DeleteRepoParams
WithTimeout adds the timeout to the delete repo params
func (*DeleteRepoParams) WriteToRequest ¶
func (o *DeleteRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepoPoolDefault ¶
type DeleteRepoPoolDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
DeleteRepoPoolDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewDeleteRepoPoolDefault ¶
func NewDeleteRepoPoolDefault(code int) *DeleteRepoPoolDefault
NewDeleteRepoPoolDefault creates a DeleteRepoPoolDefault with default headers values
func (*DeleteRepoPoolDefault) Code ¶
func (o *DeleteRepoPoolDefault) Code() int
Code gets the status code for the delete repo pool default response
func (*DeleteRepoPoolDefault) Error ¶
func (o *DeleteRepoPoolDefault) Error() string
func (*DeleteRepoPoolDefault) GetPayload ¶
func (o *DeleteRepoPoolDefault) GetPayload() apiserver_params.APIErrorResponse
func (*DeleteRepoPoolDefault) IsClientError ¶
func (o *DeleteRepoPoolDefault) IsClientError() bool
IsClientError returns true when this delete repo pool default response has a 4xx status code
func (*DeleteRepoPoolDefault) IsCode ¶
func (o *DeleteRepoPoolDefault) IsCode(code int) bool
IsCode returns true when this delete repo pool default response a status code equal to that given
func (*DeleteRepoPoolDefault) IsRedirect ¶
func (o *DeleteRepoPoolDefault) IsRedirect() bool
IsRedirect returns true when this delete repo pool default response has a 3xx status code
func (*DeleteRepoPoolDefault) IsServerError ¶
func (o *DeleteRepoPoolDefault) IsServerError() bool
IsServerError returns true when this delete repo pool default response has a 5xx status code
func (*DeleteRepoPoolDefault) IsSuccess ¶
func (o *DeleteRepoPoolDefault) IsSuccess() bool
IsSuccess returns true when this delete repo pool default response has a 2xx status code
func (*DeleteRepoPoolDefault) String ¶
func (o *DeleteRepoPoolDefault) String() string
type DeleteRepoPoolParams ¶
type DeleteRepoPoolParams struct { /* PoolID. ID of the repository pool to delete. */ PoolID string /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepoPoolParams contains all the parameters to send to the API endpoint
for the delete repo pool operation. Typically these are written to a http.Request.
func NewDeleteRepoPoolParams ¶
func NewDeleteRepoPoolParams() *DeleteRepoPoolParams
NewDeleteRepoPoolParams creates a new DeleteRepoPoolParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteRepoPoolParamsWithContext ¶
func NewDeleteRepoPoolParamsWithContext(ctx context.Context) *DeleteRepoPoolParams
NewDeleteRepoPoolParamsWithContext creates a new DeleteRepoPoolParams object with the ability to set a context for a request.
func NewDeleteRepoPoolParamsWithHTTPClient ¶
func NewDeleteRepoPoolParamsWithHTTPClient(client *http.Client) *DeleteRepoPoolParams
NewDeleteRepoPoolParamsWithHTTPClient creates a new DeleteRepoPoolParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRepoPoolParamsWithTimeout ¶
func NewDeleteRepoPoolParamsWithTimeout(timeout time.Duration) *DeleteRepoPoolParams
NewDeleteRepoPoolParamsWithTimeout creates a new DeleteRepoPoolParams object with the ability to set a timeout on a request.
func (*DeleteRepoPoolParams) SetContext ¶
func (o *DeleteRepoPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repo pool params
func (*DeleteRepoPoolParams) SetDefaults ¶
func (o *DeleteRepoPoolParams) SetDefaults()
SetDefaults hydrates default values in the delete repo pool params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRepoPoolParams) SetHTTPClient ¶
func (o *DeleteRepoPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repo pool params
func (*DeleteRepoPoolParams) SetPoolID ¶
func (o *DeleteRepoPoolParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the delete repo pool params
func (*DeleteRepoPoolParams) SetRepoID ¶
func (o *DeleteRepoPoolParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the delete repo pool params
func (*DeleteRepoPoolParams) SetTimeout ¶
func (o *DeleteRepoPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repo pool params
func (*DeleteRepoPoolParams) WithContext ¶
func (o *DeleteRepoPoolParams) WithContext(ctx context.Context) *DeleteRepoPoolParams
WithContext adds the context to the delete repo pool params
func (*DeleteRepoPoolParams) WithDefaults ¶
func (o *DeleteRepoPoolParams) WithDefaults() *DeleteRepoPoolParams
WithDefaults hydrates default values in the delete repo pool params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRepoPoolParams) WithHTTPClient ¶
func (o *DeleteRepoPoolParams) WithHTTPClient(client *http.Client) *DeleteRepoPoolParams
WithHTTPClient adds the HTTPClient to the delete repo pool params
func (*DeleteRepoPoolParams) WithPoolID ¶
func (o *DeleteRepoPoolParams) WithPoolID(poolID string) *DeleteRepoPoolParams
WithPoolID adds the poolID to the delete repo pool params
func (*DeleteRepoPoolParams) WithRepoID ¶
func (o *DeleteRepoPoolParams) WithRepoID(repoID string) *DeleteRepoPoolParams
WithRepoID adds the repoID to the delete repo pool params
func (*DeleteRepoPoolParams) WithTimeout ¶
func (o *DeleteRepoPoolParams) WithTimeout(timeout time.Duration) *DeleteRepoPoolParams
WithTimeout adds the timeout to the delete repo pool params
func (*DeleteRepoPoolParams) WriteToRequest ¶
func (o *DeleteRepoPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepoPoolReader ¶
type DeleteRepoPoolReader struct {
// contains filtered or unexported fields
}
DeleteRepoPoolReader is a Reader for the DeleteRepoPool structure.
func (*DeleteRepoPoolReader) ReadResponse ¶
func (o *DeleteRepoPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRepoReader ¶
type DeleteRepoReader struct {
// contains filtered or unexported fields
}
DeleteRepoReader is a Reader for the DeleteRepo structure.
func (*DeleteRepoReader) ReadResponse ¶
func (o *DeleteRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepoDefault ¶
type GetRepoDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
GetRepoDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewGetRepoDefault ¶
func NewGetRepoDefault(code int) *GetRepoDefault
NewGetRepoDefault creates a GetRepoDefault with default headers values
func (*GetRepoDefault) Code ¶
func (o *GetRepoDefault) Code() int
Code gets the status code for the get repo default response
func (*GetRepoDefault) Error ¶
func (o *GetRepoDefault) Error() string
func (*GetRepoDefault) GetPayload ¶
func (o *GetRepoDefault) GetPayload() apiserver_params.APIErrorResponse
func (*GetRepoDefault) IsClientError ¶
func (o *GetRepoDefault) IsClientError() bool
IsClientError returns true when this get repo default response has a 4xx status code
func (*GetRepoDefault) IsCode ¶
func (o *GetRepoDefault) IsCode(code int) bool
IsCode returns true when this get repo default response a status code equal to that given
func (*GetRepoDefault) IsRedirect ¶
func (o *GetRepoDefault) IsRedirect() bool
IsRedirect returns true when this get repo default response has a 3xx status code
func (*GetRepoDefault) IsServerError ¶
func (o *GetRepoDefault) IsServerError() bool
IsServerError returns true when this get repo default response has a 5xx status code
func (*GetRepoDefault) IsSuccess ¶
func (o *GetRepoDefault) IsSuccess() bool
IsSuccess returns true when this get repo default response has a 2xx status code
func (*GetRepoDefault) String ¶
func (o *GetRepoDefault) String() string
type GetRepoOK ¶
type GetRepoOK struct {
Payload garm_params.Repository
}
GetRepoOK describes a response with status code 200, with default header values.
Repository
func NewGetRepoOK ¶
func NewGetRepoOK() *GetRepoOK
NewGetRepoOK creates a GetRepoOK with default headers values
func (*GetRepoOK) GetPayload ¶
func (o *GetRepoOK) GetPayload() garm_params.Repository
func (*GetRepoOK) IsClientError ¶
IsClientError returns true when this get repo o k response has a 4xx status code
func (*GetRepoOK) IsCode ¶
IsCode returns true when this get repo o k response a status code equal to that given
func (*GetRepoOK) IsRedirect ¶
IsRedirect returns true when this get repo o k response has a 3xx status code
func (*GetRepoOK) IsServerError ¶
IsServerError returns true when this get repo o k response has a 5xx status code
type GetRepoParams ¶
type GetRepoParams struct { /* RepoID. ID of the repository to fetch. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepoParams contains all the parameters to send to the API endpoint
for the get repo operation. Typically these are written to a http.Request.
func NewGetRepoParams ¶
func NewGetRepoParams() *GetRepoParams
NewGetRepoParams creates a new GetRepoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRepoParamsWithContext ¶
func NewGetRepoParamsWithContext(ctx context.Context) *GetRepoParams
NewGetRepoParamsWithContext creates a new GetRepoParams object with the ability to set a context for a request.
func NewGetRepoParamsWithHTTPClient ¶
func NewGetRepoParamsWithHTTPClient(client *http.Client) *GetRepoParams
NewGetRepoParamsWithHTTPClient creates a new GetRepoParams object with the ability to set a custom HTTPClient for a request.
func NewGetRepoParamsWithTimeout ¶
func NewGetRepoParamsWithTimeout(timeout time.Duration) *GetRepoParams
NewGetRepoParamsWithTimeout creates a new GetRepoParams object with the ability to set a timeout on a request.
func (*GetRepoParams) SetContext ¶
func (o *GetRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the get repo params
func (*GetRepoParams) SetDefaults ¶
func (o *GetRepoParams) SetDefaults()
SetDefaults hydrates default values in the get repo params (not the query body).
All values with no default are reset to their zero value.
func (*GetRepoParams) SetHTTPClient ¶
func (o *GetRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repo params
func (*GetRepoParams) SetRepoID ¶
func (o *GetRepoParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the get repo params
func (*GetRepoParams) SetTimeout ¶
func (o *GetRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repo params
func (*GetRepoParams) WithContext ¶
func (o *GetRepoParams) WithContext(ctx context.Context) *GetRepoParams
WithContext adds the context to the get repo params
func (*GetRepoParams) WithDefaults ¶
func (o *GetRepoParams) WithDefaults() *GetRepoParams
WithDefaults hydrates default values in the get repo params (not the query body).
All values with no default are reset to their zero value.
func (*GetRepoParams) WithHTTPClient ¶
func (o *GetRepoParams) WithHTTPClient(client *http.Client) *GetRepoParams
WithHTTPClient adds the HTTPClient to the get repo params
func (*GetRepoParams) WithRepoID ¶
func (o *GetRepoParams) WithRepoID(repoID string) *GetRepoParams
WithRepoID adds the repoID to the get repo params
func (*GetRepoParams) WithTimeout ¶
func (o *GetRepoParams) WithTimeout(timeout time.Duration) *GetRepoParams
WithTimeout adds the timeout to the get repo params
func (*GetRepoParams) WriteToRequest ¶
func (o *GetRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepoPoolDefault ¶
type GetRepoPoolDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
GetRepoPoolDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewGetRepoPoolDefault ¶
func NewGetRepoPoolDefault(code int) *GetRepoPoolDefault
NewGetRepoPoolDefault creates a GetRepoPoolDefault with default headers values
func (*GetRepoPoolDefault) Code ¶
func (o *GetRepoPoolDefault) Code() int
Code gets the status code for the get repo pool default response
func (*GetRepoPoolDefault) Error ¶
func (o *GetRepoPoolDefault) Error() string
func (*GetRepoPoolDefault) GetPayload ¶
func (o *GetRepoPoolDefault) GetPayload() apiserver_params.APIErrorResponse
func (*GetRepoPoolDefault) IsClientError ¶
func (o *GetRepoPoolDefault) IsClientError() bool
IsClientError returns true when this get repo pool default response has a 4xx status code
func (*GetRepoPoolDefault) IsCode ¶
func (o *GetRepoPoolDefault) IsCode(code int) bool
IsCode returns true when this get repo pool default response a status code equal to that given
func (*GetRepoPoolDefault) IsRedirect ¶
func (o *GetRepoPoolDefault) IsRedirect() bool
IsRedirect returns true when this get repo pool default response has a 3xx status code
func (*GetRepoPoolDefault) IsServerError ¶
func (o *GetRepoPoolDefault) IsServerError() bool
IsServerError returns true when this get repo pool default response has a 5xx status code
func (*GetRepoPoolDefault) IsSuccess ¶
func (o *GetRepoPoolDefault) IsSuccess() bool
IsSuccess returns true when this get repo pool default response has a 2xx status code
func (*GetRepoPoolDefault) String ¶
func (o *GetRepoPoolDefault) String() string
type GetRepoPoolOK ¶
type GetRepoPoolOK struct {
Payload garm_params.Pool
}
GetRepoPoolOK describes a response with status code 200, with default header values.
Pool
func NewGetRepoPoolOK ¶
func NewGetRepoPoolOK() *GetRepoPoolOK
NewGetRepoPoolOK creates a GetRepoPoolOK with default headers values
func (*GetRepoPoolOK) Code ¶
func (o *GetRepoPoolOK) Code() int
Code gets the status code for the get repo pool o k response
func (*GetRepoPoolOK) Error ¶
func (o *GetRepoPoolOK) Error() string
func (*GetRepoPoolOK) GetPayload ¶
func (o *GetRepoPoolOK) GetPayload() garm_params.Pool
func (*GetRepoPoolOK) IsClientError ¶
func (o *GetRepoPoolOK) IsClientError() bool
IsClientError returns true when this get repo pool o k response has a 4xx status code
func (*GetRepoPoolOK) IsCode ¶
func (o *GetRepoPoolOK) IsCode(code int) bool
IsCode returns true when this get repo pool o k response a status code equal to that given
func (*GetRepoPoolOK) IsRedirect ¶
func (o *GetRepoPoolOK) IsRedirect() bool
IsRedirect returns true when this get repo pool o k response has a 3xx status code
func (*GetRepoPoolOK) IsServerError ¶
func (o *GetRepoPoolOK) IsServerError() bool
IsServerError returns true when this get repo pool o k response has a 5xx status code
func (*GetRepoPoolOK) IsSuccess ¶
func (o *GetRepoPoolOK) IsSuccess() bool
IsSuccess returns true when this get repo pool o k response has a 2xx status code
func (*GetRepoPoolOK) String ¶
func (o *GetRepoPoolOK) String() string
type GetRepoPoolParams ¶
type GetRepoPoolParams struct { /* PoolID. Pool ID. */ PoolID string /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepoPoolParams contains all the parameters to send to the API endpoint
for the get repo pool operation. Typically these are written to a http.Request.
func NewGetRepoPoolParams ¶
func NewGetRepoPoolParams() *GetRepoPoolParams
NewGetRepoPoolParams creates a new GetRepoPoolParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRepoPoolParamsWithContext ¶
func NewGetRepoPoolParamsWithContext(ctx context.Context) *GetRepoPoolParams
NewGetRepoPoolParamsWithContext creates a new GetRepoPoolParams object with the ability to set a context for a request.
func NewGetRepoPoolParamsWithHTTPClient ¶
func NewGetRepoPoolParamsWithHTTPClient(client *http.Client) *GetRepoPoolParams
NewGetRepoPoolParamsWithHTTPClient creates a new GetRepoPoolParams object with the ability to set a custom HTTPClient for a request.
func NewGetRepoPoolParamsWithTimeout ¶
func NewGetRepoPoolParamsWithTimeout(timeout time.Duration) *GetRepoPoolParams
NewGetRepoPoolParamsWithTimeout creates a new GetRepoPoolParams object with the ability to set a timeout on a request.
func (*GetRepoPoolParams) SetContext ¶
func (o *GetRepoPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the get repo pool params
func (*GetRepoPoolParams) SetDefaults ¶
func (o *GetRepoPoolParams) SetDefaults()
SetDefaults hydrates default values in the get repo pool params (not the query body).
All values with no default are reset to their zero value.
func (*GetRepoPoolParams) SetHTTPClient ¶
func (o *GetRepoPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repo pool params
func (*GetRepoPoolParams) SetPoolID ¶
func (o *GetRepoPoolParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the get repo pool params
func (*GetRepoPoolParams) SetRepoID ¶
func (o *GetRepoPoolParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the get repo pool params
func (*GetRepoPoolParams) SetTimeout ¶
func (o *GetRepoPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repo pool params
func (*GetRepoPoolParams) WithContext ¶
func (o *GetRepoPoolParams) WithContext(ctx context.Context) *GetRepoPoolParams
WithContext adds the context to the get repo pool params
func (*GetRepoPoolParams) WithDefaults ¶
func (o *GetRepoPoolParams) WithDefaults() *GetRepoPoolParams
WithDefaults hydrates default values in the get repo pool params (not the query body).
All values with no default are reset to their zero value.
func (*GetRepoPoolParams) WithHTTPClient ¶
func (o *GetRepoPoolParams) WithHTTPClient(client *http.Client) *GetRepoPoolParams
WithHTTPClient adds the HTTPClient to the get repo pool params
func (*GetRepoPoolParams) WithPoolID ¶
func (o *GetRepoPoolParams) WithPoolID(poolID string) *GetRepoPoolParams
WithPoolID adds the poolID to the get repo pool params
func (*GetRepoPoolParams) WithRepoID ¶
func (o *GetRepoPoolParams) WithRepoID(repoID string) *GetRepoPoolParams
WithRepoID adds the repoID to the get repo pool params
func (*GetRepoPoolParams) WithTimeout ¶
func (o *GetRepoPoolParams) WithTimeout(timeout time.Duration) *GetRepoPoolParams
WithTimeout adds the timeout to the get repo pool params
func (*GetRepoPoolParams) WriteToRequest ¶
func (o *GetRepoPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepoPoolReader ¶
type GetRepoPoolReader struct {
// contains filtered or unexported fields
}
GetRepoPoolReader is a Reader for the GetRepoPool structure.
func (*GetRepoPoolReader) ReadResponse ¶
func (o *GetRepoPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepoReader ¶
type GetRepoReader struct {
// contains filtered or unexported fields
}
GetRepoReader is a Reader for the GetRepo structure.
func (*GetRepoReader) ReadResponse ¶
func (o *GetRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepoWebhookInfoDefault ¶ added in v0.1.4
type GetRepoWebhookInfoDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
GetRepoWebhookInfoDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewGetRepoWebhookInfoDefault ¶ added in v0.1.4
func NewGetRepoWebhookInfoDefault(code int) *GetRepoWebhookInfoDefault
NewGetRepoWebhookInfoDefault creates a GetRepoWebhookInfoDefault with default headers values
func (*GetRepoWebhookInfoDefault) Code ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) Code() int
Code gets the status code for the get repo webhook info default response
func (*GetRepoWebhookInfoDefault) Error ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) Error() string
func (*GetRepoWebhookInfoDefault) GetPayload ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) GetPayload() apiserver_params.APIErrorResponse
func (*GetRepoWebhookInfoDefault) IsClientError ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) IsClientError() bool
IsClientError returns true when this get repo webhook info default response has a 4xx status code
func (*GetRepoWebhookInfoDefault) IsCode ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) IsCode(code int) bool
IsCode returns true when this get repo webhook info default response a status code equal to that given
func (*GetRepoWebhookInfoDefault) IsRedirect ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) IsRedirect() bool
IsRedirect returns true when this get repo webhook info default response has a 3xx status code
func (*GetRepoWebhookInfoDefault) IsServerError ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) IsServerError() bool
IsServerError returns true when this get repo webhook info default response has a 5xx status code
func (*GetRepoWebhookInfoDefault) IsSuccess ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) IsSuccess() bool
IsSuccess returns true when this get repo webhook info default response has a 2xx status code
func (*GetRepoWebhookInfoDefault) String ¶ added in v0.1.4
func (o *GetRepoWebhookInfoDefault) String() string
type GetRepoWebhookInfoOK ¶ added in v0.1.4
type GetRepoWebhookInfoOK struct {
Payload garm_params.HookInfo
}
GetRepoWebhookInfoOK describes a response with status code 200, with default header values.
HookInfo
func NewGetRepoWebhookInfoOK ¶ added in v0.1.4
func NewGetRepoWebhookInfoOK() *GetRepoWebhookInfoOK
NewGetRepoWebhookInfoOK creates a GetRepoWebhookInfoOK with default headers values
func (*GetRepoWebhookInfoOK) Code ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) Code() int
Code gets the status code for the get repo webhook info o k response
func (*GetRepoWebhookInfoOK) Error ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) Error() string
func (*GetRepoWebhookInfoOK) GetPayload ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) GetPayload() garm_params.HookInfo
func (*GetRepoWebhookInfoOK) IsClientError ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) IsClientError() bool
IsClientError returns true when this get repo webhook info o k response has a 4xx status code
func (*GetRepoWebhookInfoOK) IsCode ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) IsCode(code int) bool
IsCode returns true when this get repo webhook info o k response a status code equal to that given
func (*GetRepoWebhookInfoOK) IsRedirect ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) IsRedirect() bool
IsRedirect returns true when this get repo webhook info o k response has a 3xx status code
func (*GetRepoWebhookInfoOK) IsServerError ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) IsServerError() bool
IsServerError returns true when this get repo webhook info o k response has a 5xx status code
func (*GetRepoWebhookInfoOK) IsSuccess ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) IsSuccess() bool
IsSuccess returns true when this get repo webhook info o k response has a 2xx status code
func (*GetRepoWebhookInfoOK) String ¶ added in v0.1.4
func (o *GetRepoWebhookInfoOK) String() string
type GetRepoWebhookInfoParams ¶ added in v0.1.4
type GetRepoWebhookInfoParams struct { /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepoWebhookInfoParams contains all the parameters to send to the API endpoint
for the get repo webhook info operation. Typically these are written to a http.Request.
func NewGetRepoWebhookInfoParams ¶ added in v0.1.4
func NewGetRepoWebhookInfoParams() *GetRepoWebhookInfoParams
NewGetRepoWebhookInfoParams creates a new GetRepoWebhookInfoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRepoWebhookInfoParamsWithContext ¶ added in v0.1.4
func NewGetRepoWebhookInfoParamsWithContext(ctx context.Context) *GetRepoWebhookInfoParams
NewGetRepoWebhookInfoParamsWithContext creates a new GetRepoWebhookInfoParams object with the ability to set a context for a request.
func NewGetRepoWebhookInfoParamsWithHTTPClient ¶ added in v0.1.4
func NewGetRepoWebhookInfoParamsWithHTTPClient(client *http.Client) *GetRepoWebhookInfoParams
NewGetRepoWebhookInfoParamsWithHTTPClient creates a new GetRepoWebhookInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetRepoWebhookInfoParamsWithTimeout ¶ added in v0.1.4
func NewGetRepoWebhookInfoParamsWithTimeout(timeout time.Duration) *GetRepoWebhookInfoParams
NewGetRepoWebhookInfoParamsWithTimeout creates a new GetRepoWebhookInfoParams object with the ability to set a timeout on a request.
func (*GetRepoWebhookInfoParams) SetContext ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get repo webhook info params
func (*GetRepoWebhookInfoParams) SetDefaults ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) SetDefaults()
SetDefaults hydrates default values in the get repo webhook info params (not the query body).
All values with no default are reset to their zero value.
func (*GetRepoWebhookInfoParams) SetHTTPClient ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repo webhook info params
func (*GetRepoWebhookInfoParams) SetRepoID ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the get repo webhook info params
func (*GetRepoWebhookInfoParams) SetTimeout ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repo webhook info params
func (*GetRepoWebhookInfoParams) WithContext ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) WithContext(ctx context.Context) *GetRepoWebhookInfoParams
WithContext adds the context to the get repo webhook info params
func (*GetRepoWebhookInfoParams) WithDefaults ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) WithDefaults() *GetRepoWebhookInfoParams
WithDefaults hydrates default values in the get repo webhook info params (not the query body).
All values with no default are reset to their zero value.
func (*GetRepoWebhookInfoParams) WithHTTPClient ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) WithHTTPClient(client *http.Client) *GetRepoWebhookInfoParams
WithHTTPClient adds the HTTPClient to the get repo webhook info params
func (*GetRepoWebhookInfoParams) WithRepoID ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) WithRepoID(repoID string) *GetRepoWebhookInfoParams
WithRepoID adds the repoID to the get repo webhook info params
func (*GetRepoWebhookInfoParams) WithTimeout ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) WithTimeout(timeout time.Duration) *GetRepoWebhookInfoParams
WithTimeout adds the timeout to the get repo webhook info params
func (*GetRepoWebhookInfoParams) WriteToRequest ¶ added in v0.1.4
func (o *GetRepoWebhookInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepoWebhookInfoReader ¶ added in v0.1.4
type GetRepoWebhookInfoReader struct {
// contains filtered or unexported fields
}
GetRepoWebhookInfoReader is a Reader for the GetRepoWebhookInfo structure.
func (*GetRepoWebhookInfoReader) ReadResponse ¶ added in v0.1.4
func (o *GetRepoWebhookInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InstallRepoWebhookDefault ¶ added in v0.1.4
type InstallRepoWebhookDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
InstallRepoWebhookDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewInstallRepoWebhookDefault ¶ added in v0.1.4
func NewInstallRepoWebhookDefault(code int) *InstallRepoWebhookDefault
NewInstallRepoWebhookDefault creates a InstallRepoWebhookDefault with default headers values
func (*InstallRepoWebhookDefault) Code ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) Code() int
Code gets the status code for the install repo webhook default response
func (*InstallRepoWebhookDefault) Error ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) Error() string
func (*InstallRepoWebhookDefault) GetPayload ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) GetPayload() apiserver_params.APIErrorResponse
func (*InstallRepoWebhookDefault) IsClientError ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) IsClientError() bool
IsClientError returns true when this install repo webhook default response has a 4xx status code
func (*InstallRepoWebhookDefault) IsCode ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) IsCode(code int) bool
IsCode returns true when this install repo webhook default response a status code equal to that given
func (*InstallRepoWebhookDefault) IsRedirect ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) IsRedirect() bool
IsRedirect returns true when this install repo webhook default response has a 3xx status code
func (*InstallRepoWebhookDefault) IsServerError ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) IsServerError() bool
IsServerError returns true when this install repo webhook default response has a 5xx status code
func (*InstallRepoWebhookDefault) IsSuccess ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) IsSuccess() bool
IsSuccess returns true when this install repo webhook default response has a 2xx status code
func (*InstallRepoWebhookDefault) String ¶ added in v0.1.4
func (o *InstallRepoWebhookDefault) String() string
type InstallRepoWebhookOK ¶ added in v0.1.4
type InstallRepoWebhookOK struct {
Payload garm_params.HookInfo
}
InstallRepoWebhookOK describes a response with status code 200, with default header values.
HookInfo
func NewInstallRepoWebhookOK ¶ added in v0.1.4
func NewInstallRepoWebhookOK() *InstallRepoWebhookOK
NewInstallRepoWebhookOK creates a InstallRepoWebhookOK with default headers values
func (*InstallRepoWebhookOK) Code ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) Code() int
Code gets the status code for the install repo webhook o k response
func (*InstallRepoWebhookOK) Error ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) Error() string
func (*InstallRepoWebhookOK) GetPayload ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) GetPayload() garm_params.HookInfo
func (*InstallRepoWebhookOK) IsClientError ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) IsClientError() bool
IsClientError returns true when this install repo webhook o k response has a 4xx status code
func (*InstallRepoWebhookOK) IsCode ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) IsCode(code int) bool
IsCode returns true when this install repo webhook o k response a status code equal to that given
func (*InstallRepoWebhookOK) IsRedirect ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) IsRedirect() bool
IsRedirect returns true when this install repo webhook o k response has a 3xx status code
func (*InstallRepoWebhookOK) IsServerError ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) IsServerError() bool
IsServerError returns true when this install repo webhook o k response has a 5xx status code
func (*InstallRepoWebhookOK) IsSuccess ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) IsSuccess() bool
IsSuccess returns true when this install repo webhook o k response has a 2xx status code
func (*InstallRepoWebhookOK) String ¶ added in v0.1.4
func (o *InstallRepoWebhookOK) String() string
type InstallRepoWebhookParams ¶ added in v0.1.4
type InstallRepoWebhookParams struct { /* Body. Parameters used when creating the repository webhook. */ Body garm_params.InstallWebhookParams /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InstallRepoWebhookParams contains all the parameters to send to the API endpoint
for the install repo webhook operation. Typically these are written to a http.Request.
func NewInstallRepoWebhookParams ¶ added in v0.1.4
func NewInstallRepoWebhookParams() *InstallRepoWebhookParams
NewInstallRepoWebhookParams creates a new InstallRepoWebhookParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInstallRepoWebhookParamsWithContext ¶ added in v0.1.4
func NewInstallRepoWebhookParamsWithContext(ctx context.Context) *InstallRepoWebhookParams
NewInstallRepoWebhookParamsWithContext creates a new InstallRepoWebhookParams object with the ability to set a context for a request.
func NewInstallRepoWebhookParamsWithHTTPClient ¶ added in v0.1.4
func NewInstallRepoWebhookParamsWithHTTPClient(client *http.Client) *InstallRepoWebhookParams
NewInstallRepoWebhookParamsWithHTTPClient creates a new InstallRepoWebhookParams object with the ability to set a custom HTTPClient for a request.
func NewInstallRepoWebhookParamsWithTimeout ¶ added in v0.1.4
func NewInstallRepoWebhookParamsWithTimeout(timeout time.Duration) *InstallRepoWebhookParams
NewInstallRepoWebhookParamsWithTimeout creates a new InstallRepoWebhookParams object with the ability to set a timeout on a request.
func (*InstallRepoWebhookParams) SetBody ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) SetBody(body garm_params.InstallWebhookParams)
SetBody adds the body to the install repo webhook params
func (*InstallRepoWebhookParams) SetContext ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) SetContext(ctx context.Context)
SetContext adds the context to the install repo webhook params
func (*InstallRepoWebhookParams) SetDefaults ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) SetDefaults()
SetDefaults hydrates default values in the install repo webhook params (not the query body).
All values with no default are reset to their zero value.
func (*InstallRepoWebhookParams) SetHTTPClient ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the install repo webhook params
func (*InstallRepoWebhookParams) SetRepoID ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the install repo webhook params
func (*InstallRepoWebhookParams) SetTimeout ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the install repo webhook params
func (*InstallRepoWebhookParams) WithBody ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) WithBody(body garm_params.InstallWebhookParams) *InstallRepoWebhookParams
WithBody adds the body to the install repo webhook params
func (*InstallRepoWebhookParams) WithContext ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) WithContext(ctx context.Context) *InstallRepoWebhookParams
WithContext adds the context to the install repo webhook params
func (*InstallRepoWebhookParams) WithDefaults ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) WithDefaults() *InstallRepoWebhookParams
WithDefaults hydrates default values in the install repo webhook params (not the query body).
All values with no default are reset to their zero value.
func (*InstallRepoWebhookParams) WithHTTPClient ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) WithHTTPClient(client *http.Client) *InstallRepoWebhookParams
WithHTTPClient adds the HTTPClient to the install repo webhook params
func (*InstallRepoWebhookParams) WithRepoID ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) WithRepoID(repoID string) *InstallRepoWebhookParams
WithRepoID adds the repoID to the install repo webhook params
func (*InstallRepoWebhookParams) WithTimeout ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) WithTimeout(timeout time.Duration) *InstallRepoWebhookParams
WithTimeout adds the timeout to the install repo webhook params
func (*InstallRepoWebhookParams) WriteToRequest ¶ added in v0.1.4
func (o *InstallRepoWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InstallRepoWebhookReader ¶ added in v0.1.4
type InstallRepoWebhookReader struct {
// contains filtered or unexported fields
}
InstallRepoWebhookReader is a Reader for the InstallRepoWebhook structure.
func (*InstallRepoWebhookReader) ReadResponse ¶ added in v0.1.4
func (o *InstallRepoWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRepoInstancesDefault ¶
type ListRepoInstancesDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
ListRepoInstancesDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewListRepoInstancesDefault ¶
func NewListRepoInstancesDefault(code int) *ListRepoInstancesDefault
NewListRepoInstancesDefault creates a ListRepoInstancesDefault with default headers values
func (*ListRepoInstancesDefault) Code ¶
func (o *ListRepoInstancesDefault) Code() int
Code gets the status code for the list repo instances default response
func (*ListRepoInstancesDefault) Error ¶
func (o *ListRepoInstancesDefault) Error() string
func (*ListRepoInstancesDefault) GetPayload ¶
func (o *ListRepoInstancesDefault) GetPayload() apiserver_params.APIErrorResponse
func (*ListRepoInstancesDefault) IsClientError ¶
func (o *ListRepoInstancesDefault) IsClientError() bool
IsClientError returns true when this list repo instances default response has a 4xx status code
func (*ListRepoInstancesDefault) IsCode ¶
func (o *ListRepoInstancesDefault) IsCode(code int) bool
IsCode returns true when this list repo instances default response a status code equal to that given
func (*ListRepoInstancesDefault) IsRedirect ¶
func (o *ListRepoInstancesDefault) IsRedirect() bool
IsRedirect returns true when this list repo instances default response has a 3xx status code
func (*ListRepoInstancesDefault) IsServerError ¶
func (o *ListRepoInstancesDefault) IsServerError() bool
IsServerError returns true when this list repo instances default response has a 5xx status code
func (*ListRepoInstancesDefault) IsSuccess ¶
func (o *ListRepoInstancesDefault) IsSuccess() bool
IsSuccess returns true when this list repo instances default response has a 2xx status code
func (*ListRepoInstancesDefault) String ¶
func (o *ListRepoInstancesDefault) String() string
type ListRepoInstancesOK ¶
type ListRepoInstancesOK struct {
Payload garm_params.Instances
}
ListRepoInstancesOK describes a response with status code 200, with default header values.
Instances
func NewListRepoInstancesOK ¶
func NewListRepoInstancesOK() *ListRepoInstancesOK
NewListRepoInstancesOK creates a ListRepoInstancesOK with default headers values
func (*ListRepoInstancesOK) Code ¶
func (o *ListRepoInstancesOK) Code() int
Code gets the status code for the list repo instances o k response
func (*ListRepoInstancesOK) Error ¶
func (o *ListRepoInstancesOK) Error() string
func (*ListRepoInstancesOK) GetPayload ¶
func (o *ListRepoInstancesOK) GetPayload() garm_params.Instances
func (*ListRepoInstancesOK) IsClientError ¶
func (o *ListRepoInstancesOK) IsClientError() bool
IsClientError returns true when this list repo instances o k response has a 4xx status code
func (*ListRepoInstancesOK) IsCode ¶
func (o *ListRepoInstancesOK) IsCode(code int) bool
IsCode returns true when this list repo instances o k response a status code equal to that given
func (*ListRepoInstancesOK) IsRedirect ¶
func (o *ListRepoInstancesOK) IsRedirect() bool
IsRedirect returns true when this list repo instances o k response has a 3xx status code
func (*ListRepoInstancesOK) IsServerError ¶
func (o *ListRepoInstancesOK) IsServerError() bool
IsServerError returns true when this list repo instances o k response has a 5xx status code
func (*ListRepoInstancesOK) IsSuccess ¶
func (o *ListRepoInstancesOK) IsSuccess() bool
IsSuccess returns true when this list repo instances o k response has a 2xx status code
func (*ListRepoInstancesOK) String ¶
func (o *ListRepoInstancesOK) String() string
type ListRepoInstancesParams ¶
type ListRepoInstancesParams struct { /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRepoInstancesParams contains all the parameters to send to the API endpoint
for the list repo instances operation. Typically these are written to a http.Request.
func NewListRepoInstancesParams ¶
func NewListRepoInstancesParams() *ListRepoInstancesParams
NewListRepoInstancesParams creates a new ListRepoInstancesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListRepoInstancesParamsWithContext ¶
func NewListRepoInstancesParamsWithContext(ctx context.Context) *ListRepoInstancesParams
NewListRepoInstancesParamsWithContext creates a new ListRepoInstancesParams object with the ability to set a context for a request.
func NewListRepoInstancesParamsWithHTTPClient ¶
func NewListRepoInstancesParamsWithHTTPClient(client *http.Client) *ListRepoInstancesParams
NewListRepoInstancesParamsWithHTTPClient creates a new ListRepoInstancesParams object with the ability to set a custom HTTPClient for a request.
func NewListRepoInstancesParamsWithTimeout ¶
func NewListRepoInstancesParamsWithTimeout(timeout time.Duration) *ListRepoInstancesParams
NewListRepoInstancesParamsWithTimeout creates a new ListRepoInstancesParams object with the ability to set a timeout on a request.
func (*ListRepoInstancesParams) SetContext ¶
func (o *ListRepoInstancesParams) SetContext(ctx context.Context)
SetContext adds the context to the list repo instances params
func (*ListRepoInstancesParams) SetDefaults ¶
func (o *ListRepoInstancesParams) SetDefaults()
SetDefaults hydrates default values in the list repo instances params (not the query body).
All values with no default are reset to their zero value.
func (*ListRepoInstancesParams) SetHTTPClient ¶
func (o *ListRepoInstancesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list repo instances params
func (*ListRepoInstancesParams) SetRepoID ¶
func (o *ListRepoInstancesParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the list repo instances params
func (*ListRepoInstancesParams) SetTimeout ¶
func (o *ListRepoInstancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list repo instances params
func (*ListRepoInstancesParams) WithContext ¶
func (o *ListRepoInstancesParams) WithContext(ctx context.Context) *ListRepoInstancesParams
WithContext adds the context to the list repo instances params
func (*ListRepoInstancesParams) WithDefaults ¶
func (o *ListRepoInstancesParams) WithDefaults() *ListRepoInstancesParams
WithDefaults hydrates default values in the list repo instances params (not the query body).
All values with no default are reset to their zero value.
func (*ListRepoInstancesParams) WithHTTPClient ¶
func (o *ListRepoInstancesParams) WithHTTPClient(client *http.Client) *ListRepoInstancesParams
WithHTTPClient adds the HTTPClient to the list repo instances params
func (*ListRepoInstancesParams) WithRepoID ¶
func (o *ListRepoInstancesParams) WithRepoID(repoID string) *ListRepoInstancesParams
WithRepoID adds the repoID to the list repo instances params
func (*ListRepoInstancesParams) WithTimeout ¶
func (o *ListRepoInstancesParams) WithTimeout(timeout time.Duration) *ListRepoInstancesParams
WithTimeout adds the timeout to the list repo instances params
func (*ListRepoInstancesParams) WriteToRequest ¶
func (o *ListRepoInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRepoInstancesReader ¶
type ListRepoInstancesReader struct {
// contains filtered or unexported fields
}
ListRepoInstancesReader is a Reader for the ListRepoInstances structure.
func (*ListRepoInstancesReader) ReadResponse ¶
func (o *ListRepoInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRepoPoolsDefault ¶
type ListRepoPoolsDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
ListRepoPoolsDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewListRepoPoolsDefault ¶
func NewListRepoPoolsDefault(code int) *ListRepoPoolsDefault
NewListRepoPoolsDefault creates a ListRepoPoolsDefault with default headers values
func (*ListRepoPoolsDefault) Code ¶
func (o *ListRepoPoolsDefault) Code() int
Code gets the status code for the list repo pools default response
func (*ListRepoPoolsDefault) Error ¶
func (o *ListRepoPoolsDefault) Error() string
func (*ListRepoPoolsDefault) GetPayload ¶
func (o *ListRepoPoolsDefault) GetPayload() apiserver_params.APIErrorResponse
func (*ListRepoPoolsDefault) IsClientError ¶
func (o *ListRepoPoolsDefault) IsClientError() bool
IsClientError returns true when this list repo pools default response has a 4xx status code
func (*ListRepoPoolsDefault) IsCode ¶
func (o *ListRepoPoolsDefault) IsCode(code int) bool
IsCode returns true when this list repo pools default response a status code equal to that given
func (*ListRepoPoolsDefault) IsRedirect ¶
func (o *ListRepoPoolsDefault) IsRedirect() bool
IsRedirect returns true when this list repo pools default response has a 3xx status code
func (*ListRepoPoolsDefault) IsServerError ¶
func (o *ListRepoPoolsDefault) IsServerError() bool
IsServerError returns true when this list repo pools default response has a 5xx status code
func (*ListRepoPoolsDefault) IsSuccess ¶
func (o *ListRepoPoolsDefault) IsSuccess() bool
IsSuccess returns true when this list repo pools default response has a 2xx status code
func (*ListRepoPoolsDefault) String ¶
func (o *ListRepoPoolsDefault) String() string
type ListRepoPoolsOK ¶
type ListRepoPoolsOK struct {
Payload garm_params.Pools
}
ListRepoPoolsOK describes a response with status code 200, with default header values.
Pools
func NewListRepoPoolsOK ¶
func NewListRepoPoolsOK() *ListRepoPoolsOK
NewListRepoPoolsOK creates a ListRepoPoolsOK with default headers values
func (*ListRepoPoolsOK) Code ¶
func (o *ListRepoPoolsOK) Code() int
Code gets the status code for the list repo pools o k response
func (*ListRepoPoolsOK) Error ¶
func (o *ListRepoPoolsOK) Error() string
func (*ListRepoPoolsOK) GetPayload ¶
func (o *ListRepoPoolsOK) GetPayload() garm_params.Pools
func (*ListRepoPoolsOK) IsClientError ¶
func (o *ListRepoPoolsOK) IsClientError() bool
IsClientError returns true when this list repo pools o k response has a 4xx status code
func (*ListRepoPoolsOK) IsCode ¶
func (o *ListRepoPoolsOK) IsCode(code int) bool
IsCode returns true when this list repo pools o k response a status code equal to that given
func (*ListRepoPoolsOK) IsRedirect ¶
func (o *ListRepoPoolsOK) IsRedirect() bool
IsRedirect returns true when this list repo pools o k response has a 3xx status code
func (*ListRepoPoolsOK) IsServerError ¶
func (o *ListRepoPoolsOK) IsServerError() bool
IsServerError returns true when this list repo pools o k response has a 5xx status code
func (*ListRepoPoolsOK) IsSuccess ¶
func (o *ListRepoPoolsOK) IsSuccess() bool
IsSuccess returns true when this list repo pools o k response has a 2xx status code
func (*ListRepoPoolsOK) String ¶
func (o *ListRepoPoolsOK) String() string
type ListRepoPoolsParams ¶
type ListRepoPoolsParams struct { /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRepoPoolsParams contains all the parameters to send to the API endpoint
for the list repo pools operation. Typically these are written to a http.Request.
func NewListRepoPoolsParams ¶
func NewListRepoPoolsParams() *ListRepoPoolsParams
NewListRepoPoolsParams creates a new ListRepoPoolsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListRepoPoolsParamsWithContext ¶
func NewListRepoPoolsParamsWithContext(ctx context.Context) *ListRepoPoolsParams
NewListRepoPoolsParamsWithContext creates a new ListRepoPoolsParams object with the ability to set a context for a request.
func NewListRepoPoolsParamsWithHTTPClient ¶
func NewListRepoPoolsParamsWithHTTPClient(client *http.Client) *ListRepoPoolsParams
NewListRepoPoolsParamsWithHTTPClient creates a new ListRepoPoolsParams object with the ability to set a custom HTTPClient for a request.
func NewListRepoPoolsParamsWithTimeout ¶
func NewListRepoPoolsParamsWithTimeout(timeout time.Duration) *ListRepoPoolsParams
NewListRepoPoolsParamsWithTimeout creates a new ListRepoPoolsParams object with the ability to set a timeout on a request.
func (*ListRepoPoolsParams) SetContext ¶
func (o *ListRepoPoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the list repo pools params
func (*ListRepoPoolsParams) SetDefaults ¶
func (o *ListRepoPoolsParams) SetDefaults()
SetDefaults hydrates default values in the list repo pools params (not the query body).
All values with no default are reset to their zero value.
func (*ListRepoPoolsParams) SetHTTPClient ¶
func (o *ListRepoPoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list repo pools params
func (*ListRepoPoolsParams) SetRepoID ¶
func (o *ListRepoPoolsParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the list repo pools params
func (*ListRepoPoolsParams) SetTimeout ¶
func (o *ListRepoPoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list repo pools params
func (*ListRepoPoolsParams) WithContext ¶
func (o *ListRepoPoolsParams) WithContext(ctx context.Context) *ListRepoPoolsParams
WithContext adds the context to the list repo pools params
func (*ListRepoPoolsParams) WithDefaults ¶
func (o *ListRepoPoolsParams) WithDefaults() *ListRepoPoolsParams
WithDefaults hydrates default values in the list repo pools params (not the query body).
All values with no default are reset to their zero value.
func (*ListRepoPoolsParams) WithHTTPClient ¶
func (o *ListRepoPoolsParams) WithHTTPClient(client *http.Client) *ListRepoPoolsParams
WithHTTPClient adds the HTTPClient to the list repo pools params
func (*ListRepoPoolsParams) WithRepoID ¶
func (o *ListRepoPoolsParams) WithRepoID(repoID string) *ListRepoPoolsParams
WithRepoID adds the repoID to the list repo pools params
func (*ListRepoPoolsParams) WithTimeout ¶
func (o *ListRepoPoolsParams) WithTimeout(timeout time.Duration) *ListRepoPoolsParams
WithTimeout adds the timeout to the list repo pools params
func (*ListRepoPoolsParams) WriteToRequest ¶
func (o *ListRepoPoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRepoPoolsReader ¶
type ListRepoPoolsReader struct {
// contains filtered or unexported fields
}
ListRepoPoolsReader is a Reader for the ListRepoPools structure.
func (*ListRepoPoolsReader) ReadResponse ¶
func (o *ListRepoPoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListReposDefault ¶
type ListReposDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
ListReposDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewListReposDefault ¶
func NewListReposDefault(code int) *ListReposDefault
NewListReposDefault creates a ListReposDefault with default headers values
func (*ListReposDefault) Code ¶
func (o *ListReposDefault) Code() int
Code gets the status code for the list repos default response
func (*ListReposDefault) Error ¶
func (o *ListReposDefault) Error() string
func (*ListReposDefault) GetPayload ¶
func (o *ListReposDefault) GetPayload() apiserver_params.APIErrorResponse
func (*ListReposDefault) IsClientError ¶
func (o *ListReposDefault) IsClientError() bool
IsClientError returns true when this list repos default response has a 4xx status code
func (*ListReposDefault) IsCode ¶
func (o *ListReposDefault) IsCode(code int) bool
IsCode returns true when this list repos default response a status code equal to that given
func (*ListReposDefault) IsRedirect ¶
func (o *ListReposDefault) IsRedirect() bool
IsRedirect returns true when this list repos default response has a 3xx status code
func (*ListReposDefault) IsServerError ¶
func (o *ListReposDefault) IsServerError() bool
IsServerError returns true when this list repos default response has a 5xx status code
func (*ListReposDefault) IsSuccess ¶
func (o *ListReposDefault) IsSuccess() bool
IsSuccess returns true when this list repos default response has a 2xx status code
func (*ListReposDefault) String ¶
func (o *ListReposDefault) String() string
type ListReposOK ¶
type ListReposOK struct {
Payload garm_params.Repositories
}
ListReposOK describes a response with status code 200, with default header values.
Repositories
func NewListReposOK ¶
func NewListReposOK() *ListReposOK
NewListReposOK creates a ListReposOK with default headers values
func (*ListReposOK) Code ¶
func (o *ListReposOK) Code() int
Code gets the status code for the list repos o k response
func (*ListReposOK) Error ¶
func (o *ListReposOK) Error() string
func (*ListReposOK) GetPayload ¶
func (o *ListReposOK) GetPayload() garm_params.Repositories
func (*ListReposOK) IsClientError ¶
func (o *ListReposOK) IsClientError() bool
IsClientError returns true when this list repos o k response has a 4xx status code
func (*ListReposOK) IsCode ¶
func (o *ListReposOK) IsCode(code int) bool
IsCode returns true when this list repos o k response a status code equal to that given
func (*ListReposOK) IsRedirect ¶
func (o *ListReposOK) IsRedirect() bool
IsRedirect returns true when this list repos o k response has a 3xx status code
func (*ListReposOK) IsServerError ¶
func (o *ListReposOK) IsServerError() bool
IsServerError returns true when this list repos o k response has a 5xx status code
func (*ListReposOK) IsSuccess ¶
func (o *ListReposOK) IsSuccess() bool
IsSuccess returns true when this list repos o k response has a 2xx status code
func (*ListReposOK) String ¶
func (o *ListReposOK) String() string
type ListReposParams ¶
type ListReposParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListReposParams contains all the parameters to send to the API endpoint
for the list repos operation. Typically these are written to a http.Request.
func NewListReposParams ¶
func NewListReposParams() *ListReposParams
NewListReposParams creates a new ListReposParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListReposParamsWithContext ¶
func NewListReposParamsWithContext(ctx context.Context) *ListReposParams
NewListReposParamsWithContext creates a new ListReposParams object with the ability to set a context for a request.
func NewListReposParamsWithHTTPClient ¶
func NewListReposParamsWithHTTPClient(client *http.Client) *ListReposParams
NewListReposParamsWithHTTPClient creates a new ListReposParams object with the ability to set a custom HTTPClient for a request.
func NewListReposParamsWithTimeout ¶
func NewListReposParamsWithTimeout(timeout time.Duration) *ListReposParams
NewListReposParamsWithTimeout creates a new ListReposParams object with the ability to set a timeout on a request.
func (*ListReposParams) SetContext ¶
func (o *ListReposParams) SetContext(ctx context.Context)
SetContext adds the context to the list repos params
func (*ListReposParams) SetDefaults ¶
func (o *ListReposParams) SetDefaults()
SetDefaults hydrates default values in the list repos params (not the query body).
All values with no default are reset to their zero value.
func (*ListReposParams) SetHTTPClient ¶
func (o *ListReposParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list repos params
func (*ListReposParams) SetTimeout ¶
func (o *ListReposParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list repos params
func (*ListReposParams) WithContext ¶
func (o *ListReposParams) WithContext(ctx context.Context) *ListReposParams
WithContext adds the context to the list repos params
func (*ListReposParams) WithDefaults ¶
func (o *ListReposParams) WithDefaults() *ListReposParams
WithDefaults hydrates default values in the list repos params (not the query body).
All values with no default are reset to their zero value.
func (*ListReposParams) WithHTTPClient ¶
func (o *ListReposParams) WithHTTPClient(client *http.Client) *ListReposParams
WithHTTPClient adds the HTTPClient to the list repos params
func (*ListReposParams) WithTimeout ¶
func (o *ListReposParams) WithTimeout(timeout time.Duration) *ListReposParams
WithTimeout adds the timeout to the list repos params
func (*ListReposParams) WriteToRequest ¶
func (o *ListReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListReposReader ¶
type ListReposReader struct {
// contains filtered or unexported fields
}
ListReposReader is a Reader for the ListRepos structure.
func (*ListReposReader) ReadResponse ¶
func (o *ListReposReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UninstallRepoWebhookDefault ¶ added in v0.1.4
type UninstallRepoWebhookDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
UninstallRepoWebhookDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewUninstallRepoWebhookDefault ¶ added in v0.1.4
func NewUninstallRepoWebhookDefault(code int) *UninstallRepoWebhookDefault
NewUninstallRepoWebhookDefault creates a UninstallRepoWebhookDefault with default headers values
func (*UninstallRepoWebhookDefault) Code ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) Code() int
Code gets the status code for the uninstall repo webhook default response
func (*UninstallRepoWebhookDefault) Error ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) Error() string
func (*UninstallRepoWebhookDefault) GetPayload ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) GetPayload() apiserver_params.APIErrorResponse
func (*UninstallRepoWebhookDefault) IsClientError ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) IsClientError() bool
IsClientError returns true when this uninstall repo webhook default response has a 4xx status code
func (*UninstallRepoWebhookDefault) IsCode ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) IsCode(code int) bool
IsCode returns true when this uninstall repo webhook default response a status code equal to that given
func (*UninstallRepoWebhookDefault) IsRedirect ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) IsRedirect() bool
IsRedirect returns true when this uninstall repo webhook default response has a 3xx status code
func (*UninstallRepoWebhookDefault) IsServerError ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) IsServerError() bool
IsServerError returns true when this uninstall repo webhook default response has a 5xx status code
func (*UninstallRepoWebhookDefault) IsSuccess ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) IsSuccess() bool
IsSuccess returns true when this uninstall repo webhook default response has a 2xx status code
func (*UninstallRepoWebhookDefault) String ¶ added in v0.1.4
func (o *UninstallRepoWebhookDefault) String() string
type UninstallRepoWebhookParams ¶ added in v0.1.4
type UninstallRepoWebhookParams struct { /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UninstallRepoWebhookParams contains all the parameters to send to the API endpoint
for the uninstall repo webhook operation. Typically these are written to a http.Request.
func NewUninstallRepoWebhookParams ¶ added in v0.1.4
func NewUninstallRepoWebhookParams() *UninstallRepoWebhookParams
NewUninstallRepoWebhookParams creates a new UninstallRepoWebhookParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUninstallRepoWebhookParamsWithContext ¶ added in v0.1.4
func NewUninstallRepoWebhookParamsWithContext(ctx context.Context) *UninstallRepoWebhookParams
NewUninstallRepoWebhookParamsWithContext creates a new UninstallRepoWebhookParams object with the ability to set a context for a request.
func NewUninstallRepoWebhookParamsWithHTTPClient ¶ added in v0.1.4
func NewUninstallRepoWebhookParamsWithHTTPClient(client *http.Client) *UninstallRepoWebhookParams
NewUninstallRepoWebhookParamsWithHTTPClient creates a new UninstallRepoWebhookParams object with the ability to set a custom HTTPClient for a request.
func NewUninstallRepoWebhookParamsWithTimeout ¶ added in v0.1.4
func NewUninstallRepoWebhookParamsWithTimeout(timeout time.Duration) *UninstallRepoWebhookParams
NewUninstallRepoWebhookParamsWithTimeout creates a new UninstallRepoWebhookParams object with the ability to set a timeout on a request.
func (*UninstallRepoWebhookParams) SetContext ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) SetContext(ctx context.Context)
SetContext adds the context to the uninstall repo webhook params
func (*UninstallRepoWebhookParams) SetDefaults ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) SetDefaults()
SetDefaults hydrates default values in the uninstall repo webhook params (not the query body).
All values with no default are reset to their zero value.
func (*UninstallRepoWebhookParams) SetHTTPClient ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the uninstall repo webhook params
func (*UninstallRepoWebhookParams) SetRepoID ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the uninstall repo webhook params
func (*UninstallRepoWebhookParams) SetTimeout ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the uninstall repo webhook params
func (*UninstallRepoWebhookParams) WithContext ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) WithContext(ctx context.Context) *UninstallRepoWebhookParams
WithContext adds the context to the uninstall repo webhook params
func (*UninstallRepoWebhookParams) WithDefaults ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) WithDefaults() *UninstallRepoWebhookParams
WithDefaults hydrates default values in the uninstall repo webhook params (not the query body).
All values with no default are reset to their zero value.
func (*UninstallRepoWebhookParams) WithHTTPClient ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) WithHTTPClient(client *http.Client) *UninstallRepoWebhookParams
WithHTTPClient adds the HTTPClient to the uninstall repo webhook params
func (*UninstallRepoWebhookParams) WithRepoID ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) WithRepoID(repoID string) *UninstallRepoWebhookParams
WithRepoID adds the repoID to the uninstall repo webhook params
func (*UninstallRepoWebhookParams) WithTimeout ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) WithTimeout(timeout time.Duration) *UninstallRepoWebhookParams
WithTimeout adds the timeout to the uninstall repo webhook params
func (*UninstallRepoWebhookParams) WriteToRequest ¶ added in v0.1.4
func (o *UninstallRepoWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UninstallRepoWebhookReader ¶ added in v0.1.4
type UninstallRepoWebhookReader struct {
// contains filtered or unexported fields
}
UninstallRepoWebhookReader is a Reader for the UninstallRepoWebhook structure.
func (*UninstallRepoWebhookReader) ReadResponse ¶ added in v0.1.4
func (o *UninstallRepoWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRepoDefault ¶
type UpdateRepoDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
UpdateRepoDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewUpdateRepoDefault ¶
func NewUpdateRepoDefault(code int) *UpdateRepoDefault
NewUpdateRepoDefault creates a UpdateRepoDefault with default headers values
func (*UpdateRepoDefault) Code ¶
func (o *UpdateRepoDefault) Code() int
Code gets the status code for the update repo default response
func (*UpdateRepoDefault) Error ¶
func (o *UpdateRepoDefault) Error() string
func (*UpdateRepoDefault) GetPayload ¶
func (o *UpdateRepoDefault) GetPayload() apiserver_params.APIErrorResponse
func (*UpdateRepoDefault) IsClientError ¶
func (o *UpdateRepoDefault) IsClientError() bool
IsClientError returns true when this update repo default response has a 4xx status code
func (*UpdateRepoDefault) IsCode ¶
func (o *UpdateRepoDefault) IsCode(code int) bool
IsCode returns true when this update repo default response a status code equal to that given
func (*UpdateRepoDefault) IsRedirect ¶
func (o *UpdateRepoDefault) IsRedirect() bool
IsRedirect returns true when this update repo default response has a 3xx status code
func (*UpdateRepoDefault) IsServerError ¶
func (o *UpdateRepoDefault) IsServerError() bool
IsServerError returns true when this update repo default response has a 5xx status code
func (*UpdateRepoDefault) IsSuccess ¶
func (o *UpdateRepoDefault) IsSuccess() bool
IsSuccess returns true when this update repo default response has a 2xx status code
func (*UpdateRepoDefault) String ¶
func (o *UpdateRepoDefault) String() string
type UpdateRepoOK ¶
type UpdateRepoOK struct {
Payload garm_params.Repository
}
UpdateRepoOK describes a response with status code 200, with default header values.
Repository
func NewUpdateRepoOK ¶
func NewUpdateRepoOK() *UpdateRepoOK
NewUpdateRepoOK creates a UpdateRepoOK with default headers values
func (*UpdateRepoOK) Code ¶
func (o *UpdateRepoOK) Code() int
Code gets the status code for the update repo o k response
func (*UpdateRepoOK) Error ¶
func (o *UpdateRepoOK) Error() string
func (*UpdateRepoOK) GetPayload ¶
func (o *UpdateRepoOK) GetPayload() garm_params.Repository
func (*UpdateRepoOK) IsClientError ¶
func (o *UpdateRepoOK) IsClientError() bool
IsClientError returns true when this update repo o k response has a 4xx status code
func (*UpdateRepoOK) IsCode ¶
func (o *UpdateRepoOK) IsCode(code int) bool
IsCode returns true when this update repo o k response a status code equal to that given
func (*UpdateRepoOK) IsRedirect ¶
func (o *UpdateRepoOK) IsRedirect() bool
IsRedirect returns true when this update repo o k response has a 3xx status code
func (*UpdateRepoOK) IsServerError ¶
func (o *UpdateRepoOK) IsServerError() bool
IsServerError returns true when this update repo o k response has a 5xx status code
func (*UpdateRepoOK) IsSuccess ¶
func (o *UpdateRepoOK) IsSuccess() bool
IsSuccess returns true when this update repo o k response has a 2xx status code
func (*UpdateRepoOK) String ¶
func (o *UpdateRepoOK) String() string
type UpdateRepoParams ¶
type UpdateRepoParams struct { /* Body. Parameters used when updating the repository. */ Body garm_params.UpdateEntityParams /* RepoID. ID of the repository to update. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRepoParams contains all the parameters to send to the API endpoint
for the update repo operation. Typically these are written to a http.Request.
func NewUpdateRepoParams ¶
func NewUpdateRepoParams() *UpdateRepoParams
NewUpdateRepoParams creates a new UpdateRepoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateRepoParamsWithContext ¶
func NewUpdateRepoParamsWithContext(ctx context.Context) *UpdateRepoParams
NewUpdateRepoParamsWithContext creates a new UpdateRepoParams object with the ability to set a context for a request.
func NewUpdateRepoParamsWithHTTPClient ¶
func NewUpdateRepoParamsWithHTTPClient(client *http.Client) *UpdateRepoParams
NewUpdateRepoParamsWithHTTPClient creates a new UpdateRepoParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRepoParamsWithTimeout ¶
func NewUpdateRepoParamsWithTimeout(timeout time.Duration) *UpdateRepoParams
NewUpdateRepoParamsWithTimeout creates a new UpdateRepoParams object with the ability to set a timeout on a request.
func (*UpdateRepoParams) SetBody ¶
func (o *UpdateRepoParams) SetBody(body garm_params.UpdateEntityParams)
SetBody adds the body to the update repo params
func (*UpdateRepoParams) SetContext ¶
func (o *UpdateRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the update repo params
func (*UpdateRepoParams) SetDefaults ¶
func (o *UpdateRepoParams) SetDefaults()
SetDefaults hydrates default values in the update repo params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRepoParams) SetHTTPClient ¶
func (o *UpdateRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update repo params
func (*UpdateRepoParams) SetRepoID ¶
func (o *UpdateRepoParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the update repo params
func (*UpdateRepoParams) SetTimeout ¶
func (o *UpdateRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update repo params
func (*UpdateRepoParams) WithBody ¶
func (o *UpdateRepoParams) WithBody(body garm_params.UpdateEntityParams) *UpdateRepoParams
WithBody adds the body to the update repo params
func (*UpdateRepoParams) WithContext ¶
func (o *UpdateRepoParams) WithContext(ctx context.Context) *UpdateRepoParams
WithContext adds the context to the update repo params
func (*UpdateRepoParams) WithDefaults ¶
func (o *UpdateRepoParams) WithDefaults() *UpdateRepoParams
WithDefaults hydrates default values in the update repo params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRepoParams) WithHTTPClient ¶
func (o *UpdateRepoParams) WithHTTPClient(client *http.Client) *UpdateRepoParams
WithHTTPClient adds the HTTPClient to the update repo params
func (*UpdateRepoParams) WithRepoID ¶
func (o *UpdateRepoParams) WithRepoID(repoID string) *UpdateRepoParams
WithRepoID adds the repoID to the update repo params
func (*UpdateRepoParams) WithTimeout ¶
func (o *UpdateRepoParams) WithTimeout(timeout time.Duration) *UpdateRepoParams
WithTimeout adds the timeout to the update repo params
func (*UpdateRepoParams) WriteToRequest ¶
func (o *UpdateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRepoPoolDefault ¶
type UpdateRepoPoolDefault struct { Payload apiserver_params.APIErrorResponse // contains filtered or unexported fields }
UpdateRepoPoolDefault describes a response with status code -1, with default header values.
APIErrorResponse
func NewUpdateRepoPoolDefault ¶
func NewUpdateRepoPoolDefault(code int) *UpdateRepoPoolDefault
NewUpdateRepoPoolDefault creates a UpdateRepoPoolDefault with default headers values
func (*UpdateRepoPoolDefault) Code ¶
func (o *UpdateRepoPoolDefault) Code() int
Code gets the status code for the update repo pool default response
func (*UpdateRepoPoolDefault) Error ¶
func (o *UpdateRepoPoolDefault) Error() string
func (*UpdateRepoPoolDefault) GetPayload ¶
func (o *UpdateRepoPoolDefault) GetPayload() apiserver_params.APIErrorResponse
func (*UpdateRepoPoolDefault) IsClientError ¶
func (o *UpdateRepoPoolDefault) IsClientError() bool
IsClientError returns true when this update repo pool default response has a 4xx status code
func (*UpdateRepoPoolDefault) IsCode ¶
func (o *UpdateRepoPoolDefault) IsCode(code int) bool
IsCode returns true when this update repo pool default response a status code equal to that given
func (*UpdateRepoPoolDefault) IsRedirect ¶
func (o *UpdateRepoPoolDefault) IsRedirect() bool
IsRedirect returns true when this update repo pool default response has a 3xx status code
func (*UpdateRepoPoolDefault) IsServerError ¶
func (o *UpdateRepoPoolDefault) IsServerError() bool
IsServerError returns true when this update repo pool default response has a 5xx status code
func (*UpdateRepoPoolDefault) IsSuccess ¶
func (o *UpdateRepoPoolDefault) IsSuccess() bool
IsSuccess returns true when this update repo pool default response has a 2xx status code
func (*UpdateRepoPoolDefault) String ¶
func (o *UpdateRepoPoolDefault) String() string
type UpdateRepoPoolOK ¶
type UpdateRepoPoolOK struct {
Payload garm_params.Pool
}
UpdateRepoPoolOK describes a response with status code 200, with default header values.
Pool
func NewUpdateRepoPoolOK ¶
func NewUpdateRepoPoolOK() *UpdateRepoPoolOK
NewUpdateRepoPoolOK creates a UpdateRepoPoolOK with default headers values
func (*UpdateRepoPoolOK) Code ¶
func (o *UpdateRepoPoolOK) Code() int
Code gets the status code for the update repo pool o k response
func (*UpdateRepoPoolOK) Error ¶
func (o *UpdateRepoPoolOK) Error() string
func (*UpdateRepoPoolOK) GetPayload ¶
func (o *UpdateRepoPoolOK) GetPayload() garm_params.Pool
func (*UpdateRepoPoolOK) IsClientError ¶
func (o *UpdateRepoPoolOK) IsClientError() bool
IsClientError returns true when this update repo pool o k response has a 4xx status code
func (*UpdateRepoPoolOK) IsCode ¶
func (o *UpdateRepoPoolOK) IsCode(code int) bool
IsCode returns true when this update repo pool o k response a status code equal to that given
func (*UpdateRepoPoolOK) IsRedirect ¶
func (o *UpdateRepoPoolOK) IsRedirect() bool
IsRedirect returns true when this update repo pool o k response has a 3xx status code
func (*UpdateRepoPoolOK) IsServerError ¶
func (o *UpdateRepoPoolOK) IsServerError() bool
IsServerError returns true when this update repo pool o k response has a 5xx status code
func (*UpdateRepoPoolOK) IsSuccess ¶
func (o *UpdateRepoPoolOK) IsSuccess() bool
IsSuccess returns true when this update repo pool o k response has a 2xx status code
func (*UpdateRepoPoolOK) String ¶
func (o *UpdateRepoPoolOK) String() string
type UpdateRepoPoolParams ¶
type UpdateRepoPoolParams struct { /* Body. Parameters used when updating the repository pool. */ Body garm_params.UpdatePoolParams /* PoolID. ID of the repository pool to update. */ PoolID string /* RepoID. Repository ID. */ RepoID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRepoPoolParams contains all the parameters to send to the API endpoint
for the update repo pool operation. Typically these are written to a http.Request.
func NewUpdateRepoPoolParams ¶
func NewUpdateRepoPoolParams() *UpdateRepoPoolParams
NewUpdateRepoPoolParams creates a new UpdateRepoPoolParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateRepoPoolParamsWithContext ¶
func NewUpdateRepoPoolParamsWithContext(ctx context.Context) *UpdateRepoPoolParams
NewUpdateRepoPoolParamsWithContext creates a new UpdateRepoPoolParams object with the ability to set a context for a request.
func NewUpdateRepoPoolParamsWithHTTPClient ¶
func NewUpdateRepoPoolParamsWithHTTPClient(client *http.Client) *UpdateRepoPoolParams
NewUpdateRepoPoolParamsWithHTTPClient creates a new UpdateRepoPoolParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRepoPoolParamsWithTimeout ¶
func NewUpdateRepoPoolParamsWithTimeout(timeout time.Duration) *UpdateRepoPoolParams
NewUpdateRepoPoolParamsWithTimeout creates a new UpdateRepoPoolParams object with the ability to set a timeout on a request.
func (*UpdateRepoPoolParams) SetBody ¶
func (o *UpdateRepoPoolParams) SetBody(body garm_params.UpdatePoolParams)
SetBody adds the body to the update repo pool params
func (*UpdateRepoPoolParams) SetContext ¶
func (o *UpdateRepoPoolParams) SetContext(ctx context.Context)
SetContext adds the context to the update repo pool params
func (*UpdateRepoPoolParams) SetDefaults ¶
func (o *UpdateRepoPoolParams) SetDefaults()
SetDefaults hydrates default values in the update repo pool params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRepoPoolParams) SetHTTPClient ¶
func (o *UpdateRepoPoolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update repo pool params
func (*UpdateRepoPoolParams) SetPoolID ¶
func (o *UpdateRepoPoolParams) SetPoolID(poolID string)
SetPoolID adds the poolId to the update repo pool params
func (*UpdateRepoPoolParams) SetRepoID ¶
func (o *UpdateRepoPoolParams) SetRepoID(repoID string)
SetRepoID adds the repoId to the update repo pool params
func (*UpdateRepoPoolParams) SetTimeout ¶
func (o *UpdateRepoPoolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update repo pool params
func (*UpdateRepoPoolParams) WithBody ¶
func (o *UpdateRepoPoolParams) WithBody(body garm_params.UpdatePoolParams) *UpdateRepoPoolParams
WithBody adds the body to the update repo pool params
func (*UpdateRepoPoolParams) WithContext ¶
func (o *UpdateRepoPoolParams) WithContext(ctx context.Context) *UpdateRepoPoolParams
WithContext adds the context to the update repo pool params
func (*UpdateRepoPoolParams) WithDefaults ¶
func (o *UpdateRepoPoolParams) WithDefaults() *UpdateRepoPoolParams
WithDefaults hydrates default values in the update repo pool params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRepoPoolParams) WithHTTPClient ¶
func (o *UpdateRepoPoolParams) WithHTTPClient(client *http.Client) *UpdateRepoPoolParams
WithHTTPClient adds the HTTPClient to the update repo pool params
func (*UpdateRepoPoolParams) WithPoolID ¶
func (o *UpdateRepoPoolParams) WithPoolID(poolID string) *UpdateRepoPoolParams
WithPoolID adds the poolID to the update repo pool params
func (*UpdateRepoPoolParams) WithRepoID ¶
func (o *UpdateRepoPoolParams) WithRepoID(repoID string) *UpdateRepoPoolParams
WithRepoID adds the repoID to the update repo pool params
func (*UpdateRepoPoolParams) WithTimeout ¶
func (o *UpdateRepoPoolParams) WithTimeout(timeout time.Duration) *UpdateRepoPoolParams
WithTimeout adds the timeout to the update repo pool params
func (*UpdateRepoPoolParams) WriteToRequest ¶
func (o *UpdateRepoPoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRepoPoolReader ¶
type UpdateRepoPoolReader struct {
// contains filtered or unexported fields
}
UpdateRepoPoolReader is a Reader for the UpdateRepoPool structure.
func (*UpdateRepoPoolReader) ReadResponse ¶
func (o *UpdateRepoPoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRepoReader ¶
type UpdateRepoReader struct {
// contains filtered or unexported fields
}
UpdateRepoReader is a Reader for the UpdateRepo structure.
func (*UpdateRepoReader) ReadResponse ¶
func (o *UpdateRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_repo_parameters.go
- create_repo_pool_parameters.go
- create_repo_pool_responses.go
- create_repo_responses.go
- delete_repo_parameters.go
- delete_repo_pool_parameters.go
- delete_repo_pool_responses.go
- delete_repo_responses.go
- get_repo_parameters.go
- get_repo_pool_parameters.go
- get_repo_pool_responses.go
- get_repo_responses.go
- get_repo_webhook_info_parameters.go
- get_repo_webhook_info_responses.go
- install_repo_webhook_parameters.go
- install_repo_webhook_responses.go
- list_repo_instances_parameters.go
- list_repo_instances_responses.go
- list_repo_pools_parameters.go
- list_repo_pools_responses.go
- list_repos_parameters.go
- list_repos_responses.go
- repositories_client.go
- uninstall_repo_webhook_parameters.go
- uninstall_repo_webhook_responses.go
- update_repo_parameters.go
- update_repo_pool_parameters.go
- update_repo_pool_responses.go
- update_repo_responses.go