Documentation ¶
Index ¶
- func Add_Note(sessionkey *auth.SumaSessionKey, sid int, subject string, note string) error
- func Contains(s []int, e int) bool
- func Convert_String_IntSlices(mystring string) []int
- func Convert_String_to_maps(mystring string) map[string]string
- func Convert_to_ISO8601_DateTime(date time.Time) string
- func Delete_Notes(sessionkey *auth.SumaSessionKey, sid int) error
- func Discart_lable(label string) string
- func Find_MigrationTarget(sessionkey *auth.SumaSessionKey, minionid int, UserData *Migration_Groups) (ident string, migrate_base_channel string)
- func Get_Active_Minions_in_Group(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups) []int
- func Get_salt_online_Minions_in_Group(sessionkey *auth.SumaSessionKey, minion_list []string, ...) []string
- func Orchestrate(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups, sumahost string, ...)
- func Parse_Product_info(inputString string)
- type AddOrRemoveSystems_Request
- type AddOrRemoveSystems_Response
- type Add_Note_Request
- type All_Minions_In_Group
- type Array
- type Array_ActiveSystems_in_Group
- type Assigne_Channel
- type Assigne_Channels_Job
- type Change_Channels_Request
- type ContentSource
- type Create_SPMigration_Group_Request
- type Create_SPMigration_Group_Response
- type CustomTime
- type Data
- type Data_ActiveSystems_in_Group
- type Delete_Notes_Request
- type Email_job_info
- type Generic_Job_Response
- type Get_Channels_Request
- type Get_Channels_Response
- type Get_System_by_Group_Request
- type Get_Upgradable_Packages_Request
- type Get_Upgradable_Packages_Response
- type Host_Job_Info
- type InnerValue
- type Job_Chain
- type ListAllChannels_Request
- type ListAllChannels_Response
- type ListMigrationTarget_Request
- type ListMigrationTarget_Response
- type ListSystemInJobs
- func (c *ListSystemInJobs) List_Completed_Systems(sessionkey *auth.SumaSessionKey, jobid_pkg_update int)
- func (c *ListSystemInJobs) List_Failed_Systems(sessionkey *auth.SumaSessionKey, jobid_pkg_update int)
- func (c *ListSystemInJobs) List_InProgress_Systems(sessionkey *auth.SumaSessionKey, jobid_pkg_update int)
- type ListSystemInJobs_Request
- type ListSystemInJobs_Response
- type Member
- type MethodResponse
- type MethodResponse_ActiveSystems_in_Group
- type Migration_Groups
- type Minion_Data
- type OptionalChannel
- type Param
- type Param_ActiveSystems_in_Group
- type Params
- type Params_ActiveSystems_in_Group
- type Pkg_Refresh_Job
- type Reboot_Post_MigrationJob
- type Reboot_Pre_MigrationJob
- type SP_Migration_DryRun_Job
- type SP_Migration_Job
- type SchedulePackageUpdates_Request
- type SchedulePackageUpdates_Response
- type ScheduleSPMigrationDryRun_Request
- type ScheduleSPMigrationDryRun_Response
- type Schedule_Pkg_Refresh_Request
- type Schedule_Pkg_Refresh_Response
- type Schedule_Reboot_Request
- type Schedule_Reboot_Response
- type Schedule_high_state_Request
- type Struct
- type Target_Minions
- func (m *Target_Minions) Add_No_Target_Minions(list []Minion_Data)
- func (m *Target_Minions) Add_Offline_Minions(list []string)
- func (m *Target_Minions) Add_Online_Minions(list []Minion_Data)
- func (t *Target_Minions) Add_Systems_To_SPMigration_Group(sessionkey *auth.SumaSessionKey)
- func (t *Target_Minions) Analyze_Pending_SPMigration(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups, ...)
- func (t *Target_Minions) Assign_Channels(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
- func (t *Target_Minions) Check_Assigne_Channels_Jobs(sessionkey *auth.SumaSessionKey, health *bool)
- func (t *Target_Minions) Check_Package_Updates_Jobs(sessionkey *auth.SumaSessionKey, jobid_pkg_update int, ...)
- func (t *Target_Minions) Check_Pkg_Refresh_Jobs(sessionkey *auth.SumaSessionKey, email_job email.Job_Email_Body, ...)
- func (t *Target_Minions) Check_Reboot_Jobs(sessionkey *auth.SumaSessionKey, email_job email.Job_Email_Body, ...)
- func (t *Target_Minions) Check_SP_Migration(sessionkey *auth.SumaSessionKey, dryrun bool, email_job email.Job_Email_Body, ...)
- func (t *Target_Minions) Create_SPMigration_Group(sessionkey *auth.SumaSessionKey, UserData *Migration_Groups)
- func (m *Target_Minions) Detect_Online_Minions(sessionkey *auth.SumaSessionKey, list []Minion_Data, ...) (online_minions []Minion_Data, offline_minions []string)
- func (t *Target_Minions) Find_Assigne_Channels_Jobs(alljobs *schedules.ListJobs)
- func (t *Target_Minions) Find_Pkg_Refresh_Jobs(alljobs *schedules.ListJobs, email_job *email.Job_Email_Body, ...)
- func (t *Target_Minions) Find_Pkg_Refresh_Jobs_No_Targets(alljobs *schedules.ListJobs, email_job *email.Job_Email_Body, ...)
- func (t *Target_Minions) Find_Reboot_Jobs(alljobs *schedules.ListJobs, email_job *email.Job_Email_Body, ...)
- func (t *Target_Minions) Find_Reboot_Jobs_No_Targets(alljobs *schedules.ListJobs, email_job *email.Job_Email_Body, ...)
- func (t *Target_Minions) Find_SPMigration_Jobs(alljobs *schedules.ListJobs, dryrun bool, email_job *email.Job_Email_Body, ...)
- func (m *Target_Minions) Get_Minions(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups) error
- func (t *Target_Minions) ListMigrationTarget(sessionkey *auth.SumaSessionKey, UserData *Migration_Groups)
- func (t *Target_Minions) Reschedule_Pkg_Refresh(sessionkey *auth.SumaSessionKey)
- func (t *Target_Minions) SPMigration_Group(sessionkey *auth.SumaSessionKey, UserData *Migration_Groups)
- func (m *Target_Minions) Salt_CSV_Report(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
- func (m *Target_Minions) Salt_Disk_Space_Check(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
- func (m *Target_Minions) Salt_No_Upgrade_Exception_Check(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
- func (m *Target_Minions) Salt_Refresh_Grains(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
- func (m *Target_Minions) Salt_Run_state_apply(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups, stage string)
- func (m *Target_Minions) Salt_Set_Patch_Level(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
- func (t *Target_Minions) Schedule_Migration(sessionkey *auth.SumaSessionKey, UserData *Migration_Groups, dryrun bool)
- func (t *Target_Minions) Schedule_Package_Updates(sessionkey *auth.SumaSessionKey) int
- func (t *Target_Minions) Schedule_Pkg_refresh(sessionkey *auth.SumaSessionKey)
- func (t *Target_Minions) Schedule_Reboot(sessionkey *auth.SumaSessionKey)
- func (t *Target_Minions) Schedule_high_state(sessionkey *auth.SumaSessionKey)
- func (s *Target_Minions) Show_Minions()
- func (t *Target_Minions) Update_Target_Minion_Status(analyase_minions *Target_Minions)
- func (t *Target_Minions) Write_Tracking_file()
- type Target_Product
- type Update_Pkg_Job
- type Value
- type Value_ActiveSystems_in_Group
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert_String_to_maps ¶
func Delete_Notes ¶
func Delete_Notes(sessionkey *auth.SumaSessionKey, sid int) error
func Discart_lable ¶
func Find_MigrationTarget ¶
func Find_MigrationTarget(sessionkey *auth.SumaSessionKey, minionid int, UserData *Migration_Groups) (ident string, migrate_base_channel string)
This func is for finding the migration target for each minion at the beginning of the migration process. If no proper migration target is found the minion will be excluded from further processing.
func Get_Active_Minions_in_Group ¶
func Get_Active_Minions_in_Group(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups) []int
func Get_salt_online_Minions_in_Group ¶
func Get_salt_online_Minions_in_Group(sessionkey *auth.SumaSessionKey, minion_list []string, groupsdata *Migration_Groups) []string
func Orchestrate ¶
func Orchestrate(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups, sumahost string, email_template_dir string, health *bool)
func Parse_Product_info ¶
func Parse_Product_info(inputString string)
Types ¶
type AddOrRemoveSystems_Response ¶
type AddOrRemoveSystems_Response struct {
Result_ID int
}
type Add_Note_Request ¶
type All_Minions_In_Group ¶
type Array_ActiveSystems_in_Group ¶
type Array_ActiveSystems_in_Group struct {
Data Data_ActiveSystems_in_Group `xml:"data"`
}
type Assigne_Channel ¶
type Assigne_Channels_Job ¶
type Change_Channels_Request ¶
type ContentSource ¶
type CustomTime ¶
func (*CustomTime) UnmarshalXML ¶
func (c *CustomTime) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type Data_ActiveSystems_in_Group ¶
type Data_ActiveSystems_in_Group struct {
Values []int `xml:"value>i4"`
}
type Delete_Notes_Request ¶
type Email_job_info ¶
func (*Email_job_info) Send_Job_Response_Email ¶
func (e *Email_job_info) Send_Job_Response_Email(email_job email.Job_Email_Body)
type Generic_Job_Response ¶
type Generic_Job_Response struct {
JobID int `xmlrpc:"id"`
}
type Get_Channels_Request ¶
type Get_Channels_Response ¶
type Get_Channels_Response struct { Result []struct { Id int `xmlrpc:"id,omitempty"` Name string `xmlrpc:"name,omitempty"` Label string `xmlrpc:"label,omitempty"` Arch_name string `xmlrpc:"arch_name,omitempty"` Arch_label string `xmlrpc:"arch_label,omitempty"` Summary string `xmlrpc:"summary,omitempty"` Description string `xmlrpc:"description,omitempty"` Checksum_label string `xmlrpc:"checksum_label,omitempty"` Last_modified time.Time `xmlrpc:"last_modified,omitempty"` Maintainer_name string `xmlrpc:"maintainer_name,omitempty"` Maintainer_email string `xmlrpc:"maintainer_email,omitempty"` Maintainer_phone string `xmlrpc:"maintainer_phone,omitempty"` Support_policy string `xmlrpc:"support_policy,omitempty"` Gpg_key_url string `xmlrpc:"gpg_key_url,omitempty"` Gpg_key_id string `xmlrpc:"gpg_key_id,omitempty"` Gpg_key_fp string `xmlrpc:"gpg_key_fp,omitempty"` Yumrepo_last_sync time.Time `xmlrpc:"yumrepo_last_sync,omitempty"` End_of_life string `xmlrpc:"end_of_life,omitempty"` Parent_channel_label string `xmlrpc:"parent_channel_label,omitempty"` Clone_original string `xmlrpc:"clone_original,omitempty"` ContentSources []ContentSource `xmlrpc:"contentSources,omitempty"` } }
type Get_Upgradable_Packages_Response ¶
type Get_Upgradable_Packages_Response struct { Result []struct { Name string `xmlrpc:"name,omitempty"` From_release string `xmlrpc:"from_release,omitempty"` To_epoch string `xmlrpc:"to_epoch,omitempty"` Arch string `xmlrpc:"arch,omitempty"` To_package_id int `xmlrpc:"to_package_id,omitempty"` From_version string `xmlrpc:"from_version,omitempty"` To_version string `xmlrpc:"to_version,omitempty"` From_arch string `xmlrpc:"from_arch,omitempty"` To_arch string `xmlrpc:"to_arch,omitempty"` From_epoch string `xmlrpc:"from_epoch,omitempty"` To_release string `xmlrpc:"to_release,omitempty"` } }
type Host_Job_Info ¶
type Host_Job_Info struct { Assigne_Channels_Job Assigne_Channels_Job `json:"Assigne_Channels_Job"` Pkg_Refresh_Job Pkg_Refresh_Job `json:"Pkg_Refresh_Job"` Update_Pkg_Job Update_Pkg_Job `json:"Update_Pkg_Job"` Reboot_Pre_MigrationJob Reboot_Pre_MigrationJob `json:"Reboot_Pre_MigrationJob"` SP_Migration_DryRun_Job SP_Migration_DryRun_Job `json:"SP_Migration_DryRun_Job"` SP_Migration_Job SP_Migration_Job `json:"SP_Migration_Job"` Reboot_Post_MigrationJob Reboot_Post_MigrationJob `json:"Reboot_Post_MigrationJob"` Channel_Environment string `json:"Channel_Environment"` }
type InnerValue ¶
type InnerValue struct { StringValue *string `xml:"string,omitempty"` IntegerValue *int `xml:"i4,omitempty"` Int *int `xml:"int,omitempty"` DateTimeValue *CustomTime `xml:"dateTime.iso8601,omitempty"` BooleanValue *bool `xml:"bool,omitempty"` }
func (InnerValue) GetFieldValue ¶
func (v InnerValue) GetFieldValue() interface{}
type Job_Chain ¶
type Job_Chain struct {
SP_Migration_Hosts []Host_Job_Info
}
type ListAllChannels_Request ¶
type ListAllChannels_Request struct {
Sessionkey string `xmlrpc:"sessionKey"`
}
type ListAllChannels_Response ¶
type ListAllChannels_Response struct { Result []struct { Id int `xmlrpc:"id,omitempty"` Name string `xmlrpc:"name,omitempty"` Label string `xmlrpc:"label,omitempty"` Arch_name string `xmlrpc:"arch_name,omitempty"` Provider_name string `xmlrpc:"provider_name,omitempty"` Packages int `xmlrpc:"packages,omitempty"` Systems int `xmlrpc:"systems,omitempty"` } }
func List_All_Channels ¶
func List_All_Channels(sessionkey *auth.SumaSessionKey) *ListAllChannels_Response
type ListSystemInJobs ¶
type ListSystemInJobs struct { ListInProgressSystems ListSystemInJobs_Response ListFailedSystems ListSystemInJobs_Response ListCompletedSystems ListSystemInJobs_Response }
func (*ListSystemInJobs) List_Completed_Systems ¶
func (c *ListSystemInJobs) List_Completed_Systems(sessionkey *auth.SumaSessionKey, jobid_pkg_update int)
func (*ListSystemInJobs) List_Failed_Systems ¶
func (c *ListSystemInJobs) List_Failed_Systems(sessionkey *auth.SumaSessionKey, jobid_pkg_update int)
func (*ListSystemInJobs) List_InProgress_Systems ¶
func (c *ListSystemInJobs) List_InProgress_Systems(sessionkey *auth.SumaSessionKey, jobid_pkg_update int)
type Member ¶
type Member struct { Name string `xml:"name"` Value InnerValue `xml:"value"` }
type MethodResponse ¶
type MethodResponse struct {
Params Params `xml:"params"`
}
type MethodResponse_ActiveSystems_in_Group ¶
type MethodResponse_ActiveSystems_in_Group struct {
Params Params_ActiveSystems_in_Group `xml:"params"`
}
type Migration_Groups ¶
type Migration_Groups struct { Groups []string `json:"groups"` Qualifying_only bool `json:"qualifying_only"` Delay int `json:"delay"` Timeout int `json:"timeout"` GatherJobTimeout int `json:"gather_job_timeout"` Logfile string `json:"logfile"` SaltMaster_Address string `json:"salt_master_address"` SaltApi_Port int `json:"salt_api_port"` SaltUser string `json:"salt_user"` SaltPassword string `json:"salt_password"` Salt_diskspace_grains_key string `json:"salt_diskspace_grains_key"` Salt_diskspace_grains_value string `json:"salt_diskspace_grains_value"` Salt_no_upgrade_exception_key string `json:"salt_no_upgrade_exception_key"` Salt_no_upgrade_exception_value string `json:"salt_no_upgrade_exception_value"` Salt_Prep_State string `json:"salt_prep_state"` Salt_Post_State string `json:"salt_post_state"` JobcheckerTimeout int `json:"jobchecker_timeout"` Reboot_timeout int `json:"reboot_timeout"` JobcheckerEmails []string `json:"jobchecker_emails"` Patch_Level string `json:"patch_level"` Include_Spmigration bool `json:"include_spmigration"` T7User string `json:"t7user"` Token string `json:"authentication_token"` Tracking_file_directory string `json:"tracking_file_directory"` Assigne_channels []struct { Assigne_Channel Assigne_Channel `json:"assign_channel"` } `json:"assign_channels"` Target_Products []struct { Product Target_Product `json:"product"` } `json:"products"` }
type Minion_Data ¶
type Minion_Data struct { Minion_ID int `json:"Minion_ID"` Minion_Name string `json:"Minion_Name"` Host_Job_Info Host_Job_Info `json:"Host_Job_Info"` Migration_Stage string `json:"Migration_Stage"` Migration_Stage_Status string `json:"Migration_Stage_Status"` Target_base_channel string `json:"Target_base_channel"` Target_Ident string `json:"Target_Ident"` Target_Optional_Channels []string `json:"Target_Optional_Channels"` }
func (*Minion_Data) Get_Upgradable_Packages ¶
func (m *Minion_Data) Get_Upgradable_Packages(sessionkey *auth.SumaSessionKey)
type OptionalChannel ¶
type Param_ActiveSystems_in_Group ¶
type Param_ActiveSystems_in_Group struct {
Value Value_ActiveSystems_in_Group `xml:"value"`
}
type Params_ActiveSystems_in_Group ¶
type Params_ActiveSystems_in_Group struct {
Param Param_ActiveSystems_in_Group `xml:"param"`
}
type Pkg_Refresh_Job ¶
type Reboot_Pre_MigrationJob ¶
type SP_Migration_DryRun_Job ¶
type SP_Migration_Job ¶
type SchedulePackageUpdates_Response ¶
type SchedulePackageUpdates_Response struct {
ActionId int
}
type ScheduleSPMigrationDryRun_Request ¶
type ScheduleSPMigrationDryRun_Request struct { Sessionkey string `xmlrpc:"sessionKey"` Sid int `xmlrpc:"sid"` TargetIdent string `xmlrpc:"targetIdent"` BaseChannelLabel string `xmlrpc:"baseChannelLabel"` OptionalChildChannels []string `xmlrpc:"optionalChildChannels"` DryRun bool `xmlrpc:"dryRun"` AllowVendorChange bool `xmlrpc:"allowVendorChange"` RemoveProductsWithNoSuccessorAfterMigration bool `xmlrpc:"removeProductsWithNoSuccessorAfterMigration"` EarliestOccurrence time.Time `xmlrpc:"earliestOccurrence"` }
type ScheduleSPMigrationDryRun_Response ¶
type ScheduleSPMigrationDryRun_Response struct {
JobID int `xmlrpc:"id"`
}
type Schedule_Pkg_Refresh_Response ¶
type Schedule_Pkg_Refresh_Response struct {
JobID int `xmlrpc:"id"`
}
type Schedule_Reboot_Request ¶
type Schedule_Reboot_Response ¶
type Schedule_Reboot_Response struct {
JobID int `xmlrpc:"id"`
}
type Target_Minions ¶
type Target_Minions struct { Minion_List []Minion_Data `json:"Minion_List"` Tracking_file_name string `json:"Tracking_file_name"` Suma_Group string `json:"Suma_Group"` Disk_Check_Disqualified []string `json:"Disk_Check_Disqualified"` No_Upgrade_Exceptions []string `json:"No_Upgrade_Exceptions"` Offline_Minions []string `json:"Offline_Minions"` No_Targets_Minions []Minion_Data `json:"No_Targets_Minions"` CSV_Reports []string `json:"CSV_Reports"` Jobcheck_Timeout int `json:"Jobcheck_Timeout"` Reboot_Timeout int `json:"Reboot_Timeout"` Minion_Environment_List []map[string]string `json:"Minion_Environment_List"` }
func (*Target_Minions) Add_No_Target_Minions ¶
func (m *Target_Minions) Add_No_Target_Minions(list []Minion_Data)
func (*Target_Minions) Add_Offline_Minions ¶
func (m *Target_Minions) Add_Offline_Minions(list []string)
func (*Target_Minions) Add_Online_Minions ¶
func (m *Target_Minions) Add_Online_Minions(list []Minion_Data)
func (*Target_Minions) Add_Systems_To_SPMigration_Group ¶
func (t *Target_Minions) Add_Systems_To_SPMigration_Group(sessionkey *auth.SumaSessionKey)
func (*Target_Minions) Analyze_Pending_SPMigration ¶
func (t *Target_Minions) Analyze_Pending_SPMigration(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups, email_template_dir string, health *bool)
func (*Target_Minions) Assign_Channels ¶
func (t *Target_Minions) Assign_Channels(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
func (*Target_Minions) Check_Assigne_Channels_Jobs ¶
func (t *Target_Minions) Check_Assigne_Channels_Jobs(sessionkey *auth.SumaSessionKey, health *bool)
func (*Target_Minions) Check_Package_Updates_Jobs ¶
func (t *Target_Minions) Check_Package_Updates_Jobs(sessionkey *auth.SumaSessionKey, jobid_pkg_update int, email_job email.Job_Email_Body, jobinfo Email_job_info, health *bool)
func (*Target_Minions) Check_Pkg_Refresh_Jobs ¶
func (t *Target_Minions) Check_Pkg_Refresh_Jobs(sessionkey *auth.SumaSessionKey, email_job email.Job_Email_Body, jobinfo Email_job_info, health *bool)
func (*Target_Minions) Check_Reboot_Jobs ¶
func (t *Target_Minions) Check_Reboot_Jobs(sessionkey *auth.SumaSessionKey, email_job email.Job_Email_Body, jobinfo Email_job_info, health *bool)
func (*Target_Minions) Check_SP_Migration ¶
func (t *Target_Minions) Check_SP_Migration(sessionkey *auth.SumaSessionKey, dryrun bool, email_job email.Job_Email_Body, jobinfo Email_job_info, health *bool)
func (*Target_Minions) Create_SPMigration_Group ¶
func (t *Target_Minions) Create_SPMigration_Group(sessionkey *auth.SumaSessionKey, UserData *Migration_Groups)
func (*Target_Minions) Detect_Online_Minions ¶
func (m *Target_Minions) Detect_Online_Minions(sessionkey *auth.SumaSessionKey, list []Minion_Data, groupsdata *Migration_Groups) (online_minions []Minion_Data, offline_minions []string)
func (*Target_Minions) Find_Assigne_Channels_Jobs ¶
func (t *Target_Minions) Find_Assigne_Channels_Jobs(alljobs *schedules.ListJobs)
func (*Target_Minions) Find_Pkg_Refresh_Jobs ¶
func (t *Target_Minions) Find_Pkg_Refresh_Jobs(alljobs *schedules.ListJobs, email_job *email.Job_Email_Body, jobinfo *Email_job_info)
func (*Target_Minions) Find_Pkg_Refresh_Jobs_No_Targets ¶
func (t *Target_Minions) Find_Pkg_Refresh_Jobs_No_Targets(alljobs *schedules.ListJobs, email_job *email.Job_Email_Body, jobinfo *Email_job_info)
func (*Target_Minions) Find_Reboot_Jobs ¶
func (t *Target_Minions) Find_Reboot_Jobs(alljobs *schedules.ListJobs, email_job *email.Job_Email_Body, jobinfo *Email_job_info)
func (*Target_Minions) Find_Reboot_Jobs_No_Targets ¶
func (t *Target_Minions) Find_Reboot_Jobs_No_Targets(alljobs *schedules.ListJobs, email_job *email.Job_Email_Body, jobinfo *Email_job_info)
func (*Target_Minions) Find_SPMigration_Jobs ¶
func (t *Target_Minions) Find_SPMigration_Jobs(alljobs *schedules.ListJobs, dryrun bool, email_job *email.Job_Email_Body, jobinfo *Email_job_info)
func (*Target_Minions) Get_Minions ¶
func (m *Target_Minions) Get_Minions(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups) error
func (*Target_Minions) ListMigrationTarget ¶
func (t *Target_Minions) ListMigrationTarget(sessionkey *auth.SumaSessionKey, UserData *Migration_Groups)
func (*Target_Minions) Reschedule_Pkg_Refresh ¶
func (t *Target_Minions) Reschedule_Pkg_Refresh(sessionkey *auth.SumaSessionKey)
func (*Target_Minions) SPMigration_Group ¶
func (t *Target_Minions) SPMigration_Group(sessionkey *auth.SumaSessionKey, UserData *Migration_Groups)
func (*Target_Minions) Salt_CSV_Report ¶
func (m *Target_Minions) Salt_CSV_Report(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
func (*Target_Minions) Salt_Disk_Space_Check ¶
func (m *Target_Minions) Salt_Disk_Space_Check(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
func (*Target_Minions) Salt_No_Upgrade_Exception_Check ¶
func (m *Target_Minions) Salt_No_Upgrade_Exception_Check(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
func (*Target_Minions) Salt_Refresh_Grains ¶
func (m *Target_Minions) Salt_Refresh_Grains(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
func (*Target_Minions) Salt_Run_state_apply ¶
func (m *Target_Minions) Salt_Run_state_apply(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups, stage string)
func (*Target_Minions) Salt_Set_Patch_Level ¶
func (m *Target_Minions) Salt_Set_Patch_Level(sessionkey *auth.SumaSessionKey, groupsdata *Migration_Groups)
func (*Target_Minions) Schedule_Migration ¶
func (t *Target_Minions) Schedule_Migration(sessionkey *auth.SumaSessionKey, UserData *Migration_Groups, dryrun bool)
func (*Target_Minions) Schedule_Package_Updates ¶
func (t *Target_Minions) Schedule_Package_Updates(sessionkey *auth.SumaSessionKey) int
func (*Target_Minions) Schedule_Pkg_refresh ¶
func (t *Target_Minions) Schedule_Pkg_refresh(sessionkey *auth.SumaSessionKey)
func (*Target_Minions) Schedule_Reboot ¶
func (t *Target_Minions) Schedule_Reboot(sessionkey *auth.SumaSessionKey)
func (*Target_Minions) Schedule_high_state ¶
func (t *Target_Minions) Schedule_high_state(sessionkey *auth.SumaSessionKey)
func (*Target_Minions) Show_Minions ¶
func (s *Target_Minions) Show_Minions()
func (*Target_Minions) Update_Target_Minion_Status ¶
func (t *Target_Minions) Update_Target_Minion_Status(analyase_minions *Target_Minions)
func (*Target_Minions) Write_Tracking_file ¶
func (t *Target_Minions) Write_Tracking_file()
type Target_Product ¶
type Target_Product struct { Name string `json:"name"` Ident string `json:"ident"` Base_Channel string `json:"base_channel_label"` Clm_Project_Label string `json:"clm_project_label"` OptionalChildChannels []OptionalChannel `json:"optionalChildChannels"` }
type Update_Pkg_Job ¶
type Value_ActiveSystems_in_Group ¶
type Value_ActiveSystems_in_Group struct {
Array Array_ActiveSystems_in_Group `xml:"array"`
}
Source Files ¶
- add_minions_to_targets.go
- analyze_pending_sp_migration.go
- check_assigne_channels_jobs.go
- check_package_update_jobs.go
- check_pkg_refresh_jobs.go
- check_reboot_jobs.go
- check_spmigration_jobs.go
- create_spmigration_group.go
- email_job_response.go
- find_migration_targets.go
- get_online_minions.go
- logger.go
- make_notes.go
- salt_csv_report.go
- salt_disk_space_check.go
- salt_online_minions.go
- salt_prep_state.go
- salt_refresh_grains.go
- salt_set_pl.go
- salt_upgrade_exception_check.go
- schedule_assign_channels.go
- schedule_highstate.go
- schedule_list_migration_targets.go
- schedule_pkg_refresh.go
- schedule_pkg_upgrades.go
- schedule_reboot.go
- schedule_spmigration.go
- spmigration.go
- structs.go
- update_target_minion_status.go
- write_minion_list.go
Click to show internal directories.
Click to hide internal directories.