internal

package
v0.0.0-...-a385994 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2021 License: AGPL-3.0, AGPL-3.0-or-later Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalAlertRule

func MarshalAlertRule(r *ScopedAlert) ([]byte, error)

MarshalAlertRule encodes an alert rule to binary protobuf format.

func MarshalBuild

func MarshalBuild(b cloudhub.BuildInfo) ([]byte, error)

MarshalBuild encodes a build to binary protobuf format.

func MarshalConfig

func MarshalConfig(c *cloudhub.Config) ([]byte, error)

MarshalConfig encodes a config to binary protobuf format.

func MarshalConfigPB

func MarshalConfigPB(c *Config) ([]byte, error)

MarshalConfigPB encodes a config to binary protobuf format.

func MarshalDashboard

func MarshalDashboard(d cloudhub.Dashboard) ([]byte, error)

MarshalDashboard encodes a dashboard to binary protobuf format.

func MarshalLayout

func MarshalLayout(l cloudhub.Layout) ([]byte, error)

MarshalLayout encodes a layout to binary protobuf format.

func MarshalMapping

func MarshalMapping(m *cloudhub.Mapping) ([]byte, error)

MarshalMapping encodes a mapping to binary protobuf format.

func MarshalMappingPB

func MarshalMappingPB(m *Mapping) ([]byte, error)

MarshalMappingPB encodes a mapping to binary protobuf format.

func MarshalOrganization

func MarshalOrganization(o *cloudhub.Organization) ([]byte, error)

MarshalOrganization encodes a organization to binary protobuf format.

func MarshalOrganizationConfig

func MarshalOrganizationConfig(c *cloudhub.OrganizationConfig) ([]byte, error)

MarshalOrganizationConfig encodes a config to binary protobuf format.

func MarshalOrganizationConfigPB

func MarshalOrganizationConfigPB(c *OrganizationConfig) ([]byte, error)

MarshalOrganizationConfigPB encodes a config to binary protobuf format.

func MarshalOrganizationPB

func MarshalOrganizationPB(o *Organization) ([]byte, error)

MarshalOrganizationPB encodes a organization to binary protobuf format.

func MarshalRole

func MarshalRole(r *cloudhub.Role) ([]byte, error)

MarshalRole encodes a role to binary protobuf format.

func MarshalRolePB

func MarshalRolePB(r *Role) ([]byte, error)

MarshalRolePB encodes a role to binary protobuf format.

func MarshalServer

func MarshalServer(s cloudhub.Server) ([]byte, error)

MarshalServer encodes a server to binary protobuf format.

func MarshalSource

func MarshalSource(s cloudhub.Source) ([]byte, error)

MarshalSource encodes a source to binary protobuf format.

func MarshalUser

func MarshalUser(u *cloudhub.User) ([]byte, error)

MarshalUser encodes a user to binary protobuf format. We are ignoring the password for now.

func MarshalUserPB

func MarshalUserPB(u *User) ([]byte, error)

MarshalUserPB encodes a user to binary protobuf format. We are ignoring the password for now.

func MarshalVsphere

func MarshalVsphere(v cloudhub.Vsphere) ([]byte, error)

MarshalVsphere encodes a vsphere to binary protobuf format. We are ignoring the password for now.

func UnmarshalAlertRule

func UnmarshalAlertRule(data []byte, r *ScopedAlert) error

UnmarshalAlertRule decodes an alert rule from binary protobuf data.

func UnmarshalBuild

func UnmarshalBuild(data []byte, b *cloudhub.BuildInfo) error

UnmarshalBuild decodes a build from binary protobuf data.

func UnmarshalConfig

func UnmarshalConfig(data []byte, c *cloudhub.Config) error

UnmarshalConfig decodes a config from binary protobuf data.

func UnmarshalConfigPB

func UnmarshalConfigPB(data []byte, c *Config) error

UnmarshalConfigPB decodes a config from binary protobuf data.

func UnmarshalDashboard

func UnmarshalDashboard(data []byte, d *cloudhub.Dashboard) error

UnmarshalDashboard decodes a layout from binary protobuf data.

func UnmarshalLayout

func UnmarshalLayout(data []byte, l *cloudhub.Layout) error

UnmarshalLayout decodes a layout from binary protobuf data.

func UnmarshalMapping

func UnmarshalMapping(data []byte, m *cloudhub.Mapping) error

UnmarshalMapping decodes a mapping from binary protobuf data.

func UnmarshalMappingPB

func UnmarshalMappingPB(data []byte, m *Mapping) error

UnmarshalMappingPB decodes a mapping from binary protobuf data.

func UnmarshalOrganization

func UnmarshalOrganization(data []byte, o *cloudhub.Organization) error

UnmarshalOrganization decodes a organization from binary protobuf data.

func UnmarshalOrganizationConfig

func UnmarshalOrganizationConfig(data []byte, c *cloudhub.OrganizationConfig) error

UnmarshalOrganizationConfig decodes a config from binary protobuf data.

func UnmarshalOrganizationConfigPB

func UnmarshalOrganizationConfigPB(data []byte, c *OrganizationConfig) error

UnmarshalOrganizationConfigPB decodes a config from binary protobuf data.

func UnmarshalOrganizationPB

func UnmarshalOrganizationPB(data []byte, o *Organization) error

UnmarshalOrganizationPB decodes a organization from binary protobuf data.

func UnmarshalRole

func UnmarshalRole(data []byte, r *cloudhub.Role) error

UnmarshalRole decodes a role from binary protobuf data.

func UnmarshalRolePB

func UnmarshalRolePB(data []byte, r *Role) error

UnmarshalRolePB decodes a role from binary protobuf data.

func UnmarshalServer

func UnmarshalServer(data []byte, s *cloudhub.Server) error

UnmarshalServer decodes a server from binary protobuf data.

func UnmarshalSource

func UnmarshalSource(data []byte, s *cloudhub.Source) error

UnmarshalSource decodes a source from binary protobuf data.

func UnmarshalUser

func UnmarshalUser(data []byte, u *cloudhub.User) error

UnmarshalUser decodes a user from binary protobuf data. We are ignoring the password for now.

func UnmarshalUserPB

func UnmarshalUserPB(data []byte, u *User) error

UnmarshalUserPB decodes a user from binary protobuf data. We are ignoring the password for now.

func UnmarshalVsphere

func UnmarshalVsphere(data []byte, v *cloudhub.Vsphere) error

UnmarshalVsphere decodes a vsphere from binary protobuf data.

Types

type ScopedAlert

type ScopedAlert struct {
	cloudhub.AlertRule
	SrcID  int
	KapaID int
}

ScopedAlert contains the source and the kapacitor id

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL