namespace

package
v0.0.0-...-696ba86 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestNamespaceLabelKey   = "created-by"
	TestNamespaceLabelValue = "serverless-controller-manager-test"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

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

func New

func New(log *logrus.Entry, coreCli typedcorev1.CoreV1Interface, namespace string) *Namespace

func (*Namespace) Create

func (n *Namespace) Create() (string, error)

func (*Namespace) Delete

func (n *Namespace) Delete() error

func (Namespace) LogResource

func (n Namespace) LogResource() error

type NamespaceStep

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

func NewNamespaceStep

func NewNamespaceStep(log *logrus.Entry, stepName, namespace string, coreCli typedcorev1.CoreV1Interface) NamespaceStep

func (NamespaceStep) Cleanup

func (n NamespaceStep) Cleanup() error

func (NamespaceStep) Name

func (n NamespaceStep) Name() string

func (NamespaceStep) OnError

func (n NamespaceStep) OnError() error

func (NamespaceStep) Run

func (n NamespaceStep) Run() error

Jump to

Keyboard shortcuts

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