v1alpha1

package
v0.0.0-...-3e3b309 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the datasets v1alpha1 API group +kubebuilder:object:generate=true +groupName=datashim.io

Index

Constants

View Source
const (
	StatusEmpty    = ""
	StatusInitial  = "Initializing"
	StatusPending  = "Pending"
	StatusOK       = "OK"
	StatusDisabled = "Disabled"
	StatusFail     = "Failed"
)

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion    = schema.GroupVersion{Group: "datashim.io", Version: "v1alpha1"}
	GroupVersionOld = schema.GroupVersion{Group: "com.ie.ibm.hpsys", 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 CachingPlacement

type CachingPlacement struct {
	Gateways      []CachingPlacementInfo `json:"gateways,omitempty"`
	DataLocations []CachingPlacementInfo `json:"datalocations,omitempty"`
}

+k8s:openapi-gen=true

func (*CachingPlacement) DeepCopy

func (in *CachingPlacement) DeepCopy() *CachingPlacement

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

func (*CachingPlacement) DeepCopyInto

func (in *CachingPlacement) DeepCopyInto(out *CachingPlacement)

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

type CachingPlacementInfo

type CachingPlacementInfo struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

+k8s:openapi-gen=true

func (*CachingPlacementInfo) DeepCopy

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

func (*CachingPlacementInfo) DeepCopyInto

func (in *CachingPlacementInfo) DeepCopyInto(out *CachingPlacementInfo)

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

type Dataset

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

	Spec   DatasetSpec   `json:"spec,omitempty"`
	Status DatasetStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +genClient +genClient: noStatus Dataset is the Schema for the datasets API

func (*Dataset) DeepCopy

func (in *Dataset) DeepCopy() *Dataset

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

func (*Dataset) DeepCopyInto

func (in *Dataset) DeepCopyInto(out *Dataset)

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

func (*Dataset) DeepCopyObject

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

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

type DatasetInternal

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

	Spec   DatasetSpec           `json:"spec,omitempty"`
	Status DatasetInternalStatus `json:"status,omitempty"`
}

DatasetInternal is the Schema for the datasetsinternal API

func (*DatasetInternal) DeepCopy

func (in *DatasetInternal) DeepCopy() *DatasetInternal

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

func (*DatasetInternal) DeepCopyInto

func (in *DatasetInternal) DeepCopyInto(out *DatasetInternal)

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

func (*DatasetInternal) DeepCopyObject

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

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

type DatasetInternalList

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

DatasetInternalList contains a list of DatasetInternal

func (*DatasetInternalList) DeepCopy

func (in *DatasetInternalList) DeepCopy() *DatasetInternalList

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

func (*DatasetInternalList) DeepCopyInto

func (in *DatasetInternalList) DeepCopyInto(out *DatasetInternalList)

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

func (*DatasetInternalList) DeepCopyObject

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

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

type DatasetInternalStatus

type DatasetInternalStatus struct {
	Caching DatasetInternalStatusCaching `json:"caching,omitempty"`
}

DatasetInternalStatus defines the observed state of DatasetInternal

func (*DatasetInternalStatus) DeepCopy

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

func (*DatasetInternalStatus) DeepCopyInto

func (in *DatasetInternalStatus) DeepCopyInto(out *DatasetInternalStatus)

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

type DatasetInternalStatusCaching

type DatasetInternalStatusCaching struct {
	Placements CachingPlacement `json:"placements,omitempty"`
}

+k8s:openapi-gen=true

func (*DatasetInternalStatusCaching) DeepCopy

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

func (*DatasetInternalStatusCaching) DeepCopyInto

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

type DatasetList

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

DatasetList contains a list of Dataset

func (*DatasetList) DeepCopy

func (in *DatasetList) DeepCopy() *DatasetList

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

func (*DatasetList) DeepCopyInto

func (in *DatasetList) DeepCopyInto(out *DatasetList)

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

func (*DatasetList) DeepCopyObject

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

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

type DatasetSpec

type DatasetSpec struct {

	// Foo is an example field of Dataset. Edit dataset_types.go to remove/update
	Local  map[string]string `json:"local,omitempty"`
	Remote map[string]string `json:"remote,omitempty"`
	// TODO temp definition for archive
	Type    string `json:"type,omitempty"`
	Url     string `json:"url,omitempty"`
	Format  string `json:"format,omitempty"`
	Extract string `json:"extract,omitempty"`
}

DatasetSpec defines the desired state of Dataset

func (*DatasetSpec) DeepCopy

func (in *DatasetSpec) DeepCopy() *DatasetSpec

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

func (*DatasetSpec) DeepCopyInto

func (in *DatasetSpec) DeepCopyInto(out *DatasetSpec)

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

type DatasetStatus

type DatasetStatus struct {
	Caching   DatasetStatusCondition `json:"caching,omitempty"`
	Provision DatasetStatusCondition `json:"provision,omitempty"`
}

DatasetStatus defines the observed state of Dataset

func (*DatasetStatus) DeepCopy

func (in *DatasetStatus) DeepCopy() *DatasetStatus

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

func (*DatasetStatus) DeepCopyInto

func (in *DatasetStatus) DeepCopyInto(out *DatasetStatus)

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

type DatasetStatusCondition

type DatasetStatusCondition struct {
	Status string `json:"status,omitempty"`
	Info   string `json:"info,omitempty"`
}

func (*DatasetStatusCondition) DeepCopy

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

func (*DatasetStatusCondition) DeepCopyInto

func (in *DatasetStatusCondition) DeepCopyInto(out *DatasetStatusCondition)

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