pedia

package
v0.0.9-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=pedia.clusterpedia.io

Index

Constants

View Source
const (
	SearchLabelOwner      = "search.clusterpedia.io/owner"
	SearchLabelNames      = "search.clusterpedia.io/names"
	SearchLabelClusters   = "search.clusterpedia.io/clusters"
	SearchLabelNamespaces = "search.clusterpedia.io/namespaces"
	SearchLabelOrderBy    = "search.clusterpedia.io/orderby"

	SearchLabelWithContinue       = "search.clusterpedia.io/with-continue"
	SearchLabelWithRemainingCount = "search.clusterpedia.io/with-remaining-count"

	SearchLabelLimit  = "search.clusterpedia.io/limit"
	SearchLabelOffset = "search.clusterpedia.io/offset"

	ShadowAnnotationClusterName          = "shadow.clusterpedia.io/cluster-name"
	ShadowAnnotationGroupVersionResource = "shadow.clusterpedia.io/gvr"
)
View Source
const GroupName = "pedia.clusterpedia.io"

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	Install = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

Functions

This section is empty.

Types

type CollectionResource

type CollectionResource struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	ResourceTypes []CollectionResourceType
	Items         []runtime.Object
}

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

func (*CollectionResource) DeepCopy

func (in *CollectionResource) DeepCopy() *CollectionResource

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

func (*CollectionResource) DeepCopyInto

func (in *CollectionResource) DeepCopyInto(out *CollectionResource)

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

func (*CollectionResource) DeepCopyObject

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

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

type CollectionResourceList

type CollectionResourceList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []CollectionResource
}

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

func (*CollectionResourceList) DeepCopy

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

func (*CollectionResourceList) DeepCopyInto

func (in *CollectionResourceList) DeepCopyInto(out *CollectionResourceList)

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

func (*CollectionResourceList) DeepCopyObject

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

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

type CollectionResourceType

type CollectionResourceType struct {
	Group    string
	Version  string
	Kind     string
	Resource string
}

func (*CollectionResourceType) DeepCopy

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

func (*CollectionResourceType) DeepCopyInto

func (in *CollectionResourceType) DeepCopyInto(out *CollectionResourceType)

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

func (CollectionResourceType) GroupResource

func (t CollectionResourceType) GroupResource() schema.GroupResource

type ListOptions

type ListOptions struct {
	metainternal.ListOptions

	Names        []string
	Owner        string
	ClusterNames []string
	Namespaces   []string
	OrderBy      []OrderBy

	WithContinue       *bool
	WithRemainingCount *bool

	// +k8s:conversion-fn:drop
	EnhancedFieldSelector fields.Selector

	// +k8s:conversion-fn:drop
	ExtraLabelSelector labels.Selector

	// +k8s:conversion-fn:drop
	ExtraQuery url.Values
}

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

func (*ListOptions) DeepCopy

func (in *ListOptions) DeepCopy() *ListOptions

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

func (*ListOptions) DeepCopyInto

func (in *ListOptions) DeepCopyInto(out *ListOptions)

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

func (*ListOptions) DeepCopyObject

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

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

type OrderBy

type OrderBy struct {
	Field string
	Desc  bool
}

func (*OrderBy) DeepCopy

func (in *OrderBy) DeepCopy() *OrderBy

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

func (*OrderBy) DeepCopyInto

func (in *OrderBy) DeepCopyInto(out *OrderBy)

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

Directories

Path Synopsis
Package v1alpha1 is the v1alpha1 version of the API
Package v1alpha1 is the v1alpha1 version of the API

Jump to

Keyboard shortcuts

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