mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
383d92e9ab
* pbhcp: add TelemetryState resource * agent/hcp: add GetObservabilitySecrets to client * internal/hcp: add TelemetryState controller logic * hcp/telemetry-state: added config options for hcp sdk and debug key to skip deletion during reconcile * pbhcp: update proto documentation * hcp: address PR feedback, additional validations and code cleanup * internal/hcp: fix type sig change in test * update testdata/v2-resource-dependencies
39 lines
1.0 KiB
Go
39 lines
1.0 KiB
Go
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
|
// source: pbhcp/v2/telemetry_state.proto
|
|
|
|
package hcpv2
|
|
|
|
import (
|
|
"google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *TelemetryState) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *TelemetryState) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *MetricsConfig) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *MetricsConfig) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *ProxyConfig) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *ProxyConfig) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|