azure

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewServiceInput

type NewServiceInput struct {
	AuthFile string
	Region   string
}

NewServiceInput contains the info needed for Azure Event Stream Setup

type RemoveService added in v0.0.36

type RemoveService struct {
	// contains filtered or unexported fields
}

RemoveService removes Azure event stream

func NewRemoveService added in v0.0.36

func NewRemoveService(input *NewServiceInput) *RemoveService

NewRemoveService returns an instance of RemoveService

func (*RemoveService) RemoveEventStream added in v0.0.36

func (a *RemoveService) RemoveEventStream(input *client.EventRemoveConfig) error

RemoveEventStream removes Azure event stream

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service contains setup service and remove service

func NewService

func NewService(input *NewServiceInput) *Service

NewService returns a new Azure service group

func (*Service) CreateNewRole

func (s *Service) CreateNewRole(input *client.RoleCreationInfo) (arn string, externalID string, err error)

CreateNewRole calls the CreateNewRole function in RoleService

func (*Service) DeleteRole

func (s *Service) DeleteRole(roleName string)

DeleteRole calls the DeleteRole function in RoleService

func (*Service) RemoveEventStream

func (s *Service) RemoveEventStream(input *client.EventRemoveConfig) error

RemoveEventStream perform the same function as event stream removal script

func (*Service) SetupEventStream

func (s *Service) SetupEventStream(input *client.EventStreamConfig) error

SetupEventStream calls the SetupEventStream function in SetupService

type SetupService

type SetupService struct {
	// contains filtered or unexported fields
}

SetupService is Azure SetupService

func NewSetupService

func NewSetupService(input *NewServiceInput) *SetupService

NewSetupService returns a new Azure SetupService

func (*SetupService) SetupEventStream

func (a *SetupService) SetupEventStream(input *client.EventStreamConfig) error

SetupEventStream sets up Azure event stream

Jump to

Keyboard shortcuts

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