Documentation
¶
Index ¶
- Constants
- func DefaultTimestampProvider() defaultTimestampProvider
- func SummarizeChange(ctx context.Context, keychain authn.Keychain, desc DependencyDescriptor, ...) (hasChanges bool, changes string, err error)
- func ValidateDescriptor(d DependencyDescriptor) error
- type API
- type ClusterBuilder
- type ClusterBuildpack
- type ClusterLifecycle
- type ClusterStack
- type ClusterStore
- type DefaultRelocatedImageProvider
- type DependencyDescriptor
- type DependencyDescriptorV1Alpha1
- type DependencyDescriptorV1Alpha3
- type Differ
- type ImportDiffer
- func (id *ImportDiffer) DiffClusterBuilder(oldCB *v1alpha2.ClusterBuilder, newCB ClusterBuilder) (string, error)
- func (id *ImportDiffer) DiffClusterBuildpack(keychain authn.Keychain, kpConfig config.KpConfig, ...) (diff string, err error)
- func (id *ImportDiffer) DiffClusterLifecycle(keychain authn.Keychain, kpConfig config.KpConfig, ...) (diff string, err error)
- func (id *ImportDiffer) DiffClusterStack(keychain authn.Keychain, kpConfig config.KpConfig, ...) (diff string, err error)
- func (id *ImportDiffer) DiffClusterStore(keychain authn.Keychain, kpConfig config.KpConfig, ...) (string, error)
- type Importer
- func (i *Importer) ImportDescriptor(ctx context.Context, keychain authn.Keychain, kpConfig config.KpConfig, ...) ([]runtime.Object, error)
- func (i *Importer) ImportDescriptorDryRun(ctx context.Context, keychain authn.Keychain, kpConfig config.KpConfig, ...) ([]runtime.Object, error)
- func (i *Importer) ReadDescriptor(rawDescriptor string) (DependencyDescriptor, error)
- type Printer
- type RelocatedImageProvider
- type Source
- type TimestampProvider
Constants ¶
View Source
const CurrentAPIVersion = descriptor.APIVersionV1
Variables ¶
This section is empty.
Functions ¶
func DefaultTimestampProvider ¶
func DefaultTimestampProvider() defaultTimestampProvider
func SummarizeChange ¶
func ValidateDescriptor ¶ added in v0.17.1
func ValidateDescriptor(d DependencyDescriptor) error
Types ¶
type ClusterBuilder ¶
type ClusterBuilder = descriptor.ClusterBuilder
Type aliases to use types from the descriptor package
func GetClusterBuilders ¶ added in v0.17.1
func GetClusterBuilders(d DependencyDescriptor) []ClusterBuilder
type ClusterBuildpack ¶ added in v0.17.1
type ClusterBuildpack = descriptor.ClusterBuildpack
Type aliases to use types from the descriptor package
func GetClusterBuildpacks ¶ added in v0.17.1
func GetClusterBuildpacks(d DependencyDescriptor) []ClusterBuildpack
type ClusterLifecycle ¶ added in v0.17.1
type ClusterLifecycle = descriptor.ClusterLifecycle
Type aliases to use types from the descriptor package
func GetClusterLifecycles ¶ added in v0.17.1
func GetClusterLifecycles(d DependencyDescriptor) []ClusterLifecycle
type ClusterStack ¶
type ClusterStack = descriptor.ClusterStack
Type aliases to use types from the descriptor package
func GetClusterStacks ¶ added in v0.17.1
func GetClusterStacks(d DependencyDescriptor) []ClusterStack
type ClusterStore ¶
type ClusterStore = descriptor.ClusterStore
Type aliases to use types from the descriptor package
func GetClusterStores ¶ added in v0.17.1
func GetClusterStores(d DependencyDescriptor) []ClusterStore
type DefaultRelocatedImageProvider ¶
type DefaultRelocatedImageProvider struct {
// contains filtered or unexported fields
}
func NewDefaultRelocatedImageProvider ¶
func NewDefaultRelocatedImageProvider(fetcher registry.Fetcher) *DefaultRelocatedImageProvider
func (*DefaultRelocatedImageProvider) RelocatedImage ¶
type DependencyDescriptor ¶
type DependencyDescriptor = descriptor.DependencyDescriptor
Type aliases to use types from the descriptor package
type DependencyDescriptorV1Alpha1 ¶ added in v0.17.1
type DependencyDescriptorV1Alpha1 = descriptor.DependencyDescriptorV1Alpha1
Type aliases to use types from the descriptor package
type DependencyDescriptorV1Alpha3 ¶ added in v0.17.1
type DependencyDescriptorV1Alpha3 = descriptor.DependencyDescriptorV1Alpha3
Type aliases to use types from the descriptor package
type ImportDiffer ¶
type ImportDiffer struct {
Differ Differ
RelocatedImageProvider RelocatedImageProvider
}
func (*ImportDiffer) DiffClusterBuilder ¶
func (id *ImportDiffer) DiffClusterBuilder(oldCB *v1alpha2.ClusterBuilder, newCB ClusterBuilder) (string, error)
func (*ImportDiffer) DiffClusterBuildpack ¶ added in v0.17.1
func (id *ImportDiffer) DiffClusterBuildpack(keychain authn.Keychain, kpConfig config.KpConfig, oldCBP *v1alpha2.ClusterBuildpack, newCBP ClusterBuildpack) (diff string, err error)
func (*ImportDiffer) DiffClusterLifecycle ¶ added in v0.17.1
func (id *ImportDiffer) DiffClusterLifecycle(keychain authn.Keychain, kpConfig config.KpConfig, oldCL *v1alpha2.ClusterLifecycle, newCL ClusterLifecycle) (diff string, err error)
func (*ImportDiffer) DiffClusterStack ¶
func (id *ImportDiffer) DiffClusterStack(keychain authn.Keychain, kpConfig config.KpConfig, oldCS *v1alpha2.ClusterStack, newCS ClusterStack) (diff string, err error)
func (*ImportDiffer) DiffClusterStore ¶
func (id *ImportDiffer) DiffClusterStore(keychain authn.Keychain, kpConfig config.KpConfig, oldCS *v1alpha2.ClusterStore, newCS ClusterStore) (string, error)
type Importer ¶
type Importer struct {
// contains filtered or unexported fields
}
func NewImporter ¶
func NewImporter(printer Printer, k8sClient kubernetes.Interface, client versioned.Interface, fetcher registry.Fetcher, relocator registry.Relocator, waiter commands.ResourceWaiter, timestampProvider TimestampProvider) *Importer
func (*Importer) ImportDescriptor ¶
func (*Importer) ImportDescriptorDryRun ¶
func (*Importer) ReadDescriptor ¶
func (i *Importer) ReadDescriptor(rawDescriptor string) (DependencyDescriptor, error)
type RelocatedImageProvider ¶
type TimestampProvider ¶
type TimestampProvider interface {
GetTimestamp() string
}
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package conversion provides types and functions to convert older API versions of dependency descriptors (v1alpha1, v1alpha3) to the current v1 format.
|
Package conversion provides types and functions to convert older API versions of dependency descriptors (v1alpha1, v1alpha3) to the current v1 format. |
Click to show internal directories.
Click to hide internal directories.