apply
Update mock configurations to the running worker container
skyramp mocker apply
skyramp mocker apply <mock file> [flags]
Examples
skyramp mocker apply -n namespace # Apply mocks to the worker container running on Kubernetes
skyramp mocker apply -a localhost:35142 # Apply mocks to the worker container running on Docker
Options
-a, --address string ip:port of Skyramp worker
-c, --cluster string cluster context for Skyramp
--endpoint string endpoint to use for mocking
--method string method to use for mocking (endpoint argument must be specified)
-n, --namespace string Kubernetes namespace where Skyramp worker resides
--value string response value to use for mocking (endpoint and method arguments must be specified)
Options inherited from parent commands
--kube-insecure enable insecure mode for interactions with Kubernetes clusters
-p, --project-path string path to Skyramp project folder (default ".")
-v, --verbose count verbose (-v or -vv)
SEE ALSO
- mocker - Manage mocks