Documentation ¶
Index ¶
- func GenerateClientConfigFromRESTConfig(name string, restConfig *rest.Config) *configapi.Config
- func InstallCluster(name, releaseImage, dhParamsFile string, waitForReady bool) error
- func UninstallCluster(name string) error
- type AWSHelper
- func (h *AWSHelper) EnsureCNameRecord(zoneID, dnsName, targetName string) error
- func (h *AWSHelper) EnsureEIP(name string) (string, string, error)
- func (h *AWSHelper) EnsureIgnitionBucket(name, fileName string) error
- func (h *AWSHelper) EnsureListener(lbARN, tgARN string, port int, udp bool) error
- func (h *AWSHelper) EnsureNLB(nlbName, subnet, eipAllocID string) (string, string, error)
- func (h *AWSHelper) EnsureTarget(targetGroupARN string, targetID string) error
- func (h *AWSHelper) EnsureTargetGroup(vpc, tgName string, port int) (string, error)
- func (h *AWSHelper) EnsureUDPTargetGroup(vpc, tgName string, port, healthCheckPort int) (string, error)
- func (h *AWSHelper) EnsureWorkersAllowNodePortAccess() error
- func (h *AWSHelper) LoadBalancerInfo(machineNames []string) (*LBInfo, error)
- func (h *AWSHelper) RemoveCNameRecord(zoneID, dnsName string) error
- func (h *AWSHelper) RemoveEIP(name string) error
- func (h *AWSHelper) RemoveIgnitionBucket(name string) error
- func (h *AWSHelper) RemoveNLB(nlbName string) error
- func (h *AWSHelper) RemoveTargetGroup(tgName string) error
- type Applier
- type LBInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateClientConfigFromRESTConfig ¶
GenerateClientConfigFromRESTConfig generates a new kubeconfig using a given rest.Config. The rest.Config may come from in-cluster config (as in a pod) or an existing kubeconfig.
func InstallCluster ¶
func UninstallCluster ¶
Types ¶
type AWSHelper ¶
type AWSHelper struct {
// contains filtered or unexported fields
}
func NewAWSHelper ¶
NewAWSHelper creates an instance of the AWS helper with clients for each of the required services
func (*AWSHelper) EnsureCNameRecord ¶
func (*AWSHelper) EnsureIgnitionBucket ¶
EnsureIgnitionBucket ensures that a bucket with the given name exists and that it contains a file with the contents of the ignition filename passed.
func (*AWSHelper) EnsureListener ¶
func (*AWSHelper) EnsureNLB ¶
EnsureNLB ensures that a network load balancer exists with the given subnet. If an EIP allocation ID is passed, it assigns it to the NLB subnet mappings.
func (*AWSHelper) EnsureTarget ¶
func (*AWSHelper) EnsureTargetGroup ¶
EnsureTargetGroup ensures that a target group with the given name and port exists
func (*AWSHelper) EnsureUDPTargetGroup ¶
func (h *AWSHelper) EnsureUDPTargetGroup(vpc, tgName string, port, healthCheckPort int) (string, error)
EnsureUDPTargetGroup ensures that a UDP target group exists with the given port and healt check port
func (*AWSHelper) EnsureWorkersAllowNodePortAccess ¶
func (*AWSHelper) LoadBalancerInfo ¶
LoadBalancerInfo returns load balancer information for one of the zones that contains worker machines
func (*AWSHelper) RemoveCNameRecord ¶
func (*AWSHelper) RemoveIgnitionBucket ¶
func (*AWSHelper) RemoveTargetGroup ¶
RemoveTargetGroup removes a target group by name