v1alpha1

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

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

Index

Constants

View Source
const (
	// FlagPlatformKubernetes represents the value for the 'platform' flag for Kubernetes
	FlagPlatformKubernetes = "kubernetes"

	// FlagPlatformOpenShift represents the value for the 'platform' flag for OpenShift
	FlagPlatformOpenShift = "openshift"

	// FlagPlatformAutoDetect represents the "auto-detect" value for the platform flag
	FlagPlatformAutoDetect = "auto-detect"

	// FlagProvisionElasticsearchAuto represents the 'auto' value for the 'es-provision' flag
	FlagProvisionElasticsearchAuto = "auto"

	// FlagProvisionElasticsearchTrue represents the value 'true' for the 'es-provision' flag
	FlagProvisionElasticsearchTrue = "true"

	// FlagProvisionElasticsearchFalse represents the value 'false' for the 'es-provision' flag
	FlagProvisionElasticsearchFalse = "false"

	// IngressSecurityNone disables any form of security for ingress objects (default)
	IngressSecurityNone IngressSecurityType = ""

	// IngressSecurityNoneExplicit used when the user specifically set it to 'none'
	IngressSecurityNoneExplicit IngressSecurityType = "none"

	// IngressSecurityOAuthProxy represents an OAuth Proxy as security type
	IngressSecurityOAuthProxy IngressSecurityType = "oauth-proxy"
)

Variables

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

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

Functions

This section is empty.

Types

type ElasticsearchSpec added in v1.10.0

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

func (*ElasticsearchSpec) DeepCopy added in v1.10.0

func (in *ElasticsearchSpec) DeepCopy() *ElasticsearchSpec

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

func (*ElasticsearchSpec) DeepCopyInto added in v1.10.0

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 added in v1.8.1

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.

func NewFreeForm added in v1.8.1

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

NewFreeForm build a new FreeForm object based on the given map

func (*FreeForm) DeepCopy added in v1.8.1

func (in *FreeForm) DeepCopy() *FreeForm

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

func (*FreeForm) DeepCopyInto added in v1.8.1

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) IsEmpty added in v1.8.1

func (o FreeForm) IsEmpty() bool

IsEmpty determines if the freeform options are empty

func (FreeForm) MarshalJSON added in v1.8.1

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

MarshalJSON specifies how to convert this object into JSON

func (*FreeForm) UnmarshalJSON added in v1.8.1

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

UnmarshalJSON implements an alternative parser for this field

type IngressSecurityType added in v1.8.0

type IngressSecurityType string

IngressSecurityType represents the possible values for the security type

type Jaeger

type Jaeger struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              JaegerSpec   `json:"spec"`
	Status            JaegerStatus `json:"status,omitempty"`
}

Jaeger defines the main structure for the custom-resource

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 added in v1.10.0

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

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

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 added in v1.8.0

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

func (*JaegerCassandraCreateSchemaSpec) DeepCopy added in v1.8.0

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

func (*JaegerCassandraCreateSchemaSpec) DeepCopyInto added in v1.8.0

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

type JaegerCollectorSpec

type JaegerCollectorSpec struct {
	Size    int     `json:"size"`
	Image   string  `json:"image"`
	Options Options `json:"options"`
	JaegerCommonSpec
}

JaegerCollectorSpec defines the options to be used when deploying the collector

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 added in v1.8.0

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"`
}

JaegerCommonSpec defines the common elements used in multiple other spec structs

func (*JaegerCommonSpec) DeepCopy added in v1.8.0

func (in *JaegerCommonSpec) DeepCopy() *JaegerCommonSpec

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

func (*JaegerCommonSpec) DeepCopyInto added in v1.8.0

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 added in v1.9.0

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

JaegerDependenciesSpec defined options for running spark-dependencies.

func (*JaegerDependenciesSpec) DeepCopy added in v1.9.0

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

func (*JaegerDependenciesSpec) DeepCopyInto added in v1.9.0

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 added in v1.9.0

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

func (*JaegerEsIndexCleanerSpec) DeepCopy added in v1.9.0

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

func (*JaegerEsIndexCleanerSpec) DeepCopyInto added in v1.9.0

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

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

type JaegerIngesterSpec added in v1.9.1

type JaegerIngesterSpec struct {
	Size    int     `json:"size"`
	Image   string  `json:"image"`
	Options Options `json:"options"`
	JaegerCommonSpec
}

JaegerIngesterSpec defines the options to be used when deploying the ingester

func (*JaegerIngesterSpec) DeepCopy added in v1.9.1

func (in *JaegerIngesterSpec) DeepCopy() *JaegerIngesterSpec

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

func (*JaegerIngesterSpec) DeepCopyInto added in v1.9.1

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 added in v1.6.2

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

JaegerIngressSpec defines the options to be used when deploying the query ingress

func (*JaegerIngressSpec) DeepCopy added in v1.6.2

func (in *JaegerIngressSpec) DeepCopy() *JaegerIngressSpec

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

func (*JaegerIngressSpec) DeepCopyInto added in v1.6.2

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"`
	Items           []Jaeger `json:"items"`
}

JaegerList is a list of Jaeger structs

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    int     `json:"size"`
	Image   string  `json:"image"`
	Options Options `json:"options"`
	JaegerCommonSpec
}

JaegerQuerySpec defines the options to be used when deploying the query

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 added in v1.8.2

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

JaegerSamplingSpec defines the options to be used to configure the UI

func (*JaegerSamplingSpec) DeepCopy added in v1.8.2

func (in *JaegerSamplingSpec) DeepCopy() *JaegerSamplingSpec

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

func (*JaegerSamplingSpec) DeepCopyInto added in v1.8.2

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 structure of the Jaeger JSON object from the CR

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 what is to be returned from a status query

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"`
	Elasticsearch         ElasticsearchSpec               `json:"elasticsearch"`
}

JaegerStorageSpec defines the common storage options to be used for the query and collector

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 added in v1.8.1

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

JaegerUISpec defines the options to be used to configure the UI

func (*JaegerUISpec) DeepCopy added in v1.8.1

func (in *JaegerUISpec) DeepCopy() *JaegerUISpec

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

func (*JaegerUISpec) DeepCopyInto added in v1.8.1

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 added in v1.8.0

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 added in v1.8.0

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