I hereby claim:
- I am welteki on github.
- I am welteki (https://keybase.io/welteki) on keybase.
- I have a public key ASCRLMg05XK1of9gI2EYXFobGEDIYD4SGDmh2C-4HHGKBQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import * as React from 'react'; | |
import { omit } from 'lodash'; | |
export const withVariants = <O extends {}, T extends {}>( | |
Component: React.ComponentClass<O> | React.StatelessComponent<O>, | |
variants: T | |
) => { | |
type Variants = keyof T; | |
interface ExtenralProps { | |
variant?: Variants; |
import { connect, NetConnectOpts } from 'net'; | |
import { Observable, Observer, Subject } from 'rxjs'; | |
// TCP Client | |
const fromSocket = (options: NetConnectOpts): Subject<Buffer> => { | |
const socket = connect(options); | |
const observable = Observable.create(function(obs) { | |
socket.on('data', obs.next.bind(obs)); | |
socket.on('error', obs.error.bind(obs)); |
const { compose, identity, add, always, dissoc, assoc } = require('ramda') | |
const { taggedSum, tagged } = require('daggy'); | |
const { Free } = require('monet'); | |
const KVS = taggedSum('KVS', { | |
Put: ['key', 'val', 'next'], | |
Del: ['key', 'next'], | |
Get: ['key', 'val'] | |
}); |
A short walk-through of how to use the Argo CD Image Updater to automatically update your OpenFaaS functions.
In this walk-through we bootstrap a new cluster using Argo CD with the app of apps pattern to deploy OpenFaaS and a set of OpenFaaS functions. We will then configure the Argo CD Image Updater to update our functions.
Create a local cluster with kind