Documentation ¶
Index ¶
- Constants
- func Publish(e EventInterface) error
- type EventApplyPolicyFormat
- type EventBenchmarkCompletedFormat
- type EventBenchmarkFormat
- type EventChangePasswordUserFormat
- type EventCloneClusterCompletedFormat
- type EventCloneClusterFailureFormat
- type EventCloneClusterFormat
- type EventCreateBackupCompletedFormat
- type EventCreateBackupFormat
- type EventCreateClusterCompletedFormat
- type EventCreateClusterFailureFormat
- type EventCreateClusterFormat
- type EventCreateLabelFormat
- type EventCreatePgbouncerFormat
- type EventCreatePolicyFormat
- type EventCreateUserFormat
- type EventDeleteClusterCompletedFormat
- type EventDeleteClusterFormat
- type EventDeletePgbouncerFormat
- type EventDeletePolicyFormat
- type EventDeleteUserFormat
- type EventFailoverClusterCompletedFormat
- type EventFailoverClusterFormat
- type EventHeader
- type EventInterface
- type EventLoadCompletedFormat
- type EventLoadFormat
- type EventPGOCreateNamespaceFormat
- type EventPGOCreateRoleFormat
- type EventPGOCreateUserFormat
- type EventPGODeleteNamespaceFormat
- type EventPGODeleteRoleFormat
- type EventPGODeleteUserFormat
- type EventPGOStartFormat
- type EventPGOStopFormat
- type EventPGOUpdateConfigFormat
- type EventPGOUpdateRoleFormat
- type EventPGOUpdateUserFormat
- type EventPrimaryDeletedFormat
- type EventPrimaryNotReadyFormat
- type EventReloadClusterFormat
- type EventRestoreClusterCompletedFormat
- type EventRestoreClusterFormat
- type EventScaleClusterFailureFormat
- type EventScaleClusterFormat
- type EventScaleDownClusterFormat
- type EventUpgradeClusterCompletedFormat
- type EventUpgradeClusterFormat
Constants ¶
const ( EventTopicAll = "alltopic" EventTopicCluster = "clustertopic" EventTopicBackup = "backuptopic" EventTopicLoad = "loadtopic" EventTopicUser = "postgresusertopic" EventTopicPolicy = "policytopic" EventTopicPgbouncer = "pgbouncertopic" EventTopicPGO = "pgotopic" EventTopicPGOUser = "pgousertopic" )
const ( EventReloadCluster = "ReloadCluster" EventPrimaryNotReady = "PrimaryNotReady" EventPrimaryDeleted = "PrimaryDeleted" EventCloneCluster = "CloneCluster" EventCloneClusterCompleted = "CloneClusterCompleted" EventCloneClusterFailure = "CloneClusterFailure" EventCreateCluster = "CreateCluster" EventCreateClusterCompleted = "CreateClusterCompleted" EventCreateClusterFailure = "CreateClusterFailure" EventScaleCluster = "ScaleCluster" EventScaleClusterFailure = "ScaleClusterFailure" EventScaleDownCluster = "ScaleDownCluster" EventFailoverCluster = "FailoverCluster" EventFailoverClusterCompleted = "FailoverClusterCompleted" EventRestoreCluster = "RestoreCluster" EventRestoreClusterCompleted = "RestoreClusterCompleted" EventUpgradeCluster = "UpgradeCluster" EventUpgradeClusterCompleted = "UpgradeClusterCompleted" EventDeleteCluster = "DeleteCluster" EventDeleteClusterCompleted = "DeleteClusterCompleted" EventCreateLabel = "CreateLabel" EventLoad = "Load" EventLoadCompleted = "LoadCompleted" EventBenchmark = "Benchmark" EventBenchmarkCompleted = "BenchmarkCompleted" EventCreateBackup = "CreateBackup" EventCreateBackupCompleted = "CreateBackupCompleted" EventCreateUser = "CreateUser" EventDeleteUser = "DeleteUser" EventChangePasswordUser = "ChangePasswordUser" EventCreatePolicy = "CreatePolicy" EventApplyPolicy = "ApplyPolicy" EventDeletePolicy = "DeletePolicy" EventCreatePgbouncer = "CreatePgbouncer" EventDeletePgbouncer = "DeletePgbouncer" EventPGOCreateUser = "PGOCreateUser" EventPGOUpdateUser = "PGOUpdateUser" EventPGODeleteUser = "PGODeleteUser" EventPGOCreateRole = "PGOCreateRole" EventPGOUpdateRole = "PGOUpdateRole" EventPGODeleteRole = "PGODeleteRole" EventPGOStart = "PGOStart" EventPGOStop = "PGOStop" EventPGOUpdateConfig = "PGOUpdateConfig" EventPGODeleteNamespace = "PGODeleteNamespace" EventPGOCreateNamespace = "PGOCreateNamespace" )
Variables ¶
This section is empty.
Functions ¶
func Publish ¶
func Publish(e EventInterface) error
String returns the string form for a given LogLevel
Types ¶
type EventApplyPolicyFormat ¶
type EventApplyPolicyFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Policyname string `json:"policyname"` }
----------------------------
func (EventApplyPolicyFormat) GetHeader ¶
func (p EventApplyPolicyFormat) GetHeader() EventHeader
func (EventApplyPolicyFormat) String ¶
func (lvl EventApplyPolicyFormat) String() string
type EventBenchmarkCompletedFormat ¶
type EventBenchmarkCompletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventBenchmarkCompletedFormat) GetHeader ¶
func (p EventBenchmarkCompletedFormat) GetHeader() EventHeader
func (EventBenchmarkCompletedFormat) String ¶
func (lvl EventBenchmarkCompletedFormat) String() string
type EventBenchmarkFormat ¶
type EventBenchmarkFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventBenchmarkFormat) GetHeader ¶
func (p EventBenchmarkFormat) GetHeader() EventHeader
func (EventBenchmarkFormat) String ¶
func (lvl EventBenchmarkFormat) String() string
type EventChangePasswordUserFormat ¶
type EventChangePasswordUserFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` PostgresUsername string `json:"postgresusername"` PostgresPassword string `json:"postgrespassword"` }
----------------------------
func (EventChangePasswordUserFormat) GetHeader ¶
func (p EventChangePasswordUserFormat) GetHeader() EventHeader
func (EventChangePasswordUserFormat) String ¶
func (lvl EventChangePasswordUserFormat) String() string
type EventCloneClusterCompletedFormat ¶
type EventCloneClusterCompletedFormat struct { EventHeader `json:"eventheader"` SourceClusterName string `json:"sourceClusterName"` TargetClusterName string `json:"targetClusterName"` WorkflowID string `json:"workflowid"` }
----------------------------
func (EventCloneClusterCompletedFormat) GetHeader ¶
func (p EventCloneClusterCompletedFormat) GetHeader() EventHeader
func (EventCloneClusterCompletedFormat) String ¶
func (lvl EventCloneClusterCompletedFormat) String() string
type EventCloneClusterFailureFormat ¶
type EventCloneClusterFailureFormat struct { EventHeader `json:"eventheader"` SourceClusterName string `json:"sourceClusterName"` TargetClusterName string `json:"targetClusterName"` ErrorMessage string `json:"errormessage"` WorkflowID string `json:"workflowid"` }
----------------------------
func (EventCloneClusterFailureFormat) GetHeader ¶
func (p EventCloneClusterFailureFormat) GetHeader() EventHeader
func (EventCloneClusterFailureFormat) String ¶
func (lvl EventCloneClusterFailureFormat) String() string
type EventCloneClusterFormat ¶
type EventCloneClusterFormat struct { EventHeader `json:"eventheader"` SourceClusterName string `json:"sourceClusterName"` TargetClusterName string `json:"targetClusterName"` WorkflowID string `json:"workflowid"` }
----------------------------
func (EventCloneClusterFormat) GetHeader ¶
func (p EventCloneClusterFormat) GetHeader() EventHeader
func (EventCloneClusterFormat) String ¶
func (lvl EventCloneClusterFormat) String() string
type EventCreateBackupCompletedFormat ¶
type EventCreateBackupCompletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` BackupType string `json:"backuptype"` Path string `json:"path"` }
----------------------------
func (EventCreateBackupCompletedFormat) GetHeader ¶
func (p EventCreateBackupCompletedFormat) GetHeader() EventHeader
func (EventCreateBackupCompletedFormat) String ¶
func (lvl EventCreateBackupCompletedFormat) String() string
type EventCreateBackupFormat ¶
type EventCreateBackupFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` BackupType string `json:"backuptype"` }
----------------------------
func (EventCreateBackupFormat) GetHeader ¶
func (p EventCreateBackupFormat) GetHeader() EventHeader
func (EventCreateBackupFormat) String ¶
func (lvl EventCreateBackupFormat) String() string
type EventCreateClusterCompletedFormat ¶
type EventCreateClusterCompletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` WorkflowID string `json:"workflowid"` }
----------------------------
func (EventCreateClusterCompletedFormat) GetHeader ¶
func (p EventCreateClusterCompletedFormat) GetHeader() EventHeader
func (EventCreateClusterCompletedFormat) String ¶
func (lvl EventCreateClusterCompletedFormat) String() string
type EventCreateClusterFailureFormat ¶
type EventCreateClusterFailureFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` ErrorMessage string `json:"errormessage"` WorkflowID string `json:"workflowid"` }
----------------------------
func (EventCreateClusterFailureFormat) GetHeader ¶
func (p EventCreateClusterFailureFormat) GetHeader() EventHeader
func (EventCreateClusterFailureFormat) String ¶
func (lvl EventCreateClusterFailureFormat) String() string
type EventCreateClusterFormat ¶
type EventCreateClusterFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` WorkflowID string `json:"workflowid"` }
----------------------------
func (EventCreateClusterFormat) GetHeader ¶
func (p EventCreateClusterFormat) GetHeader() EventHeader
func (EventCreateClusterFormat) String ¶
func (lvl EventCreateClusterFormat) String() string
type EventCreateLabelFormat ¶
type EventCreateLabelFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Label string `json:"label"` }
----------------------------
func (EventCreateLabelFormat) GetHeader ¶
func (p EventCreateLabelFormat) GetHeader() EventHeader
func (EventCreateLabelFormat) String ¶
func (lvl EventCreateLabelFormat) String() string
type EventCreatePgbouncerFormat ¶
type EventCreatePgbouncerFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventCreatePgbouncerFormat) GetHeader ¶
func (p EventCreatePgbouncerFormat) GetHeader() EventHeader
func (EventCreatePgbouncerFormat) String ¶
func (lvl EventCreatePgbouncerFormat) String() string
type EventCreatePolicyFormat ¶
type EventCreatePolicyFormat struct { EventHeader `json:"eventheader"` Policyname string `json:"policyname"` }
----------------------------
func (EventCreatePolicyFormat) GetHeader ¶
func (p EventCreatePolicyFormat) GetHeader() EventHeader
func (EventCreatePolicyFormat) String ¶
func (lvl EventCreatePolicyFormat) String() string
type EventCreateUserFormat ¶
type EventCreateUserFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` PostgresUsername string `json:"postgresusername"` PostgresPassword string `json:"postgrespassword"` Managed bool `json:"managed"` }
----------------------------
func (EventCreateUserFormat) GetHeader ¶
func (p EventCreateUserFormat) GetHeader() EventHeader
func (EventCreateUserFormat) String ¶
func (lvl EventCreateUserFormat) String() string
type EventDeleteClusterCompletedFormat ¶
type EventDeleteClusterCompletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventDeleteClusterCompletedFormat) GetHeader ¶
func (p EventDeleteClusterCompletedFormat) GetHeader() EventHeader
func (EventDeleteClusterCompletedFormat) String ¶
func (lvl EventDeleteClusterCompletedFormat) String() string
type EventDeleteClusterFormat ¶
type EventDeleteClusterFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventDeleteClusterFormat) GetHeader ¶
func (p EventDeleteClusterFormat) GetHeader() EventHeader
func (EventDeleteClusterFormat) String ¶
func (lvl EventDeleteClusterFormat) String() string
type EventDeletePgbouncerFormat ¶
type EventDeletePgbouncerFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventDeletePgbouncerFormat) GetHeader ¶
func (p EventDeletePgbouncerFormat) GetHeader() EventHeader
func (EventDeletePgbouncerFormat) String ¶
func (lvl EventDeletePgbouncerFormat) String() string
type EventDeletePolicyFormat ¶
type EventDeletePolicyFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Policyname string `json:"policyname"` }
----------------------------
func (EventDeletePolicyFormat) GetHeader ¶
func (p EventDeletePolicyFormat) GetHeader() EventHeader
func (EventDeletePolicyFormat) String ¶
func (lvl EventDeletePolicyFormat) String() string
type EventDeleteUserFormat ¶
type EventDeleteUserFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` PostgresUsername string `json:"postgresusername"` Managed bool `json:"managed"` }
----------------------------
func (EventDeleteUserFormat) GetHeader ¶
func (p EventDeleteUserFormat) GetHeader() EventHeader
func (EventDeleteUserFormat) String ¶
func (lvl EventDeleteUserFormat) String() string
type EventFailoverClusterCompletedFormat ¶
type EventFailoverClusterCompletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Target string `json:"target"` }
----------------------------
func (EventFailoverClusterCompletedFormat) GetHeader ¶
func (p EventFailoverClusterCompletedFormat) GetHeader() EventHeader
func (EventFailoverClusterCompletedFormat) String ¶
func (lvl EventFailoverClusterCompletedFormat) String() string
type EventFailoverClusterFormat ¶
type EventFailoverClusterFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Target string `json:"target"` }
----------------------------
func (EventFailoverClusterFormat) GetHeader ¶
func (p EventFailoverClusterFormat) GetHeader() EventHeader
func (EventFailoverClusterFormat) String ¶
func (lvl EventFailoverClusterFormat) String() string
type EventHeader ¶
type EventHeader struct { EventType string `json:eventtype` Namespace string `json:"namespace"` Username string `json:"username"` Timestamp time.Time `json:"timestamp"` Topic []string `json:"topic"` }
func (EventHeader) String ¶
func (lvl EventHeader) String() string
type EventInterface ¶
type EventInterface interface { GetHeader() EventHeader String() string }
type EventLoadCompletedFormat ¶
type EventLoadCompletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Loadconfig string `json:"loadconfig"` }
----------------------------
func (EventLoadCompletedFormat) GetHeader ¶
func (p EventLoadCompletedFormat) GetHeader() EventHeader
func (EventLoadCompletedFormat) String ¶
func (lvl EventLoadCompletedFormat) String() string
type EventLoadFormat ¶
type EventLoadFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Loadconfig string `json:"loadconfig"` }
----------------------------
func (EventLoadFormat) GetHeader ¶
func (p EventLoadFormat) GetHeader() EventHeader
func (EventLoadFormat) String ¶
func (lvl EventLoadFormat) String() string
type EventPGOCreateNamespaceFormat ¶
type EventPGOCreateNamespaceFormat struct { EventHeader `json:"eventheader"` CreatedNamespace string `json:"creatednamespace"` }
--------
func (EventPGOCreateNamespaceFormat) GetHeader ¶
func (p EventPGOCreateNamespaceFormat) GetHeader() EventHeader
func (EventPGOCreateNamespaceFormat) String ¶
func (lvl EventPGOCreateNamespaceFormat) String() string
type EventPGOCreateRoleFormat ¶
type EventPGOCreateRoleFormat struct { EventHeader `json:"eventheader"` CreatedRolename string `json:"createdrolename"` }
--------
func (EventPGOCreateRoleFormat) GetHeader ¶
func (p EventPGOCreateRoleFormat) GetHeader() EventHeader
func (EventPGOCreateRoleFormat) String ¶
func (lvl EventPGOCreateRoleFormat) String() string
type EventPGOCreateUserFormat ¶
type EventPGOCreateUserFormat struct { EventHeader `json:"eventheader"` CreatedUsername string `json:"createdusername"` }
--------
func (EventPGOCreateUserFormat) GetHeader ¶
func (p EventPGOCreateUserFormat) GetHeader() EventHeader
func (EventPGOCreateUserFormat) String ¶
func (lvl EventPGOCreateUserFormat) String() string
type EventPGODeleteNamespaceFormat ¶
type EventPGODeleteNamespaceFormat struct { EventHeader `json:"eventheader"` DeletedNamespace string `json:"deletednamespace"` }
--------
func (EventPGODeleteNamespaceFormat) GetHeader ¶
func (p EventPGODeleteNamespaceFormat) GetHeader() EventHeader
func (EventPGODeleteNamespaceFormat) String ¶
func (lvl EventPGODeleteNamespaceFormat) String() string
type EventPGODeleteRoleFormat ¶
type EventPGODeleteRoleFormat struct { EventHeader `json:"eventheader"` DeletedRolename string `json:"deletedRolename"` }
--------
func (EventPGODeleteRoleFormat) GetHeader ¶
func (p EventPGODeleteRoleFormat) GetHeader() EventHeader
func (EventPGODeleteRoleFormat) String ¶
func (lvl EventPGODeleteRoleFormat) String() string
type EventPGODeleteUserFormat ¶
type EventPGODeleteUserFormat struct { EventHeader `json:"eventheader"` DeletedUsername string `json:"deletedusername"` }
--------
func (EventPGODeleteUserFormat) GetHeader ¶
func (p EventPGODeleteUserFormat) GetHeader() EventHeader
func (EventPGODeleteUserFormat) String ¶
func (lvl EventPGODeleteUserFormat) String() string
type EventPGOStartFormat ¶
type EventPGOStartFormat struct {
EventHeader `json:"eventheader"`
}
--------
func (EventPGOStartFormat) GetHeader ¶
func (p EventPGOStartFormat) GetHeader() EventHeader
func (EventPGOStartFormat) String ¶
func (lvl EventPGOStartFormat) String() string
type EventPGOStopFormat ¶
type EventPGOStopFormat struct {
EventHeader `json:"eventheader"`
}
--------
func (EventPGOStopFormat) GetHeader ¶
func (p EventPGOStopFormat) GetHeader() EventHeader
func (EventPGOStopFormat) String ¶
func (lvl EventPGOStopFormat) String() string
type EventPGOUpdateConfigFormat ¶
type EventPGOUpdateConfigFormat struct {
EventHeader `json:"eventheader"`
}
--------
func (EventPGOUpdateConfigFormat) GetHeader ¶
func (p EventPGOUpdateConfigFormat) GetHeader() EventHeader
func (EventPGOUpdateConfigFormat) String ¶
func (lvl EventPGOUpdateConfigFormat) String() string
type EventPGOUpdateRoleFormat ¶
type EventPGOUpdateRoleFormat struct { EventHeader `json:"eventheader"` UpdatedRolename string `json:"updatedrolename"` }
--------
func (EventPGOUpdateRoleFormat) GetHeader ¶
func (p EventPGOUpdateRoleFormat) GetHeader() EventHeader
func (EventPGOUpdateRoleFormat) String ¶
func (lvl EventPGOUpdateRoleFormat) String() string
type EventPGOUpdateUserFormat ¶
type EventPGOUpdateUserFormat struct { EventHeader `json:"eventheader"` UpdatedUsername string `json:"updatedusername"` }
--------
func (EventPGOUpdateUserFormat) GetHeader ¶
func (p EventPGOUpdateUserFormat) GetHeader() EventHeader
func (EventPGOUpdateUserFormat) String ¶
func (lvl EventPGOUpdateUserFormat) String() string
type EventPrimaryDeletedFormat ¶
type EventPrimaryDeletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Deploymentname string `json:"deploymentname"` }
----------------------------
func (EventPrimaryDeletedFormat) GetHeader ¶
func (p EventPrimaryDeletedFormat) GetHeader() EventHeader
func (EventPrimaryDeletedFormat) String ¶
func (lvl EventPrimaryDeletedFormat) String() string
type EventPrimaryNotReadyFormat ¶
type EventPrimaryNotReadyFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventPrimaryNotReadyFormat) GetHeader ¶
func (p EventPrimaryNotReadyFormat) GetHeader() EventHeader
func (EventPrimaryNotReadyFormat) String ¶
func (lvl EventPrimaryNotReadyFormat) String() string
type EventReloadClusterFormat ¶
type EventReloadClusterFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
--------
func (EventReloadClusterFormat) GetHeader ¶
func (p EventReloadClusterFormat) GetHeader() EventHeader
func (EventReloadClusterFormat) String ¶
func (lvl EventReloadClusterFormat) String() string
type EventRestoreClusterCompletedFormat ¶
type EventRestoreClusterCompletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventRestoreClusterCompletedFormat) GetHeader ¶
func (p EventRestoreClusterCompletedFormat) GetHeader() EventHeader
func (EventRestoreClusterCompletedFormat) String ¶
func (lvl EventRestoreClusterCompletedFormat) String() string
type EventRestoreClusterFormat ¶
type EventRestoreClusterFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventRestoreClusterFormat) GetHeader ¶
func (p EventRestoreClusterFormat) GetHeader() EventHeader
func (EventRestoreClusterFormat) String ¶
func (lvl EventRestoreClusterFormat) String() string
type EventScaleClusterFailureFormat ¶
type EventScaleClusterFailureFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Replicaname string `json:"replicaname"` ErrorMessage string `json:"errormessage"` }
----------------------------
func (EventScaleClusterFailureFormat) GetHeader ¶
func (p EventScaleClusterFailureFormat) GetHeader() EventHeader
func (EventScaleClusterFailureFormat) String ¶
func (lvl EventScaleClusterFailureFormat) String() string
type EventScaleClusterFormat ¶
type EventScaleClusterFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Replicaname string `json:"replicaname"` }
----------------------------
func (EventScaleClusterFormat) GetHeader ¶
func (p EventScaleClusterFormat) GetHeader() EventHeader
func (EventScaleClusterFormat) String ¶
func (lvl EventScaleClusterFormat) String() string
type EventScaleDownClusterFormat ¶
type EventScaleDownClusterFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` Replicaname string `json:"replicaname"` }
----------------------------
func (EventScaleDownClusterFormat) GetHeader ¶
func (p EventScaleDownClusterFormat) GetHeader() EventHeader
func (EventScaleDownClusterFormat) String ¶
func (lvl EventScaleDownClusterFormat) String() string
type EventUpgradeClusterCompletedFormat ¶
type EventUpgradeClusterCompletedFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventUpgradeClusterCompletedFormat) GetHeader ¶
func (p EventUpgradeClusterCompletedFormat) GetHeader() EventHeader
func (EventUpgradeClusterCompletedFormat) String ¶
func (lvl EventUpgradeClusterCompletedFormat) String() string
type EventUpgradeClusterFormat ¶
type EventUpgradeClusterFormat struct { EventHeader `json:"eventheader"` Clustername string `json:"clustername"` }
----------------------------
func (EventUpgradeClusterFormat) GetHeader ¶
func (p EventUpgradeClusterFormat) GetHeader() EventHeader
func (EventUpgradeClusterFormat) String ¶
func (lvl EventUpgradeClusterFormat) String() string