Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) PodSecurityPolicyTemplates(namespace string) PodSecurityPolicyTemplateInterface
- func (c *Client) ProjectRoleBindings(namespace string) ProjectRoleBindingInterface
- func (c *Client) Projects(namespace string) ProjectInterface
- func (c *Client) RESTClient() rest.Interface
- func (c *Client) RoleTemplates(namespace string) RoleTemplateInterface
- type Interface
- type PodSecurityPolicyTemplate
- type PodSecurityPolicyTemplateController
- type PodSecurityPolicyTemplateHandlerFunc
- type PodSecurityPolicyTemplateInterface
- type PodSecurityPolicyTemplateList
- type PodSecurityPolicyTemplatesGetter
- type Project
- type ProjectController
- type ProjectHandlerFunc
- type ProjectInterface
- type ProjectList
- type ProjectRoleBinding
- type ProjectRoleBindingController
- type ProjectRoleBindingHandlerFunc
- type ProjectRoleBindingInterface
- type ProjectRoleBindingList
- type ProjectRoleBindingsGetter
- type ProjectsGetter
- type RoleTemplate
- type RoleTemplateController
- type RoleTemplateHandlerFunc
- type RoleTemplateInterface
- type RoleTemplateList
- type RoleTemplatesGetter
Constants ¶
This section is empty.
Variables ¶
var ( PodSecurityPolicyTemplateGroupVersionKind = schema.GroupVersionKind{ Version: "v1", Group: "authorization.cattle.io", Kind: "PodSecurityPolicyTemplate", } PodSecurityPolicyTemplateResource = metav1.APIResource{ Name: "podsecuritypolicytemplates", SingularName: "podsecuritypolicytemplate", Namespaced: false, Kind: PodSecurityPolicyTemplateGroupVersionKind.Kind, } )
var ( ProjectGroupVersionKind = schema.GroupVersionKind{ Version: "v1", Group: "authorization.cattle.io", Kind: "Project", } ProjectResource = metav1.APIResource{ Name: "projects", SingularName: "project", Namespaced: false, Kind: ProjectGroupVersionKind.Kind, } )
var ( ProjectRoleBindingGroupVersionKind = schema.GroupVersionKind{ Version: "v1", Group: "authorization.cattle.io", Kind: "ProjectRoleBinding", } ProjectRoleBindingResource = metav1.APIResource{ Name: "projectrolebindings", SingularName: "projectrolebinding", Namespaced: false, Kind: ProjectRoleBindingGroupVersionKind.Kind, } )
var ( RoleTemplateGroupVersionKind = schema.GroupVersionKind{ Version: "v1", Group: "authorization.cattle.io", Kind: "RoleTemplate", } RoleTemplateResource = metav1.APIResource{ Name: "roletemplates", SingularName: "roletemplate", Namespaced: false, Kind: RoleTemplateGroupVersionKind.Kind, } )
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) PodSecurityPolicyTemplates ¶
func (c *Client) PodSecurityPolicyTemplates(namespace string) PodSecurityPolicyTemplateInterface
func (*Client) ProjectRoleBindings ¶
func (c *Client) ProjectRoleBindings(namespace string) ProjectRoleBindingInterface
func (*Client) Projects ¶
func (c *Client) Projects(namespace string) ProjectInterface
func (*Client) RESTClient ¶
func (*Client) RoleTemplates ¶
func (c *Client) RoleTemplates(namespace string) RoleTemplateInterface
type Interface ¶
type Interface interface { RESTClient() rest.Interface ProjectsGetter RoleTemplatesGetter PodSecurityPolicyTemplatesGetter ProjectRoleBindingsGetter }
type PodSecurityPolicyTemplate ¶
type PodSecurityPolicyTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec extv1.PodSecurityPolicySpec `json:"spec,omitempty"` }
func (*PodSecurityPolicyTemplate) DeepCopy ¶
func (in *PodSecurityPolicyTemplate) DeepCopy() *PodSecurityPolicyTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyTemplate.
func (*PodSecurityPolicyTemplate) DeepCopyInto ¶
func (in *PodSecurityPolicyTemplate) DeepCopyInto(out *PodSecurityPolicyTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSecurityPolicyTemplate) DeepCopyObject ¶
func (in *PodSecurityPolicyTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodSecurityPolicyTemplateController ¶
type PodSecurityPolicyTemplateController interface { Informer() cache.SharedIndexInformer AddHandler(handler PodSecurityPolicyTemplateHandlerFunc) Enqueue(namespace, name string) Start(threadiness int, ctx context.Context) error }
type PodSecurityPolicyTemplateHandlerFunc ¶
type PodSecurityPolicyTemplateHandlerFunc func(key string, obj *PodSecurityPolicyTemplate) error
type PodSecurityPolicyTemplateInterface ¶
type PodSecurityPolicyTemplateInterface interface { Create(*PodSecurityPolicyTemplate) (*PodSecurityPolicyTemplate, error) Get(name string, opts metav1.GetOptions) (*PodSecurityPolicyTemplate, error) Update(*PodSecurityPolicyTemplate) (*PodSecurityPolicyTemplate, error) Delete(name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*PodSecurityPolicyTemplateList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() PodSecurityPolicyTemplateController }
type PodSecurityPolicyTemplateList ¶
type PodSecurityPolicyTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PodSecurityPolicyTemplate }
func (*PodSecurityPolicyTemplateList) DeepCopy ¶
func (in *PodSecurityPolicyTemplateList) DeepCopy() *PodSecurityPolicyTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyTemplateList.
func (*PodSecurityPolicyTemplateList) DeepCopyInto ¶
func (in *PodSecurityPolicyTemplateList) DeepCopyInto(out *PodSecurityPolicyTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSecurityPolicyTemplateList) DeepCopyObject ¶
func (in *PodSecurityPolicyTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodSecurityPolicyTemplatesGetter ¶
type PodSecurityPolicyTemplatesGetter interface {
PodSecurityPolicyTemplates(namespace string) PodSecurityPolicyTemplateInterface
}
type Project ¶
type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` ClusterName string `json:"clusterName,omitempty"` }
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectController ¶
type ProjectController interface { Informer() cache.SharedIndexInformer AddHandler(handler ProjectHandlerFunc) Enqueue(namespace, name string) Start(threadiness int, ctx context.Context) error }
type ProjectHandlerFunc ¶
type ProjectInterface ¶
type ProjectInterface interface { Create(*Project) (*Project, error) Get(name string, opts metav1.GetOptions) (*Project, error) Update(*Project) (*Project, error) Delete(name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ProjectList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ProjectController }
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Project }
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectRoleBinding ¶
type ProjectRoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Subjects []rbacv1.Subject `json:"subjects,omitempty"` ProjectName string `json:"projectRef,omitempty"` RoleTemplateName string `json:"roleTemplateName,omitempty"` }
func (*ProjectRoleBinding) DeepCopy ¶
func (in *ProjectRoleBinding) DeepCopy() *ProjectRoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectRoleBinding.
func (*ProjectRoleBinding) DeepCopyInto ¶
func (in *ProjectRoleBinding) DeepCopyInto(out *ProjectRoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectRoleBinding) DeepCopyObject ¶
func (in *ProjectRoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectRoleBindingController ¶
type ProjectRoleBindingController interface { Informer() cache.SharedIndexInformer AddHandler(handler ProjectRoleBindingHandlerFunc) Enqueue(namespace, name string) Start(threadiness int, ctx context.Context) error }
type ProjectRoleBindingHandlerFunc ¶
type ProjectRoleBindingHandlerFunc func(key string, obj *ProjectRoleBinding) error
type ProjectRoleBindingInterface ¶
type ProjectRoleBindingInterface interface { Create(*ProjectRoleBinding) (*ProjectRoleBinding, error) Get(name string, opts metav1.GetOptions) (*ProjectRoleBinding, error) Update(*ProjectRoleBinding) (*ProjectRoleBinding, error) Delete(name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ProjectRoleBindingList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ProjectRoleBindingController }
type ProjectRoleBindingList ¶
type ProjectRoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProjectRoleBinding }
func (*ProjectRoleBindingList) DeepCopy ¶
func (in *ProjectRoleBindingList) DeepCopy() *ProjectRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectRoleBindingList.
func (*ProjectRoleBindingList) DeepCopyInto ¶
func (in *ProjectRoleBindingList) DeepCopyInto(out *ProjectRoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectRoleBindingList) DeepCopyObject ¶
func (in *ProjectRoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectRoleBindingsGetter ¶
type ProjectRoleBindingsGetter interface {
ProjectRoleBindings(namespace string) ProjectRoleBindingInterface
}
type ProjectsGetter ¶
type ProjectsGetter interface {
Projects(namespace string) ProjectInterface
}
type RoleTemplate ¶
type RoleTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Rules []rbacv1.PolicyRule `json:"rules,omitempty"` RoleTemplates []string `json:"roles,omitempty"` }
func (*RoleTemplate) DeepCopy ¶
func (in *RoleTemplate) DeepCopy() *RoleTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplate.
func (*RoleTemplate) DeepCopyInto ¶
func (in *RoleTemplate) DeepCopyInto(out *RoleTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleTemplate) DeepCopyObject ¶
func (in *RoleTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleTemplateController ¶
type RoleTemplateController interface { Informer() cache.SharedIndexInformer AddHandler(handler RoleTemplateHandlerFunc) Enqueue(namespace, name string) Start(threadiness int, ctx context.Context) error }
type RoleTemplateHandlerFunc ¶
type RoleTemplateHandlerFunc func(key string, obj *RoleTemplate) error
type RoleTemplateInterface ¶
type RoleTemplateInterface interface { Create(*RoleTemplate) (*RoleTemplate, error) Get(name string, opts metav1.GetOptions) (*RoleTemplate, error) Update(*RoleTemplate) (*RoleTemplate, error) Delete(name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*RoleTemplateList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() RoleTemplateController }
type RoleTemplateList ¶
type RoleTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RoleTemplate }
func (*RoleTemplateList) DeepCopy ¶
func (in *RoleTemplateList) DeepCopy() *RoleTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateList.
func (*RoleTemplateList) DeepCopyInto ¶
func (in *RoleTemplateList) DeepCopyInto(out *RoleTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleTemplateList) DeepCopyObject ¶
func (in *RoleTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleTemplatesGetter ¶
type RoleTemplatesGetter interface {
RoleTemplates(namespace string) RoleTemplateInterface
}