Documentation ¶
Index ¶
- func MarshalAlertRule(r *ScopedAlert) ([]byte, error)
- func MarshalBuild(b cloudhub.BuildInfo) ([]byte, error)
- func MarshalConfig(c *cloudhub.Config) ([]byte, error)
- func MarshalConfigPB(c *Config) ([]byte, error)
- func MarshalDashboard(d cloudhub.Dashboard) ([]byte, error)
- func MarshalLayout(l cloudhub.Layout) ([]byte, error)
- func MarshalMapping(m *cloudhub.Mapping) ([]byte, error)
- func MarshalMappingPB(m *Mapping) ([]byte, error)
- func MarshalOrganization(o *cloudhub.Organization) ([]byte, error)
- func MarshalOrganizationConfig(c *cloudhub.OrganizationConfig) ([]byte, error)
- func MarshalOrganizationConfigPB(c *OrganizationConfig) ([]byte, error)
- func MarshalOrganizationPB(o *Organization) ([]byte, error)
- func MarshalRole(r *cloudhub.Role) ([]byte, error)
- func MarshalRolePB(r *Role) ([]byte, error)
- func MarshalServer(s cloudhub.Server) ([]byte, error)
- func MarshalSource(s cloudhub.Source) ([]byte, error)
- func MarshalUser(u *cloudhub.User) ([]byte, error)
- func MarshalUserPB(u *User) ([]byte, error)
- func MarshalVsphere(v cloudhub.Vsphere) ([]byte, error)
- func UnmarshalAlertRule(data []byte, r *ScopedAlert) error
- func UnmarshalBuild(data []byte, b *cloudhub.BuildInfo) error
- func UnmarshalConfig(data []byte, c *cloudhub.Config) error
- func UnmarshalConfigPB(data []byte, c *Config) error
- func UnmarshalDashboard(data []byte, d *cloudhub.Dashboard) error
- func UnmarshalLayout(data []byte, l *cloudhub.Layout) error
- func UnmarshalMapping(data []byte, m *cloudhub.Mapping) error
- func UnmarshalMappingPB(data []byte, m *Mapping) error
- func UnmarshalOrganization(data []byte, o *cloudhub.Organization) error
- func UnmarshalOrganizationConfig(data []byte, c *cloudhub.OrganizationConfig) error
- func UnmarshalOrganizationConfigPB(data []byte, c *OrganizationConfig) error
- func UnmarshalOrganizationPB(data []byte, o *Organization) error
- func UnmarshalRole(data []byte, r *cloudhub.Role) error
- func UnmarshalRolePB(data []byte, r *Role) error
- func UnmarshalServer(data []byte, s *cloudhub.Server) error
- func UnmarshalSource(data []byte, s *cloudhub.Source) error
- func UnmarshalUser(data []byte, u *cloudhub.User) error
- func UnmarshalUserPB(data []byte, u *User) error
- func UnmarshalVsphere(data []byte, v *cloudhub.Vsphere) error
- type ScopedAlert
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 ¶
MarshalBuild encodes a build to binary protobuf format.
func MarshalConfig ¶
MarshalConfig encodes a config to binary protobuf format.
func MarshalConfigPB ¶
MarshalConfigPB encodes a config to binary protobuf format.
func MarshalDashboard ¶
MarshalDashboard encodes a dashboard to binary protobuf format.
func MarshalLayout ¶
MarshalLayout encodes a layout to binary protobuf format.
func MarshalMapping ¶
MarshalMapping encodes a mapping to binary protobuf format.
func MarshalMappingPB ¶
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 ¶
MarshalOrganizationConfigPB encodes a config to binary protobuf format.
func MarshalOrganizationPB ¶
MarshalOrganizationPB encodes a organization to binary protobuf format.
func MarshalRole ¶
MarshalRole encodes a role to binary protobuf format.
func MarshalRolePB ¶
MarshalRolePB encodes a role to binary protobuf format.
func MarshalServer ¶
MarshalServer encodes a server to binary protobuf format.
func MarshalSource ¶
MarshalSource encodes a source to binary protobuf format.
func MarshalUser ¶
MarshalUser encodes a user to binary protobuf format. We are ignoring the password for now.
func MarshalUserPB ¶
MarshalUserPB encodes a user to binary protobuf format. We are ignoring the password for now.
func MarshalVsphere ¶
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 ¶
UnmarshalBuild decodes a build from binary protobuf data.
func UnmarshalConfig ¶
UnmarshalConfig decodes a config from binary protobuf data.
func UnmarshalConfigPB ¶
UnmarshalConfigPB decodes a config from binary protobuf data.
func UnmarshalDashboard ¶
UnmarshalDashboard decodes a layout from binary protobuf data.
func UnmarshalLayout ¶
UnmarshalLayout decodes a layout from binary protobuf data.
func UnmarshalMapping ¶
UnmarshalMapping decodes a mapping from binary protobuf data.
func UnmarshalMappingPB ¶
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 ¶
UnmarshalOrganizationConfigPB decodes a config from binary protobuf data.
func UnmarshalOrganizationPB ¶
UnmarshalOrganizationPB decodes a organization from binary protobuf data.
func UnmarshalRole ¶
UnmarshalRole decodes a role from binary protobuf data.
func UnmarshalRolePB ¶
UnmarshalRolePB decodes a role from binary protobuf data.
func UnmarshalServer ¶
UnmarshalServer decodes a server from binary protobuf data.
func UnmarshalSource ¶
UnmarshalSource decodes a source from binary protobuf data.
func UnmarshalUser ¶
UnmarshalUser decodes a user from binary protobuf data. We are ignoring the password for now.
func UnmarshalUserPB ¶
UnmarshalUserPB decodes a user from binary protobuf data. We are ignoring the password for now.