Documentation
¶
Index ¶
Constants ¶
View Source
const ( KindDeployment = "Deployment" KindStatefulSet = "StatefulSet" KindControllerRevision = "ControllerRevision" GVKDeployment = "apps/v1, Kind=Deployment" GVKStatefulSet = "apps/v1, Kind=StatefulSet" )
Variables ¶
Functions ¶
func DetermineWorkloadType ¶
func DetermineWorkloadType(ctx context.Context, log logr.Logger, r client.Reader, workload *unstructured.Unstructured) ([]*unstructured.Unstructured, error)
Determine whether the workload is K8S native resources or oam WorkloadDefinition
Types ¶
type SimpleRolloutTraitReconciler ¶
SimpleRolloutTraitReconciler reconciles a SimpleRolloutTrait object
func (*SimpleRolloutTraitReconciler) SetupWithManager ¶
func (r *SimpleRolloutTraitReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.