manifest

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 {
	Slice string
	Path  string
}

func NewManifest

func NewManifest(f string, slice 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