v1

package
v0.0.0-...-13465bf Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the tailing-sidecar v1 API group +kubebuilder:object:generate=true +groupName=tailing-sidecar.sumologic.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "tailing-sidecar.sumologic.com", Version: "v1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type SidecarSpec

type SidecarSpec struct {
	// Annotations defines tailing sidecar container annotations.
	Annotations map[string]string `json:"annotations,omitempty"`

	// Path defines path to a file containing logs to tail within a tailing sidecar container.
	Path string `json:"path,omitempty"`

	// VolumeMount describes a mounting of a volume within a tailing sidecar container.
	VolumeMount corev1.VolumeMount `json:"volumeMount,omitempty"`

	// Resources describes the compute resource requirements.
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
}

func (*SidecarSpec) DeepCopy

func (in *SidecarSpec) DeepCopy() *SidecarSpec

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

func (*SidecarSpec) DeepCopyInto

func (in *SidecarSpec) DeepCopyInto(out *SidecarSpec)

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

type TailingSidecarConfig

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

	Spec   TailingSidecarConfigSpec   `json:"spec,omitempty"`
	Status TailingSidecarConfigStatus `json:"status,omitempty"`
}

TailingSidecarConfig is the Schema for the tailingsidecars API

func (*TailingSidecarConfig) DeepCopy

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

func (*TailingSidecarConfig) DeepCopyInto

func (in *TailingSidecarConfig) DeepCopyInto(out *TailingSidecarConfig)

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

func (*TailingSidecarConfig) DeepCopyObject

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

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

type TailingSidecarConfigList

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

TailingSidecarConfigList contains a list of TailingSidecarConfig

func (*TailingSidecarConfigList) DeepCopy

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

func (*TailingSidecarConfigList) DeepCopyInto

func (in *TailingSidecarConfigList) DeepCopyInto(out *TailingSidecarConfigList)

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

func (*TailingSidecarConfigList) DeepCopyObject

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

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

type TailingSidecarConfigSpec

type TailingSidecarConfigSpec struct {

	// AnnotationsPrefix defines prefix for per container annotations.
	AnnotationsPrefix string `json:"annotationsPrefix,omitempty"`

	// SidecarSpecs defines specifications for tailing sidecar containers,
	// map key indicates name of tailing sidecar container
	SidecarSpecs map[string]SidecarSpec `json:"configs,omitempty"`

	// PodSelector selects Pods to which this tailing sidecar configuration applies.
	PodSelector *metav1.LabelSelector `json:"podSelector,omitempty"`
}

TailingSidecarConfigSpec defines the desired state of TailingSidecarConfig

func (*TailingSidecarConfigSpec) DeepCopy

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

func (*TailingSidecarConfigSpec) DeepCopyInto

func (in *TailingSidecarConfigSpec) DeepCopyInto(out *TailingSidecarConfigSpec)

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

type TailingSidecarConfigStatus

type TailingSidecarConfigStatus struct {
}

TailingSidecarConfigStatus defines the observed state of TailingSidecarConfig

func (*TailingSidecarConfigStatus) DeepCopy

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

func (*TailingSidecarConfigStatus) DeepCopyInto

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
JackTT - Gopher 🇻🇳