helpers

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsElement added in v0.0.2

func ContainsElement(list []string, s string) bool

func GetTypeName

func GetTypeName(myvar interface{}) string

func MapTests added in v0.0.2

func MapTests(vs []string, f func(string) humioapi.ParserTestCase) []humioapi.ParserTestCase

TODO: refactor, this is copied from the humio/cli/api/parsers.go

func RemoveElement added in v0.0.2

func RemoveElement(list []string, s string) []string

func ToTestCase added in v0.0.2

func ToTestCase(line string) humioapi.ParserTestCase

TODO: refactor, this is copied from the humio/cli/api/parsers.go

Types

type Cluster added in v0.0.2

type Cluster struct {
	// contains filtered or unexported fields
}

func (Cluster) Name added in v0.0.2

func (c Cluster) Name() string

func (Cluster) Url added in v0.0.2

func (c Cluster) Url(k8sClient client.Client) (string, error)

type ClusterInterface added in v0.0.2

type ClusterInterface interface {
	Url(client.Client) (string, error)
	Name() string
}

func NewCluster added in v0.0.2

func NewCluster(managedClusterName, externalClusterName, namespace string) (ClusterInterface, error)

Jump to

Keyboard shortcuts

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