Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyOnceOnlyMode ¶ added in v0.3.3
type ApplyOnceOnlyMode string
ApplyOnceOnlyMode enumerates ApplyOnceOnly modes.
const ( // ApplyOnceOnlyOff indicates workloads and traits should always be affected. // It means ApplyOnceOnly is disabled. ApplyOnceOnlyOff ApplyOnceOnlyMode = "off" // ApplyOnceOnlyOn indicates workloads and traits should not be affected // if no spec change is made in the ApplicationConfiguration. ApplyOnceOnlyOn ApplyOnceOnlyMode = "on" // ApplyOnceOnlyForce is a more strong case for ApplyOnceOnly, the workload // and traits won't be affected if no spec change is made in the ApplicationConfiguration, // even if the workload or trait has been deleted from cluster. ApplyOnceOnlyForce ApplyOnceOnlyMode = "force" )
type Args ¶
type Args struct { // ApplicationConfigurationInstalled indicates if we have installed the ApplicationConfiguration CRD ApplicationConfigurationInstalled bool // RevisionLimit is the maximum number of revisions that will be maintained. // The default value is 50. RevisionLimit int // AppRevisionLimit is the maximum number of application revisions that will be maintained. // The default value is 10. AppRevisionLimit int // ApplyMode indicates whether workloads and traits should be // affected if no spec change is made in the ApplicationConfiguration. ApplyMode ApplyOnceOnlyMode // CustomRevisionHookURL is a webhook which will let oam-runtime to call with AC+Component info // The webhook server will return a customized component revision for oam-runtime CustomRevisionHookURL string // DiscoveryMapper used for CRD discovery in controller, a K8s client is contained in it. DiscoveryMapper discoverymapper.DiscoveryMapper // PackageDiscover used for CRD discovery in CUE packages, a K8s client is contained in it. PackageDiscover *definition.PackageDiscover }
Args args used by controller
Directories ¶
Path | Synopsis |
---|---|
core/components
Package components provides components related controllers.
|
Package components provides components related controllers. |
core/scopes
Package scopes provides scope related controllers.
|
Package scopes provides scope related controllers. |
core/traits
Package traits provides traits related controllers.
|
Package traits provides traits related controllers. |
core/workloads
Package workloads provides workloads related controllers.
|
Package workloads provides workloads related controllers. |
Click to show internal directories.
Click to hide internal directories.