Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoleOptions ¶
type RoleOptions struct { JxClient versioned.Interface KubeClient kubernetes.Interface NoWatch bool TeamNs string Roles map[string]*rbacv1.Role EnvRoleBindings map[string]*v1.EnvironmentRoleBinding // contains filtered or unexported fields }
RoleOptions the command line options
func NewRoleController ¶
func NewRoleController() (*RoleOptions, error)
func (*RoleOptions) Run ¶
func (o *RoleOptions) Run() error
func (*RoleOptions) UpsertEnvironmentRoleBinding ¶
func (o *RoleOptions) UpsertEnvironmentRoleBinding(newEnv *v1.EnvironmentRoleBinding) error
UpsertEnvironmentRoleBinding processes an insert/update of the EnvironmentRoleBinding resource its public so that we can make testing easier
func (*RoleOptions) UpsertRole ¶
func (o *RoleOptions) UpsertRole(newRole *rbacv1.Role) error
UpsertRole processes the insert/update of a Role this function is public for easier testing
Click to show internal directories.
Click to hide internal directories.