Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateRepoNotification(params *CreateRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRepoNotificationCreated, error)
- func (a *Client) DeleteRepoNotification(params *DeleteRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepoNotificationNoContent, error)
- func (a *Client) GetRepoNotification(params *GetRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoNotificationOK, error)
- func (a *Client) ListRepoNotifications(params *ListRepoNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoNotificationsOK, error)
- func (a *Client) ResetRepositoryNotificationFailures(params *ResetRepositoryNotificationFailuresParams, ...) (*ResetRepositoryNotificationFailuresCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestRepoNotification(params *TestRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*TestRepoNotificationCreated, error)
- type ClientService
- type CreateRepoNotificationBadRequest
- type CreateRepoNotificationCreated
- type CreateRepoNotificationForbidden
- type CreateRepoNotificationNotFound
- type CreateRepoNotificationParams
- func NewCreateRepoNotificationParams() *CreateRepoNotificationParams
- func NewCreateRepoNotificationParamsWithContext(ctx context.Context) *CreateRepoNotificationParams
- func NewCreateRepoNotificationParamsWithHTTPClient(client *http.Client) *CreateRepoNotificationParams
- func NewCreateRepoNotificationParamsWithTimeout(timeout time.Duration) *CreateRepoNotificationParams
- func (o *CreateRepoNotificationParams) SetBody(body *models.NotificationCreateRequest)
- func (o *CreateRepoNotificationParams) SetContext(ctx context.Context)
- func (o *CreateRepoNotificationParams) SetHTTPClient(client *http.Client)
- func (o *CreateRepoNotificationParams) SetRepository(repository string)
- func (o *CreateRepoNotificationParams) SetTimeout(timeout time.Duration)
- func (o *CreateRepoNotificationParams) WithBody(body *models.NotificationCreateRequest) *CreateRepoNotificationParams
- func (o *CreateRepoNotificationParams) WithContext(ctx context.Context) *CreateRepoNotificationParams
- func (o *CreateRepoNotificationParams) WithHTTPClient(client *http.Client) *CreateRepoNotificationParams
- func (o *CreateRepoNotificationParams) WithRepository(repository string) *CreateRepoNotificationParams
- func (o *CreateRepoNotificationParams) WithTimeout(timeout time.Duration) *CreateRepoNotificationParams
- func (o *CreateRepoNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRepoNotificationReader
- type CreateRepoNotificationUnauthorized
- type DeleteRepoNotificationBadRequest
- type DeleteRepoNotificationForbidden
- type DeleteRepoNotificationNoContent
- type DeleteRepoNotificationNotFound
- type DeleteRepoNotificationParams
- func NewDeleteRepoNotificationParams() *DeleteRepoNotificationParams
- func NewDeleteRepoNotificationParamsWithContext(ctx context.Context) *DeleteRepoNotificationParams
- func NewDeleteRepoNotificationParamsWithHTTPClient(client *http.Client) *DeleteRepoNotificationParams
- func NewDeleteRepoNotificationParamsWithTimeout(timeout time.Duration) *DeleteRepoNotificationParams
- func (o *DeleteRepoNotificationParams) SetContext(ctx context.Context)
- func (o *DeleteRepoNotificationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepoNotificationParams) SetRepository(repository string)
- func (o *DeleteRepoNotificationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepoNotificationParams) SetUUID(uuid string)
- func (o *DeleteRepoNotificationParams) WithContext(ctx context.Context) *DeleteRepoNotificationParams
- func (o *DeleteRepoNotificationParams) WithHTTPClient(client *http.Client) *DeleteRepoNotificationParams
- func (o *DeleteRepoNotificationParams) WithRepository(repository string) *DeleteRepoNotificationParams
- func (o *DeleteRepoNotificationParams) WithTimeout(timeout time.Duration) *DeleteRepoNotificationParams
- func (o *DeleteRepoNotificationParams) WithUUID(uuid string) *DeleteRepoNotificationParams
- func (o *DeleteRepoNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepoNotificationReader
- type DeleteRepoNotificationUnauthorized
- type GetRepoNotificationBadRequest
- type GetRepoNotificationForbidden
- type GetRepoNotificationNotFound
- type GetRepoNotificationOK
- type GetRepoNotificationParams
- func NewGetRepoNotificationParams() *GetRepoNotificationParams
- func NewGetRepoNotificationParamsWithContext(ctx context.Context) *GetRepoNotificationParams
- func NewGetRepoNotificationParamsWithHTTPClient(client *http.Client) *GetRepoNotificationParams
- func NewGetRepoNotificationParamsWithTimeout(timeout time.Duration) *GetRepoNotificationParams
- func (o *GetRepoNotificationParams) SetContext(ctx context.Context)
- func (o *GetRepoNotificationParams) SetHTTPClient(client *http.Client)
- func (o *GetRepoNotificationParams) SetRepository(repository string)
- func (o *GetRepoNotificationParams) SetTimeout(timeout time.Duration)
- func (o *GetRepoNotificationParams) SetUUID(uuid string)
- func (o *GetRepoNotificationParams) WithContext(ctx context.Context) *GetRepoNotificationParams
- func (o *GetRepoNotificationParams) WithHTTPClient(client *http.Client) *GetRepoNotificationParams
- func (o *GetRepoNotificationParams) WithRepository(repository string) *GetRepoNotificationParams
- func (o *GetRepoNotificationParams) WithTimeout(timeout time.Duration) *GetRepoNotificationParams
- func (o *GetRepoNotificationParams) WithUUID(uuid string) *GetRepoNotificationParams
- func (o *GetRepoNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepoNotificationReader
- type GetRepoNotificationUnauthorized
- type ListRepoNotificationsBadRequest
- type ListRepoNotificationsForbidden
- type ListRepoNotificationsNotFound
- type ListRepoNotificationsOK
- type ListRepoNotificationsParams
- func NewListRepoNotificationsParams() *ListRepoNotificationsParams
- func NewListRepoNotificationsParamsWithContext(ctx context.Context) *ListRepoNotificationsParams
- func NewListRepoNotificationsParamsWithHTTPClient(client *http.Client) *ListRepoNotificationsParams
- func NewListRepoNotificationsParamsWithTimeout(timeout time.Duration) *ListRepoNotificationsParams
- func (o *ListRepoNotificationsParams) SetContext(ctx context.Context)
- func (o *ListRepoNotificationsParams) SetHTTPClient(client *http.Client)
- func (o *ListRepoNotificationsParams) SetRepository(repository string)
- func (o *ListRepoNotificationsParams) SetTimeout(timeout time.Duration)
- func (o *ListRepoNotificationsParams) WithContext(ctx context.Context) *ListRepoNotificationsParams
- func (o *ListRepoNotificationsParams) WithHTTPClient(client *http.Client) *ListRepoNotificationsParams
- func (o *ListRepoNotificationsParams) WithRepository(repository string) *ListRepoNotificationsParams
- func (o *ListRepoNotificationsParams) WithTimeout(timeout time.Duration) *ListRepoNotificationsParams
- func (o *ListRepoNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRepoNotificationsReader
- type ListRepoNotificationsUnauthorized
- type ResetRepositoryNotificationFailuresBadRequest
- type ResetRepositoryNotificationFailuresCreated
- type ResetRepositoryNotificationFailuresForbidden
- type ResetRepositoryNotificationFailuresNotFound
- type ResetRepositoryNotificationFailuresParams
- func NewResetRepositoryNotificationFailuresParams() *ResetRepositoryNotificationFailuresParams
- func NewResetRepositoryNotificationFailuresParamsWithContext(ctx context.Context) *ResetRepositoryNotificationFailuresParams
- func NewResetRepositoryNotificationFailuresParamsWithHTTPClient(client *http.Client) *ResetRepositoryNotificationFailuresParams
- func NewResetRepositoryNotificationFailuresParamsWithTimeout(timeout time.Duration) *ResetRepositoryNotificationFailuresParams
- func (o *ResetRepositoryNotificationFailuresParams) SetContext(ctx context.Context)
- func (o *ResetRepositoryNotificationFailuresParams) SetHTTPClient(client *http.Client)
- func (o *ResetRepositoryNotificationFailuresParams) SetRepository(repository string)
- func (o *ResetRepositoryNotificationFailuresParams) SetTimeout(timeout time.Duration)
- func (o *ResetRepositoryNotificationFailuresParams) SetUUID(uuid string)
- func (o *ResetRepositoryNotificationFailuresParams) WithContext(ctx context.Context) *ResetRepositoryNotificationFailuresParams
- func (o *ResetRepositoryNotificationFailuresParams) WithHTTPClient(client *http.Client) *ResetRepositoryNotificationFailuresParams
- func (o *ResetRepositoryNotificationFailuresParams) WithRepository(repository string) *ResetRepositoryNotificationFailuresParams
- func (o *ResetRepositoryNotificationFailuresParams) WithTimeout(timeout time.Duration) *ResetRepositoryNotificationFailuresParams
- func (o *ResetRepositoryNotificationFailuresParams) WithUUID(uuid string) *ResetRepositoryNotificationFailuresParams
- func (o *ResetRepositoryNotificationFailuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetRepositoryNotificationFailuresReader
- type ResetRepositoryNotificationFailuresUnauthorized
- type TestRepoNotificationBadRequest
- type TestRepoNotificationCreated
- type TestRepoNotificationForbidden
- type TestRepoNotificationNotFound
- type TestRepoNotificationParams
- func NewTestRepoNotificationParams() *TestRepoNotificationParams
- func NewTestRepoNotificationParamsWithContext(ctx context.Context) *TestRepoNotificationParams
- func NewTestRepoNotificationParamsWithHTTPClient(client *http.Client) *TestRepoNotificationParams
- func NewTestRepoNotificationParamsWithTimeout(timeout time.Duration) *TestRepoNotificationParams
- func (o *TestRepoNotificationParams) SetContext(ctx context.Context)
- func (o *TestRepoNotificationParams) SetHTTPClient(client *http.Client)
- func (o *TestRepoNotificationParams) SetRepository(repository string)
- func (o *TestRepoNotificationParams) SetTimeout(timeout time.Duration)
- func (o *TestRepoNotificationParams) SetUUID(uuid string)
- func (o *TestRepoNotificationParams) WithContext(ctx context.Context) *TestRepoNotificationParams
- func (o *TestRepoNotificationParams) WithHTTPClient(client *http.Client) *TestRepoNotificationParams
- func (o *TestRepoNotificationParams) WithRepository(repository string) *TestRepoNotificationParams
- func (o *TestRepoNotificationParams) WithTimeout(timeout time.Duration) *TestRepoNotificationParams
- func (o *TestRepoNotificationParams) WithUUID(uuid string) *TestRepoNotificationParams
- func (o *TestRepoNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestRepoNotificationReader
- type TestRepoNotificationUnauthorized
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 repositorynotification API
func (*Client) CreateRepoNotification ¶
func (a *Client) CreateRepoNotification(params *CreateRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRepoNotificationCreated, error)
CreateRepoNotification create repo notification API
func (*Client) DeleteRepoNotification ¶
func (a *Client) DeleteRepoNotification(params *DeleteRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepoNotificationNoContent, error)
DeleteRepoNotification Deletes the specified notification.
func (*Client) GetRepoNotification ¶
func (a *Client) GetRepoNotification(params *GetRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoNotificationOK, error)
GetRepoNotification Get information for the specified notification.
func (*Client) ListRepoNotifications ¶
func (a *Client) ListRepoNotifications(params *ListRepoNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoNotificationsOK, error)
ListRepoNotifications List the notifications for the specified repository.
func (*Client) ResetRepositoryNotificationFailures ¶
func (a *Client) ResetRepositoryNotificationFailures(params *ResetRepositoryNotificationFailuresParams, authInfo runtime.ClientAuthInfoWriter) (*ResetRepositoryNotificationFailuresCreated, error)
ResetRepositoryNotificationFailures Resets repository notification to 0 failures.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TestRepoNotification ¶
func (a *Client) TestRepoNotification(params *TestRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*TestRepoNotificationCreated, error)
TestRepoNotification Queues a test notification for this repository.
type ClientService ¶
type ClientService interface { CreateRepoNotification(params *CreateRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRepoNotificationCreated, error) DeleteRepoNotification(params *DeleteRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepoNotificationNoContent, error) GetRepoNotification(params *GetRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoNotificationOK, error) ListRepoNotifications(params *ListRepoNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoNotificationsOK, error) ResetRepositoryNotificationFailures(params *ResetRepositoryNotificationFailuresParams, authInfo runtime.ClientAuthInfoWriter) (*ResetRepositoryNotificationFailuresCreated, error) TestRepoNotification(params *TestRepoNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*TestRepoNotificationCreated, 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 repositorynotification API client.
type CreateRepoNotificationBadRequest ¶
CreateRepoNotificationBadRequest handles this case with default header values.
Bad Request
func NewCreateRepoNotificationBadRequest ¶
func NewCreateRepoNotificationBadRequest() *CreateRepoNotificationBadRequest
NewCreateRepoNotificationBadRequest creates a CreateRepoNotificationBadRequest with default headers values
func (*CreateRepoNotificationBadRequest) Error ¶
func (o *CreateRepoNotificationBadRequest) Error() string
func (*CreateRepoNotificationBadRequest) GetPayload ¶
func (o *CreateRepoNotificationBadRequest) GetPayload() *models.APIError
type CreateRepoNotificationCreated ¶
type CreateRepoNotificationCreated struct { }
CreateRepoNotificationCreated handles this case with default header values.
Successful creation
func NewCreateRepoNotificationCreated ¶
func NewCreateRepoNotificationCreated() *CreateRepoNotificationCreated
NewCreateRepoNotificationCreated creates a CreateRepoNotificationCreated with default headers values
func (*CreateRepoNotificationCreated) Error ¶
func (o *CreateRepoNotificationCreated) Error() string
type CreateRepoNotificationForbidden ¶
CreateRepoNotificationForbidden handles this case with default header values.
Unauthorized access
func NewCreateRepoNotificationForbidden ¶
func NewCreateRepoNotificationForbidden() *CreateRepoNotificationForbidden
NewCreateRepoNotificationForbidden creates a CreateRepoNotificationForbidden with default headers values
func (*CreateRepoNotificationForbidden) Error ¶
func (o *CreateRepoNotificationForbidden) Error() string
func (*CreateRepoNotificationForbidden) GetPayload ¶
func (o *CreateRepoNotificationForbidden) GetPayload() *models.APIError
type CreateRepoNotificationNotFound ¶
CreateRepoNotificationNotFound handles this case with default header values.
Not found
func NewCreateRepoNotificationNotFound ¶
func NewCreateRepoNotificationNotFound() *CreateRepoNotificationNotFound
NewCreateRepoNotificationNotFound creates a CreateRepoNotificationNotFound with default headers values
func (*CreateRepoNotificationNotFound) Error ¶
func (o *CreateRepoNotificationNotFound) Error() string
func (*CreateRepoNotificationNotFound) GetPayload ¶
func (o *CreateRepoNotificationNotFound) GetPayload() *models.APIError
type CreateRepoNotificationParams ¶
type CreateRepoNotificationParams struct { /*Body Request body contents. */ Body *models.NotificationCreateRequest /*Repository The full path of the repository. e.g. namespace/name */ Repository string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRepoNotificationParams contains all the parameters to send to the API endpoint for the create repo notification operation typically these are written to a http.Request
func NewCreateRepoNotificationParams ¶
func NewCreateRepoNotificationParams() *CreateRepoNotificationParams
NewCreateRepoNotificationParams creates a new CreateRepoNotificationParams object with the default values initialized.
func NewCreateRepoNotificationParamsWithContext ¶
func NewCreateRepoNotificationParamsWithContext(ctx context.Context) *CreateRepoNotificationParams
NewCreateRepoNotificationParamsWithContext creates a new CreateRepoNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRepoNotificationParamsWithHTTPClient ¶
func NewCreateRepoNotificationParamsWithHTTPClient(client *http.Client) *CreateRepoNotificationParams
NewCreateRepoNotificationParamsWithHTTPClient creates a new CreateRepoNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRepoNotificationParamsWithTimeout ¶
func NewCreateRepoNotificationParamsWithTimeout(timeout time.Duration) *CreateRepoNotificationParams
NewCreateRepoNotificationParamsWithTimeout creates a new CreateRepoNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRepoNotificationParams) SetBody ¶
func (o *CreateRepoNotificationParams) SetBody(body *models.NotificationCreateRequest)
SetBody adds the body to the create repo notification params
func (*CreateRepoNotificationParams) SetContext ¶
func (o *CreateRepoNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the create repo notification params
func (*CreateRepoNotificationParams) SetHTTPClient ¶
func (o *CreateRepoNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create repo notification params
func (*CreateRepoNotificationParams) SetRepository ¶
func (o *CreateRepoNotificationParams) SetRepository(repository string)
SetRepository adds the repository to the create repo notification params
func (*CreateRepoNotificationParams) SetTimeout ¶
func (o *CreateRepoNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create repo notification params
func (*CreateRepoNotificationParams) WithBody ¶
func (o *CreateRepoNotificationParams) WithBody(body *models.NotificationCreateRequest) *CreateRepoNotificationParams
WithBody adds the body to the create repo notification params
func (*CreateRepoNotificationParams) WithContext ¶
func (o *CreateRepoNotificationParams) WithContext(ctx context.Context) *CreateRepoNotificationParams
WithContext adds the context to the create repo notification params
func (*CreateRepoNotificationParams) WithHTTPClient ¶
func (o *CreateRepoNotificationParams) WithHTTPClient(client *http.Client) *CreateRepoNotificationParams
WithHTTPClient adds the HTTPClient to the create repo notification params
func (*CreateRepoNotificationParams) WithRepository ¶
func (o *CreateRepoNotificationParams) WithRepository(repository string) *CreateRepoNotificationParams
WithRepository adds the repository to the create repo notification params
func (*CreateRepoNotificationParams) WithTimeout ¶
func (o *CreateRepoNotificationParams) WithTimeout(timeout time.Duration) *CreateRepoNotificationParams
WithTimeout adds the timeout to the create repo notification params
func (*CreateRepoNotificationParams) WriteToRequest ¶
func (o *CreateRepoNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRepoNotificationReader ¶
type CreateRepoNotificationReader struct {
// contains filtered or unexported fields
}
CreateRepoNotificationReader is a Reader for the CreateRepoNotification structure.
func (*CreateRepoNotificationReader) ReadResponse ¶
func (o *CreateRepoNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRepoNotificationUnauthorized ¶
type CreateRepoNotificationUnauthorized struct {
}CreateRepoNotificationUnauthorized handles this case with default header values.
Session required
func NewCreateRepoNotificationUnauthorized ¶
func NewCreateRepoNotificationUnauthorized() *CreateRepoNotificationUnauthorized
NewCreateRepoNotificationUnauthorized creates a CreateRepoNotificationUnauthorized with default headers values
func (*CreateRepoNotificationUnauthorized) Error ¶
func (o *CreateRepoNotificationUnauthorized) Error() string
func (*CreateRepoNotificationUnauthorized) GetPayload ¶
func (o *CreateRepoNotificationUnauthorized) GetPayload() *models.APIError
type DeleteRepoNotificationBadRequest ¶
DeleteRepoNotificationBadRequest handles this case with default header values.
Bad Request
func NewDeleteRepoNotificationBadRequest ¶
func NewDeleteRepoNotificationBadRequest() *DeleteRepoNotificationBadRequest
NewDeleteRepoNotificationBadRequest creates a DeleteRepoNotificationBadRequest with default headers values
func (*DeleteRepoNotificationBadRequest) Error ¶
func (o *DeleteRepoNotificationBadRequest) Error() string
func (*DeleteRepoNotificationBadRequest) GetPayload ¶
func (o *DeleteRepoNotificationBadRequest) GetPayload() *models.APIError
type DeleteRepoNotificationForbidden ¶
DeleteRepoNotificationForbidden handles this case with default header values.
Unauthorized access
func NewDeleteRepoNotificationForbidden ¶
func NewDeleteRepoNotificationForbidden() *DeleteRepoNotificationForbidden
NewDeleteRepoNotificationForbidden creates a DeleteRepoNotificationForbidden with default headers values
func (*DeleteRepoNotificationForbidden) Error ¶
func (o *DeleteRepoNotificationForbidden) Error() string
func (*DeleteRepoNotificationForbidden) GetPayload ¶
func (o *DeleteRepoNotificationForbidden) GetPayload() *models.APIError
type DeleteRepoNotificationNoContent ¶
type DeleteRepoNotificationNoContent struct { }
DeleteRepoNotificationNoContent handles this case with default header values.
Deleted
func NewDeleteRepoNotificationNoContent ¶
func NewDeleteRepoNotificationNoContent() *DeleteRepoNotificationNoContent
NewDeleteRepoNotificationNoContent creates a DeleteRepoNotificationNoContent with default headers values
func (*DeleteRepoNotificationNoContent) Error ¶
func (o *DeleteRepoNotificationNoContent) Error() string
type DeleteRepoNotificationNotFound ¶
DeleteRepoNotificationNotFound handles this case with default header values.
Not found
func NewDeleteRepoNotificationNotFound ¶
func NewDeleteRepoNotificationNotFound() *DeleteRepoNotificationNotFound
NewDeleteRepoNotificationNotFound creates a DeleteRepoNotificationNotFound with default headers values
func (*DeleteRepoNotificationNotFound) Error ¶
func (o *DeleteRepoNotificationNotFound) Error() string
func (*DeleteRepoNotificationNotFound) GetPayload ¶
func (o *DeleteRepoNotificationNotFound) GetPayload() *models.APIError
type DeleteRepoNotificationParams ¶
type DeleteRepoNotificationParams struct { /*Repository The full path of the repository. e.g. namespace/name */ Repository string /*UUID The UUID of the notification */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepoNotificationParams contains all the parameters to send to the API endpoint for the delete repo notification operation typically these are written to a http.Request
func NewDeleteRepoNotificationParams ¶
func NewDeleteRepoNotificationParams() *DeleteRepoNotificationParams
NewDeleteRepoNotificationParams creates a new DeleteRepoNotificationParams object with the default values initialized.
func NewDeleteRepoNotificationParamsWithContext ¶
func NewDeleteRepoNotificationParamsWithContext(ctx context.Context) *DeleteRepoNotificationParams
NewDeleteRepoNotificationParamsWithContext creates a new DeleteRepoNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRepoNotificationParamsWithHTTPClient ¶
func NewDeleteRepoNotificationParamsWithHTTPClient(client *http.Client) *DeleteRepoNotificationParams
NewDeleteRepoNotificationParamsWithHTTPClient creates a new DeleteRepoNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRepoNotificationParamsWithTimeout ¶
func NewDeleteRepoNotificationParamsWithTimeout(timeout time.Duration) *DeleteRepoNotificationParams
NewDeleteRepoNotificationParamsWithTimeout creates a new DeleteRepoNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRepoNotificationParams) SetContext ¶
func (o *DeleteRepoNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repo notification params
func (*DeleteRepoNotificationParams) SetHTTPClient ¶
func (o *DeleteRepoNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repo notification params
func (*DeleteRepoNotificationParams) SetRepository ¶
func (o *DeleteRepoNotificationParams) SetRepository(repository string)
SetRepository adds the repository to the delete repo notification params
func (*DeleteRepoNotificationParams) SetTimeout ¶
func (o *DeleteRepoNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repo notification params
func (*DeleteRepoNotificationParams) SetUUID ¶
func (o *DeleteRepoNotificationParams) SetUUID(uuid string)
SetUUID adds the uuid to the delete repo notification params
func (*DeleteRepoNotificationParams) WithContext ¶
func (o *DeleteRepoNotificationParams) WithContext(ctx context.Context) *DeleteRepoNotificationParams
WithContext adds the context to the delete repo notification params
func (*DeleteRepoNotificationParams) WithHTTPClient ¶
func (o *DeleteRepoNotificationParams) WithHTTPClient(client *http.Client) *DeleteRepoNotificationParams
WithHTTPClient adds the HTTPClient to the delete repo notification params
func (*DeleteRepoNotificationParams) WithRepository ¶
func (o *DeleteRepoNotificationParams) WithRepository(repository string) *DeleteRepoNotificationParams
WithRepository adds the repository to the delete repo notification params
func (*DeleteRepoNotificationParams) WithTimeout ¶
func (o *DeleteRepoNotificationParams) WithTimeout(timeout time.Duration) *DeleteRepoNotificationParams
WithTimeout adds the timeout to the delete repo notification params
func (*DeleteRepoNotificationParams) WithUUID ¶
func (o *DeleteRepoNotificationParams) WithUUID(uuid string) *DeleteRepoNotificationParams
WithUUID adds the uuid to the delete repo notification params
func (*DeleteRepoNotificationParams) WriteToRequest ¶
func (o *DeleteRepoNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepoNotificationReader ¶
type DeleteRepoNotificationReader struct {
// contains filtered or unexported fields
}
DeleteRepoNotificationReader is a Reader for the DeleteRepoNotification structure.
func (*DeleteRepoNotificationReader) ReadResponse ¶
func (o *DeleteRepoNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRepoNotificationUnauthorized ¶
type DeleteRepoNotificationUnauthorized struct {
}DeleteRepoNotificationUnauthorized handles this case with default header values.
Session required
func NewDeleteRepoNotificationUnauthorized ¶
func NewDeleteRepoNotificationUnauthorized() *DeleteRepoNotificationUnauthorized
NewDeleteRepoNotificationUnauthorized creates a DeleteRepoNotificationUnauthorized with default headers values
func (*DeleteRepoNotificationUnauthorized) Error ¶
func (o *DeleteRepoNotificationUnauthorized) Error() string
func (*DeleteRepoNotificationUnauthorized) GetPayload ¶
func (o *DeleteRepoNotificationUnauthorized) GetPayload() *models.APIError
type GetRepoNotificationBadRequest ¶
GetRepoNotificationBadRequest handles this case with default header values.
Bad Request
func NewGetRepoNotificationBadRequest ¶
func NewGetRepoNotificationBadRequest() *GetRepoNotificationBadRequest
NewGetRepoNotificationBadRequest creates a GetRepoNotificationBadRequest with default headers values
func (*GetRepoNotificationBadRequest) Error ¶
func (o *GetRepoNotificationBadRequest) Error() string
func (*GetRepoNotificationBadRequest) GetPayload ¶
func (o *GetRepoNotificationBadRequest) GetPayload() *models.APIError
type GetRepoNotificationForbidden ¶
GetRepoNotificationForbidden handles this case with default header values.
Unauthorized access
func NewGetRepoNotificationForbidden ¶
func NewGetRepoNotificationForbidden() *GetRepoNotificationForbidden
NewGetRepoNotificationForbidden creates a GetRepoNotificationForbidden with default headers values
func (*GetRepoNotificationForbidden) Error ¶
func (o *GetRepoNotificationForbidden) Error() string
func (*GetRepoNotificationForbidden) GetPayload ¶
func (o *GetRepoNotificationForbidden) GetPayload() *models.APIError
type GetRepoNotificationNotFound ¶
GetRepoNotificationNotFound handles this case with default header values.
Not found
func NewGetRepoNotificationNotFound ¶
func NewGetRepoNotificationNotFound() *GetRepoNotificationNotFound
NewGetRepoNotificationNotFound creates a GetRepoNotificationNotFound with default headers values
func (*GetRepoNotificationNotFound) Error ¶
func (o *GetRepoNotificationNotFound) Error() string
func (*GetRepoNotificationNotFound) GetPayload ¶
func (o *GetRepoNotificationNotFound) GetPayload() *models.APIError
type GetRepoNotificationOK ¶
type GetRepoNotificationOK struct { }
GetRepoNotificationOK handles this case with default header values.
Successful invocation
func NewGetRepoNotificationOK ¶
func NewGetRepoNotificationOK() *GetRepoNotificationOK
NewGetRepoNotificationOK creates a GetRepoNotificationOK with default headers values
func (*GetRepoNotificationOK) Error ¶
func (o *GetRepoNotificationOK) Error() string
type GetRepoNotificationParams ¶
type GetRepoNotificationParams struct { /*Repository The full path of the repository. e.g. namespace/name */ Repository string /*UUID The UUID of the notification */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepoNotificationParams contains all the parameters to send to the API endpoint for the get repo notification operation typically these are written to a http.Request
func NewGetRepoNotificationParams ¶
func NewGetRepoNotificationParams() *GetRepoNotificationParams
NewGetRepoNotificationParams creates a new GetRepoNotificationParams object with the default values initialized.
func NewGetRepoNotificationParamsWithContext ¶
func NewGetRepoNotificationParamsWithContext(ctx context.Context) *GetRepoNotificationParams
NewGetRepoNotificationParamsWithContext creates a new GetRepoNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepoNotificationParamsWithHTTPClient ¶
func NewGetRepoNotificationParamsWithHTTPClient(client *http.Client) *GetRepoNotificationParams
NewGetRepoNotificationParamsWithHTTPClient creates a new GetRepoNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepoNotificationParamsWithTimeout ¶
func NewGetRepoNotificationParamsWithTimeout(timeout time.Duration) *GetRepoNotificationParams
NewGetRepoNotificationParamsWithTimeout creates a new GetRepoNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepoNotificationParams) SetContext ¶
func (o *GetRepoNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the get repo notification params
func (*GetRepoNotificationParams) SetHTTPClient ¶
func (o *GetRepoNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repo notification params
func (*GetRepoNotificationParams) SetRepository ¶
func (o *GetRepoNotificationParams) SetRepository(repository string)
SetRepository adds the repository to the get repo notification params
func (*GetRepoNotificationParams) SetTimeout ¶
func (o *GetRepoNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repo notification params
func (*GetRepoNotificationParams) SetUUID ¶
func (o *GetRepoNotificationParams) SetUUID(uuid string)
SetUUID adds the uuid to the get repo notification params
func (*GetRepoNotificationParams) WithContext ¶
func (o *GetRepoNotificationParams) WithContext(ctx context.Context) *GetRepoNotificationParams
WithContext adds the context to the get repo notification params
func (*GetRepoNotificationParams) WithHTTPClient ¶
func (o *GetRepoNotificationParams) WithHTTPClient(client *http.Client) *GetRepoNotificationParams
WithHTTPClient adds the HTTPClient to the get repo notification params
func (*GetRepoNotificationParams) WithRepository ¶
func (o *GetRepoNotificationParams) WithRepository(repository string) *GetRepoNotificationParams
WithRepository adds the repository to the get repo notification params
func (*GetRepoNotificationParams) WithTimeout ¶
func (o *GetRepoNotificationParams) WithTimeout(timeout time.Duration) *GetRepoNotificationParams
WithTimeout adds the timeout to the get repo notification params
func (*GetRepoNotificationParams) WithUUID ¶
func (o *GetRepoNotificationParams) WithUUID(uuid string) *GetRepoNotificationParams
WithUUID adds the uuid to the get repo notification params
func (*GetRepoNotificationParams) WriteToRequest ¶
func (o *GetRepoNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepoNotificationReader ¶
type GetRepoNotificationReader struct {
// contains filtered or unexported fields
}
GetRepoNotificationReader is a Reader for the GetRepoNotification structure.
func (*GetRepoNotificationReader) ReadResponse ¶
func (o *GetRepoNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepoNotificationUnauthorized ¶
type GetRepoNotificationUnauthorized struct {
}GetRepoNotificationUnauthorized handles this case with default header values.
Session required
func NewGetRepoNotificationUnauthorized ¶
func NewGetRepoNotificationUnauthorized() *GetRepoNotificationUnauthorized
NewGetRepoNotificationUnauthorized creates a GetRepoNotificationUnauthorized with default headers values
func (*GetRepoNotificationUnauthorized) Error ¶
func (o *GetRepoNotificationUnauthorized) Error() string
func (*GetRepoNotificationUnauthorized) GetPayload ¶
func (o *GetRepoNotificationUnauthorized) GetPayload() *models.APIError
type ListRepoNotificationsBadRequest ¶
ListRepoNotificationsBadRequest handles this case with default header values.
Bad Request
func NewListRepoNotificationsBadRequest ¶
func NewListRepoNotificationsBadRequest() *ListRepoNotificationsBadRequest
NewListRepoNotificationsBadRequest creates a ListRepoNotificationsBadRequest with default headers values
func (*ListRepoNotificationsBadRequest) Error ¶
func (o *ListRepoNotificationsBadRequest) Error() string
func (*ListRepoNotificationsBadRequest) GetPayload ¶
func (o *ListRepoNotificationsBadRequest) GetPayload() *models.APIError
type ListRepoNotificationsForbidden ¶
ListRepoNotificationsForbidden handles this case with default header values.
Unauthorized access
func NewListRepoNotificationsForbidden ¶
func NewListRepoNotificationsForbidden() *ListRepoNotificationsForbidden
NewListRepoNotificationsForbidden creates a ListRepoNotificationsForbidden with default headers values
func (*ListRepoNotificationsForbidden) Error ¶
func (o *ListRepoNotificationsForbidden) Error() string
func (*ListRepoNotificationsForbidden) GetPayload ¶
func (o *ListRepoNotificationsForbidden) GetPayload() *models.APIError
type ListRepoNotificationsNotFound ¶
ListRepoNotificationsNotFound handles this case with default header values.
Not found
func NewListRepoNotificationsNotFound ¶
func NewListRepoNotificationsNotFound() *ListRepoNotificationsNotFound
NewListRepoNotificationsNotFound creates a ListRepoNotificationsNotFound with default headers values
func (*ListRepoNotificationsNotFound) Error ¶
func (o *ListRepoNotificationsNotFound) Error() string
func (*ListRepoNotificationsNotFound) GetPayload ¶
func (o *ListRepoNotificationsNotFound) GetPayload() *models.APIError
type ListRepoNotificationsOK ¶
type ListRepoNotificationsOK struct { }
ListRepoNotificationsOK handles this case with default header values.
Successful invocation
func NewListRepoNotificationsOK ¶
func NewListRepoNotificationsOK() *ListRepoNotificationsOK
NewListRepoNotificationsOK creates a ListRepoNotificationsOK with default headers values
func (*ListRepoNotificationsOK) Error ¶
func (o *ListRepoNotificationsOK) Error() string
type ListRepoNotificationsParams ¶
type ListRepoNotificationsParams struct { /*Repository The full path of the repository. e.g. namespace/name */ Repository string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRepoNotificationsParams contains all the parameters to send to the API endpoint for the list repo notifications operation typically these are written to a http.Request
func NewListRepoNotificationsParams ¶
func NewListRepoNotificationsParams() *ListRepoNotificationsParams
NewListRepoNotificationsParams creates a new ListRepoNotificationsParams object with the default values initialized.
func NewListRepoNotificationsParamsWithContext ¶
func NewListRepoNotificationsParamsWithContext(ctx context.Context) *ListRepoNotificationsParams
NewListRepoNotificationsParamsWithContext creates a new ListRepoNotificationsParams object with the default values initialized, and the ability to set a context for a request
func NewListRepoNotificationsParamsWithHTTPClient ¶
func NewListRepoNotificationsParamsWithHTTPClient(client *http.Client) *ListRepoNotificationsParams
NewListRepoNotificationsParamsWithHTTPClient creates a new ListRepoNotificationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRepoNotificationsParamsWithTimeout ¶
func NewListRepoNotificationsParamsWithTimeout(timeout time.Duration) *ListRepoNotificationsParams
NewListRepoNotificationsParamsWithTimeout creates a new ListRepoNotificationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRepoNotificationsParams) SetContext ¶
func (o *ListRepoNotificationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list repo notifications params
func (*ListRepoNotificationsParams) SetHTTPClient ¶
func (o *ListRepoNotificationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list repo notifications params
func (*ListRepoNotificationsParams) SetRepository ¶
func (o *ListRepoNotificationsParams) SetRepository(repository string)
SetRepository adds the repository to the list repo notifications params
func (*ListRepoNotificationsParams) SetTimeout ¶
func (o *ListRepoNotificationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list repo notifications params
func (*ListRepoNotificationsParams) WithContext ¶
func (o *ListRepoNotificationsParams) WithContext(ctx context.Context) *ListRepoNotificationsParams
WithContext adds the context to the list repo notifications params
func (*ListRepoNotificationsParams) WithHTTPClient ¶
func (o *ListRepoNotificationsParams) WithHTTPClient(client *http.Client) *ListRepoNotificationsParams
WithHTTPClient adds the HTTPClient to the list repo notifications params
func (*ListRepoNotificationsParams) WithRepository ¶
func (o *ListRepoNotificationsParams) WithRepository(repository string) *ListRepoNotificationsParams
WithRepository adds the repository to the list repo notifications params
func (*ListRepoNotificationsParams) WithTimeout ¶
func (o *ListRepoNotificationsParams) WithTimeout(timeout time.Duration) *ListRepoNotificationsParams
WithTimeout adds the timeout to the list repo notifications params
func (*ListRepoNotificationsParams) WriteToRequest ¶
func (o *ListRepoNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRepoNotificationsReader ¶
type ListRepoNotificationsReader struct {
// contains filtered or unexported fields
}
ListRepoNotificationsReader is a Reader for the ListRepoNotifications structure.
func (*ListRepoNotificationsReader) ReadResponse ¶
func (o *ListRepoNotificationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRepoNotificationsUnauthorized ¶
type ListRepoNotificationsUnauthorized struct {
}ListRepoNotificationsUnauthorized handles this case with default header values.
Session required
func NewListRepoNotificationsUnauthorized ¶
func NewListRepoNotificationsUnauthorized() *ListRepoNotificationsUnauthorized
NewListRepoNotificationsUnauthorized creates a ListRepoNotificationsUnauthorized with default headers values
func (*ListRepoNotificationsUnauthorized) Error ¶
func (o *ListRepoNotificationsUnauthorized) Error() string
func (*ListRepoNotificationsUnauthorized) GetPayload ¶
func (o *ListRepoNotificationsUnauthorized) GetPayload() *models.APIError
type ResetRepositoryNotificationFailuresBadRequest ¶
ResetRepositoryNotificationFailuresBadRequest handles this case with default header values.
Bad Request
func NewResetRepositoryNotificationFailuresBadRequest ¶
func NewResetRepositoryNotificationFailuresBadRequest() *ResetRepositoryNotificationFailuresBadRequest
NewResetRepositoryNotificationFailuresBadRequest creates a ResetRepositoryNotificationFailuresBadRequest with default headers values
func (*ResetRepositoryNotificationFailuresBadRequest) Error ¶
func (o *ResetRepositoryNotificationFailuresBadRequest) Error() string
func (*ResetRepositoryNotificationFailuresBadRequest) GetPayload ¶
func (o *ResetRepositoryNotificationFailuresBadRequest) GetPayload() *models.APIError
type ResetRepositoryNotificationFailuresCreated ¶
type ResetRepositoryNotificationFailuresCreated struct { }
ResetRepositoryNotificationFailuresCreated handles this case with default header values.
Successful creation
func NewResetRepositoryNotificationFailuresCreated ¶
func NewResetRepositoryNotificationFailuresCreated() *ResetRepositoryNotificationFailuresCreated
NewResetRepositoryNotificationFailuresCreated creates a ResetRepositoryNotificationFailuresCreated with default headers values
func (*ResetRepositoryNotificationFailuresCreated) Error ¶
func (o *ResetRepositoryNotificationFailuresCreated) Error() string
type ResetRepositoryNotificationFailuresForbidden ¶
ResetRepositoryNotificationFailuresForbidden handles this case with default header values.
Unauthorized access
func NewResetRepositoryNotificationFailuresForbidden ¶
func NewResetRepositoryNotificationFailuresForbidden() *ResetRepositoryNotificationFailuresForbidden
NewResetRepositoryNotificationFailuresForbidden creates a ResetRepositoryNotificationFailuresForbidden with default headers values
func (*ResetRepositoryNotificationFailuresForbidden) Error ¶
func (o *ResetRepositoryNotificationFailuresForbidden) Error() string
func (*ResetRepositoryNotificationFailuresForbidden) GetPayload ¶
func (o *ResetRepositoryNotificationFailuresForbidden) GetPayload() *models.APIError
type ResetRepositoryNotificationFailuresNotFound ¶
ResetRepositoryNotificationFailuresNotFound handles this case with default header values.
Not found
func NewResetRepositoryNotificationFailuresNotFound ¶
func NewResetRepositoryNotificationFailuresNotFound() *ResetRepositoryNotificationFailuresNotFound
NewResetRepositoryNotificationFailuresNotFound creates a ResetRepositoryNotificationFailuresNotFound with default headers values
func (*ResetRepositoryNotificationFailuresNotFound) Error ¶
func (o *ResetRepositoryNotificationFailuresNotFound) Error() string
func (*ResetRepositoryNotificationFailuresNotFound) GetPayload ¶
func (o *ResetRepositoryNotificationFailuresNotFound) GetPayload() *models.APIError
type ResetRepositoryNotificationFailuresParams ¶
type ResetRepositoryNotificationFailuresParams struct { /*Repository The full path of the repository. e.g. namespace/name */ Repository string /*UUID The UUID of the notification */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetRepositoryNotificationFailuresParams contains all the parameters to send to the API endpoint for the reset repository notification failures operation typically these are written to a http.Request
func NewResetRepositoryNotificationFailuresParams ¶
func NewResetRepositoryNotificationFailuresParams() *ResetRepositoryNotificationFailuresParams
NewResetRepositoryNotificationFailuresParams creates a new ResetRepositoryNotificationFailuresParams object with the default values initialized.
func NewResetRepositoryNotificationFailuresParamsWithContext ¶
func NewResetRepositoryNotificationFailuresParamsWithContext(ctx context.Context) *ResetRepositoryNotificationFailuresParams
NewResetRepositoryNotificationFailuresParamsWithContext creates a new ResetRepositoryNotificationFailuresParams object with the default values initialized, and the ability to set a context for a request
func NewResetRepositoryNotificationFailuresParamsWithHTTPClient ¶
func NewResetRepositoryNotificationFailuresParamsWithHTTPClient(client *http.Client) *ResetRepositoryNotificationFailuresParams
NewResetRepositoryNotificationFailuresParamsWithHTTPClient creates a new ResetRepositoryNotificationFailuresParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResetRepositoryNotificationFailuresParamsWithTimeout ¶
func NewResetRepositoryNotificationFailuresParamsWithTimeout(timeout time.Duration) *ResetRepositoryNotificationFailuresParams
NewResetRepositoryNotificationFailuresParamsWithTimeout creates a new ResetRepositoryNotificationFailuresParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResetRepositoryNotificationFailuresParams) SetContext ¶
func (o *ResetRepositoryNotificationFailuresParams) SetContext(ctx context.Context)
SetContext adds the context to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) SetHTTPClient ¶
func (o *ResetRepositoryNotificationFailuresParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) SetRepository ¶
func (o *ResetRepositoryNotificationFailuresParams) SetRepository(repository string)
SetRepository adds the repository to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) SetTimeout ¶
func (o *ResetRepositoryNotificationFailuresParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) SetUUID ¶
func (o *ResetRepositoryNotificationFailuresParams) SetUUID(uuid string)
SetUUID adds the uuid to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) WithContext ¶
func (o *ResetRepositoryNotificationFailuresParams) WithContext(ctx context.Context) *ResetRepositoryNotificationFailuresParams
WithContext adds the context to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) WithHTTPClient ¶
func (o *ResetRepositoryNotificationFailuresParams) WithHTTPClient(client *http.Client) *ResetRepositoryNotificationFailuresParams
WithHTTPClient adds the HTTPClient to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) WithRepository ¶
func (o *ResetRepositoryNotificationFailuresParams) WithRepository(repository string) *ResetRepositoryNotificationFailuresParams
WithRepository adds the repository to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) WithTimeout ¶
func (o *ResetRepositoryNotificationFailuresParams) WithTimeout(timeout time.Duration) *ResetRepositoryNotificationFailuresParams
WithTimeout adds the timeout to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) WithUUID ¶
func (o *ResetRepositoryNotificationFailuresParams) WithUUID(uuid string) *ResetRepositoryNotificationFailuresParams
WithUUID adds the uuid to the reset repository notification failures params
func (*ResetRepositoryNotificationFailuresParams) WriteToRequest ¶
func (o *ResetRepositoryNotificationFailuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetRepositoryNotificationFailuresReader ¶
type ResetRepositoryNotificationFailuresReader struct {
// contains filtered or unexported fields
}
ResetRepositoryNotificationFailuresReader is a Reader for the ResetRepositoryNotificationFailures structure.
func (*ResetRepositoryNotificationFailuresReader) ReadResponse ¶
func (o *ResetRepositoryNotificationFailuresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetRepositoryNotificationFailuresUnauthorized ¶
type ResetRepositoryNotificationFailuresUnauthorized struct {
}ResetRepositoryNotificationFailuresUnauthorized handles this case with default header values.
Session required
func NewResetRepositoryNotificationFailuresUnauthorized ¶
func NewResetRepositoryNotificationFailuresUnauthorized() *ResetRepositoryNotificationFailuresUnauthorized
NewResetRepositoryNotificationFailuresUnauthorized creates a ResetRepositoryNotificationFailuresUnauthorized with default headers values
func (*ResetRepositoryNotificationFailuresUnauthorized) Error ¶
func (o *ResetRepositoryNotificationFailuresUnauthorized) Error() string
func (*ResetRepositoryNotificationFailuresUnauthorized) GetPayload ¶
func (o *ResetRepositoryNotificationFailuresUnauthorized) GetPayload() *models.APIError
type TestRepoNotificationBadRequest ¶
TestRepoNotificationBadRequest handles this case with default header values.
Bad Request
func NewTestRepoNotificationBadRequest ¶
func NewTestRepoNotificationBadRequest() *TestRepoNotificationBadRequest
NewTestRepoNotificationBadRequest creates a TestRepoNotificationBadRequest with default headers values
func (*TestRepoNotificationBadRequest) Error ¶
func (o *TestRepoNotificationBadRequest) Error() string
func (*TestRepoNotificationBadRequest) GetPayload ¶
func (o *TestRepoNotificationBadRequest) GetPayload() *models.APIError
type TestRepoNotificationCreated ¶
type TestRepoNotificationCreated struct { }
TestRepoNotificationCreated handles this case with default header values.
Successful creation
func NewTestRepoNotificationCreated ¶
func NewTestRepoNotificationCreated() *TestRepoNotificationCreated
NewTestRepoNotificationCreated creates a TestRepoNotificationCreated with default headers values
func (*TestRepoNotificationCreated) Error ¶
func (o *TestRepoNotificationCreated) Error() string
type TestRepoNotificationForbidden ¶
TestRepoNotificationForbidden handles this case with default header values.
Unauthorized access
func NewTestRepoNotificationForbidden ¶
func NewTestRepoNotificationForbidden() *TestRepoNotificationForbidden
NewTestRepoNotificationForbidden creates a TestRepoNotificationForbidden with default headers values
func (*TestRepoNotificationForbidden) Error ¶
func (o *TestRepoNotificationForbidden) Error() string
func (*TestRepoNotificationForbidden) GetPayload ¶
func (o *TestRepoNotificationForbidden) GetPayload() *models.APIError
type TestRepoNotificationNotFound ¶
TestRepoNotificationNotFound handles this case with default header values.
Not found
func NewTestRepoNotificationNotFound ¶
func NewTestRepoNotificationNotFound() *TestRepoNotificationNotFound
NewTestRepoNotificationNotFound creates a TestRepoNotificationNotFound with default headers values
func (*TestRepoNotificationNotFound) Error ¶
func (o *TestRepoNotificationNotFound) Error() string
func (*TestRepoNotificationNotFound) GetPayload ¶
func (o *TestRepoNotificationNotFound) GetPayload() *models.APIError
type TestRepoNotificationParams ¶
type TestRepoNotificationParams struct { /*Repository The full path of the repository. e.g. namespace/name */ Repository string /*UUID The UUID of the notification */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestRepoNotificationParams contains all the parameters to send to the API endpoint for the test repo notification operation typically these are written to a http.Request
func NewTestRepoNotificationParams ¶
func NewTestRepoNotificationParams() *TestRepoNotificationParams
NewTestRepoNotificationParams creates a new TestRepoNotificationParams object with the default values initialized.
func NewTestRepoNotificationParamsWithContext ¶
func NewTestRepoNotificationParamsWithContext(ctx context.Context) *TestRepoNotificationParams
NewTestRepoNotificationParamsWithContext creates a new TestRepoNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewTestRepoNotificationParamsWithHTTPClient ¶
func NewTestRepoNotificationParamsWithHTTPClient(client *http.Client) *TestRepoNotificationParams
NewTestRepoNotificationParamsWithHTTPClient creates a new TestRepoNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTestRepoNotificationParamsWithTimeout ¶
func NewTestRepoNotificationParamsWithTimeout(timeout time.Duration) *TestRepoNotificationParams
NewTestRepoNotificationParamsWithTimeout creates a new TestRepoNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*TestRepoNotificationParams) SetContext ¶
func (o *TestRepoNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the test repo notification params
func (*TestRepoNotificationParams) SetHTTPClient ¶
func (o *TestRepoNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test repo notification params
func (*TestRepoNotificationParams) SetRepository ¶
func (o *TestRepoNotificationParams) SetRepository(repository string)
SetRepository adds the repository to the test repo notification params
func (*TestRepoNotificationParams) SetTimeout ¶
func (o *TestRepoNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test repo notification params
func (*TestRepoNotificationParams) SetUUID ¶
func (o *TestRepoNotificationParams) SetUUID(uuid string)
SetUUID adds the uuid to the test repo notification params
func (*TestRepoNotificationParams) WithContext ¶
func (o *TestRepoNotificationParams) WithContext(ctx context.Context) *TestRepoNotificationParams
WithContext adds the context to the test repo notification params
func (*TestRepoNotificationParams) WithHTTPClient ¶
func (o *TestRepoNotificationParams) WithHTTPClient(client *http.Client) *TestRepoNotificationParams
WithHTTPClient adds the HTTPClient to the test repo notification params
func (*TestRepoNotificationParams) WithRepository ¶
func (o *TestRepoNotificationParams) WithRepository(repository string) *TestRepoNotificationParams
WithRepository adds the repository to the test repo notification params
func (*TestRepoNotificationParams) WithTimeout ¶
func (o *TestRepoNotificationParams) WithTimeout(timeout time.Duration) *TestRepoNotificationParams
WithTimeout adds the timeout to the test repo notification params
func (*TestRepoNotificationParams) WithUUID ¶
func (o *TestRepoNotificationParams) WithUUID(uuid string) *TestRepoNotificationParams
WithUUID adds the uuid to the test repo notification params
func (*TestRepoNotificationParams) WriteToRequest ¶
func (o *TestRepoNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestRepoNotificationReader ¶
type TestRepoNotificationReader struct {
// contains filtered or unexported fields
}
TestRepoNotificationReader is a Reader for the TestRepoNotification structure.
func (*TestRepoNotificationReader) ReadResponse ¶
func (o *TestRepoNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestRepoNotificationUnauthorized ¶
type TestRepoNotificationUnauthorized struct {
}TestRepoNotificationUnauthorized handles this case with default header values.
Session required
func NewTestRepoNotificationUnauthorized ¶
func NewTestRepoNotificationUnauthorized() *TestRepoNotificationUnauthorized
NewTestRepoNotificationUnauthorized creates a TestRepoNotificationUnauthorized with default headers values
func (*TestRepoNotificationUnauthorized) Error ¶
func (o *TestRepoNotificationUnauthorized) Error() string
func (*TestRepoNotificationUnauthorized) GetPayload ¶
func (o *TestRepoNotificationUnauthorized) GetPayload() *models.APIError
Source Files
¶
- create_repo_notification_parameters.go
- create_repo_notification_responses.go
- delete_repo_notification_parameters.go
- delete_repo_notification_responses.go
- get_repo_notification_parameters.go
- get_repo_notification_responses.go
- list_repo_notifications_parameters.go
- list_repo_notifications_responses.go
- repositorynotification_client.go
- reset_repository_notification_failures_parameters.go
- reset_repository_notification_failures_responses.go
- test_repo_notification_parameters.go
- test_repo_notification_responses.go