@sap/opentelemetry-exporter-for-sap-cloud-logging
Version:
A set of auto-configured OpenTelemetry exporters for SAP Cloud Logging
29 lines • 735 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ServiceBinding = void 0;
class ServiceBinding {
constructor(serviceName, data) {
this.serviceName = serviceName;
this.name = data.name || "";
this.label = data.label || "";
this.credentials = data.credentials || {};
this.tags = data.tags || [];
}
getServiceName() {
return this.serviceName;
}
getName() {
return this.name;
}
getLabel() {
return this.label;
}
getCredentials() {
return this.credentials;
}
getTags() {
return this.tags;
}
}
exports.ServiceBinding = ServiceBinding;
//# sourceMappingURL=serviceBinding.js.map