Versions in this module Expand all Collapse all v0 v0.1.1 Apr 24, 2026 Changes in this version + func IsNotFound(err error) bool + type APIError struct + Body string + Method string + Path string + StatusCode int + func (e *APIError) Error() string + type Client struct + func New(cfg Config) (*Client, error) + func (c *Client) AddSharingGroupMember(ctx context.Context, sgID, orgID string) error + func (c *Client) AddSharingGroupServer(ctx context.Context, sgID, serverID string) error + func (c *Client) CreateFeed(ctx context.Context, f Feed) (*Feed, error) + func (c *Client) CreateGalaxyCluster(ctx context.Context, galaxyID string, gc GalaxyCluster) (*GalaxyCluster, error) + func (c *Client) CreateOrganisation(ctx context.Context, o Organisation) (*Organisation, error) + func (c *Client) CreateRole(ctx context.Context, r Role) (*Role, error) + func (c *Client) CreateServer(ctx context.Context, s Server) (*Server, error) + func (c *Client) CreateSharingGroup(ctx context.Context, sg SharingGroup) (*SharingGroup, error) + func (c *Client) CreateTag(ctx context.Context, t Tag) (*Tag, error) + func (c *Client) CreateUser(ctx context.Context, u User) (*User, error) + func (c *Client) DeleteFeed(ctx context.Context, id string) error + func (c *Client) DeleteGalaxyCluster(ctx context.Context, id string) error + func (c *Client) DeleteOrganisation(ctx context.Context, id string) error + func (c *Client) DeleteRole(ctx context.Context, id string) error + func (c *Client) DeleteServer(ctx context.Context, id string) error + func (c *Client) DeleteSharingGroup(ctx context.Context, id string) error + func (c *Client) DeleteTag(ctx context.Context, id string) error + func (c *Client) DeleteUser(ctx context.Context, id string) error + func (c *Client) DisableNoticelist(ctx context.Context, id string) error + func (c *Client) DisableTaxonomy(ctx context.Context, id string) error + func (c *Client) DisableWarninglist(ctx context.Context, id string) error + func (c *Client) EnableNoticelist(ctx context.Context, id string) error + func (c *Client) EnableTaxonomy(ctx context.Context, id string) error + func (c *Client) EnableWarninglist(ctx context.Context, id string) error + func (c *Client) FindNoticelistByName(ctx context.Context, name string) (*Noticelist, error) + func (c *Client) FindTaxonomyByNamespace(ctx context.Context, namespace string) (*Taxonomy, error) + func (c *Client) FindWarninglistByName(ctx context.Context, name string) (*Warninglist, error) + func (c *Client) GetFeed(ctx context.Context, id string) (*Feed, error) + func (c *Client) GetGalaxyCluster(ctx context.Context, id string) (*GalaxyCluster, error) + func (c *Client) GetNoticelist(ctx context.Context, id string) (*Noticelist, error) + func (c *Client) GetOrganisation(ctx context.Context, id string) (*Organisation, error) + func (c *Client) GetRole(ctx context.Context, id string) (*Role, error) + func (c *Client) GetServer(ctx context.Context, id string) (*Server, error) + func (c *Client) GetSetting(ctx context.Context, name string) (*Setting, error) + func (c *Client) GetSharingGroup(ctx context.Context, id string) (*SharingGroup, error) + func (c *Client) GetTag(ctx context.Context, id string) (*Tag, error) + func (c *Client) GetTaxonomy(ctx context.Context, id string) (*Taxonomy, error) + func (c *Client) GetUser(ctx context.Context, id string) (*User, error) + func (c *Client) GetWarninglist(ctx context.Context, id string) (*Warninglist, error) + func (c *Client) IsSharingGroupMember(ctx context.Context, sgID, orgID string) (bool, error) + func (c *Client) IsSharingGroupServer(ctx context.Context, sgID, serverID string) (bool, error) + func (c *Client) ListNoticelists(ctx context.Context) ([]Noticelist, error) + func (c *Client) ListServers(ctx context.Context) ([]Server, error) + func (c *Client) ListTaxonomies(ctx context.Context) ([]Taxonomy, error) + func (c *Client) ListWarninglists(ctx context.Context) ([]Warninglist, error) + func (c *Client) RemoveSharingGroupMember(ctx context.Context, sgID, orgID string) error + func (c *Client) RemoveSharingGroupServer(ctx context.Context, sgID, serverID string) error + func (c *Client) UpdateFeed(ctx context.Context, id string, f Feed) (*Feed, error) + func (c *Client) UpdateGalaxyCluster(ctx context.Context, id string, gc GalaxyCluster) (*GalaxyCluster, error) + func (c *Client) UpdateOrganisation(ctx context.Context, id string, o Organisation) (*Organisation, error) + func (c *Client) UpdateRole(ctx context.Context, id string, r Role) (*Role, error) + func (c *Client) UpdateServer(ctx context.Context, id string, s Server) (*Server, error) + func (c *Client) UpdateSetting(ctx context.Context, name, value string) error + func (c *Client) UpdateSharingGroup(ctx context.Context, id string, sg SharingGroup) (*SharingGroup, error) + func (c *Client) UpdateTag(ctx context.Context, id string, t Tag) (*Tag, error) + func (c *Client) UpdateUser(ctx context.Context, id string, u User) (*User, error) + type Config struct + APIKey string + Insecure bool + Timeout time.Duration + URL string + UserAgent string + type DomainList []string + func (d *DomainList) UnmarshalJSON(data []byte) error + func (d DomainList) MarshalJSON() ([]byte, error) + type Feed struct + CachingEnabled bool + DeltaMerge bool + Distribution string + Enabled bool + FixedEvent bool + ForceToIDs bool + ID string + InputSource string + LookupVisible bool + Name string + OrgcID string + OverrideIDs bool + Provider string + Publish bool + Rules string + SharingGroupID string + SourceFormat string + TagID string + URL string + type FlexBool bool + func (b *FlexBool) UnmarshalJSON(data []byte) error + func (b FlexBool) Bool() bool + func (b FlexBool) MarshalJSON() ([]byte, error) + type FlexString string + func (s *FlexString) UnmarshalJSON(data []byte) error + func (s FlexString) MarshalJSON() ([]byte, error) + func (s FlexString) String() string + type GalaxyCluster struct + Authors []string + CollectionUUID string + Default bool + Deleted bool + Description string + Distribution string + Elements []GalaxyElement + ExtendsUUID *string + ExtendsVersion *string + GalaxyID string + ID string + Locked bool + OrgID string + OrgcID string + Published bool + SharingGroupID *string + Source string + TagName string + Type string + UUID string + Value string + Version string + type GalaxyElement struct + Key string + Value string + type Noticelist struct + Enabled FlexBool + ExpandedName string + GeographicalArea []string + ID string + Name string + Ref []string + Version string + type Organisation struct + Contacts string + Description string + ID string + LandingPage string + Local bool + Name string + Nationality string + RestrictedToDomain DomainList + Sector string + Type string + UUID string + type Role struct + DefaultRole FlexBool + EnforceRateLimit FlexBool + ID string + MaxExecutionTime FlexString + MemoryLimit FlexString + Name string + PermAdd FlexBool + PermAdmin FlexBool + PermAudit FlexBool + PermAuth FlexBool + PermDecaying FlexBool + PermDelegate FlexBool + PermGalaxyEditor FlexBool + PermModify FlexBool + PermModifyOrg FlexBool + PermObjectTemplate FlexBool + PermPublish FlexBool + PermPublishKafka FlexBool + PermPublishZmq FlexBool + PermRegexpAccess FlexBool + PermSharingGroup FlexBool + PermSighting FlexBool + PermSiteAdmin FlexBool + PermSync FlexBool + PermTagEditor FlexBool + PermTagger FlexBool + PermTemplate FlexBool + Permission string + RateLimitCount FlexString + RestrictedToSiteAdmin FlexBool + type Server struct + Authkey string + CachingEnabled bool + ID string + Internal bool + Name string + Organization string + PublishWithoutEmail bool + Pull bool + PullGalaxyClusters bool + Push bool + PushGalaxyClusters bool + PushSightings bool + RemoteOrgID string + SelfSigned bool + SkipProxy bool + URL string + UnpublishEvent bool + type Setting struct + Description string + Level int + Name string + Type string + Value FlexString + type SharingGroup struct + Active bool + Description string + ID string + Local bool + Name string + OrgID string + Releasability string + Roaming bool + UUID string + type Tag struct + Colour string + Exportable bool + HideTag bool + ID string + LocalOnly bool + Name string + NumericalValue *int64 + OrgID string + UserID string + type Taxonomy struct + Description string + Enabled bool + Exclusive bool + Highlighted bool + ID string + Namespace string + Required bool + Version string + type User struct + Autoalert bool + CertifPublic string + ChangePw bool + Contactalert bool + Disabled bool + Email string + Expiration string + GPGKey string + ID string + OrgID string + RoleID string + Termsaccepted bool + type Warninglist struct + Category string + Description string + Enabled bool + ID string + Name string + Type string + ValidAttributes string + Version string + WarninglistEntryCount string