namespace

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

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

Repo is the namespace repo.

func NewRepo

func NewRepo(l corev1lister.NamespaceLister) *Repo

NewRepo create a new namespace repository.

func (*Repo) Delete

func (r *Repo) Delete(key string) error

Delete is not implemented.

func (*Repo) Get

func (r *Repo) Get(key string) (runtime.Object, error)

Get return the namespace.

func (*Repo) Logs

func (r *Repo) Logs(ctx context.Context, key string) (<-chan svc.Log, error)

Logs is not implemented.

func (*Repo) Search

func (r *Repo) Search(namespace, pattern string) []runtime.Object

Search return namespaces which is matched with the pattern.

Jump to

Keyboard shortcuts

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