steps

package
v0.0.0-...-ba7d8e7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	METALLB_URL = "https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml"
	METALLB_CR  = "metallb_cr.yaml"
)

Variables

View Source
var (
	SpecsFolder string
)

Functions

This section is empty.

Types

type ServiceMesh

type ServiceMesh struct{}

func (*ServiceMesh) ApplyPolicies

func (s *ServiceMesh) ApplyPolicies(namespace string) error

ApplyPolicies creates a new AuthorizationPolicy for the appb service and VirtualService for control

func (*ServiceMesh) DeleteIstio

func (s *ServiceMesh) DeleteIstio() error

DeleteIstio removes istio installation

func (*ServiceMesh) DeleteKind

func (s *ServiceMesh) DeleteKind(name string) error

DeleteKind delete an existent kind cluster

func (*ServiceMesh) DeployApplication

func (s *ServiceMesh) DeployApplication(namespace string) error

DeployApplication install the application and objects

func (*ServiceMesh) InstallIstio

func (s *ServiceMesh) InstallIstio(p, namespace string) error

func (*ServiceMesh) InstallKind

func (s *ServiceMesh) InstallKind(name string, config string, withLB bool) error

InstallKind installs kind as a base K8s cluster for local development

type ServiceMeshI

type ServiceMeshI interface {
	InstallKind(name, config string, withLB bool) error
	InstallIstio(path, namespace string) error

	DeployApplication(namespace string) error
	ApplyPolicies(namespace string) error

	DeleteKind(name string) error
	DeleteIstio() error
}

ServiceMeshI is an interface for fresh new Istio installation

func NewServiceMesh

func NewServiceMesh() ServiceMeshI

Jump to

Keyboard shortcuts

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