Documentation ¶
Index ¶
- func CreateDefaultMesh(resManager core_manager.ResourceManager, template mesh_proto.Mesh) error
- func EnsureEnabledCA(ctx context.Context, caManagers core_ca.Managers, mesh *mesh_core.MeshResource, ...) error
- func NewMeshManager(store core_store.ResourceStore, otherManagers core_manager.ResourceManager, ...) core_manager.ResourceManager
- type MeshValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultMesh ¶
func CreateDefaultMesh(resManager core_manager.ResourceManager, template mesh_proto.Mesh) error
func EnsureEnabledCA ¶
func NewMeshManager ¶
func NewMeshManager( store core_store.ResourceStore, otherManagers core_manager.ResourceManager, secretManager secrets_manager.SecretManager, caManagers core_ca.Managers, registry core_registry.TypeRegistry, validator MeshValidator, ) core_manager.ResourceManager
Types ¶
type MeshValidator ¶
func (*MeshValidator) ValidateCreate ¶
func (m *MeshValidator) ValidateCreate(ctx context.Context, name string, resource *core_mesh.MeshResource) error
func (*MeshValidator) ValidateUpdate ¶
func (m *MeshValidator) ValidateUpdate(ctx context.Context, previousMesh *core_mesh.MeshResource, newMesh *core_mesh.MeshResource) error
Click to show internal directories.
Click to hide internal directories.