v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   externalmetric.GroupName,
	Version: "v1alpha1",
}

GroupVersion is the identifier for the API which includes the name of the group and the version of the API

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type AzureConfig

type AzureConfig struct {
	ResourceGroup             string `json:"resourceGroup"`
	ResourceName              string `json:"resourceName"`
	ResourceProviderNamespace string `json:"resourceProviderNamespace"`
	ResourceType              string `json:"resourceType"`
	SubscriptionID            string `json:"subscriptionID"`
}

AzureConfig holds azure monitor azure configuration

func (*AzureConfig) DeepCopy

func (in *AzureConfig) DeepCopy() *AzureConfig

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

func (*AzureConfig) DeepCopyInto

func (in *AzureConfig) DeepCopyInto(out *AzureConfig)

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

type CustomMetric

type CustomMetric struct {
	// TypeMeta is the metadata for the resource, like kind and apiversion
	meta_v1.TypeMeta `json:",inline"`

	// ObjectMeta contains the metadata for the particular object (name, namespace, self link, labels, etc)
	meta_v1.ObjectMeta `json:"metadata,omitempty"`

	// Spec is the custom resource spec
	Spec CustomMetricSpec `json:"spec"`
}

CustomMetric describes a configuration for Application insights

func (*CustomMetric) DeepCopy

func (in *CustomMetric) DeepCopy() *CustomMetric

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

func (*CustomMetric) DeepCopyInto

func (in *CustomMetric) DeepCopyInto(out *CustomMetric)

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

func (*CustomMetric) DeepCopyObject

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

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

type CustomMetricConfig

type CustomMetricConfig struct {
	// contains filtered or unexported fields
}

CustomMetricConfig holds app insights configuration

func (*CustomMetricConfig) DeepCopy

func (in *CustomMetricConfig) DeepCopy() *CustomMetricConfig

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

func (*CustomMetricConfig) DeepCopyInto

func (in *CustomMetricConfig) DeepCopyInto(out *CustomMetricConfig)

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

type CustomMetricList

type CustomMetricList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`

	Items []CustomMetric `json:"items"`
}

CustomMetricList is a list of CustomMetric resources

func (*CustomMetricList) DeepCopy

func (in *CustomMetricList) DeepCopy() *CustomMetricList

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

func (*CustomMetricList) DeepCopyInto

func (in *CustomMetricList) DeepCopyInto(out *CustomMetricList)

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

func (*CustomMetricList) DeepCopyObject

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

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

type CustomMetricSpec

type CustomMetricSpec struct {
	MetricConfig CustomMetricConfig `json:"metric"`
}

CustomMetricSpec is the spec for a CustomMetric resource

func (*CustomMetricSpec) DeepCopy

func (in *CustomMetricSpec) DeepCopy() *CustomMetricSpec

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

func (*CustomMetricSpec) DeepCopyInto

func (in *CustomMetricSpec) DeepCopyInto(out *CustomMetricSpec)

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

type ExternalMetric

type ExternalMetric struct {
	// TypeMeta is the metadata for the resource, like kind and apiversion
	meta_v1.TypeMeta `json:",inline"`

	// ObjectMeta contains the metadata for the particular object (name, namespace, self link, labels, etc)
	meta_v1.ObjectMeta `json:"metadata,omitempty"`

	// Spec is the custom resource spec
	Spec ExternalMetricSpec `json:"spec"`
}

ExternalMetric describes a ExternalMetric resource

func (*ExternalMetric) DeepCopy

func (in *ExternalMetric) DeepCopy() *ExternalMetric

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

func (*ExternalMetric) DeepCopyInto

func (in *ExternalMetric) DeepCopyInto(out *ExternalMetric)

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

func (*ExternalMetric) DeepCopyObject

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

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

type ExternalMetricConfig

type ExternalMetricConfig struct {
	MetricName  string `json:"metricName"`
	Aggregation string `json:"aggregation"`
	Filter      string `json:"filter"`
}

ExternalMetricConfig holds azure monitor metric configuration

func (*ExternalMetricConfig) DeepCopy

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

func (*ExternalMetricConfig) DeepCopyInto

func (in *ExternalMetricConfig) DeepCopyInto(out *ExternalMetricConfig)

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

type ExternalMetricList

type ExternalMetricList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`

	Items []ExternalMetric `json:"items"`
}

ExternalMetricList is a list of ExternalMetric resources

func (*ExternalMetricList) DeepCopy

func (in *ExternalMetricList) DeepCopy() *ExternalMetricList

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

func (*ExternalMetricList) DeepCopyInto

func (in *ExternalMetricList) DeepCopyInto(out *ExternalMetricList)

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

func (*ExternalMetricList) DeepCopyObject

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

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

type ExternalMetricSpec

type ExternalMetricSpec struct {
	MetricConfig ExternalMetricConfig `json:"metric"`
	AzureConfig  AzureConfig          `json:"azure"`
}

ExternalMetricSpec is the spec for a ExternalMetric resource

func (*ExternalMetricSpec) DeepCopy

func (in *ExternalMetricSpec) DeepCopy() *ExternalMetricSpec

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

func (*ExternalMetricSpec) DeepCopyInto

func (in *ExternalMetricSpec) DeepCopyInto(out *ExternalMetricSpec)

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

Jump to

Keyboard shortcuts

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