Documentation
¶
Index ¶
- type APIAuthenticationService
- type AuthToken
- type Authorizer
- type CategoriesService
- func (s *CategoriesService) Create(ctx context.Context, category *Category) (*string, *jamf.Response, error)
- func (s *CategoriesService) Delete(ctx context.Context, categoryID string) (*jamf.Response, error)
- func (s *CategoriesService) DeleteMultiple(ctx context.Context, categoryIDs []string) (*jamf.Response, error)
- func (s *CategoriesService) Get(ctx context.Context, categoryID string) (*Category, *jamf.Response, error)
- func (s *CategoriesService) List(ctx context.Context, options ListOptions) (*ListCategory, *jamf.Response, error)
- func (s *CategoriesService) Update(ctx context.Context, category *Category) (*Category, *jamf.Response, error)
- type Category
- type Client
- type Icon
- type IconContentOptions
- type IconContentOptionsRes
- type IconService
- func (s *IconService) Download(ctx context.Context, iconID int, options IconContentOptions) (*jamf.Response, error)
- func (s *IconService) Get(ctx context.Context, iconID int) (*Icon, *jamf.Response, error)
- func (s *IconService) Upload(ctx context.Context, iconName string, src io.Reader) (*Icon, *jamf.Response, error)
- type ListCategory
- type ListOptions
- type ListScript
- type SSOFailover
- type SSOFailoverService
- type Script
- type ScriptPriority
- type ScriptsService
- func (s *ScriptsService) Create(ctx context.Context, script *Script) (*string, *jamf.Response, error)
- func (s *ScriptsService) Delete(ctx context.Context, scriptID string) (*jamf.Response, error)
- func (s *ScriptsService) Get(ctx context.Context, scriptID string) (*Script, *jamf.Response, error)
- func (s *ScriptsService) List(ctx context.Context, options ListOptions) (*ListScript, *jamf.Response, error)
- func (s *ScriptsService) Update(ctx context.Context, script *Script) (*Script, *jamf.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIAuthenticationService ¶
type APIAuthenticationService service
type CategoriesService ¶
type CategoriesService service
func (*CategoriesService) DeleteMultiple ¶
func (*CategoriesService) List ¶
func (s *CategoriesService) List(ctx context.Context, options ListOptions) (*ListCategory, *jamf.Response, error)
type Client ¶
type Client struct {
*jamf.BaseClient
// contains filtered or unexported fields
}
type IconContentOptions ¶
type IconContentOptions struct {
Res *IconContentOptionsRes `url:"res,omitempty"`
Scale *string `url:"scale,omitempty"`
}
type IconContentOptionsRes ¶
type IconContentOptionsRes string
const ( IconContentOptionsResOriginal IconContentOptionsRes = "original" IconContentOptionsRes300 IconContentOptionsRes = "300" IconContentOptionsRes512 IconContentOptionsRes = "512" )
type IconService ¶
type IconService service
func (*IconService) Download ¶
func (s *IconService) Download(ctx context.Context, iconID int, options IconContentOptions) (*jamf.Response, error)
type ListCategory ¶
type ListOptions ¶
type ListScript ¶
type SSOFailover ¶
type SSOFailoverService ¶
type SSOFailoverService service
func (*SSOFailoverService) Generate ¶
func (s *SSOFailoverService) Generate(ctx context.Context) (*SSOFailover, *jamf.Response, error)
func (*SSOFailoverService) Get ¶
func (s *SSOFailoverService) Get(ctx context.Context) (*SSOFailover, *jamf.Response, error)
type Script ¶
type Script struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Info *string `json:"info,omitempty"`
Notes *string `json:"notes,omitempty"`
Priority *ScriptPriority `json:"priority,omitempty"`
CategoryID *string `json:"categoryId,omitempty"`
CategoryName *string `json:"categoryName,omitempty"`
Parameter4 *string `json:"parameter4,omitempty"`
Parameter5 *string `json:"parameter5,omitempty"`
Parameter6 *string `json:"parameter6,omitempty"`
Parameter7 *string `json:"parameter7,omitempty"`
Parameter8 *string `json:"parameter8,omitempty"`
Parameter9 *string `json:"parameter9,omitempty"`
Parameter10 *string `json:"parameter10,omitempty"`
Parameter11 *string `json:"parameter11,omitempty"`
OSRequirements *string `json:"osRequirements,omitempty"`
ScriptContents *string `json:"scriptContents,omitempty"`
}
type ScriptPriority ¶
type ScriptPriority string
const ( ScriptPriorityBefore ScriptPriority = "BEFORE" ScriptPriorityAfter ScriptPriority = "AFTER" ScriptPriorityAtReboot ScriptPriority = "AT_REBOOT" )
type ScriptsService ¶
type ScriptsService service
func (*ScriptsService) List ¶
func (s *ScriptsService) List(ctx context.Context, options ListOptions) (*ListScript, *jamf.Response, error)
Click to show internal directories.
Click to hide internal directories.