Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.openmfp.io
Index ¶
- Variables
- type Authentication
- type Contact
- type ContentConfiguration
- func (in *ContentConfiguration) DeepCopy() *ContentConfiguration
- func (in *ContentConfiguration) DeepCopyInto(out *ContentConfiguration)
- func (in *ContentConfiguration) DeepCopyObject() runtime.Object
- func (i *ContentConfiguration) GenerateNextReconcileTime() time.Duration
- func (i *ContentConfiguration) GetConditions() []metav1.Condition
- func (i *ContentConfiguration) GetNextReconcileTime() metav1.Time
- func (i *ContentConfiguration) GetObservedGeneration() int64
- func (i *ContentConfiguration) SetConditions(conditions []metav1.Condition)
- func (i *ContentConfiguration) SetNextReconcileTime(time metav1.Time)
- func (i *ContentConfiguration) SetObservedGeneration(g int64)
- type ContentConfigurationList
- type ContentConfigurationSpec
- type ContentConfigurationStatus
- type Icon
- type Image
- type InlineConfiguration
- type Link
- type ProviderMetadata
- type ProviderMetadataList
- type ProviderMetadataSpec
- type ProviderMetadataStatus
- type RemoteConfiguration
- type URL
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Contact.
func (*Contact) DeepCopyInto ¶
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 ¶
func (in *ContentConfiguration) DeepCopy() *ContentConfiguration
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 ¶
func (in *ContentConfigurationList) DeepCopy() *ContentConfigurationList
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 ¶
func (in *ContentConfigurationSpec) DeepCopy() *ContentConfigurationSpec
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 ¶
func (in *ContentConfigurationStatus) DeepCopy() *ContentConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentConfigurationStatus.
func (*ContentConfigurationStatus) DeepCopyInto ¶
func (in *ContentConfigurationStatus) DeepCopyInto(out *ContentConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Icon ¶
func (*Icon) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Icon.
func (*Icon) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) 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 Link ¶
type Link struct { DisplayName string `json:"displayName,omitempty"` URL string `json:"url,omitempty"` }
func (*Link) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.
func (*Link) DeepCopyInto ¶
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 ¶
func (in *ProviderMetadataList) DeepCopy() *ProviderMetadataList
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 ¶
func (in *ProviderMetadataSpec) DeepCopy() *ProviderMetadataSpec
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 ¶
func (in *ProviderMetadataStatus) DeepCopy() *ProviderMetadataStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URL.
func (*URL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.