Documentation ¶
Index ¶
- func CertificateFromAssets() (*x509.Certificate, error)
- func CertificateFromPemBytes(pemData []byte) (*x509.Certificate, error)
- func CertificateFromPemFile(pemFile string) (*x509.Certificate, error)
- func Decode(reader io.Reader) ([]unstructured.Unstructured, error)
- func IsInputFromPipe() bool
- func OpenInputFile(in string) (io.ReadCloser, error)
- func PrivateKeyFromPemFile(privateKeyFile string, privateKeyPassword string) (*rsa.PrivateKey, error)
- func UnstructuredToGVKSpecBytes(uobj unstructured.Unstructured) ([]byte, error)
- func VerifyCert(root, signed *x509.Certificate) error
- func VerifySignature(uobj unstructured.Unstructured, caCert *x509.Certificate) error
- func VerifySignatureArray(uobjs []unstructured.Unstructured, caCert *x509.Certificate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertificateFromAssets ¶
func CertificateFromAssets() (*x509.Certificate, error)
func CertificateFromPemBytes ¶
func CertificateFromPemBytes(pemData []byte) (*x509.Certificate, error)
func CertificateFromPemFile ¶
func CertificateFromPemFile(pemFile string) (*x509.Certificate, error)
func Decode ¶
func Decode(reader io.Reader) ([]unstructured.Unstructured, error)
github.com/manifestival/manifestival/internal/sources/yaml.go
func IsInputFromPipe ¶
func IsInputFromPipe() bool
func OpenInputFile ¶
func OpenInputFile(in string) (io.ReadCloser, error)
func PrivateKeyFromPemFile ¶
func PrivateKeyFromPemFile(privateKeyFile string, privateKeyPassword string) (*rsa.PrivateKey, error)
func UnstructuredToGVKSpecBytes ¶
func UnstructuredToGVKSpecBytes(uobj unstructured.Unstructured) ([]byte, error)
This should be the bytes we sign, or verify signature on
func VerifyCert ¶
func VerifyCert(root, signed *x509.Certificate) error
func VerifySignature ¶
func VerifySignature(uobj unstructured.Unstructured, caCert *x509.Certificate) error
func VerifySignatureArray ¶
func VerifySignatureArray(uobjs []unstructured.Unstructured, caCert *x509.Certificate) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.