Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cybozu-go/sabakan
/ types & classes
Types & classes
129 in github.com/cybozu-go/sabakan
⨍
Functions
1,095
◇
Types & classes
129
↓ 8 callers
TypeAlias
AuditCategory
AuditCategory is the type of audit categories.
audit.go:9
↓ 7 callers
TypeAlias
MachineState
MachineState represents a machine's state.
machines.go:13
↓ 4 callers
TypeAlias
DateTime
DateTime represents "DateTime" GraphQL custom scalar.
gql/types.go:59
↓ 3 callers
TypeAlias
AuditContextKey
AuditContextKey is the type of context keys for audit.
audit.go:37
↓ 2 callers
TypeAlias
IgnitionVersion
IgnitionVersion represents the specification version of Ignition.
ignition.go:8
↓ 1 callers
TypeAlias
DateTime
DateTime represents "DateTime" GraphQL custom scalar.
gql/graph/model/types.go:59
↓ 1 callers
TypeAlias
TpmVersionID
TpmVersionID represents TPM versions.
pkg/sabakan-cryptsetup/cmd/meta.go:27
Struct
APICounter
APICounter represents API counter.
metrics/counter.go:10
Struct
APIError
APIError is to define REST API errors.
web/apierror.go:6
Struct
Asset
Asset represents an asset.
asset.go:6
Struct
AssetDir
AssetDir is a struct to manage the assets directory.
models/etcd/asset_dir.go:16
Interface
AssetHandler
AssetHandler is an interface for AssetModel.Get
model.go:78
Interface
AssetModel
AssetModel is an interface to manage assets.
model.go:84
Struct
AssetStatus
AssetStatus is the status of an asset.
asset.go:19
Struct
AuditLog
AuditLog represents an audit log entry.
audit.go:24
Struct
BMCInfo
BMCInfo represents BMC NIC configuration information.
machines.go:167
Interface
BMCResolver
gql/graph/generated/generated.go:119
Struct
Client
Client is a sabakan client
client/client.go:18
Struct
Collector
Collector is a metrics collector for Sabakan.
metrics/collector.go:34
Struct
ComplexityRoot
gql/graph/generated/generated.go:54
Struct
Config
gql/graph/generated/generated.go:35
Struct
DHCPConfig
DHCPConfig is a set of DHCP configurations.
dhcp.go:13
Struct
DHCPHandler
DHCPHandler is an implementation of Handler using sabakan.Model.
dhcpd/handler.go:22
Interface
DHCPModel
DHCPModel is an interface for DHCPConfig.
model.go:53
Struct
DirectiveRoot
gql/graph/generated/generated.go:51
Struct
Disk
Disk represents a physical disk to be encrypted.
pkg/sabakan-cryptsetup/cmd/disks.go:11
Struct
Driver
Driver setup crypt devices.
pkg/sabakan-cryptsetup/cmd/driver.go:23
Struct
EventPool
EventPool is a pool of events.
models/etcd/driver.go:70
Interface
Handler
Handler defines an interface for Server.
dhcpd/handler.go:17
Interface
HealthModel
HealthModel is an interface for etcd health status
model.go:113
Struct
IPAMConfig
IPAMConfig is a set of IPAM configurations.
ipam.go:11
Interface
IPAMModel
IPAMModel is an interface for IPAMConfig.
model.go:47
Struct
IPAddress
IPAddress represents "IPAddress" GraphQL custom scalar.
gql/types.go:33
Struct
IPAddress
IPAddress represents "IPAddress" GraphQL custom scalar.
gql/graph/model/types.go:33
Interface
IgnitionModel
IgnitionModel is an interface for ignition template.
model.go:94
Struct
IgnitionTemplate
IgnitionTemplate represents an ignition template. The exact type of Template is determined by Version.
ignition.go:18
Struct
Image
Image represents a set of image files for iPXE boot.
image.go:35
Struct
ImageDir
* Directory structure: /var/lib/sabakan/ - OS (coreos) / - ID1/ - kernel - initrd.gz - ID2/ -
models/etcd/image_dir.go:37
TypeAlias
ImageIndex
ImageIndex is a list of *Image.
image.go:44
Interface
ImageModel
ImageModel is an interface to manage boot images.
model.go:63
Interface
Interface
Interface is an abstract network interface.
dhcpd/interface.go:6
TypeAlias
KernelParams
KernelParams is a kernel parameters.
kernel_params.go:15
Interface
KernelParamsModel
KernelParamsModel is an interface for kernel parameters.
model.go:107
Struct
Label
Label represents an arbitrary key-value pairs.
gql/graph/model/models_gen.go:10
Struct
LabelInput
LabelInput represents a label to search machines.
gql/graph/model/models_gen.go:16
Struct
LeaseRange
LeaseRange is a range of IP addresses for DHCP lease.
ipam.go:152
Interface
LogModel
LogModel is an interface for audit logs.
model.go:102
Struct
Machine
Machine represents a server hardware.
machines.go:186
Struct
MachineBMC
MachineBMC is a bmc interface struct for Machine
machines.go:134
Struct
MachineInfo
MachineInfo is a set of associated information of a Machine.
machines.go:180
Interface
MachineModel
MachineModel is an interface for machine database.
model.go:35
Struct
MachineParams
MachineParams is a set of input parameters to search machines.
gql/graph/model/models_gen.go:22
Struct
MachineSpec
MachineSpec is a set of attributes to define a machine.
machines.go:141
Interface
MachineSpecResolver
gql/graph/generated/generated.go:123
Struct
MachineStatus
MachineStatus represents the status of a machine.
machines.go:155
Interface
MachineStatusResolver
gql/graph/generated/generated.go:132
Struct
Metadata
Metadata represents metadata block at the head of disk.
pkg/sabakan-cryptsetup/cmd/meta.go:49
Struct
Metric
Metric represents collectors and updater of metric.
metrics/collector.go:28
Struct
Model
Model is a struct that consists of sub-models.
model.go:139
Struct
Mutation
gql/graph/model/models_gen.go:30
Interface
MutationResolver
gql/graph/generated/generated.go:135
Struct
NICConfig
NICConfig represents NIC configuration information.
machines.go:172
Interface
NICConfigResolver
gql/graph/generated/generated.go:138
Struct
NetworkInfo
NetworkInfo represents NIC configurations.
machines.go:162
Struct
Query
gql/graph/model/models_gen.go:33
TypeAlias
Query
Query is an URL query
query.go:9
Interface
QueryResolver
gql/graph/generated/generated.go:144
Struct
RemoteFile
RemoteFile represents a remote file.
client/ignition_template.go:25
Struct
Resolver
This file will not be regenerated automatically. It serves as dependency injection for your app, add any dependencies you require here.
gql/graph/resolver.go:9
Interface
ResolverRoot
gql/graph/generated/generated.go:42
Interface
Runner
Runner is an interface to run the underlying goroutines. The caller must pass a channel as follows. Receiving a value from the channel effectively gu
model.go:134
Interface
SchemaModel
SchemaModel is an interface for schema versioning.
model.go:118
Struct
Server
Server is the sabakan server.
web/server.go:50
Struct
Server
Server is DHCP4 server.
dhcpd/server.go:12
Interface
StorageModel
StorageModel is an interface for disk encryption keys.
model.go:28
Struct
SystemdUnit
SystemdUnit represents a systemd unit in Ignition template.
client/ignition_template.go:18
Struct
TemplateSource
TemplateSource represents YAML/JSON source file of Ignition template.
client/ignition_template.go:32
Struct
apiTestCase
metrics/collector_test.go:32
Struct
assetDriver
models/etcd/asset.go:253
Struct
assetDriver
models/mock/asset.go:18
Struct
assetHandler
web/asset.go:58
Struct
assetsTestCase
metrics/collector_test.go:40
Struct
bMCResolver
gql/graph/schema.resolvers.go:218
Struct
config
pkg/sabakan/config.go:36
Struct
dhcpDriver
models/etcd/dhcp.go:418
Struct
dhcpDriver
models/mock/dhcp.go:87
Struct
driver
models/etcd/driver.go:16
Struct
driver
driver implements all interfaces for sabakan model.
models/mock/driver.go:12
Struct
executableSchema
gql/graph/generated/generated.go:149
Struct
executionContext
gql/graph/generated/generated.go:458
Struct
expectedMachineStatus
metrics/collector_test.go:21
Struct
healthDriver
models/etcd/health.go:25
Struct
healthDriver
models/mock/health.go:7
Struct
httpError
client/error.go:7
Struct
ignitionDriver
models/mock/ignition.go:12
Struct
imageData
models/mock/image.go:15
Struct
imageDriver
models/etcd/image.go:283
Struct
imageDriver
models/mock/image.go:20
Struct
ipamDriver
models/etcd/ipam.go:63
Struct
ipamDriver
models/mock/ipam.go:36
next →
1–100 of 129, ranked by callers