namespace

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

type Namespace struct {
	Name   string
	Labels map[string]string
	// contains filtered or unexported fields
}

func NewNamespace

func NewNamespace(name string, labels map[string]string) *Namespace

func (*Namespace) CreateNamespace

func (n *Namespace) CreateNamespace(cl client.Client) error

func (*Namespace) GetNamespace

func (n *Namespace) GetNamespace(cl client.Client) error

func (*Namespace) Log

func (n *Namespace) Log() logx.Logger

type Namespacer

type Namespacer interface {
	Log() logx.Logger
}

Jump to

Keyboard shortcuts

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