Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha3

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha3 contains API Schema definitions for the v1alpha3 API group +kubebuilder:object:generate=true +groupName=radapp.io

Index

Constants

View Source
const (
	// OperationKindPut is a PUT (create or update) operation.
	OperationKindPut = http.MethodPut

	// OperationKindDelete is a DELETE operation.
	OperationKindDelete = http.MethodDelete
)

Variables

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = runtime.NewSchemeBuilder(func(s *runtime.Scheme) error {
		metav1.AddToGroupVersion(s, GroupVersion)
		return nil
	})

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

Functions

This section is empty.

Types

type DeploymentResource added in v0.43.0

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

	Spec   DeploymentResourceSpec   `json:"spec,omitempty"`
	Status DeploymentResourceStatus `json:"status,omitempty"`
}

DeploymentResource is the Schema for the DeploymentResources API

func (*DeploymentResource) DeepCopy added in v0.43.0

func (in *DeploymentResource) DeepCopy() *DeploymentResource

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

func (*DeploymentResource) DeepCopyInto added in v0.43.0

func (in *DeploymentResource) DeepCopyInto(out *DeploymentResource)

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

func (*DeploymentResource) DeepCopyObject added in v0.43.0

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

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

type DeploymentResourceList added in v0.43.0

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

DeploymentResourceList contains a list of DeploymentResource

func (*DeploymentResourceList) DeepCopy added in v0.43.0

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

func (*DeploymentResourceList) DeepCopyInto added in v0.43.0

func (in *DeploymentResourceList) DeepCopyInto(out *DeploymentResourceList)

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

func (*DeploymentResourceList) DeepCopyObject added in v0.43.0

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

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

type DeploymentResourcePhrase added in v0.43.0

type DeploymentResourcePhrase string

DeploymentResourcePhrase is a string representation of the current status of a Deployment Resource.

const (
	// DeploymentResourcePhraseReady indicates that the Deployment Resource is ready.
	DeploymentResourcePhraseReady DeploymentResourcePhrase = "Ready"

	// DeploymentResourcePhraseFailed indicates that the Deployment Resource has failed.
	DeploymentResourcePhraseFailed DeploymentResourcePhrase = "Failed"

	// DeploymentResourcePhraseDeleting indicates that the Deployment Resource is being deleted.
	DeploymentResourcePhraseDeleting DeploymentResourcePhrase = "Deleting"

	// DeploymentResourcePhraseDeleted indicates that the Deployment Resource has been deleted.
	DeploymentResourcePhraseDeleted DeploymentResourcePhrase = "Deleted"
)

type DeploymentResourceSpec added in v0.43.0

type DeploymentResourceSpec struct {
	// Id is the resource id of the Radius resource.
	Id string `json:"id,omitempty"`
}

DeploymentResourceSpec defines the desired state of a DeploymentResource resource.

func (*DeploymentResourceSpec) DeepCopy added in v0.43.0

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

func (*DeploymentResourceSpec) DeepCopyInto added in v0.43.0

func (in *DeploymentResourceSpec) DeepCopyInto(out *DeploymentResourceSpec)

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

type DeploymentResourceStatus added in v0.43.0

type DeploymentResourceStatus struct {
	// Id is the resource id of the Radius resource.
	Id string `json:"id,omitempty"`

	// ObservedGeneration is the most recent generation observed for this DeploymentResource.
	// +kubebuilder:validation:Format=""
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

	// Operation tracks the status of an in-progress provisioning operation.
	Operation *ResourceOperation `json:"operation,omitempty"`

	// Phrase indicates the current status of the Deployment Resource.
	Phrase DeploymentResourcePhrase `json:"phrase,omitempty"`
}

DeploymentResourceStatus defines the observed state of a DeploymentResource resource.

func (*DeploymentResourceStatus) DeepCopy added in v0.43.0

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

func (*DeploymentResourceStatus) DeepCopyInto added in v0.43.0

func (in *DeploymentResourceStatus) DeepCopyInto(out *DeploymentResourceStatus)

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

type DeploymentTemplate added in v0.43.0

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

	Spec   DeploymentTemplateSpec   `json:"spec,omitempty"`
	Status DeploymentTemplateStatus `json:"status,omitempty"`
}

DeploymentTemplate is the Schema for the deploymenttemplates API

func (*DeploymentTemplate) DeepCopy added in v0.43.0

func (in *DeploymentTemplate) DeepCopy() *DeploymentTemplate

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

func (*DeploymentTemplate) DeepCopyInto added in v0.43.0

func (in *DeploymentTemplate) DeepCopyInto(out *DeploymentTemplate)

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

func (*DeploymentTemplate) DeepCopyObject added in v0.43.0

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

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

type DeploymentTemplateList added in v0.43.0

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

DeploymentTemplateList contains a list of DeploymentTemplate

func (*DeploymentTemplateList) DeepCopy added in v0.43.0

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

func (*DeploymentTemplateList) DeepCopyInto added in v0.43.0

func (in *DeploymentTemplateList) DeepCopyInto(out *DeploymentTemplateList)

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

func (*DeploymentTemplateList) DeepCopyObject added in v0.43.0

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

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

type DeploymentTemplatePhrase added in v0.43.0

type DeploymentTemplatePhrase string

DeploymentTemplatePhrase is a string representation of the current status of a Deployment Template.

const (
	// DeploymentTemplatePhraseUpdating indicates that the Deployment Template is being updated.
	DeploymentTemplatePhraseUpdating DeploymentTemplatePhrase = "Updating"

	// DeploymentTemplatePhraseReady indicates that the Deployment Template is ready.
	DeploymentTemplatePhraseReady DeploymentTemplatePhrase = "Ready"

	// DeploymentTemplatePhraseReadyPendingCleanup indicates that the latest deployment
	// succeeded but residual DeploymentResources removed from the previous generation
	// are still draining. The reconciler transitions to Ready once they are gone.
	DeploymentTemplatePhraseReadyPendingCleanup DeploymentTemplatePhrase = "ReadyPendingCleanup"

	// DeploymentTemplatePhraseFailed indicates that the Deployment Template has failed.
	DeploymentTemplatePhraseFailed DeploymentTemplatePhrase = "Failed"

	// DeploymentTemplatePhraseDeleting indicates that the Deployment Template is being deleted.
	DeploymentTemplatePhraseDeleting DeploymentTemplatePhrase = "Deleting"

	// DeploymentTemplatePhraseDeleted indicates that the Deployment Template has been deleted.
	DeploymentTemplatePhraseDeleted DeploymentTemplatePhrase = "Deleted"
)

type DeploymentTemplateSpec added in v0.43.0

type DeploymentTemplateSpec struct {
	// Template is the ARM JSON manifest that defines the resources to deploy.
	Template string `json:"template,omitempty"`

	// Parameters is the ARM JSON parameters for the template.
	Parameters map[string]string `json:"parameters,omitempty"`

	// ProviderConfig specifies the scopes for resources.
	ProviderConfig string `json:"providerConfig,omitempty"`

	// Repository is the git repository that the Bicep manifests are stored in.
	Repository string `json:"repository,omitempty"`
}

DeploymentTemplateSpec defines the desired state of a DeploymentTemplate resource.

func (*DeploymentTemplateSpec) DeepCopy added in v0.43.0

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

func (*DeploymentTemplateSpec) DeepCopyInto added in v0.43.0

func (in *DeploymentTemplateSpec) DeepCopyInto(out *DeploymentTemplateSpec)

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

type DeploymentTemplateStatus added in v0.43.0

type DeploymentTemplateStatus struct {
	// ObservedGeneration is the most recent generation observed for this DeploymentTemplate.
	// +kubebuilder:validation:Format=""
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

	// StatusHash is a hash of the DeploymentTemplate's state (template, parameters, and provider config).
	StatusHash string `json:"statusHash,omitempty"`

	// OutputResources is a list of the resourceIDs that were created by the template on the last deployment.
	OutputResources []string `json:"outputResources,omitempty"`

	// Operation tracks the status of an in-progress provisioning operation.
	Operation *ResourceOperation `json:"operation,omitempty"`

	// Phrase indicates the current status of the Deployment Template.
	Phrase DeploymentTemplatePhrase `json:"phrase,omitempty"`
}

DeploymentTemplateStatus defines the observed state of a DeploymentTemplate resource.

func (*DeploymentTemplateStatus) DeepCopy added in v0.43.0

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

func (*DeploymentTemplateStatus) DeepCopyInto added in v0.43.0

func (in *DeploymentTemplateStatus) DeepCopyInto(out *DeploymentTemplateStatus)

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

type OperationKind

type OperationKind string

OperationKind is the type of operation being performed.

type ResourceOperation

type ResourceOperation struct {
	// ResumeToken is a token that can be used to resume an in-progress provisioning operation.
	ResumeToken string `json:"resumeToken,omitempty"`

	// OperationKind describes the type of operation being performed.
	OperationKind OperationKind `json:"operationKind,omitempty"`
}

ResourceOperation describes the status of an in-progress provisioning operation.

func (*ResourceOperation) DeepCopy

func (in *ResourceOperation) DeepCopy() *ResourceOperation

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

func (*ResourceOperation) DeepCopyInto

func (in *ResourceOperation) DeepCopyInto(out *ResourceOperation)

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