v1alpha1

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Overview

Copyright 2023.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Package v1alpha1 contains API Schema definitions for the tools 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
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type ChartMeta added in v0.0.6

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

func (*ChartMeta) DeepCopy added in v0.0.6

func (in *ChartMeta) DeepCopy() *ChartMeta

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

func (*ChartMeta) DeepCopyInto added in v0.0.6

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 added in v0.0.6

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 added in v0.0.6

func (in *ChartSpec) DeepCopy() *ChartSpec

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

func (*ChartSpec) DeepCopyInto added in v0.0.6

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.

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 {
	Phase              string             `json:"phase"`
	Conditions         []metav1.Condition `json:"conditions,omitempty"`
	ObservedGeneration int64              `json:"observedGeneration,omitempty"`
	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 added in v0.0.6

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 added in v0.0.6

func (in *DaprCruiseControl) DeepCopy() *DaprCruiseControl

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

func (*DaprCruiseControl) DeepCopyInto added in v0.0.6

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 added in v0.0.6

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

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

type DaprCruiseControlList added in v0.0.6

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 added in v0.0.6

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

func (*DaprCruiseControlList) DeepCopyInto added in v0.0.6

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 added in v0.0.6

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

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

type DaprCruiseControlSpec added in v0.0.6

type DaprCruiseControlSpec struct {
}

DaprCruiseControlSpec defines the desired state of DaprCruiseControl.

func (*DaprCruiseControlSpec) DeepCopy added in v0.0.6

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

func (*DaprCruiseControlSpec) DeepCopyInto added in v0.0.6

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 added in v0.0.6

type DaprCruiseControlStatus struct {
	Phase              string             `json:"phase"`
	Conditions         []metav1.Condition `json:"conditions,omitempty"`
	ObservedGeneration int64              `json:"observedGeneration,omitempty"`
	Chart              *ChartMeta         `json:"chart,omitempty"`
}

DaprCruiseControlStatus defines the observed state of DaprCruiseControl.

func (*DaprCruiseControlStatus) DeepCopy added in v0.0.6

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

func (*DaprCruiseControlStatus) DeepCopyInto added in v0.0.6

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 added in v0.0.6

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 added in v0.0.6

func (in *DaprInstance) DeepCopy() *DaprInstance

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

func (*DaprInstance) DeepCopyInto added in v0.0.6

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 added in v0.0.6

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

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

type DaprInstanceList added in v0.0.6

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 added in v0.0.6

func (in *DaprInstanceList) DeepCopy() *DaprInstanceList

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

func (*DaprInstanceList) DeepCopyInto added in v0.0.6

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 added in v0.0.6

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

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

type DaprInstanceSpec added in v0.0.6

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 added in v0.0.6

func (in *DaprInstanceSpec) DeepCopy() *DaprInstanceSpec

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

func (*DaprInstanceSpec) DeepCopyInto added in v0.0.6

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 added in v0.0.6

type DaprInstanceStatus struct {
	Phase              string             `json:"phase"`
	Conditions         []metav1.Condition `json:"conditions,omitempty"`
	ObservedGeneration int64              `json:"observedGeneration,omitempty"`
	Chart              *ChartMeta         `json:"chart,omitempty"`
}

DaprInstanceStatus defines the observed state of DaprInstance.

func (*DaprInstanceStatus) DeepCopy added in v0.0.6

func (in *DaprInstanceStatus) DeepCopy() *DaprInstanceStatus

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

func (*DaprInstanceStatus) DeepCopyInto added in v0.0.6

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

+kubebuilder:validation:Type="" JSON represents any valid JSON value. 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL