v1

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the jaegertracing v1 API group +k8s:deepcopy-gen=package,register +groupName=jaegertracing.io

Package v1 contains API Schema definitions for the jaegertracing v1 API group +k8s:deepcopy-gen=package,register +groupName=jaegertracing.io

Index

Constants

View Source
const (
	// FlagPlatformKubernetes represents the value for the 'platform' flag for Kubernetes
	// +k8s:openapi-gen=true
	FlagPlatformKubernetes = "kubernetes"

	// FlagPlatformOpenShift represents the value for the 'platform' flag for OpenShift
	// +k8s:openapi-gen=true
	FlagPlatformOpenShift = "openshift"

	// FlagPlatformAutoDetect represents the "auto-detect" value for the platform flag
	// +k8s:openapi-gen=true
	FlagPlatformAutoDetect = "auto-detect"

	// FlagProvisionElasticsearchAuto represents the 'auto' value for the 'es-provision' flag
	// +k8s:openapi-gen=true
	FlagProvisionElasticsearchAuto = "auto"

	// FlagProvisionElasticsearchTrue represents the value 'true' for the 'es-provision' flag
	// +k8s:openapi-gen=true
	FlagProvisionElasticsearchTrue = "true"

	// FlagProvisionElasticsearchFalse represents the value 'false' for the 'es-provision' flag
	// +k8s:openapi-gen=true
	FlagProvisionElasticsearchFalse = "false"

	// IngressSecurityNone disables any form of security for ingress objects (default)
	// +k8s:openapi-gen=true
	IngressSecurityNone IngressSecurityType = ""

	// IngressSecurityNoneExplicit used when the user specifically set it to 'none'
	// +k8s:openapi-gen=true
	IngressSecurityNoneExplicit IngressSecurityType = "none"

	// IngressSecurityOAuthProxy represents an OAuth Proxy as security type
	// +k8s:openapi-gen=true
	IngressSecurityOAuthProxy IngressSecurityType = "oauth-proxy"
)

Variables

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

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

Functions

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 ElasticsearchSpec

type ElasticsearchSpec struct {
	Image            string                        `json:"image"`
	Resources        v1.ResourceRequirements       `json:"resources"`
	NodeCount        int32                         `json:"nodeCount"`
	NodeSelector     map[string]string             `json:"nodeSelector,omitempty"`
	Storage          esv1.ElasticsearchStorageSpec `json:"storage"`
	RedundancyPolicy esv1.RedundancyPolicyType     `json:"redundancyPolicy"`
}

ElasticsearchSpec represents the ES configuration options that we pass down to the Elasticsearch operator +k8s:openapi-gen=true

func (*ElasticsearchSpec) DeepCopy

func (in *ElasticsearchSpec) DeepCopy() *ElasticsearchSpec

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

func (*ElasticsearchSpec) DeepCopyInto

func (in *ElasticsearchSpec) DeepCopyInto(out *ElasticsearchSpec)

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

type FreeForm

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

FreeForm defines a common options parameter that maintains the hierarchical structure of the data, unlike Options which flattens the hierarchy into a key/value map where the hierarchy is converted to '.' separated items in the key. +k8s:openapi-gen=true

func NewFreeForm

func NewFreeForm(o map[string]interface{}) FreeForm

NewFreeForm build a new FreeForm object based on the given map

func (*FreeForm) DeepCopy

func (in *FreeForm) DeepCopy() *FreeForm

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

func (*FreeForm) DeepCopyInto

func (in *FreeForm) DeepCopyInto(out *FreeForm)

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

func (FreeForm) GetMap

func (o FreeForm) GetMap() (map[string]interface{}, error)

GetMap returns a map created from json

func (FreeForm) IsEmpty

func (o FreeForm) IsEmpty() bool

IsEmpty determines if the freeform options are empty

func (FreeForm) MarshalJSON

func (o FreeForm) MarshalJSON() ([]byte, error)

MarshalJSON specifies how to convert this object into JSON

func (*FreeForm) UnmarshalJSON

func (o *FreeForm) UnmarshalJSON(b []byte) error

UnmarshalJSON implements an alternative parser for this field

type IngressSecurityType

type IngressSecurityType string

IngressSecurityType represents the possible values for the security type +k8s:openapi-gen=true

type Jaeger

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

	Spec   JaegerSpec   `json:"spec,omitempty"`
	Status JaegerStatus `json:"status,omitempty"`
}

Jaeger is the Schema for the jaegers API +k8s:openapi-gen=true

func NewJaeger

func NewJaeger(name string) *Jaeger

NewJaeger returns a new Jaeger instance with the given name

func (*Jaeger) DeepCopy

func (in *Jaeger) DeepCopy() *Jaeger

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

func (*Jaeger) DeepCopyInto

func (in *Jaeger) DeepCopyInto(out *Jaeger)

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

func (*Jaeger) DeepCopyObject

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

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

func (*Jaeger) Logger

func (j *Jaeger) Logger() *log.Entry

Logger returns a logger filled with context-related fields, such as Name and Namespace

type JaegerAgentSpec

type JaegerAgentSpec struct {
	Strategy string  `json:"strategy"` // can be either 'DaemonSet' or 'Sidecar' (default)
	Image    string  `json:"image"`
	Options  Options `json:"options"`
	JaegerCommonSpec
}

JaegerAgentSpec defines the options to be used when deploying the agent +k8s:openapi-gen=true

func (*JaegerAgentSpec) DeepCopy

func (in *JaegerAgentSpec) DeepCopy() *JaegerAgentSpec

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

func (*JaegerAgentSpec) DeepCopyInto

func (in *JaegerAgentSpec) DeepCopyInto(out *JaegerAgentSpec)

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

type JaegerAllInOneSpec

type JaegerAllInOneSpec struct {
	Image   string  `json:"image"`
	Options Options `json:"options"`
	JaegerCommonSpec
}

JaegerAllInOneSpec defines the options to be used when deploying the query +k8s:openapi-gen=true

func (*JaegerAllInOneSpec) DeepCopy

func (in *JaegerAllInOneSpec) DeepCopy() *JaegerAllInOneSpec

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

func (*JaegerAllInOneSpec) DeepCopyInto

func (in *JaegerAllInOneSpec) DeepCopyInto(out *JaegerAllInOneSpec)

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

type JaegerCassandraCreateSchemaSpec

type JaegerCassandraCreateSchemaSpec struct {
	Enabled    *bool  `json:"enabled"`
	Image      string `json:"image"`
	Datacenter string `json:"datacenter"`
	Mode       string `json:"mode"`
}

JaegerCassandraCreateSchemaSpec holds the options related to the create-schema batch job +k8s:openapi-gen=true

func (*JaegerCassandraCreateSchemaSpec) DeepCopy

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

func (*JaegerCassandraCreateSchemaSpec) DeepCopyInto

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

type JaegerCollectorSpec

type JaegerCollectorSpec struct {
	// Size represents the number of replicas to create for this service. DEPRECATED, use `Replicas` instead.
	Size int `json:"size"`

	// Replicas represents the number of replicas to create for this service.
	Replicas *int32 `json:"replicas"`

	Image   string  `json:"image"`
	Options Options `json:"options"`
	JaegerCommonSpec
}

JaegerCollectorSpec defines the options to be used when deploying the collector +k8s:openapi-gen=true

func (*JaegerCollectorSpec) DeepCopy

func (in *JaegerCollectorSpec) DeepCopy() *JaegerCollectorSpec

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

func (*JaegerCollectorSpec) DeepCopyInto

func (in *JaegerCollectorSpec) DeepCopyInto(out *JaegerCollectorSpec)

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

type JaegerCommonSpec

type JaegerCommonSpec struct {
	Volumes      []v1.Volume             `json:"volumes"`
	VolumeMounts []v1.VolumeMount        `json:"volumeMounts"`
	Annotations  map[string]string       `json:"annotations,omitempty"`
	Resources    v1.ResourceRequirements `json:"resources,omitempty"`
	Affinity     *v1.Affinity            `json:"affinity,omitempty"`
	Tolerations  []v1.Toleration         `json:"tolerations,omitempty"`
}

JaegerCommonSpec defines the common elements used in multiple other spec structs +k8s:openapi-gen=true

func (*JaegerCommonSpec) DeepCopy

func (in *JaegerCommonSpec) DeepCopy() *JaegerCommonSpec

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

func (*JaegerCommonSpec) DeepCopyInto

func (in *JaegerCommonSpec) DeepCopyInto(out *JaegerCommonSpec)

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

type JaegerDependenciesSpec

type JaegerDependenciesSpec struct {
	Enabled                     *bool  `json:"enabled"`
	SparkMaster                 string `json:"sparkMaster"`
	Schedule                    string `json:"schedule"`
	Image                       string `json:"image"`
	JavaOpts                    string `json:"javaOpts"`
	CassandraClientAuthEnabled  bool   `json:"cassandraClientAuthEnabled"`
	ElasticsearchClientNodeOnly bool   `json:"elasticsearchClientNodeOnly"`
	ElasticsearchNodesWanOnly   bool   `json:"elasticsearchNodesWanOnly"`
}

