class RepositoryConfig

Defined at line 3452 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/natural_types.h

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

Public Methods

void RepositoryConfig ()

Defined at line 3457 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/natural_types.h

void RepositoryConfig (RepositoryConfig && )

Defined at line 3458 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/natural_types.h

void RepositoryConfig (Storage_ storage)
void RepositoryConfig (const RepositoryConfig & other)
RepositoryConfig & operator= (const RepositoryConfig & other)
bool operator== (const RepositoryConfig & other)
bool operator!= (const RepositoryConfig & other)
bool IsEmpty ()
const std::optional< ::std::string> & repo_url ()

A fuchsia-pkg URL identifying the repository. Required.

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

::std::optional< ::std::string> & repo_url ()

A fuchsia-pkg URL identifying the repository. Required.

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

RepositoryConfig & repo_url (std::optional< ::std::string> value)

A fuchsia-pkg URL identifying the repository. Required.

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

const std::optional< ::std::vector< ::fuchsia_pkg::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.

::std::optional< ::std::vector< ::fuchsia_pkg::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.

RepositoryConfig & root_keys (std::optional< ::std::vector< ::fuchsia_pkg::RepositoryKeyConfig>> value)

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.

const std::optional< ::std::vector< ::fuchsia_pkg::MirrorConfig>> & mirrors ()

The repository mirrors that serve the package contents. Required.

::std::optional< ::std::vector< ::fuchsia_pkg::MirrorConfig>> & mirrors ()

The repository mirrors that serve the package contents. Required.

RepositoryConfig & mirrors (std::optional< ::std::vector< ::fuchsia_pkg::MirrorConfig>> value)

The repository mirrors that serve the package contents. Required.

RepositoryConfig & operator= (RepositoryConfig && )

Defined at line 3459 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/natural_types.h

const std::optional<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.

::std::optional<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.

RepositoryConfig & root_version (std::optional<uint32_t> value)

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.

const std::optional<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.

::std::optional<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.

RepositoryConfig & root_threshold (std::optional<uint32_t> value)

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.

const std::optional<bool> & use_local_mirror ()

Whether the package resolver should check attached storage for blobs and

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

::std::optional<bool> & use_local_mirror ()

Whether the package resolver should check attached storage for blobs and

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

RepositoryConfig & use_local_mirror (std::optional<bool> value)

Whether the package resolver should check attached storage for blobs and

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

const std::optional< ::fuchsia_pkg::RepositoryStorageType> & storage_type ()

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

to be EPHEMERAL.

::std::optional< ::fuchsia_pkg::RepositoryStorageType> & storage_type ()

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

to be EPHEMERAL.

RepositoryConfig & storage_type (std::optional< ::fuchsia_pkg::RepositoryStorageType> value)

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

to be EPHEMERAL.

void RepositoryConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits