v1alpha1

package
v0.0.0-...-22eea18 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

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

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

func (*BackstageTenantConfigList) DeepCopyInto

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

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

func (*BackstageTenantConfigSpec) DeepCopyInto

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

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

func (*BackstageTenantConfigStatus) DeepCopyInto

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