Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cdk8s-redis

Package Overview
Dependencies
Maintainers
1
Versions
798
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk8s-redis - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

lib/imports/k8s.d.ts

42

API.md

@@ -7,11 +7,20 @@ # API Reference

----|-----------
[Hello](#cdk8s-redis-hello)|*No description*
[Redis](#cdk8s-redis-redis)|*No description*
**Structs**
## class Hello 🔹 <a id="cdk8s-redis-hello"></a>
Name|Description
----|-----------
[RedisOptions](#cdk8s-redis-redisoptions)|*No description*
## class Redis 🔹 <a id="cdk8s-redis-redis"></a>
__Implements__: [IConstruct](#constructs-iconstruct)
__Extends__: [Construct](#constructs-construct)
### Initializer

@@ -23,23 +32,36 @@

```ts
new Hello()
new Redis(scope: Construct, id: string, options?: RedisOptions)
```
* **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
* **id** (<code>string</code>) *No description*
* **options** (<code>[RedisOptions](#cdk8s-redis-redisoptions)</code>) *No description*
* **labels** (<code>Map<string, string></code>) Extra labels to associate with resources. __*Default*__: none
* **slaveReplicas** (<code>number</code>) Number of slave replicas. __*Default*__: 2
### Methods
### Properties
#### sayHello()🔹 <a id="cdk8s-redis-hello-sayhello"></a>
Name | Type | Description
-----|------|-------------
**masterHost**🔹 | <code>string</code> | The DNS host for the master server.
**slaveHost**🔹 | <code>string</code> | The DNS host for the slave service.
```ts
sayHello(): string
```
## struct RedisOptions 🔹 <a id="cdk8s-redis-redisoptions"></a>
__Returns__:
* <code>string</code>
Name | Type | Description
-----|------|-------------
**labels**?🔹 | <code>Map<string, string></code> | Extra labels to associate with resources.<br/>__*Default*__: none
**slaveReplicas**?🔹 | <code>number</code> | Number of slave replicas.<br/>__*Default*__: 2

@@ -1,9 +0,1 @@

/**
* @experimental
*/
export declare class Hello {
/**
* @experimental
*/
sayHello(): string;
}
export * from './redis';
"use strict";
var _a;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Hello = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
/**
* @experimental
*/
class Hello {
/**
* @experimental
*/
sayHello() {
return 'hello, world!';
}
}
exports.Hello = Hello;
_a = JSII_RTTI_SYMBOL_1;
Hello[_a] = { fqn: "cdk8s-redis.Hello", version: "0.1.11" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxNQUFhLEtBQUs7Ozs7SUFDVCxRQUFRO1FBQ2IsT0FBTyxlQUFlLENBQUM7SUFDekIsQ0FBQzs7QUFISCxzQkFJQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBIZWxsbyB7XG4gIHB1YmxpYyBzYXlIZWxsbygpIHtcbiAgICByZXR1cm4gJ2hlbGxvLCB3b3JsZCEnO1xuICB9XG59Il19
__exportStar(require("./redis"), exports);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsMENBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZWRpcyc7XG4iXX0=

@@ -64,3 +64,3 @@ {

"license": "Apache-2.0",
"version": "0.1.11",
"version": "0.1.12",
"jest": {

@@ -67,0 +67,0 @@ "testMatch": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc