Documentation ¶
Index ¶
Constants ¶
View Source
const ( Add string = "Add" Delete string = "Delete" )
View Source
const ( AuthMethodIAM = "IAM" AuthMethodAccessKey = "accessKey" )
View Source
const ( DeleteExistingContentsInDir = true PreserveExistingContentsInDir = false )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitWriter ¶
func (*GitWriter) RemoveObject ¶
func (*GitWriter) WriteDirWithObjects ¶ added in v0.0.5
type S3Writer ¶ added in v0.0.3
type S3Writer struct { Log logr.Logger RepoClient *minio.Client BucketName string // contains filtered or unexported fields }
func (*S3Writer) RemoveObject ¶ added in v0.0.3
func (*S3Writer) WriteDirWithObjects ¶ added in v0.0.5
type StateStoreWriter ¶ added in v0.0.3
type StateStoreWriter interface { WriteDirWithObjects(deleteExistingContentsInDir bool, dir string, workloads ...platformv1alpha1.Workload) error RemoveObject(objectName string) error }
func NewGitWriter ¶ added in v0.0.3
func NewGitWriter(logger logr.Logger, stateStoreSpec platformv1alpha1.GitStateStoreSpec, destination platformv1alpha1.Destination, creds map[string][]byte) (StateStoreWriter, error)
func NewS3Writer ¶ added in v0.0.3
func NewS3Writer(logger logr.Logger, stateStoreSpec platformv1alpha1.BucketStateStoreSpec, destination platformv1alpha1.Destination, creds map[string][]byte) (StateStoreWriter, error)
Click to show internal directories.
Click to hide internal directories.