Documentation ¶
Index ¶
- Variables
- func CheckIfCertificateIsExpired(data []byte) (bool, error)
- func DumpTrace(data *cloud.TraceSeries)
- func GetAPISIXID(kubectl commands.Cmd, podName string) (string, error)
- func GetDeploymentName(kubectl commands.Cmd) (string, error)
- func GetPodsNames(kubectl commands.Cmd) ([]string, error)
- func GetServiceName(kubectl commands.Cmd) (string, error)
- func ReadConsumerFromFile(filename string) (*sdk.Consumer, error)
- func ReadRouterFromFile(filename string) (*sdk.API, error)
- func ReadServiceFromFile(filename string) (*sdk.Application, error)
- func VerboseGoroutine(traceChan <-chan *cloud.TraceSeries)
- func WaitForSignal(callback func())
Constants ¶
This section is empty.
Variables ¶
View Source
var TraceVerbose traceVerbose
Functions ¶
func CheckIfCertificateIsExpired ¶
CheckIfCertificateIsExpired checks whether the certificate is expired or not. Note this function accepts the certificate as a byte array (in PEM format).
func GetAPISIXID ¶
GetAPISIXID get the id for APISIX instance
func GetDeploymentName ¶
GetDeploymentName get the deploy name for APISIX instance
func GetPodsNames ¶
GetPodsNames get the pod names for APISIX instance
func GetServiceName ¶
GetServiceName get the service name for APISIX instance
func ReadServiceFromFile ¶
func ReadServiceFromFile(filename string) (*sdk.Application, error)
func VerboseGoroutine ¶
func VerboseGoroutine(traceChan <-chan *cloud.TraceSeries)
func WaitForSignal ¶
func WaitForSignal(callback func())
WaitForSignal creates a channel and wait until desired signal arriving. It's a block call so be sure you're using it correctly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.