Documentation
¶
Index ¶
- func GVREquals(r1, r2 schema.GroupVersionResource) bool
- func HumanizeApproximateDuration(d time.Duration) string
- func Index[T comparable](vs []T, t T) int
- func JsonToYaml(data []byte) ([]byte, error)
- func ResourceEquals(r1, r2 *v1.APIResource) bool
- func ResourceGVR(resource *v1.APIResource) schema.GroupVersionResource
- func SetSourceColorScheme(buf *gtksource.Buffer)
- func YamlToJson(data []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GVREquals ¶
func GVREquals(r1, r2 schema.GroupVersionResource) bool
func Index ¶
func Index[T comparable](vs []T, t T) int
func JsonToYaml ¶
func ResourceEquals ¶
func ResourceEquals(r1, r2 *v1.APIResource) bool
func ResourceGVR ¶
func ResourceGVR(resource *v1.APIResource) schema.GroupVersionResource
func SetSourceColorScheme ¶
func SetSourceColorScheme(buf *gtksource.Buffer)
func YamlToJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.