package
1.0.0
Repository: https://github.com/kubeless/nats-trigger.git
Documentation: pkg.go.dev

# Functions

BuildOutOfClusterConfig returns k8s config.
CreateNatsTriggerCustomResource will create a custom function object.
DeleteNatsTriggerCustomResource will delete custom function object.
GetClient returns a k8s clientset to the request from inside of cluster.
GetFunctionPort returns the port for a function service.
GetHTTPReq returns the http request object that can be used to send a event with payload to function service.
GetKubelessClientOutCluster returns kubeless clientset to make kubeless API request from outside of cluster.
GetNatsTriggerCustomResource will get CronJobTrigger custom resource object.
GetTriggerClientInCluster returns function clientset to the request from inside of cluster.
IsJSON returns true if the string is json.
SendMessage sends messge over function service.
UpdateNatsTriggerCustomResource applies changes to the function custom object.