Documentation ¶
Index ¶
- type AuthorizationService
- func (as *AuthorizationService) Create(token string, authorization models.Authorization) error
- func (as *AuthorizationService) Delete(token string, id uuid.UUID) error
- func (as *AuthorizationService) List(token string) ([]models.Authorization, error)
- func (as *AuthorizationService) Read(token string, id uuid.UUID) (*models.Authorization, error)
- func (as *AuthorizationService) ReadByName(token string, name string) (*models.Authorization, error)
- func (as *AuthorizationService) Update(token string, id uuid.UUID, authorization models.Authorization) error
- type Client
- type ConnectorProductService
- func (as *ConnectorProductService) Create(token string, connectorProduct models.ConnectorProduct) error
- func (as *ConnectorProductService) Delete(token string, id uuid.UUID) error
- func (as *ConnectorProductService) List(token string) ([]models.ConnectorProduct, error)
- func (as *ConnectorProductService) Read(token string, id uuid.UUID) (*models.ConnectorProduct, error)
- func (as *ConnectorProductService) ReadByName(token string, name string) (*models.ConnectorProduct, error)
- func (as *ConnectorProductService) Update(token string, id uuid.UUID, connectorProduct models.ConnectorProduct) error
- type DomainService
- func (as *DomainService) Create(token string, domain models.Domain, parentDomainID uuid.UUID) error
- func (as *DomainService) Delete(token string, id uuid.UUID) error
- func (as *DomainService) List(token string) ([]models.Domain, error)
- func (as *DomainService) Read(token string, id uuid.UUID) (*models.Domain, error)
- func (as *DomainService) ReadByName(token string, name string) (*models.Domain, error)
- func (as *DomainService) Update(token string, id uuid.UUID, domain models.Domain) error
- type EnvironmentService
- func (as *EnvironmentService) Create(token string, environment models.Environment) error
- func (as *EnvironmentService) Delete(token string, id uuid.UUID) error
- func (as *EnvironmentService) List(token string) ([]models.Environment, error)
- func (as *EnvironmentService) Read(token string, id uuid.UUID) (*models.Environment, error)
- func (as *EnvironmentService) ReadByName(token string, name string) (*models.Environment, error)
- func (as *EnvironmentService) Update(token string, id uuid.UUID, environment models.Environment) error
- type EnvironmentTypeService
- func (as *EnvironmentTypeService) Create(token string, environmentType models.EnvironmentType) error
- func (as *EnvironmentTypeService) Delete(token string, id uuid.UUID) error
- func (as *EnvironmentTypeService) List(token string) ([]models.EnvironmentType, error)
- func (as *EnvironmentTypeService) Read(token string, id uuid.UUID) (*models.EnvironmentType, error)
- func (as *EnvironmentTypeService) ReadByName(token string, name string) (*models.EnvironmentType, error)
- func (as *EnvironmentTypeService) Update(token string, id uuid.UUID, environmentType models.EnvironmentType) error
- type EventTypeService
- func (as *EventTypeService) Create(token string, eventType models.EventType) error
- func (as *EventTypeService) Delete(token string, id uuid.UUID) error
- func (as *EventTypeService) List(token string) ([]models.EventType, error)
- func (as *EventTypeService) Read(token string, id uuid.UUID) (*models.EventType, error)
- func (as *EventTypeService) ReadByName(token string, name string) (*models.EventType, error)
- func (as *EventTypeService) Update(token string, id uuid.UUID, eventType models.EventType) error
- type EventTypeToPollService
- func (as *EventTypeToPollService) Create(token string, eventTypeToPoll models.EventTypeToPoll) error
- func (as *EventTypeToPollService) DeclareMember(token string) (*models.EventTypeToPoll, error)
- func (as *EventTypeToPollService) Delete(token string, id uuid.UUID) error
- func (as *EventTypeToPollService) List(token string) ([]models.EventTypeToPoll, error)
- func (as *EventTypeToPollService) Read(token string, id uuid.UUID) (*models.EventTypeToPoll, error)
- func (as *EventTypeToPollService) Update(token string, id uuid.UUID, eventTypeToPoll models.EventTypeToPoll) error
- type LibraryService
- func (as *LibraryService) Create(token string, library models.Library) error
- func (as *LibraryService) Delete(token string, id uuid.UUID) error
- func (as *LibraryService) List(token string) ([]models.Library, error)
- func (as *LibraryService) Read(token string, id uuid.UUID) (*models.Library, error)
- func (as *LibraryService) ReadByName(token string, name string) (*models.Library, error)
- func (as *LibraryService) Update(token string, id uuid.UUID, library models.Library) error
- type LogicalComponentService
- func (as *LogicalComponentService) List(token string) ([]models.LogicalComponent, error)
- func (as *LogicalComponentService) Read(token string, id uuid.UUID) (*models.LogicalComponent, error)
- func (as *LogicalComponentService) ReadByName(token string, name string) (*models.LogicalComponent, error)
- func (as *LogicalComponentService) Upload(token, tenant, typeName, fileToUpload string, params map[string]string) error
- type ProductService
- func (as *ProductService) Create(token string, product models.Product) error
- func (as *ProductService) Delete(token string, id uuid.UUID) error
- func (as *ProductService) List(token string) ([]models.Product, error)
- func (as *ProductService) Read(token string, id uuid.UUID) (*models.Product, error)
- func (as *ProductService) ReadByName(token string, name string) (*models.Product, error)
- func (as *ProductService) Update(token string, id uuid.UUID, product models.Product) error
- type ResourceService
- func (as *ResourceService) Create(token string, resource models.Resource) error
- func (as *ResourceService) Delete(token string, id uuid.UUID) error
- func (as *ResourceService) List(token string) ([]models.Resource, error)
- func (as *ResourceService) Read(token string, id uuid.UUID) (*models.Resource, error)
- func (as *ResourceService) ReadByName(token string, name string) (*models.Resource, error)
- func (as *ResourceService) Update(token string, id uuid.UUID, resource models.Resource) error
- type ResourceTypeService
- func (as *ResourceTypeService) Create(token string, resourceType models.ResourceType) error
- func (as *ResourceTypeService) Delete(token string, id uuid.UUID) error
- func (as *ResourceTypeService) List(token string) ([]models.ResourceType, error)
- func (as *ResourceTypeService) Read(token string, id uuid.UUID) (*models.ResourceType, error)
- func (as *ResourceTypeService) ReadByName(token string, name string) (*models.ResourceType, error)
- func (as *ResourceTypeService) Update(token string, id uuid.UUID, resourceType models.ResourceType) error
- type RoleService
- func (as *RoleService) Create(token string, role models.Role) error
- func (as *RoleService) Delete(token string, id uuid.UUID) error
- func (as *RoleService) List(token string) ([]models.Role, error)
- func (as *RoleService) Read(token string, id uuid.UUID) (*models.Role, error)
- func (as *RoleService) Update(token string, id uuid.UUID, role models.Role) error
- type SecretAssignementService
- type TagService
- func (as *TagService) Create(token string, tag models.Tag, parentTagID uuid.UUID) error
- func (as *TagService) Delete(token string, id uuid.UUID) error
- func (as *TagService) List(token string) ([]models.Tag, error)
- func (as *TagService) Read(token string, id uuid.UUID) (*models.Tag, error)
- func (as *TagService) ReadByName(token string, name string) (*models.Tag, error)
- func (as *TagService) Update(token string, id uuid.UUID, tag models.Tag) error
- type TenantService
- func (as *TenantService) Create(token string, tenant models.Tenant) (string, string, error)
- func (as *TenantService) Delete(token string, id uuid.UUID) error
- func (as *TenantService) List(token string) ([]models.Tenant, error)
- func (as *TenantService) Read(token string, id uuid.UUID) (*models.Tenant, error)
- func (as *TenantService) Update(token string, id uuid.UUID, tenant models.Tenant) error
- type UserService
- func (as *UserService) Create(token string, user models.User) error
- func (as *UserService) Delete(token string, id uuid.UUID) error
- func (as *UserService) List(token string) ([]models.User, error)
- func (as *UserService) Login(user models.User) (string, error)
- func (as *UserService) Read(token string, id uuid.UUID) (*models.User, error)
- func (as *UserService) ReadByName(token string, name string) (*models.User, error)
- func (as *UserService) Update(token string, id uuid.UUID, user models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationService ¶
type AuthorizationService struct {
// contains filtered or unexported fields
}
AuthorizationService :
func (*AuthorizationService) Create ¶
func (as *AuthorizationService) Create(token string, authorization models.Authorization) error
Create :
func (*AuthorizationService) Delete ¶
func (as *AuthorizationService) Delete(token string, id uuid.UUID) error
Delete :
func (*AuthorizationService) List ¶
func (as *AuthorizationService) List(token string) ([]models.Authorization, error)
List :
func (*AuthorizationService) Read ¶
func (as *AuthorizationService) Read(token string, id uuid.UUID) (*models.Authorization, error)
Read :
func (*AuthorizationService) ReadByName ¶
func (as *AuthorizationService) ReadByName(token string, name string) (*models.Authorization, error)
Read :
func (*AuthorizationService) Update ¶
func (as *AuthorizationService) Update(token string, id uuid.UUID, authorization models.Authorization) error
Update :
type Client ¶
type Client struct { BaseURL *url.URL UserAgent string HTTPClient *http.Client AuthorizationService *AuthorizationService DomainService *DomainService EnvironmentService *EnvironmentService EnvironmentTypeService *EnvironmentTypeService EventTypeService *EventTypeService EventTypeToPollService *EventTypeToPollService LibraryService *LibraryService ProductService *ProductService ResourceService *ResourceService ResourceTypeService *ResourceTypeService RoleService *RoleService SecretAssignementService *SecretAssignementService TagService *TagService TenantService *TenantService UserService *UserService LogicalComponentService *LogicalComponentService }
Client :
type ConnectorProductService ¶
type ConnectorProductService struct {
// contains filtered or unexported fields
}
ConnectorProductService :
func (*ConnectorProductService) Create ¶
func (as *ConnectorProductService) Create(token string, connectorProduct models.ConnectorProduct) error
Create :
func (*ConnectorProductService) Delete ¶
func (as *ConnectorProductService) Delete(token string, id uuid.UUID) error
Delete :
func (*ConnectorProductService) List ¶
func (as *ConnectorProductService) List(token string) ([]models.ConnectorProduct, error)
List :
func (*ConnectorProductService) Read ¶
func (as *ConnectorProductService) Read(token string, id uuid.UUID) (*models.ConnectorProduct, error)
Read :
func (*ConnectorProductService) ReadByName ¶
func (as *ConnectorProductService) ReadByName(token string, name string) (*models.ConnectorProduct, error)
Read :
func (*ConnectorProductService) Update ¶
func (as *ConnectorProductService) Update(token string, id uuid.UUID, connectorProduct models.ConnectorProduct) error
Update :
type DomainService ¶
type DomainService struct {
// contains filtered or unexported fields
}
DomainService :
func (*DomainService) Delete ¶
func (as *DomainService) Delete(token string, id uuid.UUID) error
Delete :
func (*DomainService) List ¶
func (as *DomainService) List(token string) ([]models.Domain, error)
List :
func (*DomainService) ReadByName ¶
Read :
type EnvironmentService ¶
type EnvironmentService struct {
// contains filtered or unexported fields
}
EnvironmentService :
func (*EnvironmentService) Create ¶
func (as *EnvironmentService) Create(token string, environment models.Environment) error
Create :
func (*EnvironmentService) Delete ¶
func (as *EnvironmentService) Delete(token string, id uuid.UUID) error
Delete :
func (*EnvironmentService) List ¶
func (as *EnvironmentService) List(token string) ([]models.Environment, error)
List :
func (*EnvironmentService) Read ¶
func (as *EnvironmentService) Read(token string, id uuid.UUID) (*models.Environment, error)
Read :
func (*EnvironmentService) ReadByName ¶
func (as *EnvironmentService) ReadByName(token string, name string) (*models.Environment, error)
Read :
func (*EnvironmentService) Update ¶
func (as *EnvironmentService) Update(token string, id uuid.UUID, environment models.Environment) error
Update :
type EnvironmentTypeService ¶
type EnvironmentTypeService struct {
// contains filtered or unexported fields
}
EnvironmentTypeService :
func (*EnvironmentTypeService) Create ¶
func (as *EnvironmentTypeService) Create(token string, environmentType models.EnvironmentType) error
Create :
func (*EnvironmentTypeService) Delete ¶
func (as *EnvironmentTypeService) Delete(token string, id uuid.UUID) error
Delete :
func (*EnvironmentTypeService) List ¶
func (as *EnvironmentTypeService) List(token string) ([]models.EnvironmentType, error)
List :
func (*EnvironmentTypeService) Read ¶
func (as *EnvironmentTypeService) Read(token string, id uuid.UUID) (*models.EnvironmentType, error)
Read :
func (*EnvironmentTypeService) ReadByName ¶
func (as *EnvironmentTypeService) ReadByName(token string, name string) (*models.EnvironmentType, error)
Read :
func (*EnvironmentTypeService) Update ¶
func (as *EnvironmentTypeService) Update(token string, id uuid.UUID, environmentType models.EnvironmentType) error
Update :
type EventTypeService ¶
type EventTypeService struct {
// contains filtered or unexported fields
}
EventTypeService :
func (*EventTypeService) Create ¶
func (as *EventTypeService) Create(token string, eventType models.EventType) error
Create :
func (*EventTypeService) Delete ¶
func (as *EventTypeService) Delete(token string, id uuid.UUID) error
Delete :
func (*EventTypeService) List ¶
func (as *EventTypeService) List(token string) ([]models.EventType, error)
List :
func (*EventTypeService) ReadByName ¶
Read :
type EventTypeToPollService ¶
type EventTypeToPollService struct {
// contains filtered or unexported fields
}
EventTypeToPollService :
func (*EventTypeToPollService) Create ¶
func (as *EventTypeToPollService) Create(token string, eventTypeToPoll models.EventTypeToPoll) error
Create :
func (*EventTypeToPollService) DeclareMember ¶
func (as *EventTypeToPollService) DeclareMember(token string) (*models.EventTypeToPoll, error)
DeclareMember :
func (*EventTypeToPollService) Delete ¶
func (as *EventTypeToPollService) Delete(token string, id uuid.UUID) error
Delete :
func (*EventTypeToPollService) List ¶
func (as *EventTypeToPollService) List(token string) ([]models.EventTypeToPoll, error)
List :
func (*EventTypeToPollService) Read ¶
func (as *EventTypeToPollService) Read(token string, id uuid.UUID) (*models.EventTypeToPoll, error)
Read :
func (*EventTypeToPollService) Update ¶
func (as *EventTypeToPollService) Update(token string, id uuid.UUID, eventTypeToPoll models.EventTypeToPoll) error
Update :
type LibraryService ¶
type LibraryService struct {
// contains filtered or unexported fields
}
LibraryService :
func (*LibraryService) Create ¶
func (as *LibraryService) Create(token string, library models.Library) error
Create :
func (*LibraryService) Delete ¶
func (as *LibraryService) Delete(token string, id uuid.UUID) error
Delete :
func (*LibraryService) List ¶
func (as *LibraryService) List(token string) ([]models.Library, error)
List :
func (*LibraryService) ReadByName ¶
Read :
type LogicalComponentService ¶
type LogicalComponentService struct {
// contains filtered or unexported fields
}
LogicalComponentService :
func (*LogicalComponentService) List ¶
func (as *LogicalComponentService) List(token string) ([]models.LogicalComponent, error)
List :
func (*LogicalComponentService) Read ¶
func (as *LogicalComponentService) Read(token string, id uuid.UUID) (*models.LogicalComponent, error)
Read :
func (*LogicalComponentService) ReadByName ¶
func (as *LogicalComponentService) ReadByName(token string, name string) (*models.LogicalComponent, error)
Read :
type ProductService ¶
type ProductService struct {
// contains filtered or unexported fields
}
ProductService :
func (*ProductService) Create ¶
func (as *ProductService) Create(token string, product models.Product) error
Create :
func (*ProductService) Delete ¶
func (as *ProductService) Delete(token string, id uuid.UUID) error
Delete :
func (*ProductService) List ¶
func (as *ProductService) List(token string) ([]models.Product, error)
List :
func (*ProductService) ReadByName ¶
Read :
type ResourceService ¶
type ResourceService struct {
// contains filtered or unexported fields
}
ResourceService :
func (*ResourceService) Create ¶
func (as *ResourceService) Create(token string, resource models.Resource) error
Create :
func (*ResourceService) Delete ¶
func (as *ResourceService) Delete(token string, id uuid.UUID) error
Delete :
func (*ResourceService) List ¶
func (as *ResourceService) List(token string) ([]models.Resource, error)
List :
func (*ResourceService) ReadByName ¶
Read :
type ResourceTypeService ¶
type ResourceTypeService struct {
// contains filtered or unexported fields
}
ResourceTypeService :
func (*ResourceTypeService) Create ¶
func (as *ResourceTypeService) Create(token string, resourceType models.ResourceType) error
Create :
func (*ResourceTypeService) Delete ¶
func (as *ResourceTypeService) Delete(token string, id uuid.UUID) error
Delete :
func (*ResourceTypeService) List ¶
func (as *ResourceTypeService) List(token string) ([]models.ResourceType, error)
List :
func (*ResourceTypeService) Read ¶
func (as *ResourceTypeService) Read(token string, id uuid.UUID) (*models.ResourceType, error)
Read :
func (*ResourceTypeService) ReadByName ¶
func (as *ResourceTypeService) ReadByName(token string, name string) (*models.ResourceType, error)
Read :
func (*ResourceTypeService) Update ¶
func (as *ResourceTypeService) Update(token string, id uuid.UUID, resourceType models.ResourceType) error
Update :
type RoleService ¶
type RoleService struct {
// contains filtered or unexported fields
}
RoleService :
func (*RoleService) Create ¶
func (as *RoleService) Create(token string, role models.Role) error
Create :
func (*RoleService) Delete ¶
func (as *RoleService) Delete(token string, id uuid.UUID) error
Delete :
type SecretAssignementService ¶
type SecretAssignementService struct {
// contains filtered or unexported fields
}
SecretAssignementService :
func (*SecretAssignementService) Create ¶
func (sas *SecretAssignementService) Create(token string) (string, error)
Create :
func (*SecretAssignementService) List ¶
func (sas *SecretAssignementService) List(token string) ([]models.SecretAssignement, error)
List :
type TagService ¶
type TagService struct {
// contains filtered or unexported fields
}
TagService :
func (*TagService) ReadByName ¶
Read :
type TenantService ¶
type TenantService struct {
// contains filtered or unexported fields
}
TenantService :
func (*TenantService) Delete ¶
func (as *TenantService) Delete(token string, id uuid.UUID) error
Delete :
func (*TenantService) List ¶
func (as *TenantService) List(token string) ([]models.Tenant, error)
List :
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
UserService :
func (*UserService) Create ¶
func (as *UserService) Create(token string, user models.User) error
Create :
func (*UserService) Delete ¶
func (as *UserService) Delete(token string, id uuid.UUID) error
Delete :
func (*UserService) ReadByName ¶
Read :
Source Files ¶
- authorizationService.go
- client.go
- connectorProductService.go
- domainService.go
- environmentService.go
- environmentTypeService.go
- eventTypeService.go
- eventTypeToPollService.go
- libraryService.go
- logicalComponentService.go
- productService.go
- resourceService.go
- resourceTypeService.go
- roleService.go
- secretAssignementService.go
- tagService.go
- tenantService.go
- userService.go