Documentation ¶
Index ¶
- Constants
- func CreateCASecret(ctx context.Context, c client.Client, cert *x509.Certificate, name, ns string, ...) error
- func DeleteCASecret(ctx context.Context, c client.Client, name, ns string) error
- func GetNamespace() string
- func QuoteAttestationDelete(ctx context.Context, c client.Client, req types.NamespacedName) error
- func QuoteAttestationDeliver(ctx context.Context, c client.Client, req types.NamespacedName, ...) error
- func SignerNameToResourceNameAndNamespace(signerName string) (string, string)
- func UnsetFinalizer(ctx context.Context, c client.Client, obj client.Object, ...) error
Constants ¶
View Source
const (
TCSFinalizer = "tcs.intel.com/issuer-protection"
)
Variables ¶
This section is empty.
Functions ¶
func CreateCASecret ¶
func DeleteCASecret ¶
func GetNamespace ¶
func GetNamespace() string
GetNamespace returns the namespace of the operator pod
func QuoteAttestationDelete ¶
func QuoteAttestationDeliver ¶
func SignerNameToResourceNameAndNamespace ¶
Converts signer name to valid Kubernetes object name and nanespace
Ex:- intel.com/tcs -> tcs.intel.com, ""
/ tcsissuer.tcs.intel.com/sandbox.sgx-ca -> sgx-ca.tcs.intel.com, sandbox
tcsclusterissuer.tcs.intel.com/sgx-ca1 -> sgx-ca1.tcsclusterissuer.intel.tcs.com, ""
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.