v1

package
v0.0.0-...-480dd5c Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClusterRoleTemplateBindingGroupVersionKind = schema.GroupVersionKind{
		Version: "v1",
		Group:   "authorization.cattle.io",
		Kind:    "ClusterRoleTemplateBinding",
	}
	ClusterRoleTemplateBindingResource = metav1.APIResource{
		Name:         "clusterroletemplatebindings",
		SingularName: "clusterroletemplatebinding",
		Namespaced:   false,
		Kind:         ClusterRoleTemplateBindingGroupVersionKind.Kind,
	}
)
View Source
var (
	ClusterRoleTemplateGroupVersionKind = schema.GroupVersionKind{
		Version: "v1",
		Group:   "authorization.cattle.io",
		Kind:    "ClusterRoleTemplate",
	}
	ClusterRoleTemplateResource = metav1.APIResource{
		Name:         "clusterroletemplates",
		SingularName: "clusterroletemplate",
		Namespaced:   false,
		Kind:         ClusterRoleTemplateGroupVersionKind.Kind,
	}
)
View Source
var (
	PodSecurityPolicyTemplateGroupVersionKind = schema.GroupVersionKind{
		Version: "v1",
		Group:   "authorization.cattle.io",
		Kind:    "PodSecurityPolicyTemplate",
	}
	PodSecurityPolicyTemplateResource = metav1.APIResource{
		Name:         "podsecuritypolicytemplates",
		SingularName: "podsecuritypolicytemplate",
		Namespaced:   false,
		Kind:         PodSecurityPolicyTemplateGroupVersionKind.Kind,
	}
)
View Source
var (
	ProjectGroupVersionKind = schema.GroupVersionKind{
		Version: "v1",
		Group:   "authorization.cattle.io",
		Kind:    "Project",
	}
	ProjectResource = metav1.APIResource{
		Name:         "projects",
		SingularName: "project",
		Namespaced:   false,
		Kind:         ProjectGroupVersionKind.Kind,
	}
)
View Source
var (
	ProjectRoleTemplateBindingGroupVersionKind = schema.GroupVersionKind{
		Version: "v1",
		Group:   "authorization.cattle.io",
		Kind:    "ProjectRoleTemplateBinding",
	}
	ProjectRoleTemplateBindingResource = metav1.APIResource{
		Name:         "projectroletemplatebindings",
		SingularName: "projectroletemplatebinding",
		Namespaced:   false,
		Kind:         ProjectRoleTemplateBindingGroupVersionKind.Kind,
	}
)
View Source
var (
	ProjectRoleTemplateGroupVersionKind = schema.GroupVersionKind{
		Version: "v1",
		Group:   "authorization.cattle.io",
		Kind:    "ProjectRoleTemplate",
	}
	ProjectRoleTemplateResource = metav1.APIResource{
		Name:         "projectroletemplates",
		SingularName: "projectroletemplate",
		Namespaced:   false,
		Kind:         ProjectRoleTemplateGroupVersionKind.Kind,
	}
)

Functions

This section is empty.

Types

type Client

type Client struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Client) ClusterRoleTemplateBindings

func (c *Client) ClusterRoleTemplateBindings(namespace string) ClusterRoleTemplateBindingInterface

func (*Client) ClusterRoleTemplates

func (c *Client) ClusterRoleTemplates(namespace string) ClusterRoleTemplateInterface

func (*Client) PodSecurityPolicyTemplates

func (c *Client) PodSecurityPolicyTemplates(namespace string) PodSecurityPolicyTemplateInterface

func (*Client) ProjectRoleTemplateBindings

func (c *Client) ProjectRoleTemplateBindings(namespace string) ProjectRoleTemplateBindingInterface

func (*Client) ProjectRoleTemplates

func (c *Client) ProjectRoleTemplates(namespace string) ProjectRoleTemplateInterface

func (*Client) Projects

func (c *Client) Projects(namespace string) ProjectInterface

func (*Client) RESTClient

func (c *Client) RESTClient() rest.Interface

func (*Client) Start

func (c *Client) Start(ctx context.Context, threadiness int) error

func (*Client) Sync

func (c *Client) Sync(ctx context.Context) error

type ClusterRoleTemplate

type ClusterRoleTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Rules   []rbacv1.PolicyRule `json:"rules,omitempty"`
	Builtin bool                `json:"builtin"`

	ClusterRoleTemplateNames []string `json:"clusterRoleTemplateNames,omitempty" norman:"type=array[reference[clusterRoleTemplate]]"`
}

func (*ClusterRoleTemplate) DeepCopy

func (in *ClusterRoleTemplate) DeepCopy() *ClusterRoleTemplate

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

func (*ClusterRoleTemplate) DeepCopyInto

func (in *ClusterRoleTemplate) DeepCopyInto(out *ClusterRoleTemplate)

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

func (*ClusterRoleTemplate) DeepCopyObject

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

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

type ClusterRoleTemplateBinding

type ClusterRoleTemplateBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Subject rbacv1.Subject `json:"subject,omitempty"`

	ClusterName             string `json:"clusterName,omitempty" norman:"type=reference[/v1-cluster/schemas/cluster]"`
	ClusterRoleTemplateName string `json:"clusterRoleTemplateName,omitempty" norman:"type=reference[clusterRoleTemplate]"`
}

func (*ClusterRoleTemplateBinding) DeepCopy

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

func (*ClusterRoleTemplateBinding) DeepCopyInto

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

func (*ClusterRoleTemplateBinding) DeepCopyObject

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

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

type ClusterRoleTemplateBindingController

type ClusterRoleTemplateBindingController interface {
	Informer() cache.SharedIndexInformer
	Lister() ClusterRoleTemplateBindingLister
	AddHandler(handler ClusterRoleTemplateBindingHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type ClusterRoleTemplateBindingHandlerFunc

type ClusterRoleTemplateBindingHandlerFunc func(key string, obj *ClusterRoleTemplateBinding) error

type ClusterRoleTemplateBindingList

type ClusterRoleTemplateBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterRoleTemplateBinding
}

func (*ClusterRoleTemplateBindingList) DeepCopy

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

func (*ClusterRoleTemplateBindingList) DeepCopyInto

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

func (*ClusterRoleTemplateBindingList) DeepCopyObject

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

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

type ClusterRoleTemplateBindingLister

type ClusterRoleTemplateBindingLister interface {
	List(namespace string, selector labels.Selector) (ret []*ClusterRoleTemplateBinding, err error)
	Get(namespace, name string) (*ClusterRoleTemplateBinding, error)
}

type ClusterRoleTemplateBindingsGetter

type ClusterRoleTemplateBindingsGetter interface {
	ClusterRoleTemplateBindings(namespace string) ClusterRoleTemplateBindingInterface
}

type ClusterRoleTemplateController

type ClusterRoleTemplateController interface {
	Informer() cache.SharedIndexInformer
	Lister() ClusterRoleTemplateLister
	AddHandler(handler ClusterRoleTemplateHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type ClusterRoleTemplateHandlerFunc

type ClusterRoleTemplateHandlerFunc func(key string, obj *ClusterRoleTemplate) error

type ClusterRoleTemplateInterface

type ClusterRoleTemplateInterface interface {
	ObjectClient() *clientbase.ObjectClient
	Create(*ClusterRoleTemplate) (*ClusterRoleTemplate, error)
	Get(name string, opts metav1.GetOptions) (*ClusterRoleTemplate, error)
	Update(*ClusterRoleTemplate) (*ClusterRoleTemplate, error)
	Delete(name string, options *metav1.DeleteOptions) error
	List(opts metav1.ListOptions) (*ClusterRoleTemplateList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Controller() ClusterRoleTemplateController
}

type ClusterRoleTemplateList

type ClusterRoleTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterRoleTemplate
}

func (*ClusterRoleTemplateList) DeepCopy

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

func (*ClusterRoleTemplateList) DeepCopyInto

func (in *ClusterRoleTemplateList) DeepCopyInto(out *ClusterRoleTemplateList)

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

func (*ClusterRoleTemplateList) DeepCopyObject

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

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

type ClusterRoleTemplateLister

type ClusterRoleTemplateLister interface {
	List(namespace string, selector labels.Selector) (ret []*ClusterRoleTemplate, err error)
	Get(namespace, name string) (*ClusterRoleTemplate, error)
}

type ClusterRoleTemplatesGetter

type ClusterRoleTemplatesGetter interface {
	ClusterRoleTemplates(namespace string) ClusterRoleTemplateInterface
}

type PodSecurityPolicyTemplate

type PodSecurityPolicyTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec extv1.PodSecurityPolicySpec `json:"spec,omitempty"`
}

func (*PodSecurityPolicyTemplate) DeepCopy

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

func (*PodSecurityPolicyTemplate) DeepCopyInto

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
	Lister() PodSecurityPolicyTemplateLister
	AddHandler(handler PodSecurityPolicyTemplateHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type PodSecurityPolicyTemplateHandlerFunc

type PodSecurityPolicyTemplateHandlerFunc func(key string, obj *PodSecurityPolicyTemplate) error

type PodSecurityPolicyTemplateList

type PodSecurityPolicyTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PodSecurityPolicyTemplate
}

func (*PodSecurityPolicyTemplateList) DeepCopy

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

func (*PodSecurityPolicyTemplateList) DeepCopyInto

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 PodSecurityPolicyTemplateLister

type PodSecurityPolicyTemplateLister interface {
	List(namespace string, selector labels.Selector) (ret []*PodSecurityPolicyTemplate, err error)
	Get(namespace, name string) (*PodSecurityPolicyTemplate, error)
}

type PodSecurityPolicyTemplatesGetter

type PodSecurityPolicyTemplatesGetter interface {
	PodSecurityPolicyTemplates(namespace string) PodSecurityPolicyTemplateInterface
}

type Project

type Project struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ProjectSpec `json:"spec,omitempty"`
}

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

type ProjectController

type ProjectController interface {
	Informer() cache.SharedIndexInformer
	Lister() ProjectLister
	AddHandler(handler ProjectHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type ProjectHandlerFunc

type ProjectHandlerFunc func(key string, obj *Project) error

type ProjectInterface

type ProjectInterface interface {
	ObjectClient() *clientbase.ObjectClient
	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 ProjectLister

type ProjectLister interface {
	List(namespace string, selector labels.Selector) (ret []*Project, err error)
	Get(namespace, name string) (*Project, error)
}

type ProjectRoleTemplate

type ProjectRoleTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Rules   []rbacv1.PolicyRule `json:"rules,omitempty"`
	Builtin bool                `json:"builtin"`

	ProjectRoleTemplateNames []string `json:"projectRoleTemplateNames,omitempty" norman:"type=array[reference[projectRoleTemplate]]"`
}

func (*ProjectRoleTemplate) DeepCopy

func (in *ProjectRoleTemplate) DeepCopy() *ProjectRoleTemplate

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

func (*ProjectRoleTemplate) DeepCopyInto

func (in *ProjectRoleTemplate) DeepCopyInto(out *ProjectRoleTemplate)

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

func (*ProjectRoleTemplate) DeepCopyObject

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

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

type ProjectRoleTemplateBinding

type ProjectRoleTemplateBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Subject rbacv1.Subject `json:"subject,omitempty"`

	ProjectName             string `json:"projectName,omitempty" norman:"type=reference[project]"`
	ProjectRoleTemplateName string `json:"projectRoleTemplateName,omitempty" norman:"type=reference[projectRoleTemplate]"`
}

func (*ProjectRoleTemplateBinding) DeepCopy

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

func (*ProjectRoleTemplateBinding) DeepCopyInto

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

func (*ProjectRoleTemplateBinding) DeepCopyObject

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

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

type ProjectRoleTemplateBindingController

type ProjectRoleTemplateBindingController interface {
	Informer() cache.SharedIndexInformer
	Lister() ProjectRoleTemplateBindingLister
	AddHandler(handler ProjectRoleTemplateBindingHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type ProjectRoleTemplateBindingHandlerFunc

type ProjectRoleTemplateBindingHandlerFunc func(key string, obj *ProjectRoleTemplateBinding) error

type ProjectRoleTemplateBindingList

type ProjectRoleTemplateBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProjectRoleTemplateBinding
}

func (*ProjectRoleTemplateBindingList) DeepCopy

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

func (*ProjectRoleTemplateBindingList) DeepCopyInto

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

func (*ProjectRoleTemplateBindingList) DeepCopyObject

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

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

type ProjectRoleTemplateBindingLister

type ProjectRoleTemplateBindingLister interface {
	List(namespace string, selector labels.Selector) (ret []*ProjectRoleTemplateBinding, err error)
	Get(namespace, name string) (*ProjectRoleTemplateBinding, error)
}

type ProjectRoleTemplateBindingsGetter

type ProjectRoleTemplateBindingsGetter interface {
	ProjectRoleTemplateBindings(namespace string) ProjectRoleTemplateBindingInterface
}

type ProjectRoleTemplateController

type ProjectRoleTemplateController interface {
	Informer() cache.SharedIndexInformer
	Lister() ProjectRoleTemplateLister
	AddHandler(handler ProjectRoleTemplateHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type ProjectRoleTemplateHandlerFunc

type ProjectRoleTemplateHandlerFunc func(key string, obj *ProjectRoleTemplate) error

type ProjectRoleTemplateInterface

type ProjectRoleTemplateInterface interface {
	ObjectClient() *clientbase.ObjectClient
	Create(*ProjectRoleTemplate) (*ProjectRoleTemplate, error)
	Get(name string, opts metav1.GetOptions) (*ProjectRoleTemplate, error)
	Update(*ProjectRoleTemplate) (*ProjectRoleTemplate, error)
	Delete(name string, options *metav1.DeleteOptions) error
	List(opts metav1.ListOptions) (*ProjectRoleTemplateList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Controller() ProjectRoleTemplateController
}

type ProjectRoleTemplateList

type ProjectRoleTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProjectRoleTemplate
}

func (*ProjectRoleTemplateList) DeepCopy

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

func (*ProjectRoleTemplateList) DeepCopyInto

func (in *ProjectRoleTemplateList) DeepCopyInto(out *ProjectRoleTemplateList)

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

func (*ProjectRoleTemplateList) DeepCopyObject

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

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

type ProjectRoleTemplateLister

type ProjectRoleTemplateLister interface {
	List(namespace string, selector labels.Selector) (ret []*ProjectRoleTemplate, err error)
	Get(namespace, name string) (*ProjectRoleTemplate, error)
}

type ProjectRoleTemplatesGetter

type ProjectRoleTemplatesGetter interface {
	ProjectRoleTemplates(namespace string) ProjectRoleTemplateInterface
}

type ProjectSpec

type ProjectSpec struct {
	DisplayName string `json:"displayName,omitempty" norman:"required"`
	ClusterName string `json:"clusterName,omitempty" norman:"required,type=reference[/v1-cluster/schemas/cluster]"`
}

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

type ProjectsGetter

type ProjectsGetter interface {
	Projects(namespace string) ProjectInterface
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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