Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + func ConnectInClusterAPIClient() *kubernetes.Clientset + func ConnectK8sClient() *kubernetes.Clientset + func ConnectLocalAPIClient(kubeConfig string) *kubernetes.Clientset + func CreateK8sSecrets(namespace, secretname string, data map[string][]byte) error + func DedupRegistrationEntries(entries []*common.RegistrationEntry) []*common.RegistrationEntry + func DeleteK8sSecrets(namespace, secretname, typeString string) error + func DeriveRegEntryhash(entry *common.RegistrationEntry) (key string) + func EqualsSelectors(a, b []*common.Selector) bool + func GRPCDialContext(ctx context.Context, target string, options ...grpc.DialOption) (*grpc.ClientConn, error) + func GetK8sSecrets(namespace, secretname string) (v1.Secret, error) + func GetSHA256Digest(path string, limit int64) (string, error) + func GetTargetName(addr net.Addr) (string, error) + func GetUnixAddr(name string) *net.UnixAddr + func GetUnixAddrWithAbsPath(path string) (*net.UnixAddr, error) + func GetWorkloadAPIClientOption(addr net.Addr) (workloadapi.ClientOption, error) + func LoadCertPool(path string) (*x509.CertPool, error) + func LoadCertificates(path string) ([]*x509.Certificate, error) + func MakeCSR(privateKey interface{}, spiffeID spiffeid.ID) ([]byte, error) + func MakeCSRWithoutURISAN(privateKey interface{}) ([]byte, error) + func NewCertPool(certs ...*x509.Certificate) *x509.CertPool + func RunTasks(ctx context.Context, tasks ...func(context.Context) error) error + func SerialRun(tasks ...func(context.Context) error) func(ctx context.Context) error + func SortRegistrationEntries(entries []*common.RegistrationEntry) + func SortSelectors(selectors []*common.Selector) + func SortTypesEntries(entries []*types.Entry) + func SortTypesSelectors(selectors []*types.Selector)