Documentation ¶
Index ¶
- Variables
- type TestSecrets
- func (*TestSecrets) Cleanup(model.ResourceKey)
- func (*TestSecrets) GetForDataPlane(*core_mesh.DataplaneResource, *core_mesh.MeshResource) (*core_xds.IdentitySecret, *core_xds.CaSecret, error)
- func (*TestSecrets) GetForZoneEgress(*core_mesh.ZoneEgressResource, *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, }, }, 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) GetForDataPlane ¶
func (*TestSecrets) GetForDataPlane( *core_mesh.DataplaneResource, *core_mesh.MeshResource, ) (*core_xds.IdentitySecret, *core_xds.CaSecret, error)
func (*TestSecrets) GetForZoneEgress ¶
func (*TestSecrets) GetForZoneEgress( *core_mesh.ZoneEgressResource, *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.