utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, str string) bool

func GetSupportedProviders

func GetSupportedProviders() []string

func GetValues

func GetValues(vm map[string]string) []string

func HasSameKeys

func HasSameKeys(vm1, vm2 map[string]string) bool

func RemoveString

func RemoveString(slice []string, s string) (result []string)

func SameList

func SameList(s1, s2 []string) bool

Types

type MissionClient added in v0.2.1

type MissionClient struct {
	client.Client
}

func (*MissionClient) GetMission added in v0.2.1

func (r *MissionClient) GetMission(ctx context.Context, missionName, missionNamespace string) (v1alpha1.Mission, error)

func (*MissionClient) GetMissionKey added in v0.2.1

func (r *MissionClient) GetMissionKey(ctx context.Context, mission v1alpha1.Mission, provider string) (v1alpha1.MissionKey, error)

Jump to

Keyboard shortcuts

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