Documentation
¶
Index ¶
- type EventReceiverRBACReporter
- func (eventReceiverRBACReporter *EventReceiverRBACReporter) GetClusterName() string
- func (eventReceiverRBACReporter *EventReceiverRBACReporter) GetCustomerGUID() string
- func (eventReceiverRBACReporter *EventReceiverRBACReporter) ReportRbac(rbacObj *rbacutils.RbacObjects) error
- func (eventReceiverRBACReporter *EventReceiverRBACReporter) SendRbacObjects(rbacObj *rbacutils.RbacObjects) error
- func (eventReceiverRBACReporter *EventReceiverRBACReporter) SetClusterName(clusterName string)
- func (eventReceiverRBACReporter *EventReceiverRBACReporter) SetCustomerGUID(customerGUID string)
- type IRbacReporter
- type S3RBACReporter
- func (s3RBACReporter *S3RBACReporter) GetClusterName() string
- func (s3RBACReporter *S3RBACReporter) GetCustomerGUID() string
- func (s3RBACReporter *S3RBACReporter) ReportRbac(rbacObj *rbacutils.RbacObjects) error
- func (s3RBACReporter *S3RBACReporter) SetClusterName(clusterName string)
- func (s3RBACReporter *S3RBACReporter) SetCustomerGUID(customerGUID string)
- func (s3RBACReporter *S3RBACReporter) UploadRBAC(MyRBAC *rbacutils.RBAC, customer string, cluster string) error
- func (s3RBACReporter *S3RBACReporter) UploadRBACTable(RbacTable *[]rbacutils.RbacTable, customer string, cluster string) error
- func (s3RBACReporter *S3RBACReporter) UploadclusterRoleBindings(clusterRoleBindings *rbac.ClusterRoleBindingList, customer string, ...) error
- func (s3RBACReporter *S3RBACReporter) Uploadclusterroles(clusterroles *rbac.ClusterRoleList, customer string, cluster string) error
- func (s3RBACReporter *S3RBACReporter) UploadroleBindings(roleBindings *rbac.RoleBindingList, customer string, cluster string) error
- func (s3RBACReporter *S3RBACReporter) Uploadroles(roles *rbac.RoleList, customer string, cluster string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventReceiverRBACReporter ¶
type EventReceiverRBACReporter struct { EventReceiverURL string // contains filtered or unexported fields }
func NewEventReceiverRBACReporter ¶
func NewEventReceiverRBACReporter(eventReceiverURL string, customerGUID string, clusterName string) *EventReceiverRBACReporter
func (*EventReceiverRBACReporter) GetClusterName ¶
func (eventReceiverRBACReporter *EventReceiverRBACReporter) GetClusterName() string
func (*EventReceiverRBACReporter) GetCustomerGUID ¶
func (eventReceiverRBACReporter *EventReceiverRBACReporter) GetCustomerGUID() string
func (*EventReceiverRBACReporter) ReportRbac ¶
func (eventReceiverRBACReporter *EventReceiverRBACReporter) ReportRbac(rbacObj *rbacutils.RbacObjects) error
func (*EventReceiverRBACReporter) SendRbacObjects ¶
func (eventReceiverRBACReporter *EventReceiverRBACReporter) SendRbacObjects(rbacObj *rbacutils.RbacObjects) error
func (*EventReceiverRBACReporter) SetClusterName ¶
func (eventReceiverRBACReporter *EventReceiverRBACReporter) SetClusterName(clusterName string)
func (*EventReceiverRBACReporter) SetCustomerGUID ¶
func (eventReceiverRBACReporter *EventReceiverRBACReporter) SetCustomerGUID(customerGUID string)
type IRbacReporter ¶
type S3RBACReporter ¶
type S3RBACReporter struct { S3Bucket string // contains filtered or unexported fields }
func NewS3RBACReporter ¶
func NewS3RBACReporter(customerGUID string, clusterName string, s3Bucket string) *S3RBACReporter
func (*S3RBACReporter) GetClusterName ¶
func (s3RBACReporter *S3RBACReporter) GetClusterName() string
func (*S3RBACReporter) GetCustomerGUID ¶
func (s3RBACReporter *S3RBACReporter) GetCustomerGUID() string
func (*S3RBACReporter) ReportRbac ¶
func (s3RBACReporter *S3RBACReporter) ReportRbac(rbacObj *rbacutils.RbacObjects) error
func (*S3RBACReporter) SetClusterName ¶
func (s3RBACReporter *S3RBACReporter) SetClusterName(clusterName string)
func (*S3RBACReporter) SetCustomerGUID ¶
func (s3RBACReporter *S3RBACReporter) SetCustomerGUID(customerGUID string)
func (*S3RBACReporter) UploadRBAC ¶
func (s3RBACReporter *S3RBACReporter) UploadRBAC(MyRBAC *rbacutils.RBAC, customer string, cluster string) error
UploadRBAC -
func (*S3RBACReporter) UploadRBACTable ¶
func (s3RBACReporter *S3RBACReporter) UploadRBACTable(RbacTable *[]rbacutils.RbacTable, customer string, cluster string) error
UploadRBACTable -
func (*S3RBACReporter) UploadclusterRoleBindings ¶
func (s3RBACReporter *S3RBACReporter) UploadclusterRoleBindings(clusterRoleBindings *rbac.ClusterRoleBindingList, customer string, cluster string) error
UploadclusterRoleBindings -
func (*S3RBACReporter) Uploadclusterroles ¶
func (s3RBACReporter *S3RBACReporter) Uploadclusterroles(clusterroles *rbac.ClusterRoleList, customer string, cluster string) error
Uploadclusterroles -
func (*S3RBACReporter) UploadroleBindings ¶
func (s3RBACReporter *S3RBACReporter) UploadroleBindings(roleBindings *rbac.RoleBindingList, customer string, cluster string) error
UploadroleBindings -
func (*S3RBACReporter) Uploadroles ¶
func (s3RBACReporter *S3RBACReporter) Uploadroles(roles *rbac.RoleList, customer string, cluster string) error
Uploadroles -
Click to show internal directories.
Click to hide internal directories.