Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kind is the api name for this kustomize function. Kind = "S3BucketTransformer" // DefaultS3Regexp matches s3://.* until a " or \n DefaultS3Regexp = `(s3:\/\/[^\n"]+)` )
Variables ¶
View Source
var DefaultFieldSpecs = ktypes.FsSlice{ { Gvk: resid.Gvk{Kind: "ConfigMap"}, Path: "data", }, }
DefaultFieldSpecs are the kustomize locations that this function looks for s3 uris to transform by default.
Functions ¶
Types ¶
type BucketTransformer ¶
type BucketTransformer struct { // Kind is the API name. Must be S3BucketTransformer. Kind string `yaml:"kind"` // APIVersion is the API version. Must be v1alpha1. APIVersion string `yaml:"apiVersion"` // Metadata defines instance metadata. Metadata v1alpha1.Metadata `yaml:"metadata"` // Spec defines the desired declarative configuration. Spec Spec `yaml:"spec"` }
BucketTransformer defines our custom s3 function
Click to show internal directories.
Click to hide internal directories.