oc

package
v0.0.0-...-e953483 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnnotateNamespace

func AnnotateNamespace(namespace, annotation string)

func AnnotateNamespaceIgnoreErrors

func AnnotateNamespaceIgnoreErrors(namespace, annotation string)

func Apply

func Apply(path_dir, namespace string)

func CheckProjectExists

func CheckProjectExists(projectName string) bool

func Create

func Create(path_dir, namespace string)

Create resources using oc command

func CreateNewProject

func CreateNewProject(ns string)

CreateNewProject Helps you to create new project

func CreateSecretForGitResolver

func CreateSecretForGitResolver(secretData string)

func CreateSecretWithSecretToken

func CreateSecretWithSecretToken(secretname, namespace string)

func Delete

func Delete(path_dir, namespace string)

Delete resources using oc command

func DeleteProject

func DeleteProject(ns string)

DeleteProject Helps you to delete new project

func DeleteProjectIgnoreErors

func DeleteProjectIgnoreErors(ns string)

func DeleteResource

func DeleteResource(resourceType, name string)

func EnableConsolePlugin

func EnableConsolePlugin()

func EnableTLSConfigForEventlisteners

func EnableTLSConfigForEventlisteners(namespace string)

func LabelNamespace

func LabelNamespace(namespace, label string)

func LinkSecretToSA

func LinkSecretToSA(secretname, sa, namespace string)

func RemovePrunerConfig

func RemovePrunerConfig()

func SecretExists

func SecretExists(secretName string, namespace string) bool

func UpdateTektonConfig

func UpdateTektonConfig(patch_data string)

func UpdateTektonConfigwithInvalidData

func UpdateTektonConfigwithInvalidData(patch_data, errorMessage string)

func VerifyKubernetesEventsForEventListener

func VerifyKubernetesEventsForEventListener(namespace string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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