Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Docker ¶
type Docker interface {
ContainerInspect(ctx context.Context, containerID string) (types.ContainerJSON, error)
}
Docker is a subset of the docker client functionality, useful for mocking.
type OSConfig ¶ added in v1.3.0
type OSConfig struct {
// DockerSocketPath is the location of the docker daemon socket, this config can be used only on unix environments (default: "unix:///var/run/docker.sock").
DockerSocketPath string `hcl:"docker_socket_path" json:"docker_socket_path"`
// ContainerIDCGroupMatchers is a list of patterns used to discover container IDs from cgroup entries.
// See the documentation for cgroup.NewContainerIDFinder in the cgroup subpackage for more information. (Unix)
ContainerIDCGroupMatchers []string `hcl:"container_id_cgroup_matchers" json:"container_id_cgroup_matchers"`
}
type Plugin ¶
type Plugin struct {
workloadattestorv1.UnsafeWorkloadAttestorServer
configv1.UnsafeConfigServer
// contains filtered or unexported fields
}
func (*Plugin) Attest ¶
func (p *Plugin) Attest(ctx context.Context, req *workloadattestorv1.AttestRequest) (*workloadattestorv1.AttestResponse, error)
func (*Plugin) Configure ¶
func (p *Plugin) Configure(ctx context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
Click to show internal directories.
Click to hide internal directories.