Documentation ¶
Overview ¶
Package v1beta contains API Schema definitions for the agents v1beta API group +kubebuilder:object:generate=true +groupName=agents.lightrun.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "agents.lightrun.com", Version: "v1beta"} // 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 InitContainer ¶
type InitContainer struct { string `json:"sharedVolumeName"` SharedVolumeMountPath string `json:"sharedVolumeMountPath"` // Image of the init container. Image name and tag will define platform and version of the agent Image string `json:"image"` }SharedVolumeName
func (*InitContainer) DeepCopy ¶
func (in *InitContainer) DeepCopy() *InitContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitContainer.
func (*InitContainer) DeepCopyInto ¶
func (in *InitContainer) DeepCopyInto(out *InitContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LightrunJavaAgent ¶
type LightrunJavaAgent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LightrunJavaAgentSpec `json:"spec,omitempty"` Status LightrunJavaAgentStatus `json:"status,omitempty"` }
LightrunJavaAgent is the Schema for the lightrunjavaagents API
func (*LightrunJavaAgent) DeepCopy ¶
func (in *LightrunJavaAgent) DeepCopy() *LightrunJavaAgent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LightrunJavaAgent.
func (*LightrunJavaAgent) DeepCopyInto ¶
func (in *LightrunJavaAgent) DeepCopyInto(out *LightrunJavaAgent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LightrunJavaAgent) DeepCopyObject ¶
func (in *LightrunJavaAgent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LightrunJavaAgentList ¶
type LightrunJavaAgentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LightrunJavaAgent `json:"items"` }
+kubebuilder:object:root=true LightrunJavaAgentList contains a list of LightrunJavaAgent
func (*LightrunJavaAgentList) DeepCopy ¶
func (in *LightrunJavaAgentList) DeepCopy() *LightrunJavaAgentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LightrunJavaAgentList.
func (*LightrunJavaAgentList) DeepCopyInto ¶
func (in *LightrunJavaAgentList) DeepCopyInto(out *LightrunJavaAgentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LightrunJavaAgentList) DeepCopyObject ¶
func (in *LightrunJavaAgentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LightrunJavaAgentSpec ¶
type LightrunJavaAgentSpec struct { // List of containers that should be patched in the Pod ContainerSelector []string `json:"containerSelector"` InitContainer InitContainer `json:"initContainer"` //Name of the Deployment that will be patched DeploymentName string `json:"deploymentName"` //Name of the Secret in the same namespace contains lightrun key and conmpany id SecretName string `json:"secretName"` //Env variable that will be patched with the -agentpath //Common choice is JAVA_TOOL_OPTIONS //Depending on the tool used it may vary from JAVA_OPTS to MAVEN_OPTS and CATALINA_OPTS // More info can be found here https://docs.lightrun.com/jvm/build-tools/ AgentEnvVarName string `json:"agentEnvVarName"` // Lightrun server hostname that will be used for downloading an agent // Key and company id in the secret has to be taken from this server as well ServerHostname string `json:"serverHostname"` // Agent configuration to be changed from default values // https://docs.lightrun.com/jvm/agent-configuration/#setting-agent-properties-from-the-agentconfig-file // +optional AgentConfig map[string]string `json:"agentConfig,omitempty"` // Add cli flags to the agent "-agentpath:/lightrun/agent/lightrun_agent.so=<AgentCliFlags>" // https://docs.lightrun.com/jvm/agent-configuration/#additional-command-line-flags // +optional AgentCliFlags string `json:"agentCliFlags,omitempty"` // Agent tags that will be shown in the portal / IDE plugin AgentTags []string `json:"agentTags"` // +optional // Agent name for registration to the server AgentName string `json:"agentName,omitempty"` }
LightrunJavaAgentSpec defines the desired state of LightrunJavaAgent
func (*LightrunJavaAgentSpec) DeepCopy ¶
func (in *LightrunJavaAgentSpec) DeepCopy() *LightrunJavaAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LightrunJavaAgentSpec.
func (*LightrunJavaAgentSpec) DeepCopyInto ¶
func (in *LightrunJavaAgentSpec) DeepCopyInto(out *LightrunJavaAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LightrunJavaAgentStatus ¶
type LightrunJavaAgentStatus struct { LastScheduleTime *metav1.Time `json:"lastScheduleTime,omitempty"` Conditions []metav1.Condition `json:"conditions,omitempty"` DeploymentStatus string `json:"deploymentStatus,omitempty"` }
LightrunJavaAgentStatus defines the observed state of LightrunJavaAgent
func (*LightrunJavaAgentStatus) DeepCopy ¶
func (in *LightrunJavaAgentStatus) DeepCopy() *LightrunJavaAgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LightrunJavaAgentStatus.
func (*LightrunJavaAgentStatus) DeepCopyInto ¶
func (in *LightrunJavaAgentStatus) DeepCopyInto(out *LightrunJavaAgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.