testapis

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 8 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 {
	// contains filtered or unexported fields
}

func NewNamespace

func NewNamespace(clientset *kubernetes.Clientset, config *rest.Config, logger *log.Logger, name string) *Namespace

func (*Namespace) Create

func (p *Namespace) Create() error

func (*Namespace) Delete

func (p *Namespace) Delete() error

type Service

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

func NewService

func NewService(clientset *kubernetes.Clientset, config *rest.Config, logger *log.Logger, namespace string, name string, port int32, targetPort int32) *Service

func (*Service) Create

func (p *Service) Create() error

func (*Service) Delete

func (p *Service) Delete() error

Jump to

Keyboard shortcuts

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