injector

package
v0.0.0-...-053853d Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Copied from: https://github.com/kyma-project/kyma/tree/main/tests/console-backend-service/pkg/injector because right now it cannot be vendored because controller-runtime and kubernetes version does not match we need to wait until the Helm Broker and CBS will we both at the same k8s and controller-runtime version

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addons

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

Addons provides functionality for injecting the Cluster and NS-scoped addons configuration

func NewAddons

func NewAddons(name, url string) (*Addons, error)

NewAddons returns new instance of the Addons

func (*Addons) CleanupAddonsConfiguration

func (a *Addons) CleanupAddonsConfiguration(ns string) error

CleanupAddonsConfiguration ensures that given addon repository is removed

func (*Addons) CleanupClusterAddonsConfiguration

func (a *Addons) CleanupClusterAddonsConfiguration() error

CleanupClusterAddonsConfiguration ensures that given addon repository is removed

func (*Addons) InjectAddonsConfiguration

func (a *Addons) InjectAddonsConfiguration(ns string) error

InjectAddonsConfiguration ensures that given addon repository is injected

func (*Addons) InjectClusterAddonsConfiguration

func (a *Addons) InjectClusterAddonsConfiguration() error

InjectClusterAddonsConfiguration ensures that given addon repository is injected

Jump to

Keyboard shortcuts

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