Documentation ¶
Overview ¶
nolint
nolint
Index ¶
- type DeviceCertificatesIterator
- type DeviceOperationsIterator
- type DevicePasswordsIterator
- type DeviceServiceClient
- func (c *DeviceServiceClient) AddCertificate(ctx context.Context, in *devices.AddDeviceCertificateRequest, ...) (*operation.Operation, error)
- func (c *DeviceServiceClient) AddPassword(ctx context.Context, in *devices.AddDevicePasswordRequest, ...) (*operation.Operation, error)
- func (c *DeviceServiceClient) Create(ctx context.Context, in *devices.CreateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DeviceServiceClient) Delete(ctx context.Context, in *devices.DeleteDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- func (c *DeviceServiceClient) DeleteCertificate(ctx context.Context, in *devices.DeleteDeviceCertificateRequest, ...) (*operation.Operation, error)
- func (c *DeviceServiceClient) DeletePassword(ctx context.Context, in *devices.DeleteDevicePasswordRequest, ...) (*operation.Operation, error)
- func (c *DeviceServiceClient) DeviceCertificatesIterator(ctx context.Context, deviceId string, opts ...grpc.CallOption) *DeviceCertificatesIterator
- func (c *DeviceServiceClient) DeviceOperationsIterator(ctx context.Context, deviceId string, opts ...grpc.CallOption) *DeviceOperationsIterator
- func (c *DeviceServiceClient) DevicePasswordsIterator(ctx context.Context, deviceId string, opts ...grpc.CallOption) *DevicePasswordsIterator
- func (c *DeviceServiceClient) Get(ctx context.Context, in *devices.GetDeviceRequest, opts ...grpc.CallOption) (*devices.Device, error)
- func (c *DeviceServiceClient) List(ctx context.Context, in *devices.ListDevicesRequest, opts ...grpc.CallOption) (*devices.ListDevicesResponse, error)
- func (c *DeviceServiceClient) ListCertificates(ctx context.Context, in *devices.ListDeviceCertificatesRequest, ...) (*devices.ListDeviceCertificatesResponse, error)
- func (c *DeviceServiceClient) ListOperations(ctx context.Context, in *devices.ListDeviceOperationsRequest, ...) (*devices.ListDeviceOperationsResponse, error)
- func (c *DeviceServiceClient) ListPasswords(ctx context.Context, in *devices.ListDevicePasswordsRequest, ...) (*devices.ListDevicePasswordsResponse, error)
- func (c *DeviceServiceClient) Update(ctx context.Context, in *devices.UpdateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
- type Devices
- type RegistryCertificatesIterator
- type RegistryDeviceTopicAliasesIterator
- type RegistryIterator
- type RegistryOperationsIterator
- type RegistryPasswordsIterator
- type RegistryServiceClient
- func (c *RegistryServiceClient) AddCertificate(ctx context.Context, in *devices.AddRegistryCertificateRequest, ...) (*operation.Operation, error)
- func (c *RegistryServiceClient) AddPassword(ctx context.Context, in *devices.AddRegistryPasswordRequest, ...) (*operation.Operation, error)
- func (c *RegistryServiceClient) Create(ctx context.Context, in *devices.CreateRegistryRequest, ...) (*operation.Operation, error)
- func (c *RegistryServiceClient) Delete(ctx context.Context, in *devices.DeleteRegistryRequest, ...) (*operation.Operation, error)
- func (c *RegistryServiceClient) DeleteCertificate(ctx context.Context, in *devices.DeleteRegistryCertificateRequest, ...) (*operation.Operation, error)
- func (c *RegistryServiceClient) DeletePassword(ctx context.Context, in *devices.DeleteRegistryPasswordRequest, ...) (*operation.Operation, error)
- func (c *RegistryServiceClient) Get(ctx context.Context, in *devices.GetRegistryRequest, opts ...grpc.CallOption) (*devices.Registry, error)
- func (c *RegistryServiceClient) List(ctx context.Context, in *devices.ListRegistriesRequest, ...) (*devices.ListRegistriesResponse, error)
- func (c *RegistryServiceClient) ListCertificates(ctx context.Context, in *devices.ListRegistryCertificatesRequest, ...) (*devices.ListRegistryCertificatesResponse, error)
- func (c *RegistryServiceClient) ListDeviceTopicAliases(ctx context.Context, in *devices.ListDeviceTopicAliasesRequest, ...) (*devices.ListDeviceTopicAliasesResponse, error)
- func (c *RegistryServiceClient) ListOperations(ctx context.Context, in *devices.ListRegistryOperationsRequest, ...) (*devices.ListRegistryOperationsResponse, error)
- func (c *RegistryServiceClient) ListPasswords(ctx context.Context, in *devices.ListRegistryPasswordsRequest, ...) (*devices.ListRegistryPasswordsResponse, error)
- func (c *RegistryServiceClient) RegistryCertificatesIterator(ctx context.Context, registryId string, opts ...grpc.CallOption) *RegistryCertificatesIterator
- func (c *RegistryServiceClient) RegistryDeviceTopicAliasesIterator(ctx context.Context, registryId string, opts ...grpc.CallOption) *RegistryDeviceTopicAliasesIterator
- func (c *RegistryServiceClient) RegistryIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *RegistryIterator
- func (c *RegistryServiceClient) RegistryOperationsIterator(ctx context.Context, registryId string, opts ...grpc.CallOption) *RegistryOperationsIterator
- func (c *RegistryServiceClient) RegistryPasswordsIterator(ctx context.Context, registryId string, opts ...grpc.CallOption) *RegistryPasswordsIterator
- func (c *RegistryServiceClient) Update(ctx context.Context, in *devices.UpdateRegistryRequest, ...) (*operation.Operation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceCertificatesIterator ¶
type DeviceCertificatesIterator struct {
// contains filtered or unexported fields
}
func (*DeviceCertificatesIterator) Error ¶
func (it *DeviceCertificatesIterator) Error() error
func (*DeviceCertificatesIterator) Next ¶
func (it *DeviceCertificatesIterator) Next() bool
func (*DeviceCertificatesIterator) Value ¶
func (it *DeviceCertificatesIterator) Value() *devices.DeviceCertificate
type DeviceOperationsIterator ¶
type DeviceOperationsIterator struct {
// contains filtered or unexported fields
}
func (*DeviceOperationsIterator) Error ¶
func (it *DeviceOperationsIterator) Error() error
func (*DeviceOperationsIterator) Next ¶
func (it *DeviceOperationsIterator) Next() bool
func (*DeviceOperationsIterator) Value ¶
func (it *DeviceOperationsIterator) Value() *operation.Operation
type DevicePasswordsIterator ¶
type DevicePasswordsIterator struct {
// contains filtered or unexported fields
}
func (*DevicePasswordsIterator) Error ¶
func (it *DevicePasswordsIterator) Error() error
func (*DevicePasswordsIterator) Next ¶
func (it *DevicePasswordsIterator) Next() bool
func (*DevicePasswordsIterator) Value ¶
func (it *DevicePasswordsIterator) Value() *devices.DevicePassword
type DeviceServiceClient ¶
type DeviceServiceClient struct {
// contains filtered or unexported fields
}
DeviceServiceClient is a devices.DeviceServiceClient with lazy GRPC connection initialization.
func (*DeviceServiceClient) AddCertificate ¶
func (c *DeviceServiceClient) AddCertificate(ctx context.Context, in *devices.AddDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddCertificate implements devices.DeviceServiceClient
func (*DeviceServiceClient) AddPassword ¶
func (c *DeviceServiceClient) AddPassword(ctx context.Context, in *devices.AddDevicePasswordRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddPassword implements devices.DeviceServiceClient
func (*DeviceServiceClient) Create ¶
func (c *DeviceServiceClient) Create(ctx context.Context, in *devices.CreateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements devices.DeviceServiceClient
func (*DeviceServiceClient) Delete ¶
func (c *DeviceServiceClient) Delete(ctx context.Context, in *devices.DeleteDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements devices.DeviceServiceClient
func (*DeviceServiceClient) DeleteCertificate ¶
func (c *DeviceServiceClient) DeleteCertificate(ctx context.Context, in *devices.DeleteDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteCertificate implements devices.DeviceServiceClient
func (*DeviceServiceClient) DeletePassword ¶
func (c *DeviceServiceClient) DeletePassword(ctx context.Context, in *devices.DeleteDevicePasswordRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeletePassword implements devices.DeviceServiceClient
func (*DeviceServiceClient) DeviceCertificatesIterator ¶
func (c *DeviceServiceClient) DeviceCertificatesIterator(ctx context.Context, deviceId string, opts ...grpc.CallOption) *DeviceCertificatesIterator
func (*DeviceServiceClient) DeviceOperationsIterator ¶
func (c *DeviceServiceClient) DeviceOperationsIterator(ctx context.Context, deviceId string, opts ...grpc.CallOption) *DeviceOperationsIterator
func (*DeviceServiceClient) DevicePasswordsIterator ¶
func (c *DeviceServiceClient) DevicePasswordsIterator(ctx context.Context, deviceId string, opts ...grpc.CallOption) *DevicePasswordsIterator
func (*DeviceServiceClient) Get ¶
func (c *DeviceServiceClient) Get(ctx context.Context, in *devices.GetDeviceRequest, opts ...grpc.CallOption) (*devices.Device, error)
Get implements devices.DeviceServiceClient
func (*DeviceServiceClient) List ¶
func (c *DeviceServiceClient) List(ctx context.Context, in *devices.ListDevicesRequest, opts ...grpc.CallOption) (*devices.ListDevicesResponse, error)
List implements devices.DeviceServiceClient
func (*DeviceServiceClient) ListCertificates ¶
func (c *DeviceServiceClient) ListCertificates(ctx context.Context, in *devices.ListDeviceCertificatesRequest, opts ...grpc.CallOption) (*devices.ListDeviceCertificatesResponse, error)
ListCertificates implements devices.DeviceServiceClient
func (*DeviceServiceClient) ListOperations ¶
func (c *DeviceServiceClient) ListOperations(ctx context.Context, in *devices.ListDeviceOperationsRequest, opts ...grpc.CallOption) (*devices.ListDeviceOperationsResponse, error)
ListOperations implements devices.DeviceServiceClient
func (*DeviceServiceClient) ListPasswords ¶
func (c *DeviceServiceClient) ListPasswords(ctx context.Context, in *devices.ListDevicePasswordsRequest, opts ...grpc.CallOption) (*devices.ListDevicePasswordsResponse, error)
ListPasswords implements devices.DeviceServiceClient
func (*DeviceServiceClient) Update ¶
func (c *DeviceServiceClient) Update(ctx context.Context, in *devices.UpdateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements devices.DeviceServiceClient
type Devices ¶
type Devices struct {
// contains filtered or unexported fields
}
Devices provides access to "devices" component of Yandex.Cloud
func NewDevices ¶
NewDevices creates instance of Devices
func (*Devices) Device ¶
func (d *Devices) Device() *DeviceServiceClient
Device gets DeviceService client
func (*Devices) Registry ¶
func (d *Devices) Registry() *RegistryServiceClient
Registry gets RegistryService client
type RegistryCertificatesIterator ¶
type RegistryCertificatesIterator struct {
// contains filtered or unexported fields
}
func (*RegistryCertificatesIterator) Error ¶
func (it *RegistryCertificatesIterator) Error() error
func (*RegistryCertificatesIterator) Next ¶
func (it *RegistryCertificatesIterator) Next() bool
func (*RegistryCertificatesIterator) Value ¶
func (it *RegistryCertificatesIterator) Value() *devices.RegistryCertificate
type RegistryDeviceTopicAliasesIterator ¶
type RegistryDeviceTopicAliasesIterator struct {
// contains filtered or unexported fields
}
func (*RegistryDeviceTopicAliasesIterator) Error ¶
func (it *RegistryDeviceTopicAliasesIterator) Error() error
func (*RegistryDeviceTopicAliasesIterator) Next ¶
func (it *RegistryDeviceTopicAliasesIterator) Next() bool
func (*RegistryDeviceTopicAliasesIterator) Value ¶
func (it *RegistryDeviceTopicAliasesIterator) Value() *devices.DeviceAlias
type RegistryIterator ¶
type RegistryIterator struct {
// contains filtered or unexported fields
}
func (*RegistryIterator) Error ¶
func (it *RegistryIterator) Error() error
func (*RegistryIterator) Next ¶
func (it *RegistryIterator) Next() bool
func (*RegistryIterator) Value ¶
func (it *RegistryIterator) Value() *devices.Registry
type RegistryOperationsIterator ¶
type RegistryOperationsIterator struct {
// contains filtered or unexported fields
}
func (*RegistryOperationsIterator) Error ¶
func (it *RegistryOperationsIterator) Error() error
func (*RegistryOperationsIterator) Next ¶
func (it *RegistryOperationsIterator) Next() bool
func (*RegistryOperationsIterator) Value ¶
func (it *RegistryOperationsIterator) Value() *operation.Operation
type RegistryPasswordsIterator ¶
type RegistryPasswordsIterator struct {
// contains filtered or unexported fields
}
func (*RegistryPasswordsIterator) Error ¶
func (it *RegistryPasswordsIterator) Error() error
func (*RegistryPasswordsIterator) Next ¶
func (it *RegistryPasswordsIterator) Next() bool
func (*RegistryPasswordsIterator) Value ¶
func (it *RegistryPasswordsIterator) Value() *devices.RegistryPassword
type RegistryServiceClient ¶
type RegistryServiceClient struct {
// contains filtered or unexported fields
}
RegistryServiceClient is a devices.RegistryServiceClient with lazy GRPC connection initialization.
func (*RegistryServiceClient) AddCertificate ¶
func (c *RegistryServiceClient) AddCertificate(ctx context.Context, in *devices.AddRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddCertificate implements devices.RegistryServiceClient
func (*RegistryServiceClient) AddPassword ¶
func (c *RegistryServiceClient) AddPassword(ctx context.Context, in *devices.AddRegistryPasswordRequest, opts ...grpc.CallOption) (*operation.Operation, error)
AddPassword implements devices.RegistryServiceClient
func (*RegistryServiceClient) Create ¶
func (c *RegistryServiceClient) Create(ctx context.Context, in *devices.CreateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements devices.RegistryServiceClient
func (*RegistryServiceClient) Delete ¶
func (c *RegistryServiceClient) Delete(ctx context.Context, in *devices.DeleteRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements devices.RegistryServiceClient
func (*RegistryServiceClient) DeleteCertificate ¶
func (c *RegistryServiceClient) DeleteCertificate(ctx context.Context, in *devices.DeleteRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeleteCertificate implements devices.RegistryServiceClient
func (*RegistryServiceClient) DeletePassword ¶
func (c *RegistryServiceClient) DeletePassword(ctx context.Context, in *devices.DeleteRegistryPasswordRequest, opts ...grpc.CallOption) (*operation.Operation, error)
DeletePassword implements devices.RegistryServiceClient
func (*RegistryServiceClient) Get ¶
func (c *RegistryServiceClient) Get(ctx context.Context, in *devices.GetRegistryRequest, opts ...grpc.CallOption) (*devices.Registry, error)
Get implements devices.RegistryServiceClient
func (*RegistryServiceClient) List ¶
func (c *RegistryServiceClient) List(ctx context.Context, in *devices.ListRegistriesRequest, opts ...grpc.CallOption) (*devices.ListRegistriesResponse, error)
List implements devices.RegistryServiceClient
func (*RegistryServiceClient) ListCertificates ¶
func (c *RegistryServiceClient) ListCertificates(ctx context.Context, in *devices.ListRegistryCertificatesRequest, opts ...grpc.CallOption) (*devices.ListRegistryCertificatesResponse, error)
ListCertificates implements devices.RegistryServiceClient
func (*RegistryServiceClient) ListDeviceTopicAliases ¶
func (c *RegistryServiceClient) ListDeviceTopicAliases(ctx context.Context, in *devices.ListDeviceTopicAliasesRequest, opts ...grpc.CallOption) (*devices.ListDeviceTopicAliasesResponse, error)
ListDeviceTopicAliases implements devices.RegistryServiceClient
func (*RegistryServiceClient) ListOperations ¶
func (c *RegistryServiceClient) ListOperations(ctx context.Context, in *devices.ListRegistryOperationsRequest, opts ...grpc.CallOption) (*devices.ListRegistryOperationsResponse, error)
ListOperations implements devices.RegistryServiceClient
func (*RegistryServiceClient) ListPasswords ¶
func (c *RegistryServiceClient) ListPasswords(ctx context.Context, in *devices.ListRegistryPasswordsRequest, opts ...grpc.CallOption) (*devices.ListRegistryPasswordsResponse, error)
ListPasswords implements devices.RegistryServiceClient
func (*RegistryServiceClient) RegistryCertificatesIterator ¶
func (c *RegistryServiceClient) RegistryCertificatesIterator(ctx context.Context, registryId string, opts ...grpc.CallOption) *RegistryCertificatesIterator
func (*RegistryServiceClient) RegistryDeviceTopicAliasesIterator ¶
func (c *RegistryServiceClient) RegistryDeviceTopicAliasesIterator(ctx context.Context, registryId string, opts ...grpc.CallOption) *RegistryDeviceTopicAliasesIterator
func (*RegistryServiceClient) RegistryIterator ¶
func (c *RegistryServiceClient) RegistryIterator(ctx context.Context, folderId string, opts ...grpc.CallOption) *RegistryIterator
func (*RegistryServiceClient) RegistryOperationsIterator ¶
func (c *RegistryServiceClient) RegistryOperationsIterator(ctx context.Context, registryId string, opts ...grpc.CallOption) *RegistryOperationsIterator
func (*RegistryServiceClient) RegistryPasswordsIterator ¶
func (c *RegistryServiceClient) RegistryPasswordsIterator(ctx context.Context, registryId string, opts ...grpc.CallOption) *RegistryPasswordsIterator
func (*RegistryServiceClient) Update ¶
func (c *RegistryServiceClient) Update(ctx context.Context, in *devices.UpdateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements devices.RegistryServiceClient