search

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package search regroups the functions to search any object in the cluster

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_search_cluster.go at 2019-06-17 12:12:39.066636271 +0300 EEST m=+0.000670459

Package search regroups the functions to search any object in the cluster

Code generated by go generate; DO NOT EDIT.

This file was generated by gen_search_namespace.go at 2019-06-17 12:12:39.322690631 +0300 EEST m=+0.000839105

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Search(contextName string, parameter Parameter) (map[types.ObjectType][]interface{}, error)

Search searches all objects matching the given parameters

Types

type Parameter

type Parameter struct {
	Name        string             `json:"name"`
	Namespace   string             `json:"namespace"`
	Label       string             `json:"label"`
	LabelValue  string             `json:"labelValue"`
	ObjectTypes []types.ObjectType `json:"objectTypes"`
}

Parameter groups all the possible parameters for searching objects

Jump to

Keyboard shortcuts

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