pub struct Init {Show 16 fields
pub binary: String,
pub public_orb_namespaces: Vec<String>,
pub private_orb_namespaces: Vec<String>,
pub build_workflow: String,
pub release_workflow: String,
pub requires_job: Option<String>,
pub release_after_job: String,
pub orb_dir: String,
pub ci_dir: PathBuf,
pub orb_tools_version: String,
pub docker_orb_version: String,
pub docker_namespace: String,
pub docker_context: String,
pub orb_context: String,
pub mcp: bool,
pub dry_run: bool,
}Expand description
Wire orb generation into an existing repo’s CI configuration.
Fields§
§binary: StringName of the binary to introspect (must be on PATH).
public_orb_namespaces: Vec<String>CircleCI namespace(s) to publish the orb under as a public orb (repeatable). Must be set correctly on first init — visibility cannot be changed after the orb is created.
private_orb_namespaces: Vec<String>CircleCI namespace(s) to publish the orb under as a private orb (repeatable).
Each listed namespace gets --private in its circleci orb create command.
Must be set correctly on first init — visibility cannot be changed after the orb is created.
build_workflow: StringName of the build/validation workflow to patch.
release_workflow: StringName of the release workflow to patch.
requires_job: Option<String>Job in the build workflow that regenerate-orb should require.
release_after_job: StringJob in the release workflow after which the generated release jobs (build-binary-release, pack-orb-release, build-container, ensure-orb-registered) should be gated. This is the sole mechanism for specifying where the generated jobs plug into the existing pipeline topology.
orb_dir: StringOutput directory for the generated orb source (relative to repo root).
ci_dir: PathBufPath to the .circleci/ directory.
orb_tools_version: Stringcircleci/orb-tools version to pin in generated CI.
docker_orb_version: Stringcircleci/docker orb version to pin in generated CI.
docker_namespace: StringDocker Hub (or registry) namespace for the built container image.
docker_context: StringCircleCI context name holding Docker Hub credentials.
orb_context: StringCircleCI context name holding orb publishing credentials.
mcp: boolWire in toolkit/build_mcp_server after orb publish (requires jerus-org/circleci-toolkit).
dry_run: boolShow planned changes without modifying any files.
Implementations§
Trait Implementations§
Source§impl Args for Init
impl Args for Init
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for Init
impl FromArgMatches for Init
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.