manifest

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const ISTIO_PROXY_DEFAULT_IMAGE = "aveshasystems/istio/proxyv2:1.16.0"

Variables

This section is empty.

Functions

func GetManifestPath

func GetManifestPath(file string) string

func InstallEgress

func InstallEgress(ctx context.Context, c client.Client, slice *kubeslicev1beta1.Slice) error

Install istio egress gw resources on the given cluster in a slice Resources:

deployment (adds annotations to add the egress pod to the slice)
serviceaccount
role
rolebinding
service (type clusterip)
gateway

func InstallIngress

func InstallIngress(ctx context.Context, c client.Client, slice *kubeslicev1beta1.Slice) error

Install istio ingress gw resources on the given cluster in a slice Resources:

deployment (adds annotations to add the ingress pod to the slice)
serviceaccount
role
rolebinding
service (type clusterip)

func UninstallEgress

func UninstallEgress(ctx context.Context, c client.Client, sliceName string) error

Uninstall istio egress (EW) resources fo a slice from a given cluster Resources:

deployment
serviceaccount
role
rolebinding
service
gateway

func UninstallIngress

func UninstallIngress(ctx context.Context, c client.Client, slice string) error

Uninstall istio ingress (EW) resources fo a slice from a given cluster Resources:

deployment
serviceaccount
role
rolebinding
service

Types

type Manifest

type Manifest struct {
	Path      string
	Templates map[string]string
}

func NewManifest

func NewManifest(f string, templates map[string]string) *Manifest

func (*Manifest) Parse

func (m *Manifest) Parse(v interface{}) error

Jump to

Keyboard shortcuts

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