Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAServer ¶
CAServer is the mocked Mesh CA server.
func CreateServer ¶
CreateServer creates a mocked local Google CA server and runs it in a separate thread. nolint: interfacer
type CAService ¶
type CAService struct { *gcapb.UnimplementedMeshCertificateServiceServer Certs []string Err error }
CAService is a simple mocked Google CA Service.
func (*CAService) CreateCertificate ¶
func (ca *CAService) CreateCertificate(ctx context.Context, in *gcapb.MeshCertificateRequest) ( *gcapb.MeshCertificateResponse, error)
CreateCertificate is a mocked function for the Google Mesh CA API.
Click to show internal directories.
Click to hide internal directories.