datacatalog

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +fybrik:validation:schema

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAssetRequest

type GetAssetRequest struct {
	AssetID       taxonomy.AssetID `json:"assetID"`
	OperationType OperationType    `json:"operationType"`
}

+fybrik:validation:object

func (*GetAssetRequest) DeepCopy

func (in *GetAssetRequest) DeepCopy() *GetAssetRequest

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

func (*GetAssetRequest) DeepCopyInto

func (in *GetAssetRequest) DeepCopyInto(out *GetAssetRequest)

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

type GetAssetResponse

type GetAssetResponse struct {
	ResourceMetadata ResourceMetadata `json:"resourceMetadata"`
	Details          ResourceDetails  `json:"details"`
	// This has the vault plugin path where the data credentials will be stored as kubernetes secrets
	// This value is assumed to be known to the catalog connector.
	Credentials string `json:"credentials"`
}

+fybrik:validation:object

func (*GetAssetResponse) DeepCopy

func (in *GetAssetResponse) DeepCopy() *GetAssetResponse

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

func (*GetAssetResponse) DeepCopyInto

func (in *GetAssetResponse) DeepCopyInto(out *GetAssetResponse)

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

type OperationType

type OperationType string

OperationType Type of operation requested for the asset +kubebuilder:validation:Enum=read;

const (
	READ OperationType = "read"
)

List of operationType

type ResourceColumn

type ResourceColumn struct {
	// Name of the column
	Name string `json:"name"`
	// Tags associated with the column
	Tags *taxonomy.Tags `json:"tags,omitempty"`
}

ResourceColumn represents a column in a tabular resource

func (*ResourceColumn) DeepCopy

func (in *ResourceColumn) DeepCopy() *ResourceColumn

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

func (*ResourceColumn) DeepCopyInto

func (in *ResourceColumn) DeepCopyInto(out *ResourceColumn)

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

type ResourceDetails

type ResourceDetails struct {
	// Connection information
	Connection taxonomy.Connection `json:"connection"`
	// Data format
	DataFormat taxonomy.DataFormat `json:"dataFormat,omitempty"`
}

ResourceDetails includes asset connection details

func (*ResourceDetails) DeepCopy

func (in *ResourceDetails) DeepCopy() *ResourceDetails

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

func (*ResourceDetails) DeepCopyInto

func (in *ResourceDetails) DeepCopyInto(out *ResourceDetails)

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

type ResourceMetadata

type ResourceMetadata struct {
	// Name of the resource
	Name string `json:"name,omitempty"`
	// Owner of the resource
	Owner string `json:"owner,omitempty"`
	// Geography of the resource
	Geography string `json:"geography,omitempty"`
	// Tags associated with the asset
	Tags *taxonomy.Tags `json:"tags,omitempty"`
	// Columns associated with the asset
	Columns []ResourceColumn `json:"columns,omitempty"`
}

ResourceMetadata defines model for resource metadata

func (*ResourceMetadata) DeepCopy

func (in *ResourceMetadata) DeepCopy() *ResourceMetadata

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

func (*ResourceMetadata) DeepCopyInto

func (in *ResourceMetadata) DeepCopyInto(out *ResourceMetadata)

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