Documentation
¶
Index ¶
- func GlobalV2ToV3(v2g *v2.Global) (*v3.GlobalBase, error)
- func ListV2ToV3[TV2, TV3 any](listV2 []*TV2) ([]*TV3, error)
- func NamedResourceArrayToMap[T any](namedResource []*T) (map[string]T, error)
- func NamedResourceArrayToMapWithKey[T any](namedResource []*T, key string) (map[string]T, error)
- func NamedResourceArrayV2ToMapV3[TV2, TV3 any](namedResource []*TV2, options ...optionV2ToV3) (map[string]TV3, error)
- func SortListByIndex[T any](list []*T)
- func V2Tov3[TV2, TV3 any](resource *TV2, skip ...string) (*TV3, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalV2ToV3 ¶
func GlobalV2ToV3(v2g *v2.Global) (*v3.GlobalBase, error)
func ListV2ToV3 ¶
func NamedResourceArrayToMap ¶
func SortListByIndex ¶
func SortListByIndex[T any](list []*T)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.