Documentation ¶
Index ¶
- type ManagementEndpointMock
- func (m ManagementEndpointMock) Register(ctx context.Context, request requests.RegisterRequest) (*requests.RegisterResponse, error)
- func (m ManagementEndpointMock) UpdateInfo(ctx context.Context, request requests.UpdateInfoRequest) (*requests.UpdateInfoResponse, error)
- func (m ManagementEndpointMock) UpdateResources(ctx context.Context, request requests.UpdateResourcesRequest) (*requests.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 requests.RegisterRequest) (*requests.RegisterResponse, error) UpdateInfoHandler func(ctx context.Context, request requests.UpdateInfoRequest) (*requests.UpdateInfoResponse, error) UpdateResourcesHandler func(ctx context.Context, request requests.UpdateResourcesRequest) (*requests.UpdateResourcesResponse, error) }
func (ManagementEndpointMock) Register ¶ added in v1.2.3
func (m ManagementEndpointMock) Register(ctx context.Context, request requests.RegisterRequest) (*requests.RegisterResponse, error)
func (ManagementEndpointMock) UpdateInfo ¶ added in v1.2.3
func (m ManagementEndpointMock) UpdateInfo(ctx context.Context, request requests.UpdateInfoRequest) (*requests.UpdateInfoResponse, error)
func (ManagementEndpointMock) UpdateResources ¶ added in v1.4.0
func (m ManagementEndpointMock) UpdateResources( ctx context.Context, request requests.UpdateResourcesRequest) (*requests.UpdateResourcesResponse, error)
Click to show internal directories.
Click to hide internal directories.