Documentation
¶
Index ¶
- func Literal(kubeobject interface{}) (string, []string)
- type ClusterRole
- type ClusterRoleBinding
- type ConfigMap
- type CronJob
- type CustomResourceDefinition
- type DaemonSet
- type Deployment
- type Ingress
- type Job
- type Namespace
- type PersistentVolume
- type PersistentVolumeClaim
- type Pod
- type Role
- type RoleBinding
- type Secret
- type Service
- type ServiceAccount
- type StatefulSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterRole ¶
type ClusterRole struct {
KubeObject *rbacv1.ClusterRole
GoName string
}
func NewClusterRole ¶
func NewClusterRole(obj *rbacv1.ClusterRole) *ClusterRole
func (ClusterRole) Install ¶
func (k ClusterRole) Install() (string, []string)
func (ClusterRole) Uninstall ¶
func (k ClusterRole) Uninstall() string
type ClusterRoleBinding ¶
type ClusterRoleBinding struct {
KubeObject *rbacv1.ClusterRoleBinding
GoName string
}
func NewClusterRoleBinding ¶
func NewClusterRoleBinding(obj *rbacv1.ClusterRoleBinding) *ClusterRoleBinding
func (ClusterRoleBinding) Install ¶
func (k ClusterRoleBinding) Install() (string, []string)
func (ClusterRoleBinding) Uninstall ¶
func (k ClusterRoleBinding) Uninstall() string
type ConfigMap ¶
func NewConfigMap ¶
type CronJob ¶
func NewCronJob ¶
type CustomResourceDefinition ¶ added in v0.2.9
type CustomResourceDefinition struct {
KubeObject *apiextensionsv1.CustomResourceDefinition
GoName string
}
func NewCustomResourceDefinition ¶ added in v0.2.9
func NewCustomResourceDefinition(obj *apiextensionsv1.CustomResourceDefinition) *CustomResourceDefinition
func (CustomResourceDefinition) Install ¶ added in v0.2.9
func (k CustomResourceDefinition) Install() (string, []string)
func (CustomResourceDefinition) Uninstall ¶ added in v0.2.9
func (k CustomResourceDefinition) Uninstall() string
type DaemonSet ¶
func NewDaemonSet ¶
type Deployment ¶
type Deployment struct {
KubeObject *appsv1.Deployment
GoName string
}
func NewDeployment ¶
func NewDeployment(obj *appsv1.Deployment) *Deployment
func (Deployment) Install ¶
func (k Deployment) Install() (string, []string)
func (Deployment) Uninstall ¶
func (k Deployment) Uninstall() string
type Ingress ¶
type Ingress struct {
KubeObject *networkingv1.Ingress
GoName string
}
func NewIngress ¶
func NewIngress(obj *networkingv1.Ingress) *Ingress
type Namespace ¶ added in v0.2.9
func NewNamespace ¶ added in v0.2.9
type PersistentVolume ¶
type PersistentVolume struct {
KubeObject *corev1.PersistentVolume
GoName string
}
func NewPersistentVolume ¶
func NewPersistentVolume(obj *corev1.PersistentVolume) *PersistentVolume
func (PersistentVolume) Install ¶
func (k PersistentVolume) Install() (string, []string)
func (PersistentVolume) Uninstall ¶
func (k PersistentVolume) Uninstall() string
type PersistentVolumeClaim ¶
type PersistentVolumeClaim struct {
KubeObject *corev1.PersistentVolumeClaim
GoName string
}
func NewPersistentVolumeClaim ¶
func NewPersistentVolumeClaim(obj *corev1.PersistentVolumeClaim) *PersistentVolumeClaim
func (PersistentVolumeClaim) Install ¶
func (k PersistentVolumeClaim) Install() (string, []string)
func (PersistentVolumeClaim) Uninstall ¶
func (k PersistentVolumeClaim) Uninstall() string
type RoleBinding ¶
type RoleBinding struct {
KubeObject *rbacv1.RoleBinding
GoName string
}
func NewRoleBinding ¶
func NewRoleBinding(obj *rbacv1.RoleBinding) *RoleBinding
func (RoleBinding) Install ¶
func (k RoleBinding) Install() (string, []string)
func (RoleBinding) Uninstall ¶
func (k RoleBinding) Uninstall() string
type Service ¶
func NewService ¶
type ServiceAccount ¶
type ServiceAccount struct {
KubeObject *corev1.ServiceAccount
GoName string
}
func NewServiceAccount ¶
func NewServiceAccount(obj *corev1.ServiceAccount) *ServiceAccount
func (ServiceAccount) Install ¶
func (k ServiceAccount) Install() (string, []string)
func (ServiceAccount) Uninstall ¶
func (k ServiceAccount) Uninstall() string
type StatefulSet ¶
type StatefulSet struct {
KubeObject *appsv1.StatefulSet
GoName string
}
func NewStatefulSet ¶
func NewStatefulSet(obj *appsv1.StatefulSet) *StatefulSet
func (StatefulSet) Install ¶
func (k StatefulSet) Install() (string, []string)
func (StatefulSet) Uninstall ¶
func (k StatefulSet) Uninstall() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.