v1alpha1

package
v0.139.2 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

type Authentication struct {
	Type      string                      `json:"type,omitempty"`
	SecretRef corev1.LocalObjectReference `json:"secretRef,omitempty"`
}

func (*Authentication) DeepCopy

func (in *Authentication) DeepCopy() *Authentication

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

func (*Authentication) DeepCopyInto

func (in *Authentication) DeepCopyInto(out *Authentication)

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

type ContentConfiguration

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

	Spec   ContentConfigurationSpec   `json:"spec,omitempty"`
	Status ContentConfigurationStatus `json:"status,omitempty"`
}

ContentConfiguration is the Schema for the contentconfigurations API +kubebuilder:resource:scope=Cluster,shortName=cc +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status` +kubebuilder:printcolumn:name="Valid",type=string,JSONPath=`.status.conditions[?(@.type=="Valid")].status`

func (*ContentConfiguration) DeepCopy

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

func (*ContentConfiguration) DeepCopyInto

func (in *ContentConfiguration) DeepCopyInto(out *ContentConfiguration)

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

func (*ContentConfiguration) DeepCopyObject

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

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

func (*ContentConfiguration) GenerateNextReconcileTime

func (i *ContentConfiguration) GenerateNextReconcileTime() time.Duration

GenerateNextReconcileTime implements lifecycle.GenerateNextReconcileTimer.

func (*ContentConfiguration) GetConditions

func (i *ContentConfiguration) GetConditions() []metav1.Condition

func (*ContentConfiguration) GetNextReconcileTime

func (i *ContentConfiguration) GetNextReconcileTime() metav1.Time

func (*ContentConfiguration) GetObservedGeneration

func (i *ContentConfiguration) GetObservedGeneration() int64

func (*ContentConfiguration) SetConditions

func (i *ContentConfiguration) SetConditions(conditions []metav1.Condition)

func (*ContentConfiguration) SetNextReconcileTime

func (i *ContentConfiguration) SetNextReconcileTime(time metav1.Time)

func (*ContentConfiguration) SetObservedGeneration

func (i *ContentConfiguration) SetObservedGeneration(g int64)

type ContentConfigurationList

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

ContentConfigurationList contains a list of ContentConfiguration

func (*ContentConfigurationList) DeepCopy

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

func (*ContentConfigurationList) DeepCopyInto

func (in *ContentConfigurationList) DeepCopyInto(out *ContentConfigurationList)

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

func (*ContentConfigurationList) DeepCopyObject

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

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

type ContentConfigurationSpec

type ContentConfigurationSpec struct {

	// +kubebuilder:validation:RemoteConfiguration:
	RemoteConfiguration *RemoteConfiguration `json:"remoteConfiguration,omitempty"`

	InlineConfiguration *InlineConfiguration `json:"inlineConfiguration,omitempty"`
}

ContentConfigurationSpec defines the desired state of ContentConfiguration

func (*ContentConfigurationSpec) DeepCopy

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

func (*ContentConfigurationSpec) DeepCopyInto

func (in *ContentConfigurationSpec) DeepCopyInto(out *ContentConfigurationSpec)

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

type ContentConfigurationStatus

type ContentConfigurationStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Conditions          []metav1.Condition `json:"conditions,omitempty"`
	ObservedGeneration  int64              `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	NextReconcileTime   metav1.Time        `json:"nextReconcileTime,omitempty"`
	ConfigurationResult string             `json:"configurationResult,omitempty"`
}

ContentConfigurationStatus defines the observed state of ContentConfiguration

func (*ContentConfigurationStatus) DeepCopy

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

func (*ContentConfigurationStatus) DeepCopyInto

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

type InlineConfiguration

type InlineConfiguration struct {
	// +kubebuilder:validation:Enum=yaml;json
	ContentType string `json:"contentType"`
	Content     string `json:"content"`
}

func (*InlineConfiguration) DeepCopy

func (in *InlineConfiguration) DeepCopy() *InlineConfiguration

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

func (*InlineConfiguration) DeepCopyInto

func (in *InlineConfiguration) DeepCopyInto(out *InlineConfiguration)

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

type RemoteConfiguration

type RemoteConfiguration struct {
	// +kubebuilder:validation:Enum=yaml;json
	ContentType    string         `json:"contentType"`
	URL            string         `json:"url"`
	InternalUrl    string         `json:"internalUrl,omitempty"`
	Authentication Authentication `json:"authentication,omitempty"`
}

func (*RemoteConfiguration) DeepCopy

func (in *RemoteConfiguration) DeepCopy() *RemoteConfiguration

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

func (*RemoteConfiguration) DeepCopyInto

func (in *RemoteConfiguration) DeepCopyInto(out *RemoteConfiguration)

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