Documentation ¶
Index ¶
- Constants
- func DefaultTimestampProvider() defaultTimestampProvider
- func SummarizeChange(desc DependencyDescriptor, storeFactory *clusterstore.Factory, ...) (hasChanges bool, changes string, err error)
- type API
- type ClusterBuilder
- type ClusterBuilderV1
- type ClusterStack
- type ClusterStore
- type DependencyDescriptor
- type DependencyDescriptorV1
- type Differ
- type ImportDiffer
- func (id *ImportDiffer) DiffClusterBuilder(oldCB *v1alpha1.ClusterBuilder, newCB ClusterBuilder) (string, error)
- func (id *ImportDiffer) DiffClusterStack(oldCS *v1alpha1.ClusterStack, newCS ClusterStack) (diff string, err error)
- func (id *ImportDiffer) DiffClusterStore(oldCS *v1alpha1.ClusterStore, newCS ClusterStore) (string, error)
- func (id *ImportDiffer) DiffLifecycle(oldImg string, newImg string) (string, error)
- type Lifecycle
- type Source
- type StackRefGetter
- type StoreRefGetter
Constants ¶
View Source
const APIVersionV1 = "kp.kpack.io/v1alpha1"
View Source
const CurrentAPIVersion = "kp.kpack.io/v1alpha3"
Variables ¶
This section is empty.
Functions ¶
func DefaultTimestampProvider ¶
func DefaultTimestampProvider() defaultTimestampProvider
func SummarizeChange ¶ added in v0.2.0
func SummarizeChange( desc DependencyDescriptor, storeFactory *clusterstore.Factory, stackFactory *clusterstack.Factory, differ Differ, cs buildk8s.ClientSet) (hasChanges bool, changes string, err error)
Types ¶
type ClusterBuilder ¶
type ClusterBuilder struct { Name string `yaml:"name"` ClusterStack string `yaml:"clusterStack"` ClusterStore string `yaml:"clusterStore"` Order []v1alpha1.OrderEntry `yaml:"order"` }
type ClusterBuilderV1 ¶ added in v0.1.3
type ClusterBuilderV1 struct { Name string `yaml:"name"` Stack string `yaml:"stack"` Store string `yaml:"store"` Order []v1alpha1.OrderEntry `yaml:"order"` }
type ClusterStack ¶ added in v0.1.3
type ClusterStore ¶ added in v0.1.3
type DependencyDescriptor ¶
type DependencyDescriptor struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` DefaultClusterStack string `yaml:"defaultClusterStack"` DefaultClusterBuilder string `yaml:"defaultClusterBuilder"` Lifecycle Lifecycle `yaml:"lifecycle"` ClusterStores []ClusterStore `yaml:"clusterStores"` ClusterStacks []ClusterStack `yaml:"clusterStacks"` ClusterBuilders []ClusterBuilder `yaml:"clusterBuilders"` }
func (DependencyDescriptor) GetClusterBuilders ¶ added in v0.1.3
func (d DependencyDescriptor) GetClusterBuilders() []ClusterBuilder
func (DependencyDescriptor) GetClusterStacks ¶ added in v0.1.3
func (d DependencyDescriptor) GetClusterStacks() []ClusterStack
func (DependencyDescriptor) GetLifecycleImage ¶ added in v0.2.0
func (d DependencyDescriptor) GetLifecycleImage() string
func (DependencyDescriptor) HasLifecycleImage ¶ added in v0.2.0
func (d DependencyDescriptor) HasLifecycleImage() bool
func (DependencyDescriptor) Validate ¶
func (d DependencyDescriptor) Validate() error
type DependencyDescriptorV1 ¶ added in v0.1.3
type DependencyDescriptorV1 struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` DefaultStack string `yaml:"defaultStack"` DefaultClusterBuilder string `yaml:"defaultClusterBuilder"` Stores []ClusterStore `yaml:"stores"` Stacks []ClusterStack `yaml:"stacks"` ClusterBuilders []ClusterBuilderV1 `yaml:"clusterBuilders"` }
func (DependencyDescriptorV1) ToNextVersion ¶ added in v0.1.3
func (d1 DependencyDescriptorV1) ToNextVersion() DependencyDescriptor
type ImportDiffer ¶ added in v0.1.3
type ImportDiffer struct { Differ Differ StoreRefGetter StoreRefGetter StackRefGetter StackRefGetter }
func (*ImportDiffer) DiffClusterBuilder ¶ added in v0.1.3
func (id *ImportDiffer) DiffClusterBuilder(oldCB *v1alpha1.ClusterBuilder, newCB ClusterBuilder) (string, error)
func (*ImportDiffer) DiffClusterStack ¶ added in v0.1.3
func (id *ImportDiffer) DiffClusterStack(oldCS *v1alpha1.ClusterStack, newCS ClusterStack) (diff string, err error)
func (*ImportDiffer) DiffClusterStore ¶ added in v0.1.3
func (id *ImportDiffer) DiffClusterStore(oldCS *v1alpha1.ClusterStore, newCS ClusterStore) (string, error)
func (*ImportDiffer) DiffLifecycle ¶ added in v0.2.0
func (id *ImportDiffer) DiffLifecycle(oldImg string, newImg string) (string, error)
type StackRefGetter ¶ added in v0.1.3
type StoreRefGetter ¶ added in v0.1.3
Click to show internal directories.
Click to hide internal directories.