v1

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=datactl.dataservice

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "datactl", Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type Action

type Action string
const (
	Pull   Action = "Pull"
	Push   Action = "Push"
	Commit Action = "Commit"
)

func (Action) MarshalText

func (a Action) MarshalText() ([]byte, error)

func (*Action) UnmarshalText

func (a *Action) UnmarshalText(text []byte) error

type FileInfo

type FileInfo struct {
	metav1.ObjectMeta `json:",inline"`

	// +optional
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// +optional
	Size uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// +optional
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// +optional
	SourceType string `protobuf:"bytes,5,opt,name=sourceType,proto3" json:"sourceType,omitempty"`
	// +optional
	Checksum string `protobuf:"bytes,10,opt,name=checksum,proto3" json:"checksum,omitempty"`
	// +optional
	MimeType string `protobuf:"bytes,11,opt,name=mimeType,proto3" json:"mimeType,omitempty"`
	// +optional
	CreatedAt *metav1.Time `protobuf:"bytes,15,opt,name=created_at,json=createdAt,proto3" json:"createdAt,omitempty"`
	// +optional
	UpdatedAt *metav1.Time `protobuf:"bytes,16,opt,name=updated_at,json=updatedAt,proto3" json:"updatedAt,omitempty"`
	// +optional
	DeletedAt *metav1.Time `protobuf:"bytes,17,opt,name=deleted_at,json=deletedAt,proto3,oneof" json:"deletedAt,omitempty"`
	// +optional
	Metadata map[string]string `` /* 158-byte string literal not displayed */
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*FileInfo) DeepCopy

func (in *FileInfo) DeepCopy() *FileInfo

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

func (*FileInfo) DeepCopyInto

func (in *FileInfo) DeepCopyInto(out *FileInfo)

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

func (*FileInfo) DeepCopyObject

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

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

func (*FileInfo) GetObjectKind

func (obj *FileInfo) GetObjectKind() schema.ObjectKind

func (*FileInfo) GroupVersionKind

func (obj *FileInfo) GroupVersionKind() schema.GroupVersionKind

func (*FileInfo) SetGroupVersionKind

func (obj *FileInfo) SetGroupVersionKind(gvk schema.GroupVersionKind)

type FileInfoCTLAction

type FileInfoCTLAction struct {
	*FileInfo `json:",inline"`

	// +optional
	Action `json:"action,omitempty"`

	// +optional
	Result `json:"lastActionResult,omitempty"`

	// +optional
	Error string `protobuf:"-" json:"error,omitempty"`

	// +optional
	UploadID string `protobuf:"-" json:"uploadID,omitempty"`

	// +optional
	UploadError string `protobuf:"-" json:"uploadError,omitempty"`

	// +optional
	Pushed bool `protobuf:"-" json:"pushed,omitempty"`

	// +optional
	Committed bool `protobuf:"-" json:"committed,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func NewFileInfoCTLAction

func NewFileInfoCTLAction(info *FileInfo) *FileInfoCTLAction

func (*FileInfoCTLAction) DeepCopy

func (in *FileInfoCTLAction) DeepCopy() *FileInfoCTLAction

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

func (*FileInfoCTLAction) DeepCopyInto

func (in *FileInfoCTLAction) DeepCopyInto(out *FileInfoCTLAction)

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

func (*FileInfoCTLAction) DeepCopyObject

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

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

func (*FileInfoCTLAction) GetObjectKind

func (obj *FileInfoCTLAction) GetObjectKind() schema.ObjectKind

func (*FileInfoCTLAction) GroupVersionKind

func (obj *FileInfoCTLAction) GroupVersionKind() schema.GroupVersionKind

func (*FileInfoCTLAction) SetGroupVersionKind

func (obj *FileInfoCTLAction) SetGroupVersionKind(gvk schema.GroupVersionKind)

type GetFileResponse

type GetFileResponse struct {
	Info *FileInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*GetFileResponse) DeepCopy

func (in *GetFileResponse) DeepCopy() *GetFileResponse

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

func (*GetFileResponse) DeepCopyInto

func (in *GetFileResponse) DeepCopyInto(out *GetFileResponse)

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

func (*GetFileResponse) DeepCopyObject

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

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

func (*GetFileResponse) GetObjectKind

func (obj *GetFileResponse) GetObjectKind() schema.ObjectKind

func (*GetFileResponse) GroupVersionKind

func (obj *GetFileResponse) GroupVersionKind() schema.GroupVersionKind

func (*GetFileResponse) SetGroupVersionKind

func (obj *GetFileResponse) SetGroupVersionKind(gvk schema.GroupVersionKind)

type ListFilesResponse

type ListFilesResponse struct {
	// The field name should match the noun "files" in the method name.  There
	// will be a maximum number of items returned based on the page_size field
	// in the request.
	Files []*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`

	// Token to retrieve the next page of results, or empty if there are no
	// more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`

	// The maximum number of items to return.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ListFilesResponse) DeepCopy

func (in *ListFilesResponse) DeepCopy() *ListFilesResponse

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

func (*ListFilesResponse) DeepCopyInto

func (in *ListFilesResponse) DeepCopyInto(out *ListFilesResponse)

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

func (*ListFilesResponse) DeepCopyObject

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

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

func (*ListFilesResponse) GetObjectKind

func (obj *ListFilesResponse) GetObjectKind() schema.ObjectKind

func (*ListFilesResponse) GroupVersionKind

func (obj *ListFilesResponse) GroupVersionKind() schema.GroupVersionKind

func (*ListFilesResponse) SetGroupVersionKind

func (obj *ListFilesResponse) SetGroupVersionKind(gvk schema.GroupVersionKind)

type Result

type Result string
const (
	Ok     Result = "Ok"
	Error  Result = "Err"
	DryRun Result = "DryRun"
)

func (Result) MarshalText

func (a Result) MarshalText() ([]byte, error)

func (*Result) UnmarshalText

func (a *Result) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL