class RepositoryConfig

Defined at line 974 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/wire_types.h

The configuration necessary to connect to a repository and its mirrors.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_pkg::wire::RepositoryConfig> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_pkg::wire::RepositoryConfig> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_pkg::wire::RepositoryConfig>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void RepositoryConfig ()

Defined at line 976 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/wire_types.h

void RepositoryConfig (const RepositoryConfig & other)

Defined at line 977 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/wire_types.h

bool has_repo_url ()
RepositoryConfig & operator= (const RepositoryConfig & other)

Defined at line 978 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/wire_types.h

void RepositoryConfig (RepositoryConfig && other)

Defined at line 979 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/wire_types.h

RepositoryConfig & operator= (RepositoryConfig && other)

Defined at line 980 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/wire_types.h

::fidl::StringView & repo_url ()

A fuchsia-pkg URL identifying the repository. Required.

Example: fuchsia-pkg://example.com/

::fidl::VectorView< ::fuchsia_pkg::wire::RepositoryKeyConfig> & root_keys ()

A vector of public keys that have signed the initial trusted root

metadata. Required.

These keys must match one of the trusted keys known to the system.

bool has_root_keys ()
::fidl::VectorView< ::fuchsia_pkg::wire::MirrorConfig> & mirrors ()

The repository mirrors that serve the package contents. Required.

bool has_mirrors ()
uint32_t & root_version ()

The initial trusted root metadata version. Optional, if absent presumed

to be 1.

This value describes the initial root metadata version the resolver will

fetch to initialize trust, once it's signatures has been verified by the

`root_keys`. It will then walk the chain of N+1, N+2, and etc to the

latest version before the resolver fetches any targets.

It is recommended that this `root_version` number and `root_keys ` are

kept reasonably in sync with the most recent published version of the

root metadata, as that avoids the risk of an old and unused root key

being used to compromise resolvers during the trust initialization.

bool has_root_version ()
uint32_t & root_threshold ()

The number of `root_keys` that need to have signed the root metadata for it

to be considered trusted. This value must be greater than or equal to 1.

Optional, if absent presumed to be 1.

bool has_root_threshold ()
bool & use_local_mirror ()

Whether the package resolver should check attached storage for blobs and

repository metadata. Optional, if absent presumed to be false.

bool has_use_local_mirror ()
::fuchsia_pkg::wire::RepositoryStorageType & storage_type ()

Controls how repository metadata is persisted across reboots. Optional, if absent presumed

to be EPHEMERAL.

bool has_storage_type ()
void ~RepositoryConfig ()

Defined at line 982 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder