v1alpha1

package
v0.0.0-...-2f71a0b Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=banzaicloud.com

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: version}
)

Functions

This section is empty.

Types

type MetricsEndpoint

type MetricsEndpoint struct {
	Pod  string `json:"pod,required"`
	Port int    `json:"port,required"`
}

func (*MetricsEndpoint) DeepCopy

func (in *MetricsEndpoint) DeepCopy() *MetricsEndpoint

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

func (*MetricsEndpoint) DeepCopyInto

func (in *MetricsEndpoint) DeepCopyInto(out *MetricsEndpoint)

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

type PrometheusJmxExporter

type PrometheusJmxExporter struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              PrometheusJmxExporterSpec   `json:"spec"`
	Status            PrometheusJmxExporterStatus `json:"status,omitempty"`
}

func (*PrometheusJmxExporter) DeepCopy

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

func (*PrometheusJmxExporter) DeepCopyInto

func (in *PrometheusJmxExporter) DeepCopyInto(out *PrometheusJmxExporter)

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

func (*PrometheusJmxExporter) DeepCopyObject

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

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

type PrometheusJmxExporterConfig

type PrometheusJmxExporterConfig struct {
	StartDelaySeconds         *int                               `yaml:"startDelaySeconds,omitempty"`
	HostPort                  *string                            `yaml:"hostPort,omitempty"`
	Username                  *string                            `yaml:"username,omitempty"`
	Password                  *string                            `yaml:"password,omitempty"`
	JmxUrl                    *string                            `yaml:"jmxUrl,omitempty"`
	Ssl                       *bool                              `yaml:"ssl,omitempty"`
	LowercaseOutputName       *bool                              `yaml:"lowercaseOutputName,omitempty"`
	LowercaseOutputLabelNames *bool                              `yaml:"lowercaseOutputLabelNames,omitempty"`
	WhitelistObjectNames      []string                           `yaml:"whitelistObjectNames,omitempty"`
	BlacklistObjectNames      []string                           `yaml:"blacklistObjectNames,omitempty"`
	Rules                     []PrometheusJmxExporterConfigRules `yaml:"rules,omitempty"`
}

func (*PrometheusJmxExporterConfig) DeepCopy

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

func (*PrometheusJmxExporterConfig) DeepCopyInto

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

type PrometheusJmxExporterConfigRules

type PrometheusJmxExporterConfigRules struct {
	Pattern           *string           `yaml:"pattern,omitempty"`
	Name              *string           `yaml:"name,omitempty"`
	Value             *string           `yaml:"value,omitempty"`
	ValueFactor       *float32          `yaml:"valueFactor,omitempty"`
	Labels            map[string]string `yaml:"labels,omitempty"`
	Help              *string           `yaml:"help,omitempty"`
	Type              *string           `yaml:"type,omitempty"`
	AttrNameSnakeCase *bool             `yaml:"attrNameSnakeCase,omitempty"`
}

func (*PrometheusJmxExporterConfigRules) DeepCopy

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

func (*PrometheusJmxExporterConfigRules) DeepCopyInto

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

type PrometheusJmxExporterList

type PrometheusJmxExporterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []PrometheusJmxExporter `json:"items"`
}

func (*PrometheusJmxExporterList) DeepCopy

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

func (*PrometheusJmxExporterList) DeepCopyInto

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

func (*PrometheusJmxExporterList) DeepCopyObject

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

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

type PrometheusJmxExporterSpec

type PrometheusJmxExporterSpec struct {
	LabelSelector map[string]string `json:"labelSelector,required"`
	Config        struct {
		ConfigMapName string `json:"configMapName,required"`
		ConfigMapKey  string `json:"configMapKey,required"`
	} `json:"config"`
	Port int `json: port,required`
}

func (*PrometheusJmxExporterSpec) DeepCopy

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

func (*PrometheusJmxExporterSpec) DeepCopyInto

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

type PrometheusJmxExporterStatus

type PrometheusJmxExporterStatus struct {
	MetricsEndpoints []*MetricsEndpoint `json: metricsEndpoints,omitempty`
}

func (*PrometheusJmxExporterStatus) DeepCopy

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

func (*PrometheusJmxExporterStatus) DeepCopyInto

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

func (PrometheusJmxExporterStatus) Equals

equals returns true if a equals b otherwise false

Jump to

Keyboard shortcuts

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