Documentation ¶
Index ¶
Constants ¶
View Source
const ( RQLITE_S3_MIGRATION_SUCCESS_KEY = "rqlite.s3.migration.success" RQLITE_BLOB_MIGRATION_SUCCESS_KEY = "rqlite.blob.migration.success" RQLITE_MIGRATION_SUCCESS_VALUE = "true" )
Variables ¶
View Source
var (
ArchivesDir = "/kotsadmdata/archives"
)
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
func MigrateFromPVCToRqlite ¶ added in v1.109.9
func MigrateFromS3ToRqlite ¶ added in v1.109.9
Types ¶
type BlobStore ¶
type BlobStore struct { }
func (*BlobStore) DeleteArchive ¶ added in v1.93.0
func (*BlobStore) WriteArchive ¶
func (s *BlobStore) WriteArchive(outputPath string, body io.ReadSeeker) error
type FileStore ¶
type RqliteStore ¶ added in v1.109.9
type RqliteStore struct { }
func (*RqliteStore) DeleteArchive ¶ added in v1.109.9
func (s *RqliteStore) DeleteArchive(path string) error
func (*RqliteStore) Init ¶ added in v1.109.9
func (s *RqliteStore) Init() error
func (*RqliteStore) ReadArchive ¶ added in v1.109.9
func (s *RqliteStore) ReadArchive(path string) (string, error)
func (*RqliteStore) WaitForReady ¶ added in v1.109.9
func (s *RqliteStore) WaitForReady(ctx context.Context) error
func (*RqliteStore) WriteArchive ¶ added in v1.109.9
func (s *RqliteStore) WriteArchive(outputPath string, body io.ReadSeeker) error
type S3Store ¶
type S3Store struct { }
func (*S3Store) DeleteArchive ¶ added in v1.93.0
func (*S3Store) WriteArchive ¶
func (s *S3Store) WriteArchive(outputPath string, body io.ReadSeeker) error
Click to show internal directories.
Click to hide internal directories.