Versions in this module Expand all Collapse all v1 v1.8.1 Mar 10, 2020 Changes in this version + func AddSaToRoleBindingWithRetries(logger *zap.Logger, k8sClient *kubernetes.Clientset, ...) (err error) + func DefaultErrorFormat(es []error) string + func DeleteRoleBinding(k8sClient *kubernetes.Clientset, roleBinding, roleBindingNs string) error + func DownloadUrl(ctx context.Context, httpClient *http.Client, url string, localPath string) error + func FileSize(filePath string) (int64, error) + func FindAllGlobs(paths ...string) ([]string, error) + func GetChecksum(src io.Reader) (*fv1.Checksum, error) + func GetFileChecksum(fileName string) (*fv1.Checksum, error) + func GetFunctionIstioServiceName(fnName, fnNamespace string) string + func GetImagePullPolicy(policy string) apiv1.PullPolicy + func GetTempDir() (string, error) + func IsNetworkError(err error) bool + func IsReadyPod(pod *apiv1.Pod) bool + func IsURL(str string) bool + func MakeSAMapKey(saName, saNamespace string) string + func MakeSAObj(sa, ns string) *apiv1.ServiceAccount + func MakeZipArchive(targetName string, globs ...string) (string, error) + func MultiErrorWithFormat() *multierror.Error + func RemoveSAFromRoleBindingWithRetries(logger *zap.Logger, k8sClient *kubernetes.Clientset, ...) (err error) + func RemoveZeroBytes(src []byte) []byte + func SetupRoleBinding(logger *zap.Logger, k8sClient *kubernetes.Clientset, ...) error + func SetupSA(k8sClient *kubernetes.Clientset, sa, ns string) (*apiv1.ServiceAccount, error) + func UrlForFunction(name, namespace string) string + type PatchSpec struct + Op string + Path string + Value rbac.Subject