Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAzurePath = "azure"
Variables ¶
This section is empty.
Functions ¶
func GetAzurePath ¶
func GetAzurePath(c appcat_cs.AppcatalogV1alpha1Interface, ref *appcat.AppReference) (string, error)
If azure path does not exist, then use default azure path
Types ¶
type AzureRole ¶
type AzureRole struct {
// contains filtered or unexported fields
}
func (*AzureRole) CreateConfig ¶
Writes the config file to specified path
func (*AzureRole) DeleteRole ¶
DeleteRole deletes role It's safe to call multiple time. It doesn't give error even if respective role doesn't exist
func (*AzureRole) EnableAzure ¶
EnableAzure enables azure secret engine It first checks whether azure is enabled or not
func (*AzureRole) IsAzureEnabled ¶
checks whether azure is enabled or not
type AzureRoleInterface ¶
type AzureRoleInterface interface { role.RoleInterface // Enable enables azure secret engine EnableAzure() error // IsAzureEnabled checks whether azure is enabled or not IsAzureEnabled() (bool, error) // DeleteRole deletes role DeleteRole(name string) error }
func NewAzureRole ¶
func NewAzureRole(kClient kubernetes.Interface, appClient appcat_cs.AppcatalogV1alpha1Interface, role *api.AzureRole) (AzureRoleInterface, error)
Click to show internal directories.
Click to hide internal directories.