Documentation
¶
Index ¶
- Variables
- func Command(mksc *mconfig.Client) *cobra.Command
- func GetTestData(tdata ...*v1alpha1.MksTask) []runtime.Object
- func MksTaskCreate(mksc *mconfig.Client) *cobra.Command
- func MksTaskDelete(mksc *mconfig.Client) *cobra.Command
- func MksTaskGet(mksc *mconfig.Client) *cobra.Command
- func MksTaskList(mksc *mconfig.Client) *cobra.Command
- func MksTaskUpdate(mksc *mconfig.Client) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
View Source
var Tdel = []*v1alpha1.MksTask{ { ObjectMeta: v1.ObjectMeta{ Name: "delmt1", Namespace: "default", }, Spec: v1alpha1.MksTaskSpec{ Name: "deletedtaskstep", Image: "ubuntu", Command: "ls", Args: "-l", }, }, }
View Source
var Tget = []*v1alpha1.MksTask{ { ObjectMeta: v1.ObjectMeta{ Name: "getmt1", Namespace: "default", }, Spec: v1alpha1.MksTaskSpec{ Name: "gettaskstep", Image: "ubuntu", Command: "ls", Args: "-l", }, }, }
View Source
var Tlist = []*v1alpha1.MksTask{ { ObjectMeta: v1.ObjectMeta{ Name: "testt1", Namespace: "default", }, Spec: v1alpha1.MksTaskSpec{ Name: "test-mkstask1", Image: "ubuntu", Command: "ls", Args: "-l", }, }, { ObjectMeta: v1.ObjectMeta{ Name: "testt2", Namespace: "default", }, Spec: v1alpha1.MksTaskSpec{ Name: "test-mkstask2", Image: "ubuntu", Command: "ls", Args: "-l", }, }, { ObjectMeta: v1.ObjectMeta{ Name: "testt3", Namespace: "default", }, Spec: v1alpha1.MksTaskSpec{ Name: "test-mkstask3", Image: "ubuntu", Command: "ls", Args: "-l", }, }, { ObjectMeta: v1.ObjectMeta{ Name: "testt4", Namespace: "default", }, Spec: v1alpha1.MksTaskSpec{ Name: "test-mkstask4", Image: "ubuntu", Command: "ls", Args: "-l", }, }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.