Versions in this module Expand all Collapse all v1 v1.0.0 Mar 26, 2024 Changes in this version + func MatchesProto(expected proto.Message) interface + func New(t tiface.T) (*API, BaseResources) + func RandID() string + type API struct + APIEndpoint APIEndpoint + Compute Compute + IAM IAM + ResourceManager ResourceManager + func NewRaw(t tiface.T) *API + func (api *API) Addr() string + func (api *API) Close() + func (api *API) MockEndpoint() + func (api *API) MockIAMToken() + func (api *API) SDK(t tiface.T) *ycsdk.SDK + type APIEndpoint struct + APIEndpoint *endpointmocks.ApiEndpointServiceServer + type BaseResources struct + CloudID string + FolderID string + type Compute struct + Disk *computemocks.DiskServiceServer + Instance *computemocks.InstanceServiceServer + Zone *computemocks.ZoneServiceServer + type IAM struct + IAMToken *iammocks.IamTokenServiceServer + ServiceAccount *iammocks.ServiceAccountServiceServer + type ResourceManager struct + Cloud *resourcemanagermocks.CloudServiceServer + Folder *resourcemanagermocks.FolderServiceServer + func (rm *ResourceManager) MockCloud() string + func (rm *ResourceManager) MockFolder(cloudID string) string