@decentm/concourse-ts-resource-helm3
v0.2.1
Published
`npm i --save-dev @decentm/concourse-ts @decentm/concourse-ts-resource-helm3`
Downloads
2
Readme
Typed Helm3 resource for concourse-ts
Installation
npm i --save-dev @decentm/concourse-ts @decentm/concourse-ts-resource-helm3
yarn add -D @decentm/concourse-ts @decentm/concourse-ts-resource-helm3
Usage
The Time resource is a typed class that extends the base Resource class. Therefore, it has the same properties. See the Resource documentation for details.
import {Type} from '@decentm/concourse-ts'
import {Helm3Resource, Helm3ResourceType} from '@decentm/concourse-ts-resource-helm3'
export class CorpityCorpHelm3 extends Helm3Resource {
constructor(name: string, init?: Type.Initer<CorpityCorpTime>) {
super(name, new Helm3ResourceType(/*...*/))
// Set defaults here
if (init) {
init(this)
}
}
}