k8s

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

K8s contains commands for kubectl and other kubernetes related commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8s

type K8s mg.Namespace

k8s contains commands for kubectl and other kubernetes related commands.

func (K8s) Apply

func (K8s) Apply(manifest string) error

Apply applies a kubernetes manifest.

func (K8s) CreateSecret

func (K8s) CreateSecret() error

CreateSecret 🚧 🚧 🚧 🚧 PENDING USAGE: Create a secret from keys.

func (K8s) Delete

func (K8s) Delete(manifest string)

Apply applies a kubernetes manifest.

func (K8s) DeleteSecretKey

func (K8s) DeleteSecretKey() error

DeleteSecretKey removes the generic secret in the local context so it can be recreated.

func (K8s) Init

func (K8s) Init() error

Init copies the k8 yaml manifest files from the examples directory to the cache directory for editing and linking in integration testing.

func (K8s) Logs

func (K8s) Logs() error

Logs streams logs until canceled for the dsv syncing jobs, based on the label `dsv.delinea.com: syncer`.

Jump to

Keyboard shortcuts

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