kvm-operator: github.com/giantswarm/kvm-operator/service/controller Index | Files | Directories

package controller

import "github.com/giantswarm/kvm-operator/service/controller"

Index

Package Files

cluster.go cluster_resource_set.go deleter.go deleter_resource_set.go drainer.go drainer_resource_set.go error.go

func IsInvalidConfig Uses

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidVersion Uses

func IsInvalidVersion(err error) bool

IsInvalidVersion asserts invalidVersionError.

type Cluster Uses

type Cluster struct {
    *controller.Controller
}

func NewCluster Uses

func NewCluster(config ClusterConfig) (*Cluster, error)

type ClusterConfig Uses

type ClusterConfig struct {
    CertsSearcher certs.Interface
    K8sClient     k8sclient.Interface
    Logger        micrologger.Logger
    TenantCluster tenantcluster.Interface

    ClusterRoleGeneral string
    ClusterRolePSP     string
    CRDLabelSelector   string
    DNSServers         string
    GuestUpdateEnabled bool
    IgnitionPath       string
    NTPServers         string
    OIDC               ClusterConfigOIDC
    ProjectName        string
    SSOPublicKey       string

    DockerhubToken  string
    RegistryDomain  string
    RegistryMirrors []string
}

type ClusterConfigOIDC Uses

type ClusterConfigOIDC struct {
    ClientID       string
    IssuerURL      string
    UsernameClaim  string
    UsernamePrefix string
    GroupsClaim    string
    GroupsPrefix   string
}

ClusterConfigOIDC represents the configuration of the OIDC authorization provider.

type Deleter Uses

type Deleter struct {
    *controller.Controller
}

func NewDeleter Uses

func NewDeleter(config DeleterConfig) (*Deleter, error)

type DeleterConfig Uses

type DeleterConfig struct {
    CertsSearcher certs.Interface
    K8sClient     k8sclient.Interface
    Logger        micrologger.Logger
    TenantCluster tenantcluster.Interface

    CRDLabelSelector string
    ProjectName      string
}

type Drainer Uses

type Drainer struct {
    *controller.Controller
}

func NewDrainer Uses

func NewDrainer(config DrainerConfig) (*Drainer, error)

type DrainerConfig Uses

type DrainerConfig struct {
    K8sClient k8sclient.Interface
    Logger    micrologger.Logger

    CRDLabelSelector string
    ProjectName      string
}

Directories

PathSynopsis
cloudconfig
cloudconfig/cloudconfigtest
key
resource/cleanupendpointips
resource/clusterrolebinding
resource/configmap
resource/deployment
resource/endpoint
resource/ingress
resource/namespace
resource/node
resource/nodeindexstatus
resource/pod
resource/pvc
resource/service
resource/serviceaccount

Package controller imports 34 packages (graph) and is imported by 1 packages. Updated 2020-12-01. Refresh now. Tools for package owners.