source

package
v0.0.0-...-eb6ac32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL