v1alpha1

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "katalog.fybrik.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 Asset

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

	// +required
	Spec AssetSpec `json:"spec"`
}

+kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced Asset defines an asset in the catalog

func (*Asset) DeepCopy

func (in *Asset) DeepCopy() *Asset

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

func (*Asset) DeepCopyInto

func (in *Asset) DeepCopyInto(out *Asset)

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

func (*Asset) DeepCopyObject

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

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

type AssetList

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

+kubebuilder:object:root=true AssetList contains a list of Asset resources

func (*AssetList) DeepCopy

func (in *AssetList) DeepCopy() *AssetList

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

func (*AssetList) DeepCopyInto

func (in *AssetList) DeepCopyInto(out *AssetList)

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

func (*AssetList) DeepCopyObject

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

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

type AssetSpec

type AssetSpec struct {
	// Asset details
	Details datacatalog.ResourceDetails `json:"details"`
	// Asset metadata
	Metadata datacatalog.ResourceMetadata `json:"metadata"`
	// Reference to a Secret resource holding credentials for this asset
	SecretRef SecretRef `json:"secretRef"`
}

func (*AssetSpec) DeepCopy

func (in *AssetSpec) DeepCopy() *AssetSpec

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

func (*AssetSpec) DeepCopyInto

func (in *AssetSpec) DeepCopyInto(out *AssetSpec)

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

type SecretRef

type SecretRef struct {
	// Name of the Secret resource
	Name string `json:"name"`
	// Namespace of the Secret resource. If it is empty then the asset namespace is used.
	Namespace string `json:"namespace,omitempty"`
}

SecretRef is a reference to a local Kubernetes secret.

func (*SecretRef) DeepCopy

func (in *SecretRef) DeepCopy() *SecretRef

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

func (*SecretRef) DeepCopyInto

func (in *SecretRef) DeepCopyInto(out *SecretRef)

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