Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewListCmd ¶
func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
Types ¶
type ListOptions ¶
type ListOptions struct { AppFlags cmdapp.AppFlags Values bool // contains filtered or unexported fields }
func NewListOptions ¶
func NewListOptions(ui ui.UI, depsFactory cmdcore.DepsFactory) *ListOptions
func (*ListOptions) Run ¶
func (o *ListOptions) Run() error
type RBACResources ¶
type RBACResources struct { ServiceAccounts []*ServiceAccount Roles []*Role RoleBindings []*RoleBinding }
type RoleBinding ¶
type RoleBinding struct {
// contains filtered or unexported fields
}
func NewRoleBinding ¶
func NewRoleBinding(resource ctlres.Resource) (*RoleBinding, error)
func (*RoleBinding) MarkUsed ¶
func (r *RoleBinding) MarkUsed()
func (*RoleBinding) MatchesRole ¶
func (r *RoleBinding) MatchesRole(role *Role) bool
func (*RoleBinding) MatchesServiceAccount ¶
func (r *RoleBinding) MatchesServiceAccount(sa *ServiceAccount) bool
func (*RoleBinding) Name ¶
func (r *RoleBinding) Name() string
func (*RoleBinding) Namespace ¶
func (r *RoleBinding) Namespace() string
func (*RoleBinding) Used ¶
func (r *RoleBinding) Used() bool
type ServiceAccount ¶
type ServiceAccount struct {
// contains filtered or unexported fields
}
func NewServiceAccount ¶
func NewServiceAccount(resource ctlres.Resource) (*ServiceAccount, error)
func (*ServiceAccount) APIGroup ¶
func (s *ServiceAccount) APIGroup() string
func (*ServiceAccount) Kind ¶
func (s *ServiceAccount) Kind() string
func (*ServiceAccount) MarkUsed ¶
func (s *ServiceAccount) MarkUsed()
func (*ServiceAccount) Name ¶
func (s *ServiceAccount) Name() string
func (*ServiceAccount) Namespace ¶
func (s *ServiceAccount) Namespace() string
func (*ServiceAccount) Used ¶
func (s *ServiceAccount) Used() bool
Click to show internal directories.
Click to hide internal directories.