Versions in this module Expand all Collapse all v1 v1.0.1 Nov 17, 2020 v1.0.0 Nov 13, 2020 Changes in this version + const SigningKeySecretType + const SystemNamespace + func BuildStackValueFromObject(u *unstructured.Unstructured) (*featuresv1alpha1.StackValue, error) + func Create(ctx context.Context, cli client.Client, sa *featuresv1alpha1.StackApp, ...) error + func CreateKeyPair(ctx context.Context, cli client.Client, keyName string, ...) (*corev1.Secret, *featuresv1alpha1.VerificationKey, error) + func CreateSigningKey(ctx context.Context, cli client.Client, name string, ...) (*corev1.Secret, *rsa.PublicKey, error) + func CreateStackValues(ctx context.Context, cli client.Client, ns string) error + func EncodePublicKeyBytes(key *rsa.PublicKey) ([]byte, error) + func Export(ctx context.Context, cli client.Client, name string) ([]byte, error) + func GetSigningKey(ctx context.Context, cli client.Client, name string) (*rsa.PrivateKey, error) + func SignManifests(k *rsa.PrivateKey, manifests []byte) ([]byte, error) + func SigningKey(name string, key *rsa.PrivateKey) *corev1.Secret + func ToManifests(objs ...unstructured.Unstructured) ([]byte, error) + func Update(ctx context.Context, cli client.Client, sa *featuresv1alpha1.StackApp, ...) error + func VerificationKey(name string, pub []byte) *featuresv1alpha1.VerificationKey + func VerifySignature(k *rsa.PublicKey, s []byte, manifests []byte) error