JaegerDependenciesSpec defined options for running spark-dependencies. +k8s:openapi-gen=true

func (*JaegerDependenciesSpec) DeepCopy

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

func (*JaegerDependenciesSpec) DeepCopyInto

func (in *JaegerDependenciesSpec) DeepCopyInto(out *JaegerDependenciesSpec)

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

type JaegerEsIndexCleanerSpec

type JaegerEsIndexCleanerSpec struct {
	Enabled      *bool  `json:"enabled"`
	NumberOfDays int    `json:"numberOfDays"`
	Schedule     string `json:"schedule"`
	Image        string `json:"image"`
}

JaegerEsIndexCleanerSpec holds the options related to es-index-cleaner +k8s:openapi-gen=true

func (*JaegerEsIndexCleanerSpec) DeepCopy

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

func (*JaegerEsIndexCleanerSpec) DeepCopyInto

func (in *JaegerEsIndexCleanerSpec) DeepCopyInto(out *JaegerEsIndexCleanerSpec)

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

type JaegerEsRolloverSpec

type JaegerEsRolloverSpec struct {
	Image      string `json:"image"`
	Schedule   string `json:"schedule"`
	Conditions string `json:"conditions"`
	// we parse it with time.ParseDuration
	ReadTTL string `json:"readTTL"`
}

JaegerEsRolloverSpec holds the options related to es-rollover

func (*JaegerEsRolloverSpec) DeepCopy

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

func (*JaegerEsRolloverSpec) DeepCopyInto

func (in *JaegerEsRolloverSpec) DeepCopyInto(out *JaegerEsRolloverSpec)

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

type JaegerIngesterSpec

type JaegerIngesterSpec struct {
	// Size represents the number of replicas to create for this service. DEPRECATED, use `Replicas` instead.
	Size int `json:"size"`

	// Replicas represents the number of replicas to create for this service.
	Replicas *int32 `json:"replicas"`

	Image   string  `json:"image"`
	Options Options `json:"options"`
	JaegerCommonSpec
}

JaegerIngesterSpec defines the options to be used when deploying the ingester +k8s:openapi-gen=true

func (*JaegerIngesterSpec) DeepCopy

func (in *JaegerIngesterSpec) DeepCopy() *JaegerIngesterSpec

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

func (*JaegerIngesterSpec) DeepCopyInto

func (in *JaegerIngesterSpec) DeepCopyInto(out *JaegerIngesterSpec)

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

type JaegerIngressSpec

type JaegerIngressSpec struct {
	Enabled  *bool               `json:"enabled"`
	Security IngressSecurityType `json:"security"`
	JaegerCommonSpec
}

JaegerIngressSpec defines the options to be used when deploying the query ingress +k8s:openapi-gen=true

func (*JaegerIngressSpec) DeepCopy

func (in *JaegerIngressSpec) DeepCopy() *JaegerIngressSpec

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

func (*JaegerIngressSpec) DeepCopyInto

func (in *JaegerIngressSpec) DeepCopyInto(out *JaegerIngressSpec)

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

type JaegerList

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

JaegerList contains a list of Jaeger

func (*JaegerList) DeepCopy

func (in *JaegerList) DeepCopy() *JaegerList

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

func (*JaegerList) DeepCopyInto

func (in *JaegerList) DeepCopyInto(out *JaegerList)

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

func (*JaegerList) DeepCopyObject

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

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

type JaegerQuerySpec

type JaegerQuerySpec struct {
	// Size represents the number of replicas to create for this service. DEPRECATED, use `Replicas` instead.
	Size int `json:"size"`

	// Replicas represents the number of replicas to create for this service.
	Replicas *int32 `json:"replicas"`

	Image   string  `json:"image"`
	Options Options `json:"options"`
	JaegerCommonSpec
}

JaegerQuerySpec defines the options to be used when deploying the query +k8s:openapi-gen=true

func (*JaegerQuerySpec) DeepCopy

func (in *JaegerQuerySpec) DeepCopy() *JaegerQuerySpec

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

func (*JaegerQuerySpec) DeepCopyInto

func (in *JaegerQuerySpec) DeepCopyInto(out *JaegerQuerySpec)

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

type JaegerSamplingSpec

type JaegerSamplingSpec struct {
	Options FreeForm `json:"options"`
}

JaegerSamplingSpec defines the options to be used to configure the UI +k8s:openapi-gen=true

func (*JaegerSamplingSpec) DeepCopy

func (in *JaegerSamplingSpec) DeepCopy() *JaegerSamplingSpec

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

func (*JaegerSamplingSpec) DeepCopyInto

func (in *JaegerSamplingSpec) DeepCopyInto(out *JaegerSamplingSpec)

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

type JaegerSpec

type JaegerSpec struct {
	Strategy  string              `json:"strategy"`
	AllInOne  JaegerAllInOneSpec  `json:"allInOne"`
	Query     JaegerQuerySpec     `json:"query"`
	Collector JaegerCollectorSpec `json:"collector"`
	Ingester  JaegerIngesterSpec  `json:"ingester"`
	Agent     JaegerAgentSpec     `json:"agent"`
	UI        JaegerUISpec        `json:"ui"`
	Sampling  JaegerSamplingSpec  `json:"sampling"`
	Storage   JaegerStorageSpec   `json:"storage"`
	Ingress   JaegerIngressSpec   `json:"ingress"`
	JaegerCommonSpec
}

JaegerSpec defines the desired state of Jaeger +k8s:openapi-gen=true

func (*JaegerSpec) DeepCopy

func (in *JaegerSpec) DeepCopy() *JaegerSpec

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

func (*JaegerSpec) DeepCopyInto

func (in *JaegerSpec) DeepCopyInto(out *JaegerSpec)

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

type JaegerStatus

type JaegerStatus struct {
}

JaegerStatus defines the observed state of Jaeger +k8s:openapi-gen=true

func (*JaegerStatus) DeepCopy

func (in *JaegerStatus) DeepCopy() *JaegerStatus

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

func (*JaegerStatus) DeepCopyInto

func (in *JaegerStatus) DeepCopyInto(out *JaegerStatus)

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

type JaegerStorageSpec

type JaegerStorageSpec struct {
	Type                  string                          `json:"type"` // can be `memory` (default), `cassandra`, `elasticsearch`, `kafka` or `managed`
	SecretName            string                          `json:"secretName"`
	Options               Options                         `json:"options"`
	CassandraCreateSchema JaegerCassandraCreateSchemaSpec `json:"cassandraCreateSchema"`
	SparkDependencies     JaegerDependenciesSpec          `json:"dependencies"`
	EsIndexCleaner        JaegerEsIndexCleanerSpec        `json:"esIndexCleaner"`
	Rollover              JaegerEsRolloverSpec            `json:"esRollover"`
	Elasticsearch         ElasticsearchSpec               `json:"elasticsearch"`
}

JaegerStorageSpec defines the common storage options to be used for the query and collector +k8s:openapi-gen=true

func (*JaegerStorageSpec) DeepCopy

func (in *JaegerStorageSpec) DeepCopy() *JaegerStorageSpec

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

func (*JaegerStorageSpec) DeepCopyInto

func (in *JaegerStorageSpec) DeepCopyInto(out *JaegerStorageSpec)

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

type JaegerUISpec

type JaegerUISpec struct {
	Options FreeForm `json:"options"`
}

JaegerUISpec defines the options to be used to configure the UI +k8s:openapi-gen=true

func (*JaegerUISpec) DeepCopy

func (in *JaegerUISpec) DeepCopy() *JaegerUISpec

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

func (*JaegerUISpec) DeepCopyInto

func (in *JaegerUISpec) DeepCopyInto(out *JaegerUISpec)

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

type Options

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

Options defines a common options parameter to the different structs

func NewOptions

func NewOptions(o map[string]interface{}) Options

NewOptions build a new Options object based on the given map

func (*Options) DeepCopy

func (in *Options) DeepCopy() *Options

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

func (*Options) DeepCopyInto

func (in *Options) DeepCopyInto(out *Options)

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

func (*Options) Filter

func (o *Options) Filter(prefix string) Options

Filter creates a new Options object with just the elements identified by the supplied prefix

func (*Options) Map

func (o *Options) Map() map[string]string

Map returns a map representing the option entries. Items are flattened, with dots as separators. For instance an option "cassandra" with a nested "servers" object becomes an entry with the key "cassandra.servers"

func (Options) MarshalJSON

func (o Options) MarshalJSON() ([]byte, error)

MarshalJSON specifies how to convert this object into JSON

func (*Options) ToArgs

func (o *Options) ToArgs() []string

ToArgs converts the options to a value suitable for the Container.Args field

func (*Options) UnmarshalJSON

func (o *Options) UnmarshalJSON(b []byte) error

UnmarshalJSON implements an alternative parser for this field

Jump to

Keyboard shortcuts

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