Versions in this module Expand all Collapse all v1 v1.0.0 Jan 31, 2023 Changes in this version + func BuildNewCoreFile(corefile []byte) ([]byte, bool, error) + func ExistContainerByName(name string, containers []corev1.Container) bool + func ExistInterfaceSlice(val string, item []interface{}) bool + func ExistPolicyRule(rule rbacv1.PolicyRule, rules []rbacv1.PolicyRule) bool + func ExistPortsByPort(port int32, ports []corev1.ServicePort) bool + func ExistStringSlice(val string, item []string) bool + func ExistVolumeMountsByName(name string, volumeMounts []corev1.VolumeMount) bool + func ExistVolumeMsByName(name string, volumes []corev1.Volume) bool + func FileExist(name string) bool + type Args struct + CoreDNSHostsServerVersion string + CoreDNSName string + CoreDNSNamespace string + Kubeconfig string + ServerArgs *server.Args + func NewEmptyArgs() *Args + type Server struct + func NewServer(args *Args) (*Server, error) + func (s *Server) RunOnce() error