v1alpha2

package
v0.0.0-...-9421b25 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the core v1alpha2 API group +kubebuilder:object:generate=true +groupName=core.oam.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.oam.dev", Version: "v1alpha2"}

	// 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 SidecarTrait

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

	Spec   SidecarTraitSpec   `json:"spec,omitempty"`
	Status SidecarTraitStatus `json:"status,omitempty"`
}

SidecarTrait is the Schema for the sidecartraits API

func (*SidecarTrait) DeepCopy

func (in *SidecarTrait) DeepCopy() *SidecarTrait

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

func (*SidecarTrait) DeepCopyInto

func (in *SidecarTrait) DeepCopyInto(out *SidecarTrait)

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

func (*SidecarTrait) DeepCopyObject

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

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

func (*SidecarTrait) GetCondition

GetCondition of this SidecarTrait.

func (*SidecarTrait) GetWorkloadReference

func (st *SidecarTrait) GetWorkloadReference() runtimev1alpha1.TypedReference

GetWorkloadReference of this SidecarTrait.

func (*SidecarTrait) SetConditions

func (st *SidecarTrait) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this SidecarTrait.

func (*SidecarTrait) SetWorkloadReference

func (st *SidecarTrait) SetWorkloadReference(r runtimev1alpha1.TypedReference)

SetWorkloadReference of this SidecarTrait.

type SidecarTraitList

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

SidecarTraitList contains a list of SidecarTrait

func (*SidecarTraitList) DeepCopy

func (in *SidecarTraitList) DeepCopy() *SidecarTraitList

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

func (*SidecarTraitList) DeepCopyInto

func (in *SidecarTraitList) DeepCopyInto(out *SidecarTraitList)

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

func (*SidecarTraitList) DeepCopyObject

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

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

type SidecarTraitSpec

type SidecarTraitSpec struct {

	// Containers is the list of sidecar containers to be injected into the resource
	Container corev1.Container `json:"container,omitempty"`

	// List of volumes that can be mounted by sidecar containers
	Volumes []corev1.Volume `json:"volumes,omitempty"`

	// WorkloadReference to the workload this trait applies to.
	WorkloadReference runtimev1alpha1.TypedReference `json:"workloadRef,omitempty"`
}

SidecarTraitSpec defines the desired state of SidecarTrait

func (*SidecarTraitSpec) DeepCopy

func (in *SidecarTraitSpec) DeepCopy() *SidecarTraitSpec

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

func (*SidecarTraitSpec) DeepCopyInto

func (in *SidecarTraitSpec) DeepCopyInto(out *SidecarTraitSpec)

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

type SidecarTraitStatus

type SidecarTraitStatus struct {
	runtimev1alpha1.ConditionedStatus `json:",inline"`
}

SidecarTraitStatus defines the observed state of SidecarTrait

func (*SidecarTraitStatus) DeepCopy

func (in *SidecarTraitStatus) DeepCopy() *SidecarTraitStatus

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

func (*SidecarTraitStatus) DeepCopyInto

func (in *SidecarTraitStatus) DeepCopyInto(out *SidecarTraitStatus)

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