Documentation
¶
Overview ¶
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Code generated by sdkgen-v2. DO NOT EDIT.
Index ¶
- Variables
- func CommunityResolver(name string, client CommunityClient, opts ...sdkresolvers.ResolveOption) sdkresolvers.Resolver
- func ProjectResolver(name string, client ProjectClient, opts ...sdkresolvers.ResolveOption) sdkresolvers.Resolver
- type CommunityAddResourceOperation
- func (o *CommunityAddResourceOperation) Response() *emptypb.Empty
- func (o *CommunityAddResourceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *CommunityAddResourceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type CommunityClient
- type CommunityClientIterator
- type CommunityCreateOperation
- func (o *CommunityCreateOperation) Metadata() *datasphere.CreateCommunityMetadata
- func (o *CommunityCreateOperation) Response() *datasphere.Community
- func (o *CommunityCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.Community, error)
- func (o *CommunityCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.Community, error)
- type CommunityDeleteOperation
- func (o *CommunityDeleteOperation) Metadata() *datasphere.DeleteCommunityMetadata
- func (o *CommunityDeleteOperation) Response() *emptypb.Empty
- func (o *CommunityDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *CommunityDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type CommunityRemoveResourceOperation
- func (o *CommunityRemoveResourceOperation) Response() *emptypb.Empty
- func (o *CommunityRemoveResourceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *CommunityRemoveResourceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type CommunitySetAccessBindingsOperation
- func (o *CommunitySetAccessBindingsOperation) Metadata() *datasphere.SetCommunityAccessBindingsMetadata
- func (o *CommunitySetAccessBindingsOperation) Response() *emptypb.Empty
- func (o *CommunitySetAccessBindingsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *CommunitySetAccessBindingsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type CommunitySetRestrictionsOperation
- func (o *CommunitySetRestrictionsOperation) Response() *datasphere.RestrictionsResponse
- func (o *CommunitySetRestrictionsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
- func (o *CommunitySetRestrictionsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.RestrictionsResponse, error)
- type CommunityUpdateAccessBindingsOperation
- func (o *CommunityUpdateAccessBindingsOperation) Metadata() *datasphere.UpdateCommunityAccessBindingsMetadata
- func (o *CommunityUpdateAccessBindingsOperation) Response() *emptypb.Empty
- func (o *CommunityUpdateAccessBindingsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *CommunityUpdateAccessBindingsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type CommunityUpdateOperation
- func (o *CommunityUpdateOperation) Metadata() *datasphere.UpdateCommunityMetadata
- func (o *CommunityUpdateOperation) Response() *datasphere.Community
- func (o *CommunityUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.Community, error)
- func (o *CommunityUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.Community, error)
- type DatasetActivateOperation
- func (o *DatasetActivateOperation) Response() *emptypb.Empty
- func (o *DatasetActivateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *DatasetActivateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type DatasetClient
- type DatasetClientIterator
- type DatasetDeactivateOperation
- func (o *DatasetDeactivateOperation) Response() *emptypb.Empty
- func (o *DatasetDeactivateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *DatasetDeactivateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type DockerImageActivateOperation
- func (o *DockerImageActivateOperation) Response() *emptypb.Empty
- func (o *DockerImageActivateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *DockerImageActivateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type DockerImageClient
- type DockerImageClientIterator
- type ProjectAddResourceOperation
- func (o *ProjectAddResourceOperation) Response() *emptypb.Empty
- func (o *ProjectAddResourceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *ProjectAddResourceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type ProjectClient
- type ProjectClientIterator
- type ProjectCreateOperation
- func (o *ProjectCreateOperation) Metadata() *datasphere.CreateProjectMetadata
- func (o *ProjectCreateOperation) Response() *datasphere.Project
- func (o *ProjectCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.Project, error)
- func (o *ProjectCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.Project, error)
- type ProjectDeleteOperation
- func (o *ProjectDeleteOperation) Metadata() *datasphere.DeleteProjectMetadata
- func (o *ProjectDeleteOperation) Response() *emptypb.Empty
- func (o *ProjectDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *ProjectDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type ProjectExecuteOperation
- func (o *ProjectExecuteOperation) Metadata() *datasphere.ProjectExecutionMetadata
- func (o *ProjectExecuteOperation) Response() *datasphere.ProjectExecutionResponse
- func (o *ProjectExecuteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.ProjectExecutionResponse, error)
- func (o *ProjectExecuteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.ProjectExecutionResponse, error)
- type ProjectOpenOperation
- func (o *ProjectOpenOperation) Metadata() *datasphere.OpenProjectMetadata
- func (o *ProjectOpenOperation) Response() *datasphere.OpenProjectResponse
- func (o *ProjectOpenOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.OpenProjectResponse, error)
- func (o *ProjectOpenOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.OpenProjectResponse, error)
- type ProjectRemoveResourceOperation
- func (o *ProjectRemoveResourceOperation) Response() *emptypb.Empty
- func (o *ProjectRemoveResourceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *ProjectRemoveResourceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type ProjectResizeDiskOperation
- func (o *ProjectResizeDiskOperation) Metadata() *datasphere.ResizeProjectDiskMetadata
- func (o *ProjectResizeDiskOperation) Response() *datasphere.DiskInfo
- func (o *ProjectResizeDiskOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.DiskInfo, error)
- func (o *ProjectResizeDiskOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.DiskInfo, error)
- type ProjectSetAccessBindingsOperation
- func (o *ProjectSetAccessBindingsOperation) Metadata() *datasphere.SetProjectAccessBindingsMetadata
- func (o *ProjectSetAccessBindingsOperation) Response() *emptypb.Empty
- func (o *ProjectSetAccessBindingsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *ProjectSetAccessBindingsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type ProjectSetRestrictionsOperation
- func (o *ProjectSetRestrictionsOperation) Response() *datasphere.RestrictionsResponse
- func (o *ProjectSetRestrictionsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
- func (o *ProjectSetRestrictionsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.RestrictionsResponse, error)
- type ProjectSetUnitBalanceOperation
- func (o *ProjectSetUnitBalanceOperation) Metadata() *datasphere.SetUnitBalanceMetadata
- func (o *ProjectSetUnitBalanceOperation) Response() *emptypb.Empty
- func (o *ProjectSetUnitBalanceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *ProjectSetUnitBalanceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type ProjectUpdateAccessBindingsOperation
- func (o *ProjectUpdateAccessBindingsOperation) Metadata() *datasphere.UpdateProjectAccessBindingsMetadata
- func (o *ProjectUpdateAccessBindingsOperation) Response() *emptypb.Empty
- func (o *ProjectUpdateAccessBindingsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *ProjectUpdateAccessBindingsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type ProjectUpdateOperation
- func (o *ProjectUpdateOperation) Metadata() *datasphere.UpdateProjectMetadata
- func (o *ProjectUpdateOperation) Response() *datasphere.Project
- func (o *ProjectUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.Project, error)
- func (o *ProjectUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*datasphere.Project, error)
- type S3ActivateOperation
- type S3Client
- type S3ClientIterator
- type S3DeactivateOperation
Constants ¶
This section is empty.
Variables ¶
var ( CommunityCreate = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.Create") CommunityGet = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.Get") CommunityUpdate = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.Update") CommunityDelete = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.Delete") CommunityList = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.List") CommunityListAccessBindings = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.ListAccessBindings") CommunitySetAccessBindings = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.SetAccessBindings") CommunityUpdateAccessBindings = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.UpdateAccessBindings") CommunityAddResource = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.AddResource") CommunityRemoveResource = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.RemoveResource") CommunityGetRestrictionsMeta = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.GetRestrictionsMeta") CommunityGetRestrictions = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.GetRestrictions") CommunitySetRestrictions = protoreflect.FullName("yandex.cloud.datasphere.v2.CommunityService.SetRestrictions") CommunityOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var ( DatasetActivate = protoreflect.FullName("yandex.cloud.datasphere.v2.DatasetService.Activate") DatasetDeactivate = protoreflect.FullName("yandex.cloud.datasphere.v2.DatasetService.Deactivate") DatasetOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var ( DockerImageActivate = protoreflect.FullName("yandex.cloud.datasphere.v2.DockerImageService.Activate") DockerImageOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var ( ProjectCreate = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.Create") ProjectUpdate = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.Update") ProjectDelete = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.Delete") ProjectOpen = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.Open") ProjectGet = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.Get") ProjectList = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.List") ProjectGetUnitBalance = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.GetUnitBalance") ProjectSetUnitBalance = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.SetUnitBalance") ProjectExecute = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.Execute") ProjectListAccessBindings = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.ListAccessBindings") ProjectSetAccessBindings = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.SetAccessBindings") ProjectUpdateAccessBindings = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.UpdateAccessBindings") ProjectAddResource = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.AddResource") ProjectRemoveResource = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.RemoveResource") ProjectResizeDisk = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.ResizeDisk") ProjectGetRestrictionsMeta = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.GetRestrictionsMeta") ProjectGetRestrictions = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.GetRestrictions") ProjectSetRestrictions = protoreflect.FullName("yandex.cloud.datasphere.v2.ProjectService.SetRestrictions") ProjectOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
var ( S3Activate = protoreflect.FullName("yandex.cloud.datasphere.v2.S3Service.Activate") S3Deactivate = protoreflect.FullName("yandex.cloud.datasphere.v2.S3Service.Deactivate") S3OperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
Functions ¶
func CommunityResolver ¶ added in v0.0.30
func CommunityResolver(name string, client CommunityClient, opts ...sdkresolvers.ResolveOption) sdkresolvers.Resolver
func ProjectResolver ¶ added in v0.0.30
func ProjectResolver(name string, client ProjectClient, opts ...sdkresolvers.ResolveOption) sdkresolvers.Resolver
Types ¶
type CommunityAddResourceOperation ¶
CommunityAddResourceOperation is used to monitor the state of AddResource operations.
func (*CommunityAddResourceOperation) Response ¶
func (o *CommunityAddResourceOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*CommunityAddResourceOperation) Wait ¶
func (o *CommunityAddResourceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*CommunityAddResourceOperation) WaitInterval ¶
func (o *CommunityAddResourceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type CommunityClient ¶
type CommunityClient interface {
CommunityClientIterator
Create(context.Context, *datasphere.CreateCommunityRequest, ...grpc.CallOption) (*CommunityCreateOperation, error)
Get(context.Context, *datasphere.GetCommunityRequest, ...grpc.CallOption) (*datasphere.Community, error)
Update(context.Context, *datasphere.UpdateCommunityRequest, ...grpc.CallOption) (*CommunityUpdateOperation, error)
Delete(context.Context, *datasphere.DeleteCommunityRequest, ...grpc.CallOption) (*CommunityDeleteOperation, error)
List(context.Context, *datasphere.ListCommunitiesRequest, ...grpc.CallOption) (*datasphere.ListCommunitiesResponse, error)
ListAccessBindings(context.Context, *access.ListAccessBindingsRequest, ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
SetAccessBindings(context.Context, *access.SetAccessBindingsRequest, ...grpc.CallOption) (*CommunitySetAccessBindingsOperation, error)
UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest, ...grpc.CallOption) (*CommunityUpdateAccessBindingsOperation, error)
AddResource(context.Context, *datasphere.AddCommunityResourceRequest, ...grpc.CallOption) (*CommunityAddResourceOperation, error)
RemoveResource(context.Context, *datasphere.RemoveCommunityResourceRequest, ...grpc.CallOption) (*CommunityRemoveResourceOperation, error)
GetRestrictionsMeta(context.Context, *emptypb.Empty, ...grpc.CallOption) (*datasphere.GetRestrictionsMetaResponse, error)
GetRestrictions(context.Context, *datasphere.GetCommunityRestrictionsRequest, ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
SetRestrictions(context.Context, *datasphere.SetCommunityRestrictionsRequest, ...grpc.CallOption) (*CommunitySetRestrictionsOperation, error)
}
CommunityClient provides methods for managing Community resources of Yandex.Cloud Datasphere.
func NewCommunityClient ¶
func NewCommunityClient(connector transport.Connector) CommunityClient
NewCommunityClient returns CommunityClient implementation.
type CommunityClientIterator ¶ added in v0.0.26
type CommunityClientIterator interface {
Iterator(context.Context, *datasphere.ListCommunitiesRequest, ...grpc.CallOption) *iterator.Iterator[*datasphere.ListCommunitiesRequest, *datasphere.Community]
AccessBindingsIterator(context.Context, *access.ListAccessBindingsRequest, ...grpc.CallOption) *iterator.Iterator[*access.ListAccessBindingsRequest, *access.AccessBinding]
}
type CommunityCreateOperation ¶
CommunityCreateOperation is used to monitor the state of Create operations.
func (*CommunityCreateOperation) Metadata ¶
func (o *CommunityCreateOperation) Metadata() *datasphere.CreateCommunityMetadata
Metadata retrieves the operation metadata.
func (*CommunityCreateOperation) Response ¶
func (o *CommunityCreateOperation) Response() *datasphere.Community
Response retrieves the operation response.
func (*CommunityCreateOperation) Wait ¶
func (o *CommunityCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.Community, error)
Wait polls the operation until it's done.
func (*CommunityCreateOperation) WaitInterval ¶
func (o *CommunityCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.Community, error)
WaitInterval polls the operation until it's done with custom interval.
type CommunityDeleteOperation ¶
CommunityDeleteOperation is used to monitor the state of Delete operations.
func (*CommunityDeleteOperation) Metadata ¶
func (o *CommunityDeleteOperation) Metadata() *datasphere.DeleteCommunityMetadata
Metadata retrieves the operation metadata.
func (*CommunityDeleteOperation) Response ¶
func (o *CommunityDeleteOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*CommunityDeleteOperation) Wait ¶
func (o *CommunityDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*CommunityDeleteOperation) WaitInterval ¶
func (o *CommunityDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type CommunityRemoveResourceOperation ¶
CommunityRemoveResourceOperation is used to monitor the state of RemoveResource operations.
func (*CommunityRemoveResourceOperation) Response ¶
func (o *CommunityRemoveResourceOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*CommunityRemoveResourceOperation) Wait ¶
func (o *CommunityRemoveResourceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*CommunityRemoveResourceOperation) WaitInterval ¶
func (o *CommunityRemoveResourceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type CommunitySetAccessBindingsOperation ¶
CommunitySetAccessBindingsOperation is used to monitor the state of SetAccessBindings operations.
func (*CommunitySetAccessBindingsOperation) Metadata ¶
func (o *CommunitySetAccessBindingsOperation) Metadata() *datasphere.SetCommunityAccessBindingsMetadata
Metadata retrieves the operation metadata.
func (*CommunitySetAccessBindingsOperation) Response ¶
func (o *CommunitySetAccessBindingsOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*CommunitySetAccessBindingsOperation) Wait ¶
func (o *CommunitySetAccessBindingsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*CommunitySetAccessBindingsOperation) WaitInterval ¶
func (o *CommunitySetAccessBindingsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type CommunitySetRestrictionsOperation ¶
CommunitySetRestrictionsOperation is used to monitor the state of SetRestrictions operations.
func (*CommunitySetRestrictionsOperation) Response ¶
func (o *CommunitySetRestrictionsOperation) Response() *datasphere.RestrictionsResponse
Response retrieves the operation response.
func (*CommunitySetRestrictionsOperation) Wait ¶
func (o *CommunitySetRestrictionsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
Wait polls the operation until it's done.
func (*CommunitySetRestrictionsOperation) WaitInterval ¶
func (o *CommunitySetRestrictionsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
WaitInterval polls the operation until it's done with custom interval.
type CommunityUpdateAccessBindingsOperation ¶
CommunityUpdateAccessBindingsOperation is used to monitor the state of UpdateAccessBindings operations.
func (*CommunityUpdateAccessBindingsOperation) Metadata ¶
func (o *CommunityUpdateAccessBindingsOperation) Metadata() *datasphere.UpdateCommunityAccessBindingsMetadata
Metadata retrieves the operation metadata.
func (*CommunityUpdateAccessBindingsOperation) Response ¶
func (o *CommunityUpdateAccessBindingsOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*CommunityUpdateAccessBindingsOperation) Wait ¶
func (o *CommunityUpdateAccessBindingsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*CommunityUpdateAccessBindingsOperation) WaitInterval ¶
func (o *CommunityUpdateAccessBindingsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type CommunityUpdateOperation ¶
CommunityUpdateOperation is used to monitor the state of Update operations.
func (*CommunityUpdateOperation) Metadata ¶
func (o *CommunityUpdateOperation) Metadata() *datasphere.UpdateCommunityMetadata
Metadata retrieves the operation metadata.
func (*CommunityUpdateOperation) Response ¶
func (o *CommunityUpdateOperation) Response() *datasphere.Community
Response retrieves the operation response.
func (*CommunityUpdateOperation) Wait ¶
func (o *CommunityUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.Community, error)
Wait polls the operation until it's done.
func (*CommunityUpdateOperation) WaitInterval ¶
func (o *CommunityUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.Community, error)
WaitInterval polls the operation until it's done with custom interval.
type DatasetActivateOperation ¶
DatasetActivateOperation is used to monitor the state of Activate operations.
func (*DatasetActivateOperation) Response ¶
func (o *DatasetActivateOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*DatasetActivateOperation) Wait ¶
func (o *DatasetActivateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*DatasetActivateOperation) WaitInterval ¶
func (o *DatasetActivateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type DatasetClient ¶
type DatasetClient interface {
DatasetClientIterator
Activate(context.Context, *datasphere.ActivateDatasetRequest, ...grpc.CallOption) (*DatasetActivateOperation, error)
Deactivate(context.Context, *datasphere.DeactivateDatasetRequest, ...grpc.CallOption) (*DatasetDeactivateOperation, error)
}
DatasetClient provides methods for managing Dataset resources of Yandex.Cloud Datasphere.
func NewDatasetClient ¶
func NewDatasetClient(connector transport.Connector) DatasetClient
NewDatasetClient returns DatasetClient implementation.
type DatasetClientIterator ¶ added in v0.0.26
type DatasetClientIterator interface {
}
type DatasetDeactivateOperation ¶
DatasetDeactivateOperation is used to monitor the state of Deactivate operations.
func (*DatasetDeactivateOperation) Response ¶
func (o *DatasetDeactivateOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*DatasetDeactivateOperation) Wait ¶
func (o *DatasetDeactivateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*DatasetDeactivateOperation) WaitInterval ¶
func (o *DatasetDeactivateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type DockerImageActivateOperation ¶
DockerImageActivateOperation is used to monitor the state of Activate operations.
func (*DockerImageActivateOperation) Response ¶
func (o *DockerImageActivateOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*DockerImageActivateOperation) Wait ¶
func (o *DockerImageActivateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*DockerImageActivateOperation) WaitInterval ¶
func (o *DockerImageActivateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type DockerImageClient ¶
type DockerImageClient interface {
DockerImageClientIterator
Activate(context.Context, *datasphere.ActivateDockerImageRequest, ...grpc.CallOption) (*DockerImageActivateOperation, error)
}
DockerImageClient provides methods for managing DockerImage resources of Yandex.Cloud Datasphere.
func NewDockerImageClient ¶
func NewDockerImageClient(connector transport.Connector) DockerImageClient
NewDockerImageClient returns DockerImageClient implementation.
type DockerImageClientIterator ¶ added in v0.0.26
type DockerImageClientIterator interface {
}
type ProjectAddResourceOperation ¶
ProjectAddResourceOperation is used to monitor the state of AddResource operations.
func (*ProjectAddResourceOperation) Response ¶
func (o *ProjectAddResourceOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*ProjectAddResourceOperation) Wait ¶
func (o *ProjectAddResourceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*ProjectAddResourceOperation) WaitInterval ¶
func (o *ProjectAddResourceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectClient ¶
type ProjectClient interface {
ProjectClientIterator
Create(context.Context, *datasphere.CreateProjectRequest, ...grpc.CallOption) (*ProjectCreateOperation, error)
Update(context.Context, *datasphere.UpdateProjectRequest, ...grpc.CallOption) (*ProjectUpdateOperation, error)
Delete(context.Context, *datasphere.DeleteProjectRequest, ...grpc.CallOption) (*ProjectDeleteOperation, error)
Open(context.Context, *datasphere.OpenProjectRequest, ...grpc.CallOption) (*ProjectOpenOperation, error)
Get(context.Context, *datasphere.GetProjectRequest, ...grpc.CallOption) (*datasphere.Project, error)
List(context.Context, *datasphere.ListProjectsRequest, ...grpc.CallOption) (*datasphere.ListProjectsResponse, error)
GetUnitBalance(context.Context, *datasphere.GetUnitBalanceRequest, ...grpc.CallOption) (*datasphere.GetUnitBalanceResponse, error)
SetUnitBalance(context.Context, *datasphere.SetUnitBalanceRequest, ...grpc.CallOption) (*ProjectSetUnitBalanceOperation, error)
Execute(context.Context, *datasphere.ProjectExecutionRequest, ...grpc.CallOption) (*ProjectExecuteOperation, error)
ListAccessBindings(context.Context, *access.ListAccessBindingsRequest, ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
SetAccessBindings(context.Context, *access.SetAccessBindingsRequest, ...grpc.CallOption) (*ProjectSetAccessBindingsOperation, error)
UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest, ...grpc.CallOption) (*ProjectUpdateAccessBindingsOperation, error)
AddResource(context.Context, *datasphere.AddResourceToProjectRequest, ...grpc.CallOption) (*ProjectAddResourceOperation, error)
RemoveResource(context.Context, *datasphere.RemoveResourceFromProjectRequest, ...grpc.CallOption) (*ProjectRemoveResourceOperation, error)
ResizeDisk(context.Context, *datasphere.ResizeProjectDiskRequest, ...grpc.CallOption) (*ProjectResizeDiskOperation, error)
GetRestrictionsMeta(context.Context, *emptypb.Empty, ...grpc.CallOption) (*datasphere.GetRestrictionsMetaResponse, error)
GetRestrictions(context.Context, *datasphere.GetProjectRestrictionsRequest, ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
SetRestrictions(context.Context, *datasphere.SetProjectRestrictionsRequest, ...grpc.CallOption) (*ProjectSetRestrictionsOperation, error)
}
ProjectClient provides methods for managing Project resources of Yandex.Cloud Datasphere.
func NewProjectClient ¶
func NewProjectClient(connector transport.Connector) ProjectClient
NewProjectClient returns ProjectClient implementation.
type ProjectClientIterator ¶ added in v0.0.26
type ProjectClientIterator interface {
Iterator(context.Context, *datasphere.ListProjectsRequest, ...grpc.CallOption) *iterator.Iterator[*datasphere.ListProjectsRequest, *datasphere.Project]
AccessBindingsIterator(context.Context, *access.ListAccessBindingsRequest, ...grpc.CallOption) *iterator.Iterator[*access.ListAccessBindingsRequest, *access.AccessBinding]
}
type ProjectCreateOperation ¶
ProjectCreateOperation is used to monitor the state of Create operations.
func (*ProjectCreateOperation) Metadata ¶
func (o *ProjectCreateOperation) Metadata() *datasphere.CreateProjectMetadata
Metadata retrieves the operation metadata.
func (*ProjectCreateOperation) Response ¶
func (o *ProjectCreateOperation) Response() *datasphere.Project
Response retrieves the operation response.
func (*ProjectCreateOperation) Wait ¶
func (o *ProjectCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.Project, error)
Wait polls the operation until it's done.
func (*ProjectCreateOperation) WaitInterval ¶
func (o *ProjectCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.Project, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectDeleteOperation ¶
ProjectDeleteOperation is used to monitor the state of Delete operations.
func (*ProjectDeleteOperation) Metadata ¶
func (o *ProjectDeleteOperation) Metadata() *datasphere.DeleteProjectMetadata
Metadata retrieves the operation metadata.
func (*ProjectDeleteOperation) Response ¶
func (o *ProjectDeleteOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*ProjectDeleteOperation) Wait ¶
func (o *ProjectDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*ProjectDeleteOperation) WaitInterval ¶
func (o *ProjectDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectExecuteOperation ¶
ProjectExecuteOperation is used to monitor the state of Execute operations.
func (*ProjectExecuteOperation) Metadata ¶
func (o *ProjectExecuteOperation) Metadata() *datasphere.ProjectExecutionMetadata
Metadata retrieves the operation metadata.
func (*ProjectExecuteOperation) Response ¶
func (o *ProjectExecuteOperation) Response() *datasphere.ProjectExecutionResponse
Response retrieves the operation response.
func (*ProjectExecuteOperation) Wait ¶
func (o *ProjectExecuteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.ProjectExecutionResponse, error)
Wait polls the operation until it's done.
func (*ProjectExecuteOperation) WaitInterval ¶
func (o *ProjectExecuteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.ProjectExecutionResponse, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectOpenOperation ¶
ProjectOpenOperation is used to monitor the state of Open operations.
func (*ProjectOpenOperation) Metadata ¶
func (o *ProjectOpenOperation) Metadata() *datasphere.OpenProjectMetadata
Metadata retrieves the operation metadata.
func (*ProjectOpenOperation) Response ¶
func (o *ProjectOpenOperation) Response() *datasphere.OpenProjectResponse
Response retrieves the operation response.
func (*ProjectOpenOperation) Wait ¶
func (o *ProjectOpenOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.OpenProjectResponse, error)
Wait polls the operation until it's done.
func (*ProjectOpenOperation) WaitInterval ¶
func (o *ProjectOpenOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.OpenProjectResponse, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectRemoveResourceOperation ¶
ProjectRemoveResourceOperation is used to monitor the state of RemoveResource operations.
func (*ProjectRemoveResourceOperation) Response ¶
func (o *ProjectRemoveResourceOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*ProjectRemoveResourceOperation) Wait ¶
func (o *ProjectRemoveResourceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*ProjectRemoveResourceOperation) WaitInterval ¶
func (o *ProjectRemoveResourceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectResizeDiskOperation ¶
ProjectResizeDiskOperation is used to monitor the state of ResizeDisk operations.
func (*ProjectResizeDiskOperation) Metadata ¶
func (o *ProjectResizeDiskOperation) Metadata() *datasphere.ResizeProjectDiskMetadata
Metadata retrieves the operation metadata.
func (*ProjectResizeDiskOperation) Response ¶
func (o *ProjectResizeDiskOperation) Response() *datasphere.DiskInfo
Response retrieves the operation response.
func (*ProjectResizeDiskOperation) Wait ¶
func (o *ProjectResizeDiskOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.DiskInfo, error)
Wait polls the operation until it's done.
func (*ProjectResizeDiskOperation) WaitInterval ¶
func (o *ProjectResizeDiskOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.DiskInfo, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectSetAccessBindingsOperation ¶
ProjectSetAccessBindingsOperation is used to monitor the state of SetAccessBindings operations.
func (*ProjectSetAccessBindingsOperation) Metadata ¶
func (o *ProjectSetAccessBindingsOperation) Metadata() *datasphere.SetProjectAccessBindingsMetadata
Metadata retrieves the operation metadata.
func (*ProjectSetAccessBindingsOperation) Response ¶
func (o *ProjectSetAccessBindingsOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*ProjectSetAccessBindingsOperation) Wait ¶
func (o *ProjectSetAccessBindingsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*ProjectSetAccessBindingsOperation) WaitInterval ¶
func (o *ProjectSetAccessBindingsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectSetRestrictionsOperation ¶
ProjectSetRestrictionsOperation is used to monitor the state of SetRestrictions operations.
func (*ProjectSetRestrictionsOperation) Response ¶
func (o *ProjectSetRestrictionsOperation) Response() *datasphere.RestrictionsResponse
Response retrieves the operation response.
func (*ProjectSetRestrictionsOperation) Wait ¶
func (o *ProjectSetRestrictionsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
Wait polls the operation until it's done.
func (*ProjectSetRestrictionsOperation) WaitInterval ¶
func (o *ProjectSetRestrictionsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectSetUnitBalanceOperation ¶
ProjectSetUnitBalanceOperation is used to monitor the state of SetUnitBalance operations.
func (*ProjectSetUnitBalanceOperation) Metadata ¶
func (o *ProjectSetUnitBalanceOperation) Metadata() *datasphere.SetUnitBalanceMetadata
Metadata retrieves the operation metadata.
func (*ProjectSetUnitBalanceOperation) Response ¶
func (o *ProjectSetUnitBalanceOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*ProjectSetUnitBalanceOperation) Wait ¶
func (o *ProjectSetUnitBalanceOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*ProjectSetUnitBalanceOperation) WaitInterval ¶
func (o *ProjectSetUnitBalanceOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectUpdateAccessBindingsOperation ¶
ProjectUpdateAccessBindingsOperation is used to monitor the state of UpdateAccessBindings operations.
func (*ProjectUpdateAccessBindingsOperation) Metadata ¶
func (o *ProjectUpdateAccessBindingsOperation) Metadata() *datasphere.UpdateProjectAccessBindingsMetadata
Metadata retrieves the operation metadata.
func (*ProjectUpdateAccessBindingsOperation) Response ¶
func (o *ProjectUpdateAccessBindingsOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*ProjectUpdateAccessBindingsOperation) Wait ¶
func (o *ProjectUpdateAccessBindingsOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*ProjectUpdateAccessBindingsOperation) WaitInterval ¶
func (o *ProjectUpdateAccessBindingsOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type ProjectUpdateOperation ¶
ProjectUpdateOperation is used to monitor the state of Update operations.
func (*ProjectUpdateOperation) Metadata ¶
func (o *ProjectUpdateOperation) Metadata() *datasphere.UpdateProjectMetadata
Metadata retrieves the operation metadata.
func (*ProjectUpdateOperation) Response ¶
func (o *ProjectUpdateOperation) Response() *datasphere.Project
Response retrieves the operation response.
func (*ProjectUpdateOperation) Wait ¶
func (o *ProjectUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*datasphere.Project, error)
Wait polls the operation until it's done.
func (*ProjectUpdateOperation) WaitInterval ¶
func (o *ProjectUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*datasphere.Project, error)
WaitInterval polls the operation until it's done with custom interval.
type S3ActivateOperation ¶
S3ActivateOperation is used to monitor the state of Activate operations.
func (*S3ActivateOperation) Response ¶
func (o *S3ActivateOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*S3ActivateOperation) Wait ¶
func (o *S3ActivateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*S3ActivateOperation) WaitInterval ¶
func (o *S3ActivateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.
type S3Client ¶
type S3Client interface {
S3ClientIterator
Activate(context.Context, *datasphere.ActivateS3Request, ...grpc.CallOption) (*S3ActivateOperation, error)
Deactivate(context.Context, *datasphere.DeactivateS3Request, ...grpc.CallOption) (*S3DeactivateOperation, error)
}
S3Client provides methods for managing S3 resources of Yandex.Cloud Datasphere.
func NewS3Client ¶
NewS3Client returns S3Client implementation.
type S3ClientIterator ¶ added in v0.0.26
type S3ClientIterator interface {
}
type S3DeactivateOperation ¶
S3DeactivateOperation is used to monitor the state of Deactivate operations.
func (*S3DeactivateOperation) Response ¶
func (o *S3DeactivateOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*S3DeactivateOperation) Wait ¶
func (o *S3DeactivateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*S3DeactivateOperation) WaitInterval ¶
func (o *S3DeactivateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*emptypb.Empty, error)
WaitInterval polls the operation until it's done with custom interval.