Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=config.csi.trust-manager.io
Index ¶
Constants ¶
const ( // Output files in the OpenSSL rehash format, see // https://manpages.ubuntu.com/manpages/noble/en/man1/c_rehash.1ssl.html OutputFormatOpenSSLRehash = "OpenSSLRehash" // Output a single concatenated file OutputFormatConcatenatedFile = "ConcatenatedFile" )
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "config.csi.trust-manager.io", Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Metadata ¶
type Metadata struct {
metav1.TypeMeta
// VolumeID is the ID passed to the CSI driver in the NodePublish request.
VolumeID string
// PodNamespace is the namespace of the pod being mounted into
PodNamespace string
// Bundle is the trust bundle to mount
Bundle string
// Outputs defines the output formats
Outputs []Output
}
Metadata contains the stored metadata for a given volume mount, it is versioned to ensure an upgrade will always be able to load metadata
func (*Metadata) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Metadata) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Output ¶
type Output struct {
// Format to write the certificate bundle
Format OutputFormat
// Owner of the files
UID, GID *int64
// Path to the file or directory.
// For outputs that produce a single file this must be a path to the file,
// outputs that produce multiple files this will be the path to the
// directory
Path string
}
Output defines an output for a given CSI trust bundle mount
func (*Output) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Output.
func (*Output) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutputFormat ¶
type OutputFormat string
OutputFormat defines the format to write the certificate bundle
Directories
¶
| Path | Synopsis |
|---|---|
|
+kubebuilder:object:generate=true +groupName=config.csi.trust-manager.io +k8s:conversion-gen=github.com/cert-manager/trust-manager-csi-driver/internal/api/metadata
|
+kubebuilder:object:generate=true +groupName=config.csi.trust-manager.io +k8s:conversion-gen=github.com/cert-manager/trust-manager-csi-driver/internal/api/metadata |