Documentation
¶
Index ¶
- type NewServiceInput
- type RemoveService
- type Service
- func (s *Service) CreateNewRole(input *client.RoleCreationInfo) (arn string, externalID string, err error)
- func (s *Service) DeleteRole(roleName string)
- func (s *Service) GetOrgTree() ([]*command.TreeNode, error)
- func (s *Service) RemoveEventStream(input *client.EventRemoveConfig) error
- func (s *Service) SetupEventStream(input *client.EventStreamConfig) error
- type SetupService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewServiceInput ¶
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 ¶
DeleteRole calls the DeleteRole function in RoleService
func (*Service) GetOrgTree ¶
GetOrgTree calls the GetOrganizationTree function in OrgService
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