Documentation
¶
Overview ¶
Code generated by sdkgen-v2. DO NOT EDIT.
Index ¶
- Variables
- type DashboardClient
- type DashboardCreateOperation
- func (o *DashboardCreateOperation) Metadata() *monitoring.CreateDashboardMetadata
- func (o *DashboardCreateOperation) Response() *monitoring.Dashboard
- func (o *DashboardCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*monitoring.Dashboard, error)
- func (o *DashboardCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*monitoring.Dashboard, error)
- type DashboardDeleteOperation
- func (o *DashboardDeleteOperation) Metadata() *monitoring.DeleteDashboardMetadata
- func (o *DashboardDeleteOperation) Response() *emptypb.Empty
- func (o *DashboardDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (o *DashboardDeleteOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*emptypb.Empty, error)
- type DashboardUpdateOperation
- func (o *DashboardUpdateOperation) Metadata() *monitoring.UpdateDashboardMetadata
- func (o *DashboardUpdateOperation) Response() *monitoring.Dashboard
- func (o *DashboardUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*monitoring.Dashboard, error)
- func (o *DashboardUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, ...) (*monitoring.Dashboard, error)
Constants ¶
This section is empty.
Variables ¶
var ( DashboardGet = protoreflect.FullName("yandex.cloud.monitoring.v3.DashboardService.Get") DashboardList = protoreflect.FullName("yandex.cloud.monitoring.v3.DashboardService.List") DashboardCreate = protoreflect.FullName("yandex.cloud.monitoring.v3.DashboardService.Create") DashboardUpdate = protoreflect.FullName("yandex.cloud.monitoring.v3.DashboardService.Update") DashboardDelete = protoreflect.FullName("yandex.cloud.monitoring.v3.DashboardService.Delete") DashboardListOperations = protoreflect.FullName("yandex.cloud.monitoring.v3.DashboardService.ListOperations") DashboardOperationPoller = protoreflect.FullName("yandex.cloud.operation.OperationService.Get") )
Functions ¶
This section is empty.
Types ¶
type DashboardClient ¶
type DashboardClient interface {
Get(context.Context, *monitoring.GetDashboardRequest, ...grpc.CallOption) (*monitoring.Dashboard, error)
List(context.Context, *monitoring.ListDashboardsRequest, ...grpc.CallOption) (*monitoring.ListDashboardsResponse, error)
Create(context.Context, *monitoring.CreateDashboardRequest, ...grpc.CallOption) (*DashboardCreateOperation, error)
Update(context.Context, *monitoring.UpdateDashboardRequest, ...grpc.CallOption) (*DashboardUpdateOperation, error)
Delete(context.Context, *monitoring.DeleteDashboardRequest, ...grpc.CallOption) (*DashboardDeleteOperation, error)
ListOperations(context.Context, *monitoring.ListDashboardOperationsRequest, ...grpc.CallOption) (*monitoring.ListDashboardOperationsResponse, error)
}
DashboardClient provides methods for managing Dashboard resources of Yandex.Cloud Monitoring.
func NewDashboardClient ¶
func NewDashboardClient(connector transport.Connector) DashboardClient
NewDashboardClient returns DashboardClient implementation.
type DashboardCreateOperation ¶
DashboardCreateOperation is used to monitor the state of Create operations.
func (*DashboardCreateOperation) Metadata ¶
func (o *DashboardCreateOperation) Metadata() *monitoring.CreateDashboardMetadata
Metadata retrieves the operation metadata.
func (*DashboardCreateOperation) Response ¶
func (o *DashboardCreateOperation) Response() *monitoring.Dashboard
Response retrieves the operation response.
func (*DashboardCreateOperation) Wait ¶
func (o *DashboardCreateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*monitoring.Dashboard, error)
Wait polls the operation until it's done.
func (*DashboardCreateOperation) WaitInterval ¶
func (o *DashboardCreateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*monitoring.Dashboard, error)
WaitInterval polls the operation until it's done with custom interval.
type DashboardDeleteOperation ¶
DashboardDeleteOperation is used to monitor the state of Delete operations.
func (*DashboardDeleteOperation) Metadata ¶
func (o *DashboardDeleteOperation) Metadata() *monitoring.DeleteDashboardMetadata
Metadata retrieves the operation metadata.
func (*DashboardDeleteOperation) Response ¶
func (o *DashboardDeleteOperation) Response() *emptypb.Empty
Response retrieves the operation response.
func (*DashboardDeleteOperation) Wait ¶
func (o *DashboardDeleteOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*emptypb.Empty, error)
Wait polls the operation until it's done.
func (*DashboardDeleteOperation) WaitInterval ¶
func (o *DashboardDeleteOperation) 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 DashboardUpdateOperation ¶
DashboardUpdateOperation is used to monitor the state of Update operations.
func (*DashboardUpdateOperation) Metadata ¶
func (o *DashboardUpdateOperation) Metadata() *monitoring.UpdateDashboardMetadata
Metadata retrieves the operation metadata.
func (*DashboardUpdateOperation) Response ¶
func (o *DashboardUpdateOperation) Response() *monitoring.Dashboard
Response retrieves the operation response.
func (*DashboardUpdateOperation) Wait ¶
func (o *DashboardUpdateOperation) Wait(ctx context.Context, opts ...grpc.CallOption) (*monitoring.Dashboard, error)
Wait polls the operation until it's done.
func (*DashboardUpdateOperation) WaitInterval ¶
func (o *DashboardUpdateOperation) WaitInterval(ctx context.Context, pollInterval sdkop.PollIntervalFunc, opts ...grpc.CallOption) (*monitoring.Dashboard, error)
WaitInterval polls the operation until it's done with custom interval.