Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the tenants v1alpha1 API group +kubebuilder:object:generate=true +groupName=tenants.gitops.pro
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "tenants.gitops.pro", 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 BackstageTenantConfig ¶
type BackstageTenantConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackstageTenantConfigSpec `json:"spec,omitempty"` Status BackstageTenantConfigStatus `json:"status,omitempty"` }
BackstageTenantConfig is the Schema for the backstagetenantconfigs API
func (*BackstageTenantConfig) DeepCopy ¶
func (in *BackstageTenantConfig) DeepCopy() *BackstageTenantConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackstageTenantConfig.
func (*BackstageTenantConfig) DeepCopyInto ¶
func (in *BackstageTenantConfig) DeepCopyInto(out *BackstageTenantConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackstageTenantConfig) DeepCopyObject ¶
func (in *BackstageTenantConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackstageTenantConfigList ¶
type BackstageTenantConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackstageTenantConfig `json:"items"` }
BackstageTenantConfigList contains a list of BackstageTenantConfig
func (*BackstageTenantConfigList) DeepCopy ¶
func (in *BackstageTenantConfigList) DeepCopy() *BackstageTenantConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackstageTenantConfigList.
func (*BackstageTenantConfigList) DeepCopyInto ¶
func (in *BackstageTenantConfigList) DeepCopyInto(out *BackstageTenantConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackstageTenantConfigList) DeepCopyObject ¶
func (in *BackstageTenantConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackstageTenantConfigSpec ¶
type BackstageTenantConfigSpec struct { // BaseURL specifies the Backstage API base URL, it can be an HTTP/S // address. // See https://backstage.io/docs/features/software-catalog/software-catalog-api // // +kubebuilder:validation:Pattern="^(http|https)://.*$" // +required BaseURL string `json:"baseURL"` // Interval at which to check the Backstage API for updates. // +required Interval metav1.Duration `json:"interval"` }
BackstageTenantConfigSpec defines the desired state of BackstageTenantConfig
func (*BackstageTenantConfigSpec) DeepCopy ¶
func (in *BackstageTenantConfigSpec) DeepCopy() *BackstageTenantConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackstageTenantConfigSpec.
func (*BackstageTenantConfigSpec) DeepCopyInto ¶
func (in *BackstageTenantConfigSpec) DeepCopyInto(out *BackstageTenantConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackstageTenantConfigStatus ¶
type BackstageTenantConfigStatus struct { // TeamNames are the teams discovered from the Backstage API. TeamNames []string `json:"teamNames,omitempty"` // LastEtag is the last recorded etag header from the upstream API. LastEtag string `json:"lastEtag"` }
BackstageTenantConfigStatus defines the observed state of BackstageTenantConfig
func (*BackstageTenantConfigStatus) DeepCopy ¶
func (in *BackstageTenantConfigStatus) DeepCopy() *BackstageTenantConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackstageTenantConfigStatus.
func (*BackstageTenantConfigStatus) DeepCopyInto ¶
func (in *BackstageTenantConfigStatus) DeepCopyInto(out *BackstageTenantConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.