Documentation
¶
Index ¶
- type AuthSubscriber
- type ConfigProvider
- type InspectService
- func (m *InspectService) Close() error
- func (m *InspectService) Config(ctx context.Context, request *sonm.InspectConfigRequest) (*sonm.InspectConfigResponse, error)
- func (m *InspectService) DockerInfo(ctx context.Context, request *sonm.InspectDockerInfoRequest) (*sonm.InspectDockerInfoResponse, error)
- func (m *InspectService) DockerNetwork(ctx context.Context, request *sonm.InspectDockerNetworkRequest) (*sonm.InspectDockerNetworkResponse, error)
- func (m *InspectService) DockerVolumes(ctx context.Context, request *sonm.InspectDockerVolumesRequest) (*sonm.InspectDockerVolumesResponse, error)
- func (m *InspectService) HostInfo(ctx context.Context, request *sonm.InspectHostInfoRequest) (*sonm.InspectHostInfoResponse, error)
- func (m *InspectService) Network(ctx context.Context, request *sonm.InspectNetworkRequest) (*sonm.InspectNetworkResponse, error)
- func (m *InspectService) OpenFiles(ctx context.Context, request *sonm.InspectOpenFilesRequest) (*sonm.InspectOpenFilesResponse, error)
- func (m *InspectService) WatchLogs(request *sonm.InspectWatchLogsRequest, stream sonm.Inspect_WatchLogsServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthSubscriber ¶
type ConfigProvider ¶
type ConfigProvider interface {
// Config returns the configuration that can be encoded as JSON.
Config() interface{}
}
type InspectService ¶
type InspectService struct {
// contains filtered or unexported fields
}
func NewInspectService ¶
func NewInspectService(configProvider ConfigProvider, authWatcher AuthSubscriber, loggingWatcher *logging.WatcherCore) (*InspectService, error)
func (*InspectService) Close ¶
func (m *InspectService) Close() error
func (*InspectService) Config ¶
func (m *InspectService) Config(ctx context.Context, request *sonm.InspectConfigRequest) (*sonm.InspectConfigResponse, error)
func (*InspectService) DockerInfo ¶
func (m *InspectService) DockerInfo(ctx context.Context, request *sonm.InspectDockerInfoRequest) (*sonm.InspectDockerInfoResponse, error)
func (*InspectService) DockerNetwork ¶
func (m *InspectService) DockerNetwork(ctx context.Context, request *sonm.InspectDockerNetworkRequest) (*sonm.InspectDockerNetworkResponse, error)
func (*InspectService) DockerVolumes ¶
func (m *InspectService) DockerVolumes(ctx context.Context, request *sonm.InspectDockerVolumesRequest) (*sonm.InspectDockerVolumesResponse, error)
func (*InspectService) HostInfo ¶
func (m *InspectService) HostInfo(ctx context.Context, request *sonm.InspectHostInfoRequest) (*sonm.InspectHostInfoResponse, error)
func (*InspectService) Network ¶
func (m *InspectService) Network(ctx context.Context, request *sonm.InspectNetworkRequest) (*sonm.InspectNetworkResponse, error)
func (*InspectService) OpenFiles ¶
func (m *InspectService) OpenFiles(ctx context.Context, request *sonm.InspectOpenFilesRequest) (*sonm.InspectOpenFilesResponse, error)
func (*InspectService) WatchLogs ¶
func (m *InspectService) WatchLogs(request *sonm.InspectWatchLogsRequest, stream sonm.Inspect_WatchLogsServer) error
Click to show internal directories.
Click to hide internal directories.