rbacreporter

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 IRbacReporter interface {
	ReportRbac(rbacObj *rbacutils.RbacObjects) error
	GetClusterName() string
	GetCustomerGUID() string
	SetClusterName(clusterName string)
	SetCustomerGUID(customerGUID string)
}

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 -

Jump to

Keyboard shortcuts

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