Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Latest commit

 

History

History
12 lines (7 loc) · 572 Bytes

CONTRIBUTE.md

File metadata and controls

12 lines (7 loc) · 572 Bytes

Contribute

Prerequisites

  • GO
  • Kubernetes configuration

UI

In the cmd directory, it has the mock command to mocking resources. The aim of this command is to simulate your codes of UI, writing test codes of UI is not easy, so that you can check it works as you want.

When you run the command like go run cmd/mock/main.go, you can see the process starts with resource which is defined in the testdata directory and also the context of namespace is same as your Kubernetes configuration (you can switch by the command :ns).