Documentation ¶
Index ¶
- type AppMeshInjectionPlugin
- func (AppMeshInjectionPlugin) CheckMatch(ctx context.Context, candidatePod *corev1.Pod, meshes []*v1.Mesh) ([]*v1.Mesh, error)
- func (AppMeshInjectionPlugin) GetAutoInjectMeshes(ctx context.Context) ([]*v1.Mesh, error)
- func (AppMeshInjectionPlugin) GetSidecarPatch(ctx context.Context, pod *corev1.Pod, meshes []*v1.Mesh) ([]patch.JSONPatchOperation, error)
- func (AppMeshInjectionPlugin) Name() string
- type InjectionPlugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppMeshInjectionPlugin ¶
type AppMeshInjectionPlugin struct{}
func (AppMeshInjectionPlugin) CheckMatch ¶
func (AppMeshInjectionPlugin) GetAutoInjectMeshes ¶
func (AppMeshInjectionPlugin) GetSidecarPatch ¶
func (AppMeshInjectionPlugin) GetSidecarPatch(ctx context.Context, pod *corev1.Pod, meshes []*v1.Mesh) ([]patch.JSONPatchOperation, error)
func (AppMeshInjectionPlugin) Name ¶
func (AppMeshInjectionPlugin) Name() string
type InjectionPlugin ¶
type InjectionPlugin interface { Name() string GetAutoInjectMeshes(ctx context.Context) ([]*v1.Mesh, error) CheckMatch(ctx context.Context, candidatePod *corev1.Pod, meshes []*v1.Mesh) ([]*v1.Mesh, error) GetSidecarPatch(ctx context.Context, candidatePod *corev1.Pod, mesh []*v1.Mesh) ([]patch.JSONPatchOperation, error) }
Click to show internal directories.
Click to hide internal directories.