Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: user.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type ApplicationPermissions ¶
type ApplicationPermissions struct { Type string `json:"type"` Satellites []string `json:"satellites,omitempty"` Clusters []string `json:"clusters,omitempty"` Namespaces []string `json:"namespaces,omitempty"` }
func (*ApplicationPermissions) DeepCopy ¶
func (in *ApplicationPermissions) DeepCopy() *ApplicationPermissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPermissions.
func (*ApplicationPermissions) DeepCopyInto ¶
func (in *ApplicationPermissions) DeepCopyInto(out *ApplicationPermissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Notifications ¶ added in v0.10.0
type Notifications struct {
Groups []NotificationsGroup `json:"groups"`
}
func (*Notifications) DeepCopy ¶ added in v0.10.0
func (in *Notifications) DeepCopy() *Notifications
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Notifications.
func (*Notifications) DeepCopyInto ¶ added in v0.10.0
func (in *Notifications) DeepCopyInto(out *Notifications)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationsGroup ¶ added in v0.10.0
type NotificationsGroup struct { Title string `json:"title"` Plugin dashboardv1.Plugin `json:"plugin"` }
func (*NotificationsGroup) DeepCopy ¶ added in v0.10.0
func (in *NotificationsGroup) DeepCopy() *NotificationsGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationsGroup.
func (*NotificationsGroup) DeepCopyInto ¶ added in v0.10.0
func (in *NotificationsGroup) DeepCopyInto(out *NotificationsGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Permissions ¶
type Permissions struct { Applications []ApplicationPermissions `json:"applications,omitempty"` Teams []string `json:"teams,omitempty"` Plugins []Plugin `json:"plugins,omitempty"` Resources []Resources `json:"resources,omitempty"` }
func (*Permissions) DeepCopy ¶
func (in *Permissions) DeepCopy() *Permissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permissions.
func (*Permissions) DeepCopyInto ¶
func (in *Permissions) DeepCopyInto(out *Permissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Plugin ¶
type Plugin struct { Satellite string `json:"satellite"` Name string `json:"name"` Type string `json:"type"` Permissions apiextensionsv1.JSON `json:"permissions,omitempty"` }
func (*Plugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
func (*Plugin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct { Satellites []string `json:"satellites"` Clusters []string `json:"clusters"` Namespaces []string `json:"namespaces"` Resources []string `json:"resources"` Verbs []string `json:"verbs"` }
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec,omitempty"` }
User is the User CRD.
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []User `json:"items"` }
UserList is the structure for a list of User CRs.
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserSpec ¶
type UserSpec struct { ID string `json:"id,omitempty" boltholdUnique:"UniqueID"` Satellite string `json:"satellite,omitempty"` UpdatedAt int64 `json:"updatedAt,omitempty"` Cluster string `json:"cluster,omitempty"` Namespace string `json:"namespace,omitempty"` Name string `json:"name,omitempty"` ClusterID string `json:"clusterID,omitempty"` NamespaceID string `json:"namespaceID,omitempty"` Email string `json:"email" boltholdIndex:"Email"` Permissions Permissions `json:"permissions,omitempty"` Dashboards []dashboardv1.Reference `json:"dashboards,omitempty"` Notifications Notifications `json:"notifications,omitempty"` }
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.