client-go: k8s.io/client-go/util/cert/triple Index | Files

package triple

import "k8s.io/client-go/util/cert/triple"

Package triple generates key-certificate pairs for the triple (CA, Server, Client).

Index

Package Files

triple.go

type KeyPair Uses

type KeyPair struct {
    Key  *rsa.PrivateKey
    Cert *x509.Certificate
}

func NewCA Uses

func NewCA(name string) (*KeyPair, error)

func NewClientKeyPair Uses

func NewClientKeyPair(ca *KeyPair, commonName string, organizations []string) (*KeyPair, error)

func NewServerKeyPair Uses

func NewServerKeyPair(ca *KeyPair, commonName, svcName, svcNamespace, dnsDomain string, ips, hostnames []string) (*KeyPair, error)

Package triple imports 5 packages (graph) and is imported by 4 packages. Updated 2018-03-23. Refresh now. Tools for package owners.