github.com/kubevela/workflow@v0.6.0/pkg/cue/testdata/traits/manualscaler.cue (about)

     1  outputs: scaler: {
     2  	apiVersion: "core.oam.dev/v1alpha2"
     3  	kind:       "ManualScalerTrait"
     4  	spec: {
     5  		replicaCount: parameter.replicas
     6  	}
     7  }
     8  parameter: {
     9  	//+short=r
    10  	replicas: *2 | int
    11  }