notification

package
v1.0.0-alpha.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CLUSTER_ROLE_REQUEST_MADE = "" /* 162-byte string literal not displayed */
	ROLE_REQUEST_MADE         = "" /* 161-byte string literal not displayed */
	TENANT_REQUEST_MADE       = "" /* 144-byte string literal not displayed */
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleRequest

type ClusterRoleRequest struct {
	Name string
}

type Content

type Content struct {
	Cluster            string
	User               string
	FirstName          string
	LastName           string
	Subject            string
	Recipient          []string
	RoleRequest        *RoleRequest
	TenantRequest      *TenantRequest
	ClusterRoleRequest *ClusterRoleRequest
}

func (*Content) Init

func (c *Content) Init(firstname, lastname, email, subject, clusterUID string, recipient []string)

func (*Content) SendNotification

func (c *Content) SendNotification(purpose string) error

type RoleRequest

type RoleRequest struct {
	Name      string
	Namespace string
}

type TenantRequest

type TenantRequest struct {
	Tenant string
}

Jump to

Keyboard shortcuts

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