azureGraph

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient() (client *msgraphsdk.GraphServiceClient, error error)

func FilterAndFormatIngresses

func FilterAndFormatIngresses(ingressList *v1.IngressList, domainFilter *string) (ingressHosts []string, err error)

func FilterAndFormatStringList

func FilterAndFormatStringList(stringList []string, filter string) (filteredStringList []string, err error)

func GetReplyURLs

func GetReplyURLs(appId string, graphClient *msgraphsdk.GraphServiceClient) (replyURLs []string, err error)

func GraphAuth

func GraphAuth() (graphCreds *a.AzureIdentityAuthenticationProvider, err error)

func PatchAppRegistration

func PatchAppRegistration(patchOptions PatchOptions) (removedURLS []string, err error)

func PatchAppReplyURLs

func PatchAppReplyURLs(appId string, urls []string, graphClient *msgraphsdk.GraphServiceClient) error

func ProcessHost

func ProcessHost(hosts []string, syncSpec v1alpha1.ReplyURLSyncSpec) (result ctrl.Result, err error)

Types

type FieldNotFoundError

type FieldNotFoundError struct {
	Field    string
	Resource string
}

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
}

Jump to

Keyboard shortcuts

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