Documentation
¶
Index ¶
- func ArtifactCopiedEventJSON() string
- func ArtifactDeletedEventJSON() string
- func ArtifactDeployedEventJSON() string
- func ArtifactMovedEventJSON() string
- func ArtifactPropertiesAddedEventJSON() string
- func ArtifactPropertiesDeletedEventJSON() string
- func BuildDeletedEventJSON() string
- func BuildPromotedEventJSON() string
- func BuildUploadedEventJSON() string
- func DestinationDeleteCompletedEventJSON() string
- func DestinationDeleteFailedEventJSON() string
- func DestinationDeleteStartedEventJSON() string
- func DestinationReceivedEventJSON() string
- func DistributionAbortedEventJSON() string
- func DistributionCompletedEventJSON() string
- func DistributionFailedEventJSON() string
- func DistributionStartedEventJSON() string
- func DockerDeletedEventJSON() string
- func DockerPromotedEventJSON() string
- func DockerPushedEventJSON() string
- func ReleaseBundleCreatedEventJSON() string
- func ReleaseBundleDeletedEventJSON() string
- func ReleaseBundleSignedEventJSON() string
- func UnsupportedEventJSON() string
- type ArtifactDeploymentOrDeletedEvent
- type ArtifactMovedOrCopiedEvent
- type ArtifactPropertiesEvent
- type ArtifactoryWebhook
- type BuildEvent
- type CommonFields
- type DestinationEvent
- type DistributionEvent
- type DockerEvent
- type Event
- type ReleaseBundleEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArtifactCopiedEventJSON ¶
func ArtifactCopiedEventJSON() string
func ArtifactDeletedEventJSON ¶
func ArtifactDeletedEventJSON() string
func ArtifactDeployedEventJSON ¶
func ArtifactDeployedEventJSON() string
func ArtifactMovedEventJSON ¶
func ArtifactMovedEventJSON() string
func ArtifactPropertiesAddedEventJSON ¶
func ArtifactPropertiesAddedEventJSON() string
func ArtifactPropertiesDeletedEventJSON ¶
func ArtifactPropertiesDeletedEventJSON() string
func BuildDeletedEventJSON ¶
func BuildDeletedEventJSON() string
func BuildPromotedEventJSON ¶
func BuildPromotedEventJSON() string
func BuildUploadedEventJSON ¶
func BuildUploadedEventJSON() string
func DestinationDeleteCompletedEventJSON ¶
func DestinationDeleteCompletedEventJSON() string
func DestinationDeleteFailedEventJSON ¶
func DestinationDeleteFailedEventJSON() string
func DestinationDeleteStartedEventJSON ¶
func DestinationDeleteStartedEventJSON() string
func DestinationReceivedEventJSON ¶
func DestinationReceivedEventJSON() string
func DistributionAbortedEventJSON ¶
func DistributionAbortedEventJSON() string
func DistributionCompletedEventJSON ¶
func DistributionCompletedEventJSON() string
func DistributionFailedEventJSON ¶
func DistributionFailedEventJSON() string
func DistributionStartedEventJSON ¶
func DistributionStartedEventJSON() string
func DockerDeletedEventJSON ¶
func DockerDeletedEventJSON() string
func DockerPromotedEventJSON ¶
func DockerPromotedEventJSON() string
func DockerPushedEventJSON ¶
func DockerPushedEventJSON() string
func ReleaseBundleCreatedEventJSON ¶
func ReleaseBundleCreatedEventJSON() string
func ReleaseBundleDeletedEventJSON ¶
func ReleaseBundleDeletedEventJSON() string
func ReleaseBundleSignedEventJSON ¶
func ReleaseBundleSignedEventJSON() string
func UnsupportedEventJSON ¶
func UnsupportedEventJSON() string
Types ¶
type ArtifactDeploymentOrDeletedEvent ¶
type ArtifactDeploymentOrDeletedEvent struct {
Domain string `json:"domain"`
Event string `json:"event_type"`
Data struct {
Repo string `json:"repo_key"`
Path string `json:"path"`
Name string `json:"name"`
Size int64 `json:"size"`
Sha string `json:"sha256"`
} `json:"data"`
}
func (ArtifactDeploymentOrDeletedEvent) NewMetric ¶
func (e ArtifactDeploymentOrDeletedEvent) NewMetric() telegraf.Metric
type ArtifactMovedOrCopiedEvent ¶
type ArtifactMovedOrCopiedEvent struct {
Domain string `json:"domain"`
Event string `json:"event_type"`
Data struct {
Repo string `json:"repo_key"`
Path string `json:"path"`
Name string `json:"name"`
Size int64 `json:"size"`
SourcePath string `json:"source_repo_path"`
TargetPath string `json:"target_repo_path"`
} `json:"data"`
}
func (ArtifactMovedOrCopiedEvent) NewMetric ¶
func (e ArtifactMovedOrCopiedEvent) NewMetric() telegraf.Metric
type ArtifactPropertiesEvent ¶
type ArtifactPropertiesEvent struct {
Domain string `json:"domain"`
Event string `json:"event_type"`
Data struct {
Repo string `json:"repo_key"`
Path string `json:"path"`
Name string `json:"name"`
Size int64 `json:"size"`
PropertyKey string `json:"property_key"`
PropertyValues []string `json:"property_values"`
}
}
func (ArtifactPropertiesEvent) NewMetric ¶
func (e ArtifactPropertiesEvent) NewMetric() telegraf.Metric
type ArtifactoryWebhook ¶
type ArtifactoryWebhook struct {
Path string
Secret string
// contains filtered or unexported fields
}
func (*ArtifactoryWebhook) Register ¶
func (awh *ArtifactoryWebhook) Register(router *mux.Router, acc telegraf.Accumulator, log telegraf.Logger)
type BuildEvent ¶
type BuildEvent struct {
Domain string `json:"domain"`
Event string `json:"event_type"`
Data struct {
BuildName string `json:"build_name"`
BuildNumber string `json:"build_number"`
BuildStarted string `json:"build_started"`
} `json:"data"`
}
func (BuildEvent) NewMetric ¶
func (e BuildEvent) NewMetric() telegraf.Metric
type CommonFields ¶
type DestinationEvent ¶
type DestinationEvent struct {
Domain string `json:"domain"`
Event string `json:"event_type"`
Destination string `json:"destination"`
Data struct {
Name string `json:"release_bundle_name"`
Version string `json:"release_bundle_version"`
Message string `json:"status_message"`
} `json:"data"`
OriginURL string `json:"jpd_origin"`
}
func (DestinationEvent) NewMetric ¶
func (e DestinationEvent) NewMetric() telegraf.Metric
type DistributionEvent ¶
type DistributionEvent struct {
Domain string `json:"domain"`
Event string `json:"event_type"`
Destination string `json:"destination"`
Data struct {
EdgeNodeInfoList []struct {
EdgeNodeAddress string `json:"edge_node_address"`
EdgeNodeName string `json:"edge_node_name"`
} `json:"edge_node_info_list"`
Name string `json:"release_bundle_name"`
Size int64 `json:"release_bundle_size"`
Version string `json:"release_bundle_version"`
Message string `json:"status_message"`
TransactionID int64 `json:"transaction_id"`
} `json:"data"`
OriginURL string `json:"jpd_origin"`
}
func (DistributionEvent) NewMetric ¶
func (e DistributionEvent) NewMetric() telegraf.Metric
type DockerEvent ¶
type DockerEvent struct {
Domain string `json:"domain"`
Event string `json:"event_type"`
Data struct {
Repo string `json:"repo_key"`
Path string `json:"path"`
Name string `json:"name"`
Size int64 `json:"size"`
Sha string `json:"sha256"`
ImageName string `json:"image_name"`
Tag string `json:"tag"`
Platforms []struct {
Architecture string `json:"achitecture"`
Os string `json:"os"`
} `json:"platforms"`
} `json:"data"`
}
func (DockerEvent) NewMetric ¶
func (e DockerEvent) NewMetric() telegraf.Metric
type ReleaseBundleEvent ¶
type ReleaseBundleEvent struct {
Domain string `json:"domain"`
Event string `json:"event_type"`
Destination string `json:"destination"`
Data struct {
ReleaseBundleName string `json:"release_bundle_name"`
ReleaseBundleSize int64 `json:"release_bundle_size"`
ReleaseBundleVersion string `json:"release_bundle_version"`
} `json:"data"`
JpdOrigin string `json:"jpd_origin"`
}
func (ReleaseBundleEvent) NewMetric ¶
func (e ReleaseBundleEvent) NewMetric() telegraf.Metric
Click to show internal directories.
Click to hide internal directories.