operator

package
v0.0.0-...-2a4737e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2023 License: MIT Imports: 28 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// AzureIdentity
	K8sSchemeAzureIdentityGroup            = "aadpodidentity.k8s.io"
	K8sSchemeAzureIdentityVersion          = "v1"
	K8sSchemeAzureIdentityResourceSingular = "AzureIdentity"
	K8sSchemeAzureIdentityResourcePlural   = "azureidentities"

	// AzureIdentityBinding
	K8sSchemeAzureIdentityBindingGroup            = "aadpodidentity.k8s.io"
	K8sSchemeAzureIdentityBindingVersion          = "v1"
	K8sSchemeAzureIdentityBindingResourceSingular = "AzureIdentityBinding"
	K8sSchemeAzureIdentityBindingResourcePlural   = "azureidentitybindings"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MsiOperator

type MsiOperator struct {
	Conf      config.Opts
	UserAgent string
	Logger    *zap.SugaredLogger
	// contains filtered or unexported fields
}

func (*MsiOperator) Init

func (m *MsiOperator) Init()

func (*MsiOperator) Start

func (m *MsiOperator) Start(syncInterval time.Duration)

type MsiResourceInfo

type MsiResourceInfo struct {
	Resource               *msi.Identity
	AzureResourceId        *string
	AzureResourceName      *string
	AzureResourceGroup     *string
	AzureSubscriptionId    *string
	KubernetesResourceName *string
	KubernetesNamespace    []string
}

type MsiResourceList

type MsiResourceList struct {
	// contains filtered or unexported fields
}

func NewMsiResourceList

func NewMsiResourceList() *MsiResourceList

func (*MsiResourceList) Add

func (m *MsiResourceList) Add(val MsiResourceInfo)

func (*MsiResourceList) Clean

func (m *MsiResourceList) Clean()

func (*MsiResourceList) Commit

func (m *MsiResourceList) Commit()

func (*MsiResourceList) GetList

func (m *MsiResourceList) GetList() []MsiResourceInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL