package
0.6.4
Repository: https://github.com/tmax-cloud/cicd-operator.git
Documentation: pkg.go.dev

# Functions

CreateOrPatchObject patches the object if it exists, and creates one if not.
GetGitCli generates git client, depending on the git type in the cfg.
Namespace can retrieve current namespace.
NewGroupVersionResourceClient creates a new group-version-resource specific rest client.
ParseApproversList parses user/email from line-separated and comma-separated approvers list.
ParseEmailFromUsers parses email from approvers list.
RandomString generate random string with lower case alphabets and digits.
RespondError responds to a HTTP request with body of ErrorResponse.
RespondJSON responds with arbitrary data objects.

# Structs

ErrorResponse is a common struct for responding error for HTTP requests.

# Interfaces

RestClient is a group-version-resource specific rest client.