Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterByType ¶
func FilterByType(sources []v1beta1.Source, sourceType v1beta1.AssetGroupSourceType) []v1beta1.Source
returns a copy of given slice that will not contain sources with given source type
func IndexByType ¶
func IndexByType(slice []v1beta1.Source, sourceType v1beta1.AssetGroupSourceType) int
returns index to the first source object from given slice with given source type or -1 if not found
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.