Versions in this module Expand all Collapse all v0 v0.1.0 Feb 7, 2020 Changes in this version + type BackupConfigs struct + BackupResults []BackupResult + Links []Link + TotalCount int + type BackupResult struct + AuthMechanismName string + ClusterID string + EncryptionEnabled bool + ExcludedNamespaces []string + GroupID string + IncludedNamespaces []string + Links []Link + SSLEnabled bool + StatusName string + StorageEngineName string + Username string type Client + GetBackupConfigs func(projectID string) (BackupConfigs, error) v0.0.3 Oct 29, 2019 v0.0.2 Oct 29, 2019 Changes in this version + type AgentAttributes struct + KerberosKeytab string + KerberosPrincipal string + KerberowWindowsPassword string + KerberowWindowsUsername string + LogPath string + LogPathWindows string + LogRotate *LogRotate + Password string + SSLPEMKeyPwd string + SSLPEMKeyfile string + SSLPEMKeyfileWindows string + Username string + type AgentVersion struct + Hostname string + LogPath string + LogRotate *LogRotate + Name string type Args26 + Replication *ReplicationArg + Sharding *ShardingArg + type Auth struct + AutoAuthMechanism string + AutoPwd string + AutoUser string + DeploymentAuthMechanisms []string + Disabled bool + Key string + Keyfile string + KeyfileWindows string + UsersDeleted []interface{} + UsersWanted []UserWanted type Client + DeleteProject func(projectID string) error + GetHosts func(projectID string) (HostsResponse, error) + GetProjectByID func(projectID string) (ProjectResponse, error) + GetProjectByName func(name string) (ProjectResponse, error) + SetProjectTags func(projectID string, tags []string) (ProjectResponse, error) + UpdateBackupConfig func(projectID string, config AgentAttributes) error + UpdateMonitoringConfig func(projectID string, config AgentAttributes) error + type HostResponse struct + AlertsEnabled bool + Aliases []string + AuthMechanismName string + ClusterID string + Created string + Deactivated bool + GroupID string + HasStartupWarnings bool + Hidden bool + HiddenSecondary bool + HostEnabled bool + Hostname string + ID string + IPAddress string + JournalingEnabled bool + LastDataSizeBytes int + LastIndexSizeBytes int + LastPing string + LastRestart string + Links []interface{} + LogsEnabled bool + LowULimit bool + MuninEnabled bool + MuninPort int + Port int + ProfilerEnabled bool + ReplicaSetName string + ReplicaStateName string + SSLEnabled bool + ShardName string + SlaveDelaySec int + TypeName string + UptimeMSec int + Version string + type HostsResponse struct + Links []interface{} + Results []HostResponse + TotalCount int + type Member struct + ArbiterOnly bool + Hidden bool + Host string + ID int + Priority int + SlaveDelay int + Votes int type Net + SSL *NetSSL + type NetSSL struct + Mode string + PEMKeyFile string + type Options struct + DownloadBase string type Process + Cluster string type ProjectResponse + LDAPGroupMappings []LDAPGroupMapping + type ReplicaSet struct + ID string + Members []Member + ProtocolVersion int + type ReplicationArg struct + ReplSetName string + type Role struct + DB string + Role string + type SSL struct + AutoPEMKeyFilePath string + CAFilePath string + ClientCertificateMode string + type Shard struct + ID string + Rs string + Tags []interface{} + type Sharding struct + Collections []interface{} + ConfigServer []interface{} + ConfigServerReplica string + Name string + Shards []Shard + type ShardingArg struct + ClusterRole string + type StorageArg struct + DBPath string + type UserWanted struct + DB string + InitPwd string + Roles []Role + User string v0.0.1 Jul 18, 2019 Changes in this version + const PublicAPIPrefix + func AddProcessToDeployment(process Process, automationConfig map[string]interface{}) map[string]interface + func WithHTTPClient(basicClient httpclient.BasicClient) func(*opsManagerClient) + func WithResolver(resolver httpclient.URLResolver) func(*opsManagerClient) + type AgentResult struct + ConfCount int + Hostname string + LastConf string + StateName string + TypeName string + type Args26 struct + NET *Net + Storage *Storage + SystemLog *SystemLog + type AutomationConfig struct + AgentVersion map[string]interface{} + Auth map[string]interface{} + BackupVersions []*VersionHostnamePair + Balancer map[string]interface{} + CPSModules []map[string]interface{} + IndexConfigs []map[string]interface{} + Kerberos map[string]interface{} + LDAP map[string]interface{} + MongoDBVersions []*MongoDBVersion + MongoSQLDs []map[string]interface{} + MongoTs []map[string]interface{} + MonitoringVersions []*VersionHostnamePair + Options map[string]interface{} + Processes []*Process + ReplicaSets []map[string]interface{} + Roles []map[string]interface{} + SSL map[string]interface{} + Sharding []map[string]interface{} + UIBaseURL string + Version int + type AutomationStatusResponse struct + GoalVersion int + Processes []Process + type Build struct + Architecture string + Bits int + Flavor string + GitVersion string + MaxOsVersion string + MinOsVersion string + Modules []string + Platform string + URL string + Win2008plus bool + WinVCRedistDll string + WinVCRedistOptions []string + WinVCRedistURL string + WinVCRedistVersion string + type Client interface + CreateAgentAPIKEY func(projectID string, desc string) (CreateAgentAPIKEYResponse, error) + CreateFirstUser func(user User, whitelistIP string) (CreateFirstUserResponse, error) + CreateOneProject func(name string, orgID string) (CreateOneProjectResponse, error) + GetAgentsByType func(projectID string, agentType string) (GetAgentsByTypeResponse, error) + GetAllProjects func() (ProjectsResponse, error) + GetAutomationConfig func(projectID string) (AutomationConfig, error) + GetAutomationStatus func(projectID string) (AutomationStatusResponse, error) + GetRawAutomationConfig func(projectID string) (RawAutomationConfig, error) + UpdateAutomationConfig func(projectID string, config AutomationConfig) (AutomationConfig, error) + UpdateDeployments func(projectID string, body io.Reader) (map[string]interface{}, error) + func NewClient(configs ...func(*opsManagerClient)) Client + func NewClientWithDigestAuth(resolver httpclient.URLResolver, username string, password string) Client + func NewDefaultClient(resolver httpclient.URLResolver) Client + type CreateAgentAPIKEYResponse struct + CreatedBy string + CreatedIPAddr string + CreatedTime int + CreatedUserID string + Desc string + ID string + Key string + type CreateFirstUserResponse struct + APIKey string + User UserResponse + type CreateOneProjectResponse struct + ActiveAgentCount int + AgentAPIKey string + HostCounts map[string]int + ID string + LDAPGroupMappings []LDAPGroupMapping + LastActiveAgent string + Links []Link + Name string + OrgID string + PublicAPIEnabled bool + ReplicaSetCount int + ShardCount int + Tags []string + type GetAgentsByTypeResponse struct + Links []Link + Results []AgentResult + TotalCount int + type HostCounts struct + Arbiter int + Config int + Master int + Mongos int + Primary int + Secondary int + Slave int + type LDAPGroupMapping struct + LdapGroups []string + RoleName string + type Link struct + HREF string + Rel string + type LogRotate struct + SizeThresholdMB float64 + TimeThresholdHrs int + type MongoDBVersion struct + Builds []Build + Name string + type Net struct + Port int + type Process struct + Args26 *Args26 + AuthSchemaVersion int + Disabled bool + FeatureCompatibilityVersion string + Hostname string + LastGoalVersionAchieved int + LogRotate *LogRotate + ManualMode bool + Name string + Plan []string + ProcessType string + Version string + type ProjectResponse struct + ActiveAgentCount int + AgentAPIKey string + HostCounts HostCounts + ID string + LastActiveAgent string + Links []Link + Name string + OrgID string + PublicAPIEnabled bool + ReplicaSetCount int + ShardCount int + Tags []string + type ProjectsResponse struct + Links []Link + Results []ProjectResponse + TotalCount int + type RawAutomationConfig struct + BackupAgentTemplate map[string]interface{} + CPSModuleTemplate map[string]interface{} + Cluster *AutomationConfig + DeploymentJobStatuses []interface{} + GroupID string + IDCounter int + LatestAutomationAgentVersionName string + LatestBackupAgentVersionName string + LatestBiConnectorVersionName string + LatestMonitoringAgentVersionName string + LogRotate map[string]interface{} + MonitoringAgentTemplate map[string]interface{} + PublishTimestamp int + PublishedVersion string + SaveTimestamp int + State string + UserID string + Version int + VersionConfig map[string]interface{} + type Result struct + Links []Link + RoleNames []string + TeamID string + type Storage struct + DBPath string + type SystemLog struct + Destination string + Path string + type User struct + EmailAddress string + FirstName string + LastName string + Password string + Username string + type UserResponse struct + ID string + Links []Link + Roles []UserRole + type UserRole struct + GroupID string + OrgID string + RoleName string + type VersionHostnamePair struct + Hostname string + Name string