Documentation ¶
Index ¶
- Variables
- type TestSecrets
- func (*TestSecrets) Cleanup(model.ResourceKey)
- func (*TestSecrets) GetAllInOne(mesh *core_mesh.MeshResource, _ *core_mesh.DataplaneResource, ...) (*core_xds.IdentitySecret, *core_xds.CaSecret, error)
- func (*TestSecrets) GetForDataPlane(_ *core_mesh.DataplaneResource, mesh *core_mesh.MeshResource, ...) (*core_xds.IdentitySecret, map[string]*core_xds.CaSecret, error)
- func (*TestSecrets) GetForZoneEgress(_ *core_mesh.ZoneEgressResource, mesh *core_mesh.MeshResource) (*core_xds.IdentitySecret, *core_xds.CaSecret, error)
- func (*TestSecrets) Info(model.ResourceKey) *secrets.Info
Constants ¶
This section is empty.
Variables ¶
View Source
var TestSecretsInfo = &secrets.Info{ Expiration: time.Unix(2, 2), Generation: time.Unix(1, 1), Tags: map[string]map[string]bool{ "kuma.io/service": { "web": true, }, }, OwnMesh: secrets.MeshInfo{ MTLS: &mesh_proto.Mesh_Mtls{ EnabledBackend: "ca-1", Backends: nil, }, }, IssuedBackend: "ca-1", SupportedBackends: []string{"ca-1"}, }
Functions ¶
This section is empty.
Types ¶
type TestSecrets ¶
type TestSecrets struct { }
func (*TestSecrets) Cleanup ¶
func (*TestSecrets) Cleanup(model.ResourceKey)
func (*TestSecrets) GetAllInOne ¶
func (*TestSecrets) GetAllInOne( mesh *core_mesh.MeshResource, _ *core_mesh.DataplaneResource, meshes []*core_mesh.MeshResource, ) (*core_xds.IdentitySecret, *core_xds.CaSecret, error)
func (*TestSecrets) GetForDataPlane ¶
func (*TestSecrets) GetForDataPlane( _ *core_mesh.DataplaneResource, mesh *core_mesh.MeshResource, meshes []*core_mesh.MeshResource, ) (*core_xds.IdentitySecret, map[string]*core_xds.CaSecret, error)
func (*TestSecrets) GetForZoneEgress ¶
func (*TestSecrets) GetForZoneEgress( _ *core_mesh.ZoneEgressResource, mesh *core_mesh.MeshResource, ) (*core_xds.IdentitySecret, *core_xds.CaSecret, error)
func (*TestSecrets) Info ¶
func (*TestSecrets) Info(model.ResourceKey) *secrets.Info
Click to show internal directories.
Click to hide internal directories.