util

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTestCertificate

func GenerateTestCertificate(path string, certFileName string, keyFileName string) error

GenerateTestCertificate generates fake certificates and stores them at the path specified. It accepts 3 arguments path, certFileName and keyFileName "path" is the directory path at which the directory is to be created, "certFileName" & "keyFileName" refers to the name of the file to be created without the extension

func ParseResourceEdge added in v1.9.0

func ParseResourceEdge(resource string, operation string) (string, string, string, error)

ParseResourceEdge parses resource at edge and returns namespace, resource_type, resource_id. If operation of msg is query list, return namespace, pod.

func ReportTaskResult added in v1.16.0

func ReportTaskResult(taskType, taskID string, resp types.NodeTaskResponse)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL