v1alpha1

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 10

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the appdynamics v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=appdynamics.com

Package v1alpha1 contains API Schema definitions for the appdynamics v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=appdynamics.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "appdynamics.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

func IsBreakingProperty

func IsBreakingProperty(fieldName string) bool

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

Types

type AgentRequest

type AgentRequest struct {
	Namespaces     []string              `json:"namespaces,omitempty"`
	AppDAppLabel   string                `json:"appDAppLabel,omitempty"`
	AppDTierLabel  string                `json:"appDTierLabel,omitempty"`
	Tech           TechnologyName        `json:"tech,omitempty"`
	ContainerName  string                `json:"containerName,omitempty"`
	Version        string                `json:"version,omitempty"`
	MatchString    []string              `json:"matchString,omitempty"` //string matched against deployment names and labels, supports regex
	Method         InstrumentationMethod `json:"method,omitempty"`
	BiQ            string                `json:"biQ,omitempty"` //"sidecar" or reference to the remote analytics agent
	AppNameLiteral string                `json:"appNameLiteral,omitempty"`
	AgentEnvVar    string                `json:"agentEnvVar,omitempty"`
	UniqueHostID   string                `json:"uniqueHostID,omitempty"`
}

func (*AgentRequest) DeepCopy

func (in *AgentRequest) DeepCopy() *AgentRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentRequest.

func (*AgentRequest) DeepCopyInto

func (in *AgentRequest) DeepCopyInto(out *AgentRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AgentStatus

type AgentStatus struct {
	Version                    string                `json:"version,omitempty"`
	MetricsSyncInterval        int                   `json:"metricsSyncInterval"`
	SnapshotSyncInterval       int                   `json:"snapshotSyncInterval"`
	LogLevel                   string                `json:"logLevel"`
	LogLines                   int                   `json:"logLines"`
	NsToMonitor                []string              `json:"nsToMonitor,omitempty"`
	NsToMonitorExclude         []string              `json:"nsToMonitorExclude,omitempty"`
	NodesToMonitor             []string              `json:"nodesToMonitor,omitempty"`
	NodesToMonitorExclude      []string              `json:"nodesToMonitorExclude,omitempty"`
	NsToInstrument             []string              `json:"nsToInstrument,omitempty"`
	NsToInstrumentExclude      []string              `json:"nsToInstrumentExclude,omitempty"`
	InstrumentRule             []AgentRequest        `json:"instrumentRule,omitempty"`
	InstrumentationMethod      InstrumentationMethod `json:"instrumentationMethod,omitempty"`
	DefaultInstrumentationTech TechnologyName        `json:"defaultInstrumentationTech,omitempty"`
	InstrumentMatchString      []string              `json:"instrumentMatchString,omitempty"`
	BiqService                 string                `json:"biqService,omitempty"`
	AnalyticsAgentImage        string                `json:"analyticsAgentImage,omitempty"`
	AppDJavaAttachImage        string                `json:"appDJavaAttachImage,omitempty"`
	AppDDotNetAttachImage      string                `json:"appDDotNetAttachImage,omitempty"`
}

func (*AgentStatus) DeepCopy

func (in *AgentStatus) DeepCopy() *AgentStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentStatus.

func (*AgentStatus) DeepCopyInto

func (in *AgentStatus) DeepCopyInto(out *AgentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AppDBag

type AppDBag struct {
	AgentNamespace              string
	AppName                     string
	TierName                    string
	NodeName                    string
	AppID                       int
	TierID                      int
	NodeID                      int
	Account                     string
	GlobalAccount               string
	AccessKey                   string
	ControllerUrl               string
	ControllerPort              uint16
	RestAPIUrl                  string
	SSLEnabled                  bool
	SystemSSLCert               string
	AgentSSLCert                string
	EventKey                    string
	EventServiceUrl             string
	RestAPICred                 string
	EventAPILimit               int
	PodSchemaName               string
	NodeSchemaName              string
	DeploySchemaName            string
	RSSchemaName                string
	DaemonSchemaName            string
	EventSchemaName             string
	ContainerSchemaName         string
	EpSchemaName                string
	NsSchemaName                string
	RqSchemaName                string
	JobSchemaName               string
	LogSchemaName               string
	DashboardTemplatePath       string
	DashboardSuffix             string
	DashboardDelayMin           int
	AgentEnvVar                 string
	AgentLabel                  string
	AgentLogOverride            string
	AgentUserOverride           string
	AppNameLiteral              string
	AppDAppLabel                string
	AppDTierLabel               string
	AppDAnalyticsLabel          string
	AgentMountName              string
	AgentMountPath              string
	AppLogMountName             string
	AppLogMountPath             string
	JDKMountName                string
	JDKMountPath                string
	NodeNamePrefix              string
	AnalyticsAgentUrl           string
	AnalyticsAgentImage         string
	AnalyticsAgentContainerName string
	AppDInitContainerName       string
	AppDJavaAttachImage         string
	AppDDotNetAttachImage       string
	AppDNodeJSAttachImage       string
	ProxyUrl                    string
	ProxyUser                   string
	ProxyPass                   string
	InitContainerDir            string
	MetricsSyncInterval         int // Frequency of metrics pushes to the controller, sec
	SnapshotSyncInterval        int // Frequency of snapshot pushes to events api, sec
	AgentServerPort             int32
	NsToMonitor                 []string
	NsToMonitorExclude          []string
	DeploysToDashboard          []string
	NodesToMonitor              []string
	NodesToMonitorExclude       []string
	NsToInstrument              []string
	NsToInstrumentExclude       []string
	NSInstrumentRule            []AgentRequest
	InstrumentationMethod       InstrumentationMethod
	DefaultInstrumentationTech  TechnologyName
	BiqService                  string
	InstrumentContainer         string //all, first, name
	InstrumentMatchString       []string
	NetVizPort                  int
	InitRequestMem              string
	InitRequestCpu              string
	BiqRequestMem               string
	BiqRequestCpu               string
	UniqueHostID                string
	LogLines                    int //0 - no logging
	PodEventNumber              int
	SecretVersion               string
	SchemaUpdateCache           []string
	LogLevel                    string
	OverconsumptionThreshold    int
	InstrumentationUpdated      bool
}

func GetDefaultProperties

func GetDefaultProperties() *AppDBag

func (*AppDBag) DeepCopy

func (in *AppDBag) DeepCopy() *AppDBag

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDBag.

func (*AppDBag) DeepCopyInto

func (in *AppDBag) DeepCopyInto(out *AppDBag)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Clusteragent

type Clusteragent struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusteragentSpec   `json:"spec,omitempty"`
	Status ClusteragentStatus `json:"status,omitempty"`
}

Clusteragent is the Schema for the clusteragents API +k8s:openapi-gen=true

func (*Clusteragent) DeepCopy

func (in *Clusteragent) DeepCopy() *Clusteragent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Clusteragent.

func (*Clusteragent) DeepCopyInto

func (in *Clusteragent) DeepCopyInto(out *Clusteragent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Clusteragent) DeepCopyObject

func (in *Clusteragent) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusteragentList

type ClusteragentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Clusteragent `json:"items"`
}

ClusteragentList contains a list of Clusteragent

func (*ClusteragentList) DeepCopy

func (in *ClusteragentList) DeepCopy() *ClusteragentList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusteragentList.

func (*ClusteragentList) DeepCopyInto

func (in *ClusteragentList) DeepCopyInto(out *ClusteragentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusteragentList) DeepCopyObject

func (in *ClusteragentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusteragentSpec

type ClusteragentSpec struct {
	//account info
	ControllerUrl   string                      `json:"controllerUrl"`
	Account         string                      `json:"account,omitempty"`
	GlobalAccount   string                      `json:"globalAccount,omitempty"`
	EventServiceUrl string                      `json:"eventServiceUrl,omitempty"`
	Image           string                      `json:"image,omitempty"`
	Args            []string                    `json:"args,omitempty"`
	Env             []corev1.EnvVar             `json:"env,omitempty"`
	Resources       corev1.ResourceRequirements `json:"resources,omitempty"`
	AppName         string                      `json:"appName,omitempty"`
	AgentServerPort int32                       `json:"agentServerPort,omitempty"`
	SystemSSLCert   string                      `json:"systemSSLCert,omitempty"`
	AgentSSLCert    string                      `json:"agentSSLCert,omitempty"`
	ProxyUrl        string                      `json:"proxyUrl,omitempty"`
	ProxyUser       string                      `json:"proxyUser,omitempty"`
	ProxyPass       string                      `json:"proxyPass,omitempty"`

	//limits
	EventAPILimit            int    `json:"eventAPILimit,omitempty"`
	MetricsSyncInterval      int    `json:"metricsSyncInterval,omitempty"`
	SnapshotSyncInterval     int    `json:"snapshotSyncInterval,omitempty"`
	LogLines                 int    `json:"logLines,omitempty"`
	LogLevel                 string `json:"logLevel,omitempty"`
	PodEventNumber           int    `json:"podEventNumber,omitempty"`
	OverconsumptionThreshold int    `json:"overconsumptionThreshold,omitempty"`

	//instrumentation
	InstrumentationMethod       string         `json:"instrumentationMethod,omitempty"`
	InstrumentMatchString       []string       `json:"instrumentMatchString,omitempty"`
	DefaultInstrumentationTech  string         `json:"defaultInstrumentationTech,omitempty"`
	NsToInstrument              []string       `json:"nsToInstrument,omitempty"`
	NsToInstrumentExclude       []string       `json:"nsToInstrumentExclude,omitempty"`
	NsToMonitor                 []string       `json:"nsToMonitor,omitempty"`
	NsToMonitorExclude          []string       `json:"nsToMonitorExclude,omitempty"`
	NodesToMonitor              []string       `json:"nodesToMonitor,omitempty"`
	NodesToMonitorExclude       []string       `json:"nodesToMonitorExclude,omitempty"`
	InstrumentRule              []AgentRequest `json:"instrumentRule,omitempty"`
	AnalyticsAgentImage         string         `json:"analyticsAgentImage,omitempty"`
	AppDJavaAttachImage         string         `json:"appDJavaAttachImage,omitempty"`
	AppDDotNetAttachImage       string         `json:"appDDotNetAttachImage,omitempty"`
	BiqService                  string         `json:"biqService,omitempty"`
	InstrumentContainer         string         `json:"instrumentContainer,omitempty"`
	InitContainerDir            string         `json:"initContainerDir,omitempty"`
	AgentLabel                  string         `json:"agentLabel,omitempty"`
	AgentLogOverride            string         `json:"agentLogOverride,omitempty"`
	AgentUserOverride           string         `json:"agentUserOverride,omitempty"`
	AgentEnvVar                 string         `json:"agentEnvVar,omitempty"`
	AppNameLiteral              string         `json:"appNameLiteral,omitempty"`
	AppDAppLabel                string         `json:"appDAppLabel,omitempty"`
	AppDTierLabel               string         `json:"appDTierLabel,omitempty"`
	AppDAnalyticsLabel          string         `json:"appDAnalyticsLabel,omitempty"`
	AgentMountName              string         `json:"agentMountName,omitempty"`
	AgentMountPath              string         `json:"agentMountPath,omitempty"`
	AppLogMountName             string         `json:"appLogMountName,omitempty"`
	AppLogMountPath             string         `json:"appLogMountPath,omitempty"`
	JDKMountName                string         `json:"jDKMountName,omitempty"`
	JDKMountPath                string         `json:"jDKMountPath,omitempty"`
	NodeNamePrefix              string         `json:"nodeNamePrefix,omitempty"`
	AnalyticsAgentUrl           string         `json:"analyticsAgentUrl,omitempty"`
	AnalyticsAgentContainerName string         `json:"analyticsAgentContainerName,omitempty"`
	AppDInitContainerName       string         `json:"appDInitContainerName,omitempty"`
	NetVizPort                  int            `json:"netVizPort,omitempty"`
	InitRequestMem              string         `json:"initRequestMem,omitempty"`
	InitRequestCpu              string         `json:"initRequestCpu,omitempty"`
	BiqRequestMem               string         `json:"biqRequestMem,omitempty"`
	BiqRequestCpu               string         `json:"biqRequestCpu,omitempty"`
	UniqueHostID                string         `json:"uniqueHostID,omitempty"`

	//snapshot schemas
	PodSchemaName       string `json:"podSchemaName,omitempty"`
	NodeSchemaName      string `json:"nodeSchemaName,omitempty"`
	EventSchemaName     string `json:"eventSchemaName,omitempty"`
	ContainerSchemaName string `json:"containerSchemaName,omitempty"`
	JobSchemaName       string `json:"jobSchemaName,omitempty"`
	LogSchemaName       string `json:"logSchemaName,omitempty"`
	EpSchemaName        string `json:"epSchemaName,omitempty"`
	NsSchemaName        string `json:"nsSchemaName,omitempty"`
	RqSchemaName        string `json:"rqSchemaName,omitempty"`
	DeploySchemaName    string `json:"deploySchemaName,omitempty"`
	RSSchemaName        string `json:"rSSchemaName,omitempty"`
	DaemonSchemaName    string `json:"daemonSchemaName,omitempty"`

	//dashboard
	DashboardSuffix       string `json:"dashboardSuffix,omitempty"`
	DashboardDelayMin     int    `json:"dashboardDelayMin,omitempty"`
	DashboardTemplatePath string `json:"dashboardTemplatePath,omitempty"`
}

ClusteragentSpec defines the desired state of Clusteragent

func (*ClusteragentSpec) DeepCopy

func (in *ClusteragentSpec) DeepCopy() *ClusteragentSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusteragentSpec.

func (*ClusteragentSpec) DeepCopyInto

func (in *ClusteragentSpec) DeepCopyInto(out *ClusteragentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusteragentStatus

type ClusteragentStatus struct {
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`
	State          AgentStatus `json:"state"`
}

ClusteragentStatus defines the observed state of Clusteragent

func (*ClusteragentStatus) DeepCopy

func (in *ClusteragentStatus) DeepCopy() *ClusteragentStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusteragentStatus.

func (*ClusteragentStatus) DeepCopyInto

func (in *ClusteragentStatus) DeepCopyInto(out *ClusteragentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InfraViz

type InfraViz struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   InfraVizSpec   `json:"spec,omitempty"`
	Status InfraVizStatus `json:"status,omitempty"`
}

InfraViz is the Schema for the infravizs API +k8s:openapi-gen=true

func (*InfraViz) DeepCopy

func (in *InfraViz) DeepCopy() *InfraViz

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraViz.

func (*InfraViz) DeepCopyInto

func (in *InfraViz) DeepCopyInto(out *InfraViz)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InfraViz) DeepCopyObject

func (in *InfraViz) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InfraVizList

type InfraVizList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []InfraViz `json:"items"`
}

InfraVizList contains a list of InfraViz

func (*InfraVizList) DeepCopy

func (in *InfraVizList) DeepCopy() *InfraVizList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraVizList.

func (*InfraVizList) DeepCopyInto

func (in *InfraVizList) DeepCopyInto(out *InfraVizList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InfraVizList) DeepCopyObject

func (in *InfraVizList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InfraVizSpec

type InfraVizSpec struct {
	ControllerUrl         string                      `json:"controllerUrl"`
	Account               string                      `json:"account,omitempty"`
	Image                 string                      `json:"image,omitempty"`
	AccessSecret          string                      `json:"accessSecret,omitempty"`
	GlobalAccount         string                      `json:"globalAccount,omitempty"`
	EventServiceUrl       string                      `json:"eventServiceUrl,omitempty"`
	EnableContainerHostId string                      `json:"enableContainerHostId,omitempty"`
	EnableDockerViz       string                      `json:"enableDockerViz,omitempty"`
	EnableServerViz       string                      `json:"enableServerViz,omitempty"`
	UniqieHostId          string                      `json:"uniqieHostId,omitempty"`
	MetricsLimit          string                      `json:"metricsLimit,omitempty"`
	ProxyUrl              string                      `json:"proxyUrl,omitempty"`
	ProxyUser             string                      `json:"proxyUser,omitempty"`
	LogLevel              string                      `json:"logLevel,omitempty"`
	NetVizPort            int32                       `json:"netVizPort,omitempty"`
	NetVizImage           string                      `json:"netVizImage,omitempty"`
	BiqPort               int32                       `json:"biqPort,omitempty"`
	StdoutLogging         bool                        `json:"stdoutLogging,omitempty"`
	PropertyBag           string                      `json:"propertyBag,omitempty"`
	NodeSelector          map[string]string           `json:"nodeSelector,omitempty"`
	Tolerations           []corev1.Toleration         `json:"tolerations,omitempty"`
	Args                  []string                    `json:"args,omitempty"`
	Env                   []corev1.EnvVar             `json:"env,omitempty"`
	Resources             corev1.ResourceRequirements `json:"resources,omitempty"`
}

InfraVizSpec defines the desired state of InfraViz +k8s:openapi-gen=true

func (*InfraVizSpec) DeepCopy

func (in *InfraVizSpec) DeepCopy() *InfraVizSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraVizSpec.

func (*InfraVizSpec) DeepCopyInto

func (in *InfraVizSpec) DeepCopyInto(out *InfraVizSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InfraVizStatus

type InfraVizStatus struct {
	LastUpdateTime metav1.Time       `json:"lastUpdateTime"`
	Version        string            `json:"version"`
	Nodes          map[string]string `json:"nodes,omitempty"`
}

InfraVizStatus defines the observed state of InfraViz +k8s:openapi-gen=true

func (*InfraVizStatus) DeepCopy

func (in *InfraVizStatus) DeepCopy() *InfraVizStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraVizStatus.

func (*InfraVizStatus) DeepCopyInto

func (in *InfraVizStatus) DeepCopyInto(out *InfraVizStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstrumentationMethod

type InstrumentationMethod string
const (
	None        InstrumentationMethod = ""
	CopyAttach  InstrumentationMethod = "copy"
	MountAttach InstrumentationMethod = "mountAttach"
	MountEnv    InstrumentationMethod = "mountEnv"
)

type TechnologyName

type TechnologyName string
const (
	Java   TechnologyName = "java"
	DotNet TechnologyName = "dotnet"
	NodeJS TechnologyName = "nodejs"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL