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.

func NewClusterResourceSet Uses

func NewClusterResourceSet(config ClusterResourceSetConfig) (*controller.ResourceSet, error)

func NewDeleterResourceSet Uses

func NewDeleterResourceSet(config DeleterResourceSetConfig) (*controller.ResourceSet, error)

func NewDrainerResourceSet Uses

func NewDrainerResourceSet(config DrainerResourceSetConfig) (*controller.ResourceSet, error)

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
    RegistryDomain     string
    RegistryMirrors    []string
    SSOPublicKey       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 ClusterResourceSetConfig Uses

type ClusterResourceSetConfig struct {
    CertsSearcher      certs.Interface
    G8sClient          versioned.Interface
    K8sClient          k8sclient.Interface
    Logger             micrologger.Logger
    RandomkeysSearcher randomkeys.Interface
    RegistryDomain     string
    RegistryMirrors    []string
    TenantCluster      tenantcluster.Interface

    ClusterRoleGeneral string
    ClusterRolePSP     string
    DNSServers         string
    GuestUpdateEnabled bool
    IgnitionPath       string
    NTPServers         string
    OIDC               cloudconfig.OIDCConfig
    ProjectName        string
    SSOPublicKey       string
}

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 DeleterResourceSetConfig Uses

type DeleterResourceSetConfig struct {
    K8sClient     kubernetes.Interface
    Logger        micrologger.Logger
    TenantCluster tenantcluster.Interface

    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
}

type DrainerResourceSetConfig Uses

type DrainerResourceSetConfig struct {
    G8sClient versioned.Interface
    K8sClient kubernetes.Interface
    Logger    micrologger.Logger

    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
v20/cloudconfig/cloudconfigtest
v20/resource/nodeindexstatus
v20/resource/serviceaccount
v21/resource/clusterrolebinding
v21/resource/deployment
v21/resource/endpoint
v21/resource/nodeindexstatus
v21/resource/pod
v21/resource/pvc
v22/cloudconfig/cloudconfigtest
v22/resource/clusterrolebinding
v22/resource/ingress
v23/resource/configmap
v23/resource/ingress
v23/resource/namespace
v23/resource/node
v23/resource/serviceaccount
v24patch1/cloudconfig
v24patch1/resource/pod
v24patch1/resource/pvc

Package controller imports 37 packages (graph) and is imported by 1 packages. Updated 2020-08-02. Refresh now. Tools for package owners.