Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactEvent ¶
type ArtifactInfo ¶
type Artifactory ¶
type Artifactory struct { Webhooks // contains filtered or unexported fields }
func New ¶
func New(baseUri string) *Artifactory
func WithHttpClient ¶
func WithHttpClient(baseUri string, client *http.Client) *Artifactory
func (*Artifactory) Get ¶
func (rt *Artifactory) Get(uri string) (io.ReadCloser, error)
type EventHandlerFunc ¶
type EventHandlerFunc func(*ArtifactInfo) error
type Repository ¶
type Repository interface {
Get(string) (io.ReadCloser, error)
}
type Webhooks ¶
type Webhooks struct {
// contains filtered or unexported fields
}
func (*Webhooks) OnArtifactDeployed ¶
func (w *Webhooks) OnArtifactDeployed(f EventHandlerFunc)
func (*Webhooks) WebhookHandler ¶
func (w *Webhooks) WebhookHandler(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.