v1alpha1

package
v0.142.130 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 = &runtime.SchemeBuilder{}

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

type Contact struct {
	DisplayName string   `json:"displayName"`
	Email       string   `json:"email,omitempty"`
	Role        []string `json:"role,omitempty"`
}

func (*Contact) DeepCopy

func (in *Contact) DeepCopy() *Contact

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

func (*Contact) DeepCopyInto

func (in *Contact) DeepCopyInto(out *Contact)

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 Icon

type Icon struct {
	Light Image `json:"light"`
	Dark  Image `json:"dark"`
}

func (*Icon) DeepCopy

func (in *Icon) DeepCopy() *Icon

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

func (*Icon) DeepCopyInto

func (in *Icon) DeepCopyInto(out *Icon)

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

type Image

type Image struct {
	URL  string `json:"url,omitempty"`
	Data string `json:"data,omitempty"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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 Link struct {
	DisplayName string `json:"displayName,omitempty"`
	URL         string `json:"url,omitempty"`
}

func (*Link) DeepCopy

func (in *Link) DeepCopy() *Link

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

func (*Link) DeepCopyInto

func (in *Link) DeepCopyInto(out *Link)

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

type ProviderMetadata

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

	Spec   ProviderMetadataSpec   `json:"spec,omitempty"`
	Status ProviderMetadataStatus `json:"status,omitempty"`
}

ProviderMetadata is the Schema for the providermetadata API. +kubebuilder:resource:scope=Cluster

func (*ProviderMetadata) DeepCopy

func (in *ProviderMetadata) DeepCopy() *ProviderMetadata

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

func (*ProviderMetadata) DeepCopyInto

func (in *ProviderMetadata) DeepCopyInto(out *ProviderMetadata)

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

func (*ProviderMetadata) DeepCopyObject

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

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

type ProviderMetadataList

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

ProviderMetadataList contains a list of ProviderMetadata.

func (*ProviderMetadataList) DeepCopy

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

func (*ProviderMetadataList) DeepCopyInto

func (in *ProviderMetadataList) DeepCopyInto(out *ProviderMetadataList)

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

func (*ProviderMetadataList) DeepCopyObject

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

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

type ProviderMetadataSpec

type ProviderMetadataSpec struct {
	Tags []string `json:"tags,omitempty"`

	DisplayName string `json:"displayName"`
	Description string `json:"description,omitempty"`

	// Additional information that should be stored with the provider metadata.
	Data          *apiextensionsv1.JSON `json:"data,omitempty"`
	Contacts      []Contact             `json:"contacts,omitempty"`
	Documentation []Link                `json:"documentation,omitempty"`
	Icon          *Icon                 `json:"icon,omitempty"`

	Links                    []Link `json:"links,omitempty"`
	PreferredSupportChannels []Link `json:"preferredSupportChannels,omitempty"`
	HelpCenterData           []Link `json:"helpCenterData,omitempty"`
}

ProviderMetadataSpec defines the desired state of ProviderMetadata.

func (*ProviderMetadataSpec) DeepCopy

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

func (*ProviderMetadataSpec) DeepCopyInto

func (in *ProviderMetadataSpec) DeepCopyInto(out *ProviderMetadataSpec)

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

type ProviderMetadataStatus

type ProviderMetadataStatus struct{}

ProviderMetadataStatus defines the observed state of ProviderMetadata.

func (*ProviderMetadataStatus) DeepCopy

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

func (*ProviderMetadataStatus) DeepCopyInto

func (in *ProviderMetadataStatus) DeepCopyInto(out *ProviderMetadataStatus)

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.

type URL

type URL struct {
	URL string `json:"url,omitempty"`
}

func (*URL) DeepCopy

func (in *URL) DeepCopy() *URL

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

func (*URL) DeepCopyInto

func (in *URL) DeepCopyInto(out *URL)

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