Documentation ¶
Index ¶
- func CleanUpDefinitionRevision(ctx context.Context, cli client.Client, def runtime.Object, revisionLimit int) error
- func ConstructDefinitionRevisionName(definitionName, revision string) string
- func DeepEqualDefRevision(old, new *v1beta1.DefinitionRevision) bool
- func GatherRevisionInfo(def runtime.Object) (*v1beta1.DefinitionRevision, *common.Revision, error)
- func GenerateDefinitionRevision(ctx context.Context, cli client.Client, def runtime.Object) (*v1beta1.DefinitionRevision, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanUpDefinitionRevision ¶
func CleanUpDefinitionRevision(ctx context.Context, cli client.Client, def runtime.Object, revisionLimit int) error
CleanUpDefinitionRevision check all definitionRevisions, remove them if the number of them exceed the limit
func ConstructDefinitionRevisionName ¶ added in v1.1.0
ConstructDefinitionRevisionName construct the name of DefinitionRevision.
func DeepEqualDefRevision ¶ added in v1.1.0
func DeepEqualDefRevision(old, new *v1beta1.DefinitionRevision) bool
DeepEqualDefRevision deep compare the spec of definitionRevisions
func GatherRevisionInfo ¶ added in v1.1.0
GatherRevisionInfo gather revision information from definition
func GenerateDefinitionRevision ¶
func GenerateDefinitionRevision(ctx context.Context, cli client.Client, def runtime.Object) (*v1beta1.DefinitionRevision, bool, error)
GenerateDefinitionRevision will generate a definition revision the generated revision will be compare with the last revision to see if there's any difference.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package components provides components related controllers.
|
Package components provides components related controllers. |
policies
|
|
Package scopes provides scope related controllers.
|
Package scopes provides scope related controllers. |
Package traits provides traits related controllers.
|
Package traits provides traits related controllers. |
workflow
|
|
Click to show internal directories.
Click to hide internal directories.