Documentation
¶
Overview ¶
nolint
nolint
Index ¶
- type CommunityAccessBindingsIterator
- func (it *CommunityAccessBindingsIterator) Error() error
- func (it *CommunityAccessBindingsIterator) Next() bool
- func (it *CommunityAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
- func (it *CommunityAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
- func (it *CommunityAccessBindingsIterator) Value() *access.AccessBinding
- type CommunityIterator
- type CommunityServiceClient
- func (c *CommunityServiceClient) AddResource(ctx context.Context, in *datasphere.AddCommunityResourceRequest, ...) (*operation.Operation, error)
- func (c *CommunityServiceClient) CommunityAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, ...) *CommunityAccessBindingsIterator
- func (c *CommunityServiceClient) CommunityIterator(ctx context.Context, req *datasphere.ListCommunitiesRequest, ...) *CommunityIterator
- func (c *CommunityServiceClient) Create(ctx context.Context, in *datasphere.CreateCommunityRequest, ...) (*operation.Operation, error)
- func (c *CommunityServiceClient) Delete(ctx context.Context, in *datasphere.DeleteCommunityRequest, ...) (*operation.Operation, error)
- func (c *CommunityServiceClient) Get(ctx context.Context, in *datasphere.GetCommunityRequest, ...) (*datasphere.Community, error)
- func (c *CommunityServiceClient) GetRestrictions(ctx context.Context, in *datasphere.GetCommunityRestrictionsRequest, ...) (*datasphere.RestrictionsResponse, error)
- func (c *CommunityServiceClient) GetRestrictionsMeta(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*datasphere.GetRestrictionsMetaResponse, error)
- func (c *CommunityServiceClient) List(ctx context.Context, in *datasphere.ListCommunitiesRequest, ...) (*datasphere.ListCommunitiesResponse, error)
- func (c *CommunityServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, ...) (*access.ListAccessBindingsResponse, error)
- func (c *CommunityServiceClient) RemoveResource(ctx context.Context, in *datasphere.RemoveCommunityResourceRequest, ...) (*operation.Operation, error)
- func (c *CommunityServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, ...) (*operation.Operation, error)
- func (c *CommunityServiceClient) SetRestrictions(ctx context.Context, in *datasphere.SetCommunityRestrictionsRequest, ...) (*operation.Operation, error)
- func (c *CommunityServiceClient) Update(ctx context.Context, in *datasphere.UpdateCommunityRequest, ...) (*operation.Operation, error)
- func (c *CommunityServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, ...) (*operation.Operation, error)
- type Datasphere
- type ProjectAccessBindingsIterator
- func (it *ProjectAccessBindingsIterator) Error() error
- func (it *ProjectAccessBindingsIterator) Next() bool
- func (it *ProjectAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
- func (it *ProjectAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
- func (it *ProjectAccessBindingsIterator) Value() *access.AccessBinding
- type ProjectIterator
- type ProjectServiceClient
- func (c *ProjectServiceClient) AddResource(ctx context.Context, in *datasphere.AddResourceToProjectRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) Create(ctx context.Context, in *datasphere.CreateProjectRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) Delete(ctx context.Context, in *datasphere.DeleteProjectRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) Execute(ctx context.Context, in *datasphere.ProjectExecutionRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) Get(ctx context.Context, in *datasphere.GetProjectRequest, opts ...grpc.CallOption) (*datasphere.Project, error)
- func (c *ProjectServiceClient) GetRestrictions(ctx context.Context, in *datasphere.GetProjectRestrictionsRequest, ...) (*datasphere.RestrictionsResponse, error)
- func (c *ProjectServiceClient) GetRestrictionsMeta(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*datasphere.GetRestrictionsMetaResponse, error)
- func (c *ProjectServiceClient) GetUnitBalance(ctx context.Context, in *datasphere.GetUnitBalanceRequest, ...) (*datasphere.GetUnitBalanceResponse, error)
- func (c *ProjectServiceClient) List(ctx context.Context, in *datasphere.ListProjectsRequest, ...) (*datasphere.ListProjectsResponse, error)
- func (c *ProjectServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, ...) (*access.ListAccessBindingsResponse, error)
- func (c *ProjectServiceClient) Open(ctx context.Context, in *datasphere.OpenProjectRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) ProjectAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, ...) *ProjectAccessBindingsIterator
- func (c *ProjectServiceClient) ProjectIterator(ctx context.Context, req *datasphere.ListProjectsRequest, ...) *ProjectIterator
- func (c *ProjectServiceClient) RemoveResource(ctx context.Context, in *datasphere.RemoveResourceFromProjectRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) ResizeDisk(ctx context.Context, in *datasphere.ResizeProjectDiskRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) SetRestrictions(ctx context.Context, in *datasphere.SetProjectRestrictionsRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) SetUnitBalance(ctx context.Context, in *datasphere.SetUnitBalanceRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) Update(ctx context.Context, in *datasphere.UpdateProjectRequest, ...) (*operation.Operation, error)
- func (c *ProjectServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, ...) (*operation.Operation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommunityAccessBindingsIterator ¶
type CommunityAccessBindingsIterator struct {
// contains filtered or unexported fields
}
func (*CommunityAccessBindingsIterator) Error ¶
func (it *CommunityAccessBindingsIterator) Error() error
func (*CommunityAccessBindingsIterator) Next ¶
func (it *CommunityAccessBindingsIterator) Next() bool
func (*CommunityAccessBindingsIterator) Take ¶
func (it *CommunityAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
func (*CommunityAccessBindingsIterator) TakeAll ¶
func (it *CommunityAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
func (*CommunityAccessBindingsIterator) Value ¶
func (it *CommunityAccessBindingsIterator) Value() *access.AccessBinding
type CommunityIterator ¶
type CommunityIterator struct {
// contains filtered or unexported fields
}
func (*CommunityIterator) Error ¶
func (it *CommunityIterator) Error() error
func (*CommunityIterator) Next ¶
func (it *CommunityIterator) Next() bool
func (*CommunityIterator) Take ¶
func (it *CommunityIterator) Take(size int64) ([]*datasphere.Community, error)
func (*CommunityIterator) TakeAll ¶
func (it *CommunityIterator) TakeAll() ([]*datasphere.Community, error)
func (*CommunityIterator) Value ¶
func (it *CommunityIterator) Value() *datasphere.Community
type CommunityServiceClient ¶
type CommunityServiceClient struct {
// contains filtered or unexported fields
}
CommunityServiceClient is a datasphere.CommunityServiceClient with lazy GRPC connection initialization.
func (*CommunityServiceClient) AddResource ¶
func (c *CommunityServiceClient) AddResource(ctx context.Context, in *datasphere.AddCommunityResourceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddResource implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) CommunityAccessBindingsIterator ¶
func (c *CommunityServiceClient) CommunityAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, opts ...grpc.CallOption) *CommunityAccessBindingsIterator
func (*CommunityServiceClient) CommunityIterator ¶
func (c *CommunityServiceClient) CommunityIterator(ctx context.Context, req *datasphere.ListCommunitiesRequest, opts ...grpc.CallOption) *CommunityIterator
func (*CommunityServiceClient) Create ¶
func (c *CommunityServiceClient) Create(ctx context.Context, in *datasphere.CreateCommunityRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) Delete ¶
func (c *CommunityServiceClient) Delete(ctx context.Context, in *datasphere.DeleteCommunityRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) Get ¶
func (c *CommunityServiceClient) Get(ctx context.Context, in *datasphere.GetCommunityRequest, opts ...grpc.CallOption) (*datasphere.Community, error)
Get implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) GetRestrictions ¶
func (c *CommunityServiceClient) GetRestrictions(ctx context.Context, in *datasphere.GetCommunityRestrictionsRequest, opts ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
GetRestrictions implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) GetRestrictionsMeta ¶
func (c *CommunityServiceClient) GetRestrictionsMeta(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*datasphere.GetRestrictionsMetaResponse, error)
GetRestrictionsMeta implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) List ¶
func (c *CommunityServiceClient) List(ctx context.Context, in *datasphere.ListCommunitiesRequest, opts ...grpc.CallOption) (*datasphere.ListCommunitiesResponse, error)
List implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) ListAccessBindings ¶
func (c *CommunityServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
ListAccessBindings implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) RemoveResource ¶
func (c *CommunityServiceClient) RemoveResource(ctx context.Context, in *datasphere.RemoveCommunityResourceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RemoveResource implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) SetAccessBindings ¶
func (c *CommunityServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetAccessBindings implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) SetRestrictions ¶
func (c *CommunityServiceClient) SetRestrictions(ctx context.Context, in *datasphere.SetCommunityRestrictionsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetRestrictions implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) Update ¶
func (c *CommunityServiceClient) Update(ctx context.Context, in *datasphere.UpdateCommunityRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements datasphere.CommunityServiceClient
func (*CommunityServiceClient) UpdateAccessBindings ¶
func (c *CommunityServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateAccessBindings implements datasphere.CommunityServiceClient
type Datasphere ¶
type Datasphere struct {
// contains filtered or unexported fields
}
Datasphere provides access to "datasphere" component of Yandex.Cloud
func NewDatasphere ¶
func NewDatasphere(g func(ctx context.Context) (*grpc.ClientConn, error)) *Datasphere
NewDatasphere creates instance of Datasphere
func (*Datasphere) Community ¶
func (d *Datasphere) Community() *CommunityServiceClient
Community gets CommunityService client
func (*Datasphere) Project ¶
func (d *Datasphere) Project() *ProjectServiceClient
Project gets ProjectService client
type ProjectAccessBindingsIterator ¶
type ProjectAccessBindingsIterator struct {
// contains filtered or unexported fields
}
func (*ProjectAccessBindingsIterator) Error ¶
func (it *ProjectAccessBindingsIterator) Error() error
func (*ProjectAccessBindingsIterator) Next ¶
func (it *ProjectAccessBindingsIterator) Next() bool
func (*ProjectAccessBindingsIterator) Take ¶
func (it *ProjectAccessBindingsIterator) Take(size int64) ([]*access.AccessBinding, error)
func (*ProjectAccessBindingsIterator) TakeAll ¶
func (it *ProjectAccessBindingsIterator) TakeAll() ([]*access.AccessBinding, error)
func (*ProjectAccessBindingsIterator) Value ¶
func (it *ProjectAccessBindingsIterator) Value() *access.AccessBinding
type ProjectIterator ¶
type ProjectIterator struct {
// contains filtered or unexported fields
}
func (*ProjectIterator) Error ¶
func (it *ProjectIterator) Error() error
func (*ProjectIterator) Next ¶
func (it *ProjectIterator) Next() bool
func (*ProjectIterator) Take ¶
func (it *ProjectIterator) Take(size int64) ([]*datasphere.Project, error)
func (*ProjectIterator) TakeAll ¶
func (it *ProjectIterator) TakeAll() ([]*datasphere.Project, error)
func (*ProjectIterator) Value ¶
func (it *ProjectIterator) Value() *datasphere.Project
type ProjectServiceClient ¶
type ProjectServiceClient struct {
// contains filtered or unexported fields
}
ProjectServiceClient is a datasphere.ProjectServiceClient with lazy GRPC connection initialization.
func (*ProjectServiceClient) AddResource ¶
func (c *ProjectServiceClient) AddResource(ctx context.Context, in *datasphere.AddResourceToProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddResource implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) Create ¶
func (c *ProjectServiceClient) Create(ctx context.Context, in *datasphere.CreateProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) Delete ¶
func (c *ProjectServiceClient) Delete(ctx context.Context, in *datasphere.DeleteProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) Execute ¶
func (c *ProjectServiceClient) Execute(ctx context.Context, in *datasphere.ProjectExecutionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Execute implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) Get ¶
func (c *ProjectServiceClient) Get(ctx context.Context, in *datasphere.GetProjectRequest, opts ...grpc.CallOption) (*datasphere.Project, error)
Get implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) GetRestrictions ¶
func (c *ProjectServiceClient) GetRestrictions(ctx context.Context, in *datasphere.GetProjectRestrictionsRequest, opts ...grpc.CallOption) (*datasphere.RestrictionsResponse, error)
GetRestrictions implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) GetRestrictionsMeta ¶
func (c *ProjectServiceClient) GetRestrictionsMeta(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*datasphere.GetRestrictionsMetaResponse, error)
GetRestrictionsMeta implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) GetUnitBalance ¶
func (c *ProjectServiceClient) GetUnitBalance(ctx context.Context, in *datasphere.GetUnitBalanceRequest, opts ...grpc.CallOption) (*datasphere.GetUnitBalanceResponse, error)
GetUnitBalance implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) List ¶
func (c *ProjectServiceClient) List(ctx context.Context, in *datasphere.ListProjectsRequest, opts ...grpc.CallOption) (*datasphere.ListProjectsResponse, error)
List implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) ListAccessBindings ¶
func (c *ProjectServiceClient) ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
ListAccessBindings implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) Open ¶
func (c *ProjectServiceClient) Open(ctx context.Context, in *datasphere.OpenProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Open implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) ProjectAccessBindingsIterator ¶
func (c *ProjectServiceClient) ProjectAccessBindingsIterator(ctx context.Context, req *access.ListAccessBindingsRequest, opts ...grpc.CallOption) *ProjectAccessBindingsIterator
func (*ProjectServiceClient) ProjectIterator ¶
func (c *ProjectServiceClient) ProjectIterator(ctx context.Context, req *datasphere.ListProjectsRequest, opts ...grpc.CallOption) *ProjectIterator
func (*ProjectServiceClient) RemoveResource ¶
func (c *ProjectServiceClient) RemoveResource(ctx context.Context, in *datasphere.RemoveResourceFromProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
RemoveResource implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) ResizeDisk ¶
func (c *ProjectServiceClient) ResizeDisk(ctx context.Context, in *datasphere.ResizeProjectDiskRequest, opts ...grpc.CallOption) (*operation.Operation, error)
ResizeDisk implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) SetAccessBindings ¶
func (c *ProjectServiceClient) SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetAccessBindings implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) SetRestrictions ¶
func (c *ProjectServiceClient) SetRestrictions(ctx context.Context, in *datasphere.SetProjectRestrictionsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetRestrictions implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) SetUnitBalance ¶
func (c *ProjectServiceClient) SetUnitBalance(ctx context.Context, in *datasphere.SetUnitBalanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
SetUnitBalance implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) Update ¶
func (c *ProjectServiceClient) Update(ctx context.Context, in *datasphere.UpdateProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements datasphere.ProjectServiceClient
func (*ProjectServiceClient) UpdateAccessBindings ¶
func (c *ProjectServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
UpdateAccessBindings implements datasphere.ProjectServiceClient