Documentation ¶
Index ¶
- type ManagementEndpointMock
- func (m ManagementEndpointMock) Register(ctx context.Context, request legacy.RegisterRequest) (*legacy.RegisterResponse, error)
- func (m ManagementEndpointMock) UpdateInfo(ctx context.Context, request legacy.UpdateInfoRequest) (*legacy.UpdateInfoResponse, error)
- func (m ManagementEndpointMock) UpdateResources(ctx context.Context, request legacy.UpdateResourcesRequest) (*legacy.UpdateResourcesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagementEndpointMock ¶ added in v1.2.3
type ManagementEndpointMock struct { RegisterHandler func(ctx context.Context, request legacy.RegisterRequest) (*legacy.RegisterResponse, error) UpdateInfoHandler func(ctx context.Context, request legacy.UpdateInfoRequest) (*legacy.UpdateInfoResponse, error) UpdateResourcesHandler func(ctx context.Context, request legacy.UpdateResourcesRequest) (*legacy.UpdateResourcesResponse, error) }
func (ManagementEndpointMock) Register ¶ added in v1.2.3
func (m ManagementEndpointMock) Register(ctx context.Context, request legacy.RegisterRequest) (*legacy.RegisterResponse, error)
func (ManagementEndpointMock) UpdateInfo ¶ added in v1.2.3
func (m ManagementEndpointMock) UpdateInfo(ctx context.Context, request legacy.UpdateInfoRequest) (*legacy.UpdateInfoResponse, error)
func (ManagementEndpointMock) UpdateResources ¶ added in v1.4.0
func (m ManagementEndpointMock) UpdateResources( ctx context.Context, request legacy.UpdateResourcesRequest) (*legacy.UpdateResourcesResponse, error)
Click to show internal directories.
Click to hide internal directories.