Documentation ¶
Index ¶
- Variables
- func ClusterRoleBindingExists(ctx context.Context, name string) (bool, error)
- func ClusterRoleExists(ctx context.Context, name string) (bool, error)
- func GetClusterRole(opts *InstallOptions) *rbacv1.ClusterRole
- func GetClusterRoleBinding(opts *InstallOptions) *rbacv1.ClusterRoleBinding
- func GetDeployment(opts *InstallOptions) *appsv1.Deployment
- func GetIngress(opts *InstallOptions) *networkingv1.Ingress
- func GetRandomSecretKey() string
- func GetSecret(opts *InstallOptions) *corev1.Secret
- func GetService(opts *InstallOptions) *corev1.Service
- func GetServiceAccount(opts *InstallOptions) *corev1.ServiceAccount
- func Init(appConfig *config.ServerConfig) (*kubernetes.Clientset, error)
- func Install(opts *InstallOptions) error
- func NamespaceExists(ctx context.Context, namespaceName string) (bool, error)
- func Uninstall(opts *InstallOptions) error
- type InstallOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( K8sClient *kubernetes.Clientset Ctx = context.Background() )
Functions ¶
func GetClusterRoleBinding ¶
func GetClusterRoleBinding(opts *InstallOptions) *rbacv1.ClusterRoleBinding
GetClusterRoleBinding
func GetDeployment ¶
func GetDeployment(opts *InstallOptions) *appsv1.Deployment
func GetService ¶
func GetService(opts *InstallOptions) *corev1.Service
func GetServiceAccount ¶
func GetServiceAccount(opts *InstallOptions) *corev1.ServiceAccount
GetServiceAccount
func Init ¶
func Init(appConfig *config.ServerConfig) (*kubernetes.Clientset, error)
Init initializes a message queue client
func Install ¶
func Install(opts *InstallOptions) error
func NamespaceExists ¶
func Uninstall ¶
func Uninstall(opts *InstallOptions) error
Types ¶
type InstallOptions ¶
Click to show internal directories.
Click to hide internal directories.