Documentation
¶
Overview ¶
Package clusterconfig provides protobuf-based cluster configuration management for the CloudZero Agent. This package contains generated types and utilities for handling cluster configuration data that is serialized using Protocol Buffers for efficient storage and network transmission.
The cluster configuration includes essential settings for:
- CloudZero Agent deployment parameters and feature flags
- Kubernetes cluster identification and authentication details
- Cost allocation policies and tag validation rules
- Integration settings for CloudZero platform connectivity
- Monitoring and diagnostic configuration options
Configuration data is typically:
- Generated by the CloudZero platform and transmitted to agents
- Stored locally for offline operation during network interruptions
- Validated during agent startup and configuration changes
- Updated dynamically through configuration management APIs
The protobuf format enables efficient serialization for configuration distribution across multiple agent instances and ensures backward compatibility during platform updates.
Index ¶
- Variables
- type ClusterConfig
- func (*ClusterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConfig) GetAccount() string
- func (x *ClusterConfig) GetAgentVersion() string
- func (x *ClusterConfig) GetChartVersion() string
- func (x *ClusterConfig) GetCloudProvider() string
- func (x *ClusterConfig) GetClusterName() string
- func (x *ClusterConfig) GetConfigAggregatorBase64() string
- func (x *ClusterConfig) GetConfigValidatorBase64() string
- func (x *ClusterConfig) GetConfigValuesBase64() string
- func (x *ClusterConfig) GetConfigWebhookServerBase64() string
- func (x *ClusterConfig) GetErrors() []string
- func (x *ClusterConfig) GetK8SVersion() string
- func (x *ClusterConfig) GetNamespace() string
- func (x *ClusterConfig) GetProviderId() string
- func (x *ClusterConfig) GetRegion() string
- func (x *ClusterConfig) GetReleaseName() string
- func (*ClusterConfig) ProtoMessage()
- func (x *ClusterConfig) ProtoReflect() protoreflect.Message
- func (x *ClusterConfig) Reset()
- func (x *ClusterConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_clusterconfig_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClusterConfig ¶
type ClusterConfig struct {
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
ProviderId string `protobuf:"bytes,4,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
ClusterName string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
K8SVersion string `protobuf:"bytes,6,opt,name=k8s_version,json=k8sVersion,proto3" json:"k8s_version,omitempty"`
ReleaseName string `protobuf:"bytes,7,opt,name=release_name,json=releaseName,proto3" json:"release_name,omitempty"`
ChartVersion string `protobuf:"bytes,8,opt,name=chart_version,json=chartVersion,proto3" json:"chart_version,omitempty"`
AgentVersion string `protobuf:"bytes,9,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
CloudProvider string `protobuf:"bytes,10,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
ConfigValuesBase64 string `protobuf:"bytes,30,opt,name=config_values_base64,json=configValuesBase64,proto3" json:"config_values_base64,omitempty"`
ConfigValidatorBase64 string `` /* 127-byte string literal not displayed */
ConfigWebhookServerBase64 string `` /* 141-byte string literal not displayed */
ConfigAggregatorBase64 string `` /* 130-byte string literal not displayed */
Errors []string `protobuf:"bytes,40,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*ClusterConfig) Descriptor
deprecated
func (*ClusterConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.
func (*ClusterConfig) GetAccount ¶
func (x *ClusterConfig) GetAccount() string
func (*ClusterConfig) GetAgentVersion ¶
func (x *ClusterConfig) GetAgentVersion() string
func (*ClusterConfig) GetChartVersion ¶
func (x *ClusterConfig) GetChartVersion() string
func (*ClusterConfig) GetCloudProvider ¶ added in v1.2.5
func (x *ClusterConfig) GetCloudProvider() string
func (*ClusterConfig) GetClusterName ¶
func (x *ClusterConfig) GetClusterName() string
func (*ClusterConfig) GetConfigAggregatorBase64 ¶
func (x *ClusterConfig) GetConfigAggregatorBase64() string
func (*ClusterConfig) GetConfigValidatorBase64 ¶
func (x *ClusterConfig) GetConfigValidatorBase64() string
func (*ClusterConfig) GetConfigValuesBase64 ¶
func (x *ClusterConfig) GetConfigValuesBase64() string
func (*ClusterConfig) GetConfigWebhookServerBase64 ¶
func (x *ClusterConfig) GetConfigWebhookServerBase64() string
func (*ClusterConfig) GetErrors ¶
func (x *ClusterConfig) GetErrors() []string
func (*ClusterConfig) GetK8SVersion ¶
func (x *ClusterConfig) GetK8SVersion() string
func (*ClusterConfig) GetNamespace ¶
func (x *ClusterConfig) GetNamespace() string
func (*ClusterConfig) GetProviderId ¶
func (x *ClusterConfig) GetProviderId() string
func (*ClusterConfig) GetRegion ¶
func (x *ClusterConfig) GetRegion() string
func (*ClusterConfig) GetReleaseName ¶
func (x *ClusterConfig) GetReleaseName() string
func (*ClusterConfig) ProtoMessage ¶
func (*ClusterConfig) ProtoMessage()
func (*ClusterConfig) ProtoReflect ¶
func (x *ClusterConfig) ProtoReflect() protoreflect.Message
func (*ClusterConfig) Reset ¶
func (x *ClusterConfig) Reset()
func (*ClusterConfig) String ¶
func (x *ClusterConfig) String() string
Click to show internal directories.
Click to hide internal directories.