Documentation
¶
Index ¶
Constants ¶
View Source
const (
// OwnRel is k8s api object relation
OwnRel = "isOwned"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Object ¶
Object is kubernetes API object
func NewObject ¶
func NewObject(res api.Resource, raw unstructured.Unstructured) *Object
NewObject returns new kubernetes API object
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource is API resource
func (Resource) Namespaced ¶
Namespaced returns true if the resource is namespaced
Click to show internal directories.
Click to hide internal directories.