k8s

package
v0.13.7 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEndpoints added in v0.8.0

func GetEndpoints(ctx context.Context, namespace string) ([]v1.Endpoints, error)

GetEndpoints lists all endpoints

func GetIngresses

func GetIngresses(ctx context.Context, namespace string) ([]networking.Ingress, error)

GetIngresses lists all ingresses for given namespace

func GetSecrets added in v0.4.0

func GetSecrets(ctx context.Context, namespace string) ([]v1.Secret, error)

GetSecrets lists all secret for given namespace

func GetServices added in v0.4.0

func GetServices(ctx context.Context, namespace string) ([]v1.Service, error)

GetServices lists all service

func Init

func Init() error

Init inits k8s client

func WatchEndpoints added in v0.8.0

func WatchEndpoints(ctx context.Context, namespace string) (watch.Interface, error)

WatchEndpoints watches endpoints

func WatchIngresses

func WatchIngresses(ctx context.Context, namespace string) (watch.Interface, error)

WatchIngresses watches ingresses for given namespace

func WatchSecrets added in v0.4.0

func WatchSecrets(ctx context.Context, namespace string) (watch.Interface, error)

WatchSecrets watches secrets for given namespace

func WatchServices added in v0.4.0

func WatchServices(ctx context.Context, namespace string) (watch.Interface, error)

WatchServices watches services

Types

This section is empty.

Jump to

Keyboard shortcuts

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