Documentation ¶
Index ¶
- Constants
- Variables
- func CreateOrUpdateConfigMap(client clientset.Interface, configmap *v1.ConfigMap) error
- func CreateOrUpdateDeployment(client clientset.Interface, deploy *extensions.Deployment) error
- func CreateOrUpdateService(client clientset.Interface, service *v1.Service) error
- func CreateOrUpdateServiceAccount(client clientset.Interface, sa *v1.ServiceAccount) error
- func RenderManifest(strtmpl string, obj interface{}) ([]byte, error)
- func SeedKubeDNS(client clientset.Interface, repository, version, domain, clusterIP string) error
- type DeploymentOptions
- type ServiceOptions
Constants ¶
View Source
const ( SERVICE_ACCOUNT = "kube-dns" CONFIGMAP = "kube-dns" DEFAULT_REPOSITORY = "gcr.io/google_containers" DEFAULT_VERSION = "1.14.7" )
View Source
const ( KubeDNSDeployment_v20171016 = `` /* 4571-byte string literal not displayed */ // KubeDNSService is the kube-dns Service manifest KubeDNSService_v20171016 = `` /* 641-byte string literal not displayed */ )
Variables ¶
View Source
var (
DEFAULT_DOMAIN = spec.MustDefaultString("KlusterSpec", "dnsDomain")
)
Functions ¶
func CreateOrUpdateConfigMap ¶
func CreateOrUpdateDeployment ¶
func CreateOrUpdateDeployment(client clientset.Interface, deploy *extensions.Deployment) error
func CreateOrUpdateService ¶
func CreateOrUpdateServiceAccount ¶
func CreateOrUpdateServiceAccount(client clientset.Interface, sa *v1.ServiceAccount) error
func RenderManifest ¶
Types ¶
type DeploymentOptions ¶
type ServiceOptions ¶
type ServiceOptions struct {
ClusterIP string
}
Click to show internal directories.
Click to hide internal directories.