v1alpha1

package
v0.0.13 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group. +kubebuilder:object:generate=true +groupName=operator.dapr.io

Index

Constants

This section is empty.

Variables

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

	// SchemeGroupVersion is an hack for client gen.
	SchemeGroupVersion = GroupVersion

	// 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
)
View Source
var ErrUnmarshalOnNil = errors.New("UnmarshalJSON on nil pointer")

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type ChartMeta

type ChartMeta struct {
	Repo    string `json:"repo,omitempty"`
	Name    string `json:"name,omitempty"`
	Version string `json:"version,omitempty"`
}

func (*ChartMeta) DeepCopy

func (in *ChartMeta) DeepCopy() *ChartMeta

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

func (*ChartMeta) DeepCopyInto

func (in *ChartMeta) DeepCopyInto(out *ChartMeta)

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

type ChartSpec

type ChartSpec struct {
	// +kubebuilder:default:="https://dapr.github.io/helm-charts"
	Repo string `json:"repo,omitempty"`

	// +kubebuilder:default:="dapr"
	Name string `json:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Version string `json:"version,omitempty"`

	// +kubebuilder:validation:Optional
	Secret string `json:"secret,omitempty"`
}

func (*ChartSpec) DeepCopy

func (in *ChartSpec) DeepCopy() *ChartSpec

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

func (*ChartSpec) DeepCopyInto

func (in *ChartSpec) DeepCopyInto(out *ChartSpec)

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

type DaprControlPlane

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

	Spec   DaprControlPlaneSpec   `json:"spec,omitempty"`
	Status DaprControlPlaneStatus `json:"status,omitempty"`
}

func (*DaprControlPlane) DeepCopy

func (in *DaprControlPlane) DeepCopy() *DaprControlPlane

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

func (*DaprControlPlane) DeepCopyInto

func (in *DaprControlPlane) DeepCopyInto(out *DaprControlPlane)

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

func (*DaprControlPlane) DeepCopyObject

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

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

func (*DaprControlPlane) GetConditions

func (in *DaprControlPlane) GetConditions() conditions.Conditions

func (*DaprControlPlane) GetStatus

func (in *DaprControlPlane) GetStatus() *Status

type DaprControlPlaneList

type DaprControlPlaneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []DaprControlPlane `json:"items"`
}

func (*DaprControlPlaneList) DeepCopy

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

func (*DaprControlPlaneList) DeepCopyInto

func (in *DaprControlPlaneList) DeepCopyInto(out *DaprControlPlaneList)

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

func (*DaprControlPlaneList) DeepCopyObject

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

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

type DaprControlPlaneSpec

type DaprControlPlaneSpec struct {
	// +kubebuilder:validation:Optional
	Values *JSON `json:"values"`
}

func (*DaprControlPlaneSpec) DeepCopy

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

func (*DaprControlPlaneSpec) DeepCopyInto

func (in *DaprControlPlaneSpec) DeepCopyInto(out *DaprControlPlaneSpec)

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

type DaprControlPlaneStatus

type DaprControlPlaneStatus struct {
	Status `json:",inline"`

	Chart *ChartMeta `json:"chart,omitempty"`
}

func (*DaprControlPlaneStatus) DeepCopy

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

func (*DaprControlPlaneStatus) DeepCopyInto

func (in *DaprControlPlaneStatus) DeepCopyInto(out *DaprControlPlaneStatus)

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

type DaprCruiseControl

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

	Spec   DaprCruiseControlSpec   `json:"spec,omitempty"`
	Status DaprCruiseControlStatus `json:"status,omitempty"`
}

DaprCruiseControl is the Schema for the daprcruisecontrols API.

func (*DaprCruiseControl) DeepCopy

func (in *DaprCruiseControl) DeepCopy() *DaprCruiseControl

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

func (*DaprCruiseControl) DeepCopyInto

func (in *DaprCruiseControl) DeepCopyInto(out *DaprCruiseControl)

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

func (*DaprCruiseControl) DeepCopyObject

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

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

func (*DaprCruiseControl) GetConditions

func (in *DaprCruiseControl) GetConditions() conditions.Conditions

func (*DaprCruiseControl) GetStatus

func (in *DaprCruiseControl) GetStatus() *Status

type DaprCruiseControlList

type DaprCruiseControlList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []DaprCruiseControl `json:"items"`
}

DaprCruiseControlList contains a list of DaprCruiseControl.

func (*DaprCruiseControlList) DeepCopy

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

func (*DaprCruiseControlList) DeepCopyInto

func (in *DaprCruiseControlList) DeepCopyInto(out *DaprCruiseControlList)

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

func (*DaprCruiseControlList) DeepCopyObject

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

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

type DaprCruiseControlSpec

type DaprCruiseControlSpec struct {
}

DaprCruiseControlSpec defines the desired state of DaprCruiseControl.

func (*DaprCruiseControlSpec) DeepCopy

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

func (*DaprCruiseControlSpec) DeepCopyInto

func (in *DaprCruiseControlSpec) DeepCopyInto(out *DaprCruiseControlSpec)

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

type DaprCruiseControlStatus

type DaprCruiseControlStatus struct {
	Status `json:",inline"`

	Chart *ChartMeta `json:"chart,omitempty"`
}

DaprCruiseControlStatus defines the observed state of DaprCruiseControl.

func (*DaprCruiseControlStatus) DeepCopy

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

func (*DaprCruiseControlStatus) DeepCopyInto

func (in *DaprCruiseControlStatus) DeepCopyInto(out *DaprCruiseControlStatus)

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

type DaprInstance

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

	Spec   DaprInstanceSpec   `json:"spec,omitempty"`
	Status DaprInstanceStatus `json:"status,omitempty"`
}

DaprInstance is the Schema for the daprinstances API.

func (*DaprInstance) DeepCopy

func (in *DaprInstance) DeepCopy() *DaprInstance

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

func (*DaprInstance) DeepCopyInto

func (in *DaprInstance) DeepCopyInto(out *DaprInstance)

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

func (*DaprInstance) DeepCopyObject

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

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

func (*DaprInstance) GetConditions

func (in *DaprInstance) GetConditions() conditions.Conditions

func (*DaprInstance) GetStatus

func (in *DaprInstance) GetStatus() *Status

type DaprInstanceList

type DaprInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []DaprInstance `json:"items"`
}

DaprInstanceList contains a list of DaprInstance.

func (*DaprInstanceList) DeepCopy

func (in *DaprInstanceList) DeepCopy() *DaprInstanceList

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

func (*DaprInstanceList) DeepCopyInto

func (in *DaprInstanceList) DeepCopyInto(out *DaprInstanceList)

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

func (*DaprInstanceList) DeepCopyObject

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

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

type DaprInstanceSpec

type DaprInstanceSpec struct {
	// +kubebuilder:validation:Optional
	Chart *ChartSpec `json:"chart,omitempty"`

	// +kubebuilder:validation:Optional
	Values *JSON `json:"values"`
}

DaprInstanceSpec defines the desired state of DaprInstance.

func (*DaprInstanceSpec) DeepCopy

func (in *DaprInstanceSpec) DeepCopy() *DaprInstanceSpec

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

func (*DaprInstanceSpec) DeepCopyInto

func (in *DaprInstanceSpec) DeepCopyInto(out *DaprInstanceSpec)

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

type DaprInstanceStatus

type DaprInstanceStatus struct {
	Status `json:",inline"`

	Chart *ChartMeta `json:"chart,omitempty"`
}

DaprInstanceStatus defines the observed state of DaprInstance.

func (*DaprInstanceStatus) DeepCopy

func (in *DaprInstanceStatus) DeepCopy() *DaprInstanceStatus

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

func (*DaprInstanceStatus) DeepCopyInto

func (in *DaprInstanceStatus) DeepCopyInto(out *DaprInstanceStatus)

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

type JSON

type JSON struct {
	RawMessage `json:",inline"`
}

JSON represents any valid JSON value. +kubebuilder:validation:Type="" These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.

func (*JSON) DeepCopy

func (in *JSON) DeepCopy() *JSON

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

func (*JSON) DeepCopyInto

func (in *JSON) DeepCopyInto(out *JSON)

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

type RawMessage

type RawMessage []byte

RawMessage is a raw encoded JSON value. It implements Marshaler and Unmarshaler and can be used to delay JSON decoding or precompute a JSON encoding. +kubebuilder:validation:Type="" +kubebuilder:validation:Format="" +kubebuilder:pruning:PreserveUnknownFields

func (RawMessage) DeepCopy

func (in RawMessage) DeepCopy() RawMessage

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

func (RawMessage) DeepCopyInto

func (in RawMessage) DeepCopyInto(out *RawMessage)

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

func (RawMessage) MarshalJSON

func (m RawMessage) MarshalJSON() ([]byte, error)

MarshalJSON returns m as the JSON encoding of m.

func (*RawMessage) String

func (m *RawMessage) String() string

String returns a string representation of RawMessage.

func (*RawMessage) UnmarshalJSON

func (m *RawMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON sets *m to a copy of data.

type Status

type Status struct {
	Phase              string             `json:"phase"`
	Conditions         []metav1.Condition `json:"conditions,omitempty"`
	ObservedGeneration int64              `json:"observedGeneration,omitempty"`
}

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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