You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/api/http/models/kubernetes/role_bindings.go

18 lines
357 B

package kubernetes
import (
"time"
rbacv1 "k8s.io/api/rbac/v1"
)
type (
K8sRoleBinding struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
RoleRef rbacv1.RoleRef `json:"roleRef"`
Subjects []rbacv1.Subject `json:"subjects"`
CreationDate time.Time `json:"creationDate"`
}
)