Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the v1 API group +kubebuilder:object:generate=true +groupName=vc.io
Index ¶
Constants ¶
const (
DefaultLeaderKey = "com.vc.plugin.kubernetes.leader"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "vc.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ResourceInfo ¶
ResourceInfo holds Name and UID to given object
func (*ResourceInfo) DeepCopy ¶
func (in *ResourceInfo) DeepCopy() *ResourceInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInfo.
func (*ResourceInfo) DeepCopyInto ¶
func (in *ResourceInfo) DeepCopyInto(out *ResourceInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VcAgent ¶
type VcAgent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VcAgentSpec `json:"spec,omitempty"` Status VcAgentStatus `json:"status,omitempty"` }
VcAgent is the Schema for the agents API
func (*VcAgent) ConvertFrom ¶
func (dst *VcAgent) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1) to this version.
func (*VcAgent) ConvertTo ¶
func (src *VcAgent) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this VcAgent to the Hub version (v1).
func (*VcAgent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VcAgent.
func (*VcAgent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VcAgent) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VcAgentList ¶
type VcAgentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VcAgent `json:"items"` }
VcAgentList contains a list of VcAgent
func (*VcAgentList) DeepCopy ¶
func (in *VcAgentList) DeepCopy() *VcAgentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VcAgentList.
func (*VcAgentList) DeepCopyInto ¶
func (in *VcAgentList) DeepCopyInto(out *VcAgentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VcAgentList) DeepCopyObject ¶
func (in *VcAgentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VcAgentSpec ¶
type VcAgentSpec struct { ConfigurationFiles map[string]string `json:"config.files,omitempty"` AgentZoneName string `json:"agent.zone.name,omitempty"` AgentKey string `json:"agent.key,omitempty"` AgentEndpointHost string `json:"agent.endpoint.host,omitempty"` AgentEndpointPort uint16 `json:"agent.endpoint.port,omitempty"` AgentClusterRoleName string `json:"agent.clusterRoleName,omitempty"` AgentClusterRoleBindingName string `json:"agent.clusterRoleBindingName,omitempty"` AgentServiceAccountName string `json:"agent.serviceAccountName,omitempty"` AgentSecretName string `json:"agent.secretName,omitempty"` AgentDaemonSetName string `json:"agent.daemonSetName,omitempty"` AgentConfigMapName string `json:"agent.configMapName,omitempty"` AgentRbacCreate bool `json:"agent.rbac.create,omitempty"` AgentImageName string `json:"agent.image,omitempty"` AgentImagePullPolicy string `json:"agent.imagePullPolicy,omitempty"` AgentCpuReq resource.Quantity `json:"agent.cpuReq,omitempty"` AgentCpuLim resource.Quantity `json:"agent.cpuLimit,omitempty"` AgentMemReq resource.Quantity `json:"agent.memReq,omitempty"` AgentMemLim resource.Quantity `json:"agent.memLimit,omitempty"` AgentDownloadKey string `json:"agent.downloadKey,omitempty"` AgentRepository string `json:"agent.host.repository,omitempty"` AgentTlsSecretName string `json:"agent.tls.secretName,omitempty"` AgentTlsCertificate string `json:"agent.tls.certificate,omitempty"` AgentTlsKey string `json:"agent.tls.key,omitempty"` OpenTelemetryEnabled bool `json:"opentelemetry.enabled,omitempty"` ClusterName string `json:"cluster.name,omitempty"` AgentEnv map[string]string `json:"agent.env,omitempty"` }
VcAgentSpec defines the desired state of the VC Agent
func (*VcAgentSpec) DeepCopy ¶
func (in *VcAgentSpec) DeepCopy() *VcAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VcAgentSpec.
func (*VcAgentSpec) DeepCopyInto ¶
func (in *VcAgentSpec) DeepCopyInto(out *VcAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VcAgentStatus ¶
type VcAgentStatus struct { ServiceAccount ResourceInfo `json:"serviceaccount,omitempty"` ClusterRole ResourceInfo `json:"clusterrole,omitempty"` ClusterRoleBinding ResourceInfo `json:"clusterrolebinding,omitempty"` Secret ResourceInfo `json:"secret,omitempty"` ConfigMap ResourceInfo `json:"configmap,omitempty"` DaemonSet ResourceInfo `json:"daemonset,omitempty"` LeadingAgentPod ResourceInfo `json:"leading.agent.pod,omitempty"` }
VcAgentStatus defines the observed state of VcAgent
func (*VcAgentStatus) DeepCopy ¶
func (in *VcAgentStatus) DeepCopy() *VcAgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VcAgentStatus.
func (*VcAgentStatus) DeepCopyInto ¶
func (in *VcAgentStatus) DeepCopyInto(out *VcAgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.