Documentation ¶
Index ¶
- Constants
- Variables
- type ServiceMesh
- func (s *ServiceMesh) ApplyPolicies(namespace string) error
- func (s *ServiceMesh) DeleteIstio() error
- func (s *ServiceMesh) DeleteKind(name string) error
- func (s *ServiceMesh) DeployApplication(namespace string) error
- func (s *ServiceMesh) InstallIstio(p, namespace string) error
- func (s *ServiceMesh) InstallKind(name string, config string, withLB bool) error
- type ServiceMeshI
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
Click to show internal directories.
Click to hide internal directories.