source

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 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 []v1alpha1.Source, sourceType string) []v1alpha1.Source

returns a copy of given slice that will not contain sources with given source type

func IndexByType

func IndexByType(slice []v1alpha1.Source, sourceType string) 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