Documentation
¶
Index ¶
- Variables
- func Execute()
- func FailOnNonEmptyStream(t *testing.T, buffer *bytes.Buffer)
- func FindItemNames(cmd *cobra.Command, args []string, what string) error
- func NewAclSetupCmd() *cobra.Command
- func NewBuildisoCmd() *cobra.Command
- func NewDistroAddCmd() (*cobra.Command, error)
- func NewDistroCmd() (*cobra.Command, error)
- func NewDistroCopyCmd() (*cobra.Command, error)
- func NewDistroEditCmd() (*cobra.Command, error)
- func NewDistroExportCmd() *cobra.Command
- func NewDistroFindCmd() (*cobra.Command, error)
- func NewDistroListCmd() (*cobra.Command, error)
- func NewDistroRemoveCmd() (*cobra.Command, error)
- func NewDistroRenameCmd() (*cobra.Command, error)
- func NewDistroReportCmd() (*cobra.Command, error)
- func NewEventCmd() *cobra.Command
- func NewEventListCmd() *cobra.Command
- func NewEventLogCmd() *cobra.Command
- func NewEventStatusCmd() *cobra.Command
- func NewFileAddCmd() *cobra.Command
- func NewFileCmd() (*cobra.Command, error)
- func NewFileCopyCmd() *cobra.Command
- func NewFileEditCmd() *cobra.Command
- func NewFileExportCmd() *cobra.Command
- func NewFileFindCmd() *cobra.Command
- func NewFileListCmd() *cobra.Command
- func NewFileRemoveCmd() *cobra.Command
- func NewFileRenameCmd() *cobra.Command
- func NewFileReportCmd() *cobra.Command
- func NewHardlinkCmd() *cobra.Command
- func NewImageAddCmd() *cobra.Command
- func NewImageCmd() (*cobra.Command, error)
- func NewImageCopyCmd() *cobra.Command
- func NewImageEditCmd() *cobra.Command
- func NewImageExportCmd() *cobra.Command
- func NewImageFindCmd() *cobra.Command
- func NewImageListCmd() *cobra.Command
- func NewImageRemoveCmd() *cobra.Command
- func NewImageRenameCmd() *cobra.Command
- func NewImageReportCmd() *cobra.Command
- func NewImportCmd() *cobra.Command
- func NewInterfaceAddCommand() *cobra.Command
- func NewInterfaceCommand() (*cobra.Command, error)
- func NewInterfaceCopyCommand() *cobra.Command
- func NewInterfaceEditCommand() *cobra.Command
- func NewInterfaceExportCmd() *cobra.Command
- func NewInterfaceFindCommand() *cobra.Command
- func NewInterfaceListCommand() *cobra.Command
- func NewInterfaceRemoveCommand() *cobra.Command
- func NewInterfaceRenameCommand() *cobra.Command
- func NewInterfaceReportCommand() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewMenuAddCmd() (*cobra.Command, error)
- func NewMenuCmd() (*cobra.Command, error)
- func NewMenuCopyCmd() (*cobra.Command, error)
- func NewMenuEditCmd() *cobra.Command
- func NewMenuExportCmd() *cobra.Command
- func NewMenuFindCmd() *cobra.Command
- func NewMenuListCmd() *cobra.Command
- func NewMenuRemoveCmd() *cobra.Command
- func NewMenuRenameCmd() (*cobra.Command, error)
- func NewMenuReportCmd() *cobra.Command
- func NewMgmtClassAddCmd() *cobra.Command
- func NewMgmtClassCmd() (*cobra.Command, error)
- func NewMgmtClassCopyCmd() *cobra.Command
- func NewMgmtClassEditCmd() *cobra.Command
- func NewMgmtClassExportCmd() *cobra.Command
- func NewMgmtClassFindCmd() *cobra.Command
- func NewMgmtClassListCmd() *cobra.Command
- func NewMgmtClassRemoveCmd() *cobra.Command
- func NewMgmtClassRenameCmd() *cobra.Command
- func NewMgmtClassReportCmd() *cobra.Command
- func NewMkLoadersCmd() *cobra.Command
- func NewPackageAddCmd() *cobra.Command
- func NewPackageCmd() (*cobra.Command, error)
- func NewPackageCopyCmd() *cobra.Command
- func NewPackageEditCmd() *cobra.Command
- func NewPackageExportCmd() *cobra.Command
- func NewPackageFindCmd() *cobra.Command
- func NewPackageListCmd() *cobra.Command
- func NewPackageRemoveCmd() *cobra.Command
- func NewPackageRenameCmd() *cobra.Command
- func NewPackageReportCmd() *cobra.Command
- func NewProfileAddCmd() *cobra.Command
- func NewProfileCmd() (*cobra.Command, error)
- func NewProfileCopyCmd() *cobra.Command
- func NewProfileDumpVars() *cobra.Command
- func NewProfileEditCmd() *cobra.Command
- func NewProfileExportCmd() *cobra.Command
- func NewProfileFindCmd() *cobra.Command
- func NewProfileGetAutoinstallCmd() *cobra.Command
- func NewProfileListCmd() *cobra.Command
- func NewProfileRemoveCmd() *cobra.Command
- func NewProfileRenameCmd() *cobra.Command
- func NewProfileReportCmd() *cobra.Command
- func NewReplicateCmd() *cobra.Command
- func NewRepoAddCmd() *cobra.Command
- func NewRepoAutoAddCmd() *cobra.Command
- func NewRepoCmd() (*cobra.Command, error)
- func NewRepoCopyCmd() *cobra.Command
- func NewRepoEditCmd() *cobra.Command
- func NewRepoExportCmd() *cobra.Command
- func NewRepoFindCmd() *cobra.Command
- func NewRepoListCmd() *cobra.Command
- func NewRepoRemoveCmd() *cobra.Command
- func NewRepoRenameCmd() *cobra.Command
- func NewRepoReportCmd() *cobra.Command
- func NewRepoSyncCmd() *cobra.Command
- func NewReportCmd() *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewSettingCmd() *cobra.Command
- func NewSettingEditCmd() *cobra.Command
- func NewSettingReportCmd() *cobra.Command
- func NewSignatureCmd() *cobra.Command
- func NewSignatureReloadCmd() *cobra.Command
- func NewSignatureReportCmd() *cobra.Command
- func NewSignatureUpdateCmd() *cobra.Command
- func NewStatusCmd() *cobra.Command
- func NewSyncCmd() *cobra.Command
- func NewSystemAddCmd() *cobra.Command
- func NewSystemCmd() (*cobra.Command, error)
- func NewSystemCopyCmd() *cobra.Command
- func NewSystemDumpVarsCmd() *cobra.Command
- func NewSystemEditCmd() *cobra.Command
- func NewSystemExportCmd() *cobra.Command
- func NewSystemFindCmd() *cobra.Command
- func NewSystemGetAutoinstallCmd() *cobra.Command
- func NewSystemListCmd() *cobra.Command
- func NewSystemPowerOffCmd() *cobra.Command
- func NewSystemPowerOnCmd() *cobra.Command
- func NewSystemPowerStatusCmd() *cobra.Command
- func NewSystemRebootCmd() *cobra.Command
- func NewSystemRemoveCmd() *cobra.Command
- func NewSystemRenameCmd() *cobra.Command
- func NewSystemReportCmd() *cobra.Command
- func NewValidateAutoinstallsCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- func RemoveItemRecursive(cmd *cobra.Command, args []string, what string) error
- type FlagMetadata
Constants ¶
This section is empty.
Variables ¶
var Client cobbler.Client
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func FindItemNames ¶
FindItemNames accesses the given flags and attempts to perform a search for the given item type
func NewAclSetupCmd ¶
NewAclSetupCmd builds a new command that represent the aclsetup action.
func NewBuildisoCmd ¶
NewBuildisoCmd builds a new command that represents the buildiso action
func NewDistroAddCmd ¶
func NewDistroCmd ¶
NewDistroCmd builds a new command that represents the distro action
func NewDistroCopyCmd ¶
func NewDistroEditCmd ¶
func NewDistroExportCmd ¶
func NewDistroFindCmd ¶
func NewDistroListCmd ¶
func NewDistroRemoveCmd ¶
func NewDistroRenameCmd ¶
func NewDistroReportCmd ¶
func NewEventCmd ¶
func NewEventListCmd ¶
func NewEventLogCmd ¶
func NewEventStatusCmd ¶
func NewFileAddCmd ¶
func NewFileCmd ¶
NewFileCmd builds a new command that represents the file action
func NewFileCopyCmd ¶
func NewFileEditCmd ¶
func NewFileExportCmd ¶
func NewFileFindCmd ¶
func NewFileListCmd ¶
func NewFileRemoveCmd ¶
func NewFileRenameCmd ¶
func NewFileReportCmd ¶
func NewHardlinkCmd ¶
NewHardlinkCmd builds a new commdand that represents the hardlink action
func NewImageAddCmd ¶
func NewImageCmd ¶
NewImageCmd builds a new command that represents the image action
func NewImageCopyCmd ¶
func NewImageEditCmd ¶
func NewImageExportCmd ¶
func NewImageFindCmd ¶
func NewImageListCmd ¶
func NewImageRemoveCmd ¶
func NewImageRenameCmd ¶
func NewImageReportCmd ¶
func NewImportCmd ¶
NewImportCmd builds a new command that represents the import action
func NewInterfaceAddCommand ¶
func NewInterfaceCommand ¶
func NewInterfaceCopyCommand ¶
func NewInterfaceEditCommand ¶
func NewInterfaceExportCmd ¶
func NewInterfaceFindCommand ¶
func NewInterfaceListCommand ¶
func NewMenuAddCmd ¶
func NewMenuCmd ¶
NewMenuCmd builds a new command that represents the menu action
func NewMenuCopyCmd ¶
func NewMenuEditCmd ¶
func NewMenuExportCmd ¶
func NewMenuFindCmd ¶
func NewMenuListCmd ¶
func NewMenuRemoveCmd ¶
func NewMenuRenameCmd ¶
func NewMenuReportCmd ¶
func NewMgmtClassAddCmd ¶
func NewMgmtClassCmd ¶
NewMgmtClassCmd builds a new command that represents the mgmtclass action
func NewMgmtClassCopyCmd ¶
func NewMgmtClassEditCmd ¶
func NewMgmtClassExportCmd ¶
func NewMgmtClassFindCmd ¶
func NewMgmtClassListCmd ¶
func NewMgmtClassRemoveCmd ¶
func NewMgmtClassRenameCmd ¶
func NewMgmtClassReportCmd ¶
func NewMkLoadersCmd ¶
NewMkLoadersCmd builds a new command that represents the mkloaders action
func NewPackageAddCmd ¶
func NewPackageCmd ¶
NewPackageCmd builds a new command that represents the package action
func NewPackageCopyCmd ¶
func NewPackageEditCmd ¶
func NewPackageExportCmd ¶
func NewPackageFindCmd ¶
func NewPackageListCmd ¶
func NewPackageRemoveCmd ¶
func NewPackageRenameCmd ¶
func NewPackageReportCmd ¶
func NewProfileAddCmd ¶
func NewProfileCmd ¶
NewProfileCmd builds a new command that represents the profile action
func NewProfileCopyCmd ¶
func NewProfileDumpVars ¶
func NewProfileEditCmd ¶
func NewProfileExportCmd ¶
func NewProfileFindCmd ¶
func NewProfileListCmd ¶
func NewProfileRemoveCmd ¶
func NewProfileRenameCmd ¶
func NewProfileReportCmd ¶
func NewReplicateCmd ¶
NewReplicateCmd builds a new command that represents the replicate action
func NewRepoAddCmd ¶
func NewRepoAutoAddCmd ¶
func NewRepoCmd ¶
NewRepoCmd builds a new command that represents the repo action
func NewRepoCopyCmd ¶
func NewRepoEditCmd ¶
func NewRepoExportCmd ¶
func NewRepoFindCmd ¶
func NewRepoListCmd ¶
func NewRepoRemoveCmd ¶
func NewRepoRenameCmd ¶
func NewRepoReportCmd ¶
func NewRepoSyncCmd ¶
NewRepoSyncCmd builds a new command that represents the reposync action
func NewReportCmd ¶
NewReportCmd builds a new command that represents the report action
func NewRootCmd ¶
NewRootCmd builds a new command that represents the base action when called without any subcommands
func NewSettingCmd ¶
NewSettingCmd builds a new command that represents the setting action
func NewSettingEditCmd ¶
func NewSettingReportCmd ¶
func NewSignatureCmd ¶
NewSignatureCmd builds a new command that represents the signature action
func NewSignatureReloadCmd ¶
func NewSignatureReportCmd ¶
func NewSignatureUpdateCmd ¶
func NewStatusCmd ¶
func NewSyncCmd ¶
NewSyncCmd builds a command that represents the sync action
func NewSystemAddCmd ¶
func NewSystemCmd ¶
NewSystemCmd builds a new command that represents the system action
func NewSystemCopyCmd ¶
func NewSystemDumpVarsCmd ¶
func NewSystemEditCmd ¶
func NewSystemExportCmd ¶
func NewSystemFindCmd ¶
func NewSystemListCmd ¶
func NewSystemPowerOffCmd ¶
func NewSystemPowerOnCmd ¶
func NewSystemPowerStatusCmd ¶
func NewSystemRebootCmd ¶
func NewSystemRemoveCmd ¶
func NewSystemRenameCmd ¶
func NewSystemReportCmd ¶
func NewValidateAutoinstallsCmd ¶
NewValidateAutoinstallsCmd builds a command that represents the validateAutoinstalls action
func NewVersionCmd ¶
NewVersionCmd builds a new command that represents the version action
Types ¶
Source Files
¶
- aclsetup.go
- buildiso.go
- distro.go
- event.go
- file.go
- hardlink.go
- image.go
- import.go
- interface.go
- item.go
- list.go
- menu.go
- metadata.go
- mgmtclass.go
- mkloaders.go
- package.go
- profile.go
- replicate.go
- repo.go
- report.go
- reposync.go
- root.go
- setting.go
- signature.go
- status.go
- sync.go
- system.go
- testing.go
- utils.go
- validateAutoinstalls.go
- version.go