Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServincePrincipalTokenFromEnvironment ¶
func CreateServincePrincipalTokenFromEnvironment() (*adal.ServicePrincipalToken, error)
CreateServincePrincipalTokenFromEnvironment creates servince principal token from automic settings.
Types ¶
type AZBlob ¶
type AZBlob struct {
// contains filtered or unexported fields
}
AZBlob implements azure blob based storage.
type StorageOption ¶
type StorageOption struct { Logger logrus.FieldLogger ServicePrincipalToken func() (*adal.ServicePrincipalToken, error) ContainerURL string }
StorageOption defines option for creating azure blob based storage.
func (*StorageOption) Create ¶
func (s *StorageOption) Create() (*AZBlob, error)
Create creates an azblob instance.
Click to show internal directories.
Click to hide internal directories.