Documentation ¶
Index ¶
- func CreateClient(c *ClientSecretCredentials) (client *msgraphsdk.GraphServiceClient, error error)
- func FilterAndFormatIngressHosts(ingressList *v1.IngressList, domainFilter string, ingressClassFilter string) (ingressHosts []string, err error)
- func GetReplyURLs(appId string, graphClient *msgraphsdk.GraphServiceClient) (replyURLs []string, err error)
- func GraphAuth(c *ClientSecretCredentials) (graphCreds *a.AzureIdentityAuthenticationProvider, err error)
- func PatchAppRegistration(creds ClientSecretCredentials, patchOptions PatchOptions) (removedURLS []string, err error)
- func PatchAppReplyURLs(appId string, urls []string, graphClient *msgraphsdk.GraphServiceClient) error
- func ProcessHost(ingresses *v1.IngressList, syncSpec v1alpha1.ReplyURLSyncSpec, ...) (result ctrl.Result, err error)
- type ClientSecretCredentials
- type FieldNotFoundError
- type PatchOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClient ¶
func CreateClient(c *ClientSecretCredentials) (client *msgraphsdk.GraphServiceClient, error error)
func FilterAndFormatIngressHosts ¶ added in v0.0.5
func GetReplyURLs ¶
func GetReplyURLs(appId string, graphClient *msgraphsdk.GraphServiceClient) (replyURLs []string, err error)
func GraphAuth ¶
func GraphAuth(c *ClientSecretCredentials) (graphCreds *a.AzureIdentityAuthenticationProvider, err error)
func PatchAppRegistration ¶
func PatchAppRegistration(creds ClientSecretCredentials, patchOptions PatchOptions) (removedURLS []string, err error)
func PatchAppReplyURLs ¶
func PatchAppReplyURLs(appId string, urls []string, graphClient *msgraphsdk.GraphServiceClient) error
func ProcessHost ¶
func ProcessHost(ingresses *v1.IngressList, syncSpec v1alpha1.ReplyURLSyncSpec, creds ClientSecretCredentials) (result ctrl.Result, err error)
Types ¶
type ClientSecretCredentials ¶ added in v0.0.10
type FieldNotFoundError ¶
func (FieldNotFoundError) Error ¶
func (err FieldNotFoundError) Error() string
func (*FieldNotFoundError) SetField ¶
func (err *FieldNotFoundError) SetField(field string)
func (*FieldNotFoundError) SetResource ¶
func (err *FieldNotFoundError) SetResource(resource string)
type PatchOptions ¶
type PatchOptions struct { IngressHosts []string Syncer v1alpha1.ReplyURLSync }
Click to show internal directories.
Click to hide internal directories.