v1alpha1

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains contains the first version of this operator +k8s:deepcopy-gen=package +groupName=io.jaegertracing

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder for the operator, with our known types
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme for the operator, based on the scheme builder
	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 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.

type JaegerAgentSpec

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

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

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 JaegerCollectorSpec

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

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

type JaegerIngressSpec struct {
	Enabled *bool `json:"enabled"`
}

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 {
	Ingress JaegerIngressSpec `json:"ingress"`
	Size    int               `json:"size"`
	Image   string            `json:"image"`
	Options Options           `json:"options"`
}

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 JaegerSpec

type JaegerSpec struct {
	Strategy  string              `json:"strategy"`
	AllInOne  JaegerAllInOneSpec  `json:"all-in-one"`
	Query     JaegerQuerySpec     `json:"query"`
	Collector JaegerCollectorSpec `json:"collector"`
	Agent     JaegerAgentSpec     `json:"agent"`
	Storage   JaegerStorageSpec   `json:"storage"`
}

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`
	Options Options `json:"options"`
}

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 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) 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