Documentation ¶
Index ¶
Constants ¶
View Source
const AssociateApisWithBundleMigrationKey = 6
View Source
const BundlePathMigrationKey = 2
View Source
const BundlePathPkgMigrationKey = 10
View Source
const DependenciesMigrationKey = 8
View Source
const DeprecatedMigrationKey = 12
View Source
const PropertiesMigrationKey = 9
View Source
const RelatedImagesMigrationKey = 1
View Source
const ReplacesSkipsMigrationKey = 7
View Source
const RequiredApiMigrationKey = 3
View Source
const RmTruncatedDeprecationsMigrationKey = 13
View Source
const SkipRangeAnnotationKey = "olm.skipRange"
View Source
const SubstitutesForMigrationKey = 11
View Source
const VersionSkipRangeMigrationKey = 5
Variables ¶
View Source
var CascadeDeleteMigrationKey = 4
View Source
var InitMigrationKey = 0
Functions ¶
func SplitCRDName ¶
Types ¶
type MigrationSet ¶
func (MigrationSet) From ¶
func (m MigrationSet) From(key int) Migrations
From returns a set of migrations, starting at key
func (MigrationSet) Only ¶
func (m MigrationSet) Only(key int) Migrations
Only returns a set of one migration
func (MigrationSet) To ¶
func (m MigrationSet) To(key int) Migrations
To returns a set of migrations, up to and including key
type Migrations ¶
type Migrations []*Migration
func (Migrations) Len ¶
func (m Migrations) Len() int
func (Migrations) Less ¶
func (m Migrations) Less(i, j int) bool
func (Migrations) Swap ¶
func (m Migrations) Swap(i, j int)
Source Files ¶
- 000_init.go
- 001_related_images.go
- 002_bundle_path.go
- 003_required_apis.go
- 004_cascade_delete.go
- 005_version_skiprange.go
- 006_associate_apis_with_bundle.go
- 007_replaces_skips.go
- 008_dependencies.go
- 009_properties.go
- 010_set_bundlepath_pkg_property.go
- 011_susbtitutes_for.go
- 012_deprecated.go
- 013_rm_truncated_deprecations.go
- migrations.go
Click to show internal directories.
Click to hide internal directories.