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 IngressClass
- type Job
- type Namespace
- type PersistentVolume
- type PersistentVolumeClaim
- type Pod
- type Role
- type RoleBinding
- type Secret
- type Service
- type ServiceAccount
- type StatefulSet
- type ValidatingwebhookConfiguration
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 IngressClass ¶ added in v0.3.2
type IngressClass struct {
KubeObject *networkingv1.IngressClass
GoName string
}
func NewIngressClass ¶ added in v0.3.2
func NewIngressClass(obj *networkingv1.IngressClass) *IngressClass
func (IngressClass) Install ¶ added in v0.3.2
func (k IngressClass) Install() (string, []string)
func (IngressClass) Uninstall ¶ added in v0.3.2
func (k IngressClass) Uninstall() string
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
type ValidatingwebhookConfiguration ¶ added in v0.3.2
type ValidatingwebhookConfiguration struct {
KubeObject *admissionregistrationv1.ValidatingWebhookConfiguration
GoName string
}
func NewValidatingwebhookConfiguration ¶ added in v0.3.2
func NewValidatingwebhookConfiguration(obj *admissionregistrationv1.ValidatingWebhookConfiguration) *ValidatingwebhookConfiguration
func (ValidatingwebhookConfiguration) Install ¶ added in v0.3.2
func (k ValidatingwebhookConfiguration) Install() (string, []string)
func (ValidatingwebhookConfiguration) Uninstall ¶ added in v0.3.2
func (k ValidatingwebhookConfiguration) Uninstall() string
Source Files
¶
- clusterrole.go
- clusterrolebinding.go
- codify.go
- configmap.go
- cronjob.go
- customresourcedefinition.go
- daemonset.go
- deployment.go
- ingress.go
- ingressclass.go
- job.go
- namespace.go
- persistentvolume.go
- persistentvolumeclaim.go
- pod.go
- role.go
- rolebinding.go
- secret.go
- service.go
- serviceaccount.go
- statefulset.go
- validatingwebhookconfiguration.go
Click to show internal directories.
Click to hide internal directories.