Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAADApplicationPhase ¶
NewAADApplicationPhase creates a new phase to delete an AAD application
func NewFederatedIdentityPhase ¶
NewFederatedIdentityPhase creates a new phase to delete federated identity.
func NewRoleAssignmentPhase ¶
NewRoleAssignmentPhase creates a new phase to delete role assignment
func NewServiceAccountPhase ¶
NewServiceAccountPhase creates a new phase to delete the Kubernetes service account
Types ¶
type DeleteData ¶
type DeleteData interface { // ServiceAccountName returns the name of the service account. ServiceAccountName() string // ServiceAccountNamespace returns the namespace of the service account. ServiceAccountNamespace() string // ServiceAccountIssuerURL returns the issuer URL of the service account. ServiceAccountIssuerURL() string // AADApplication returns the AAD application object. // This will return the cached value if it has been created. AADApplication() (models.Applicationable, error) // AADApplicationName returns the name of the AAD application. AADApplicationName() string // AADApplicationObjectID returns the object ID of the AAD application. // This will be used for creating or removing the federated identity credential. AADApplicationObjectID() string // RoleDefinitionID returns the role definition ID. RoleAssignmentID() string // AzureClient returns the Azure client. AzureClient() cloud.Interface // KubeClient returns the Kubernetes client. KubeClient() (client.Client, error) }
DeleteData is the interface to use for create phase. The "deleteData" type from cmd/delete.go must satisfy this interface.
Click to show internal directories.
Click to hide internal directories.