Documentation ¶
Index ¶
- func AddAdminsToOrgs(dashboard meraki.Dashboard, orgs []organizations.Organization, ...) ([][]string, error)
- func GetAdminList(dashboard meraki.Dashboard, orgs []organizations.Organization) [][]string
- func ReadCsv(file string) ([][]string, error)
- func RemoveAdminsFromOrgs(dashboard meraki.Dashboard, orgs []organizations.Organization, ...) ([][]string, error)
- func SetFileName(outputFile OutputFile, defaultPrefix string) string
- func SortSlicesWithHeader(slice [][]string, index int) [][]string
- func WriteCsv(path string, fileName string, records [][]string) error
- type Flags
- type OutputFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAdminsToOrgs ¶
func AddAdminsToOrgs( dashboard meraki.Dashboard, orgs []organizations.Organization, admins [][]string, ) ([][]string, error)
func GetAdminList ¶
func GetAdminList(dashboard meraki.Dashboard, orgs []organizations.Organization) [][]string
func RemoveAdminsFromOrgs ¶
func RemoveAdminsFromOrgs( dashboard meraki.Dashboard, orgs []organizations.Organization, admins [][]string, ) ([][]string, error)
func SetFileName ¶
func SetFileName(outputFile OutputFile, defaultPrefix string) string
func SortSlicesWithHeader ¶
Types ¶
type Flags ¶
type Flags struct { ApiKey string OutputFile OutputFile InputFile string }
func HandleFlags ¶
func HandleFlags() Flags
type OutputFile ¶
Click to show internal directories.
Click to hide internal directories.