github.com/kubernetes-incubator/kube-aws@v0.16.4/test/helper/encrypt_service.go (about) 1 package helper 2 3 import "github.com/aws/aws-sdk-go/service/kms" 4 5 type DummyEncryptService struct{} 6 7 func (d DummyEncryptService) Encrypt(input *kms.EncryptInput) (*kms.EncryptOutput, error) { 8 output := kms.EncryptOutput{ 9 CiphertextBlob: input.Plaintext, 10 } 11 return &output, nil 12 }