Documentation ¶
Index ¶
- type Resource
- func ClusterPolicy(raw []byte) Resource
- func ClusterRole(raw []byte) Resource
- func ClusterRoleBinding(raw []byte) Resource
- func Clustered(gvr schema.GroupVersionResource, raw []byte) Resource
- func ConfigMap(ns string, raw []byte) Resource
- func Namespace(raw []byte) Resource
- func Namespaced(gvr schema.GroupVersionResource, ns string, raw []byte) Resource
- func Resources(resources ...Resource) []Resource
- func Role(ns string, raw []byte) Resource
- func RoleBinding(ns string, raw []byte) Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func ClusterPolicy ¶
func ClusterRole ¶
func ClusterRoleBinding ¶
func Namespaced ¶
func Namespaced(gvr schema.GroupVersionResource, ns string, raw []byte) Resource
func RoleBinding ¶
func (*Resource) Gvr ¶
func (r *Resource) Gvr() schema.GroupVersionResource
func (*Resource) IsClustered ¶
func (*Resource) IsNamespaced ¶
func (*Resource) Unstructured ¶
func (r *Resource) Unstructured() *unstructured.Unstructured
Click to show internal directories.
Click to hide internal directories.