GVirSandboxConfigServiceSystemd

GVirSandboxConfigServiceSystemd — ServiceSystemd sandbox configuration details

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GVirSandboxConfig
        ╰── GVirSandboxConfigService
            ╰── GVirSandboxConfigServiceSystemd

Includes

#include <libvirt-sandbox/libvirt-sandbox.h>

Description

Provides an object to store configuration details for a systemd service config

The GVirSandboxConfigServiceSystemd object extends GVirSandboxConfigService to store the extra information required to setup a service sandbox with systemd

Functions

gvir_sandbox_config_service_systemd_new ()

GVirSandboxConfigServiceSystemd *
gvir_sandbox_config_service_systemd_new
                               (const gchar *name);

Create a new service application sandbox configuration

Parameters

name

the sandbox name

 

Returns

a new service sandbox config object.

[transfer full]


gvir_sandbox_config_service_systemd_get_boot_target ()

const gchar *
gvir_sandbox_config_service_systemd_get_boot_target
                               (GVirSandboxConfigServiceSystemd *config);

Returns

the boot target name


gvir_sandbox_config_service_systemd_set_boot_target ()

void
gvir_sandbox_config_service_systemd_set_boot_target
                               (GVirSandboxConfigServiceSystemd *config,
                                const gchar *target);

Types and Values

struct GVirSandboxConfigServiceSystemd

struct GVirSandboxConfigServiceSystemd;

struct GVirSandboxConfigServiceSystemdClass

struct GVirSandboxConfigServiceSystemdClass {
    GVirSandboxConfigServiceClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

GVirSandboxConfigServiceSystemdPrivate

typedef struct _GVirSandboxConfigServiceSystemdPrivate GVirSandboxConfigServiceSystemdPrivate;

See Also

GVirSandboxConfigServiceSystemd