Documentation ¶
Index ¶
- type AccessControl
- type AccessControlEntry
- type EdgeDictionary
- type EdgeDictionaryItem
- type FastlyClient
- func (c *FastlyClient) LatestVersion(ctx context.Context) (int64, error)
- func (c *FastlyClient) ListAccessControlEntries(ctx context.Context, aclId string) ([]*AccessControlEntry, error)
- func (c *FastlyClient) ListAccessControlLists(ctx context.Context, version int64) ([]*AccessControl, error)
- func (c *FastlyClient) ListEdgeDictionaries(ctx context.Context, version int64) ([]*EdgeDictionary, error)
- func (c *FastlyClient) ListEdgeDictionaryItems(ctx context.Context, dictId string) ([]*EdgeDictionaryItem, error)
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessControl ¶ added in v0.7.0
type AccessControl struct { Id string `json:"id"` Name string `json:"name"` Entries []*AccessControlEntry }
type AccessControlEntry ¶ added in v0.7.0
type EdgeDictionary ¶
type EdgeDictionary struct { Id string `json:"id"` Name string `json:"name"` Items []*EdgeDictionaryItem }
type EdgeDictionaryItem ¶
type FastlyClient ¶
type FastlyClient struct {
// contains filtered or unexported fields
}
func NewFastlyClient ¶
func NewFastlyClient(c *http.Client, serviceId, apiKey string) *FastlyClient
func (*FastlyClient) LatestVersion ¶
func (c *FastlyClient) LatestVersion(ctx context.Context) (int64, error)
func (*FastlyClient) ListAccessControlEntries ¶ added in v0.7.0
func (c *FastlyClient) ListAccessControlEntries(ctx context.Context, aclId string) ([]*AccessControlEntry, error)
func (*FastlyClient) ListAccessControlLists ¶ added in v0.7.0
func (c *FastlyClient) ListAccessControlLists(ctx context.Context, version int64) ([]*AccessControl, error)
func (*FastlyClient) ListEdgeDictionaries ¶
func (c *FastlyClient) ListEdgeDictionaries(ctx context.Context, version int64) ([]*EdgeDictionary, error)
func (*FastlyClient) ListEdgeDictionaryItems ¶
func (c *FastlyClient) ListEdgeDictionaryItems(ctx context.Context, dictId string) ([]*EdgeDictionaryItem, error)
Click to show internal directories.
Click to hide internal directories.