Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientSet ¶
type ClientSet struct {
// kubeclientset is a standard kubernetes clientset
Kubeclientset kubernetes.Interface
// clientset is a openebs custom resource package generated for custom API group.
OpenebsClientset clientset.Interface
}
ClientSet struct holds kubernetes and openebs clientsets.
type Patch ¶
type Patch struct {
// Op defines the operation
Op string `json:"op"`
// Path defines the key path
// eg. for
// {
// "Name": "openebs"
// Category: {
// "Inclusive": "v1",
// "Rank": "A"
// }
// }
// The path of 'Inclusive' would be
// "/Name/Category/Inclusive"
Path string `json:"path"`
Value interface{} `json:"value"`
}
Patch is the struct based on standards of JSON patch.
Click to show internal directories.
Click to hide internal directories.