Documentation ¶
Index ¶
- Variables
- func IsCRD(obj Object) bool
- func IsDaemonSet(obj Object) bool
- func IsDeployment(obj Object) bool
- func IsGVKCRD(gvk schema.GroupVersionKind) bool
- func IsGVKDaemonSet(gvk schema.GroupVersionKind) bool
- func IsGVKDeployment(gvk schema.GroupVersionKind) bool
- func IsGVKNamespace(gvk schema.GroupVersionKind) bool
- func IsGVKPod(gvk schema.GroupVersionKind) bool
- func IsGVKService(gvk schema.GroupVersionKind) bool
- func IsGVKStatefulSet(gvk schema.GroupVersionKind) bool
- func IsPod(obj Object) bool
- func IsService(obj Object) bool
- func IsStatefulSet(obj Object) bool
- func MakePodRef(ns, name, containerName string, ...) *runtimepb.ContainerReference
- func SerializeSelector(selector map[string]string) string
- type ContainerPodReference
- func (*ContainerPodReference) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerPodReference) GetContainer() string
- func (x *ContainerPodReference) GetNamespace() string
- func (x *ContainerPodReference) GetPodName() string
- func (*ContainerPodReference) ProtoMessage()
- func (x *ContainerPodReference) ProtoReflect() protoreflect.Message
- func (x *ContainerPodReference) Reset()
- func (x *ContainerPodReference) String() string
- func (cpr *ContainerPodReference) UniqueID() string
- type Object
Constants ¶
This section is empty.
Variables ¶
View Source
var File_framework_kubernetes_kubeobj_podreference_proto protoreflect.FileDescriptor
Functions ¶
func IsDaemonSet ¶
func IsDeployment ¶
func IsGVKCRD ¶
func IsGVKCRD(gvk schema.GroupVersionKind) bool
func IsGVKDaemonSet ¶
func IsGVKDaemonSet(gvk schema.GroupVersionKind) bool
func IsGVKDeployment ¶
func IsGVKDeployment(gvk schema.GroupVersionKind) bool
func IsGVKNamespace ¶
func IsGVKNamespace(gvk schema.GroupVersionKind) bool
func IsGVKPod ¶
func IsGVKPod(gvk schema.GroupVersionKind) bool
func IsGVKService ¶
func IsGVKService(gvk schema.GroupVersionKind) bool
func IsGVKStatefulSet ¶
func IsGVKStatefulSet(gvk schema.GroupVersionKind) bool
func IsStatefulSet ¶
func MakePodRef ¶
func MakePodRef(ns, name, containerName string, decideKind func(string) runtimepb.ContainerKind) *runtimepb.ContainerReference
func SerializeSelector ¶
Types ¶
type ContainerPodReference ¶
type ContainerPodReference struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` PodName string `protobuf:"bytes,2,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` // contains filtered or unexported fields }
func (*ContainerPodReference) Descriptor
deprecated
func (*ContainerPodReference) Descriptor() ([]byte, []int)
Deprecated: Use ContainerPodReference.ProtoReflect.Descriptor instead.
func (*ContainerPodReference) GetContainer ¶
func (x *ContainerPodReference) GetContainer() string
func (*ContainerPodReference) GetNamespace ¶
func (x *ContainerPodReference) GetNamespace() string
func (*ContainerPodReference) GetPodName ¶
func (x *ContainerPodReference) GetPodName() string
func (*ContainerPodReference) ProtoMessage ¶
func (*ContainerPodReference) ProtoMessage()
func (*ContainerPodReference) ProtoReflect ¶
func (x *ContainerPodReference) ProtoReflect() protoreflect.Message
func (*ContainerPodReference) Reset ¶
func (x *ContainerPodReference) Reset()
func (*ContainerPodReference) String ¶
func (x *ContainerPodReference) String() string
func (*ContainerPodReference) UniqueID ¶
func (cpr *ContainerPodReference) UniqueID() string
Click to show internal directories.
Click to hide internal directories.