Documentation
¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "cddirector.io" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/cdd/administration/0000/v1" )
Variables ¶
var Default = NewHTTPClient(nil)
Default a d m i n i s t r a t i o n HTTP client.
var DefaultSchemes = []string{"http"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type ADMINISTRATION ¶
type ADMINISTRATION struct {
API apiops.ClientService
APIAccessToken api_access_token.ClientService
Application application.ClientService
ApplicationSource application_source.ClientService
DbSettings db_settings.ClientService
DirectoryServerController directory_server_controller.ClientService
Dsl dsl.ClientService
EmailNotificationServer email_notification_server.ClientService
EmailTemplates email_templates.ClientService
Endpoint endpoint.ClientService
Environment environment.ClientService
FreezePeriod freeze_period.ClientService
InvitationController invitation_controller.ClientService
LogFiles log_files.ClientService
MaintenanceWindow maintenance_window.ClientService
Parties parties.ClientService
PaymentPlanController payment_plan_controller.ClientService
Permissions permissions.ClientService
PluginService plugin_service.ClientService
Product product.ClientService
Project project.ClientService
RegisteredPlugins registered_plugins.ClientService
Roles roles.ClientService
SamlDomain saml_domain.ClientService
Session session.ClientService
SystemPreferences system_preferences.ClientService
Tenant tenant.ClientService
User user.ClientService
UserGroup user_group.ClientService
Version version.ClientService
Transport runtime.ClientTransport
}
ADMINISTRATION is a client for a d m i n i s t r a t i o n
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *ADMINISTRATION
New creates a new a d m i n i s t r a t i o n client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *ADMINISTRATION
NewHTTPClient creates a new a d m i n i s t r a t i o n HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *ADMINISTRATION
NewHTTPClientWithConfig creates a new a d m i n i s t r a t i o n HTTP client, using a customizable transport config.
func (*ADMINISTRATION) SetTransport ¶
func (c *ADMINISTRATION) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
type TransportConfig ¶
TransportConfig contains the transport related info, found in the meta section of the spec file.
func DefaultTransportConfig ¶
func DefaultTransportConfig() *TransportConfig
DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.
func (*TransportConfig) WithBasePath ¶
func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig
WithBasePath overrides the default basePath, provided by the meta section of the spec file.
func (*TransportConfig) WithHost ¶
func (cfg *TransportConfig) WithHost(host string) *TransportConfig
WithHost overrides the default host, provided by the meta section of the spec file.
func (*TransportConfig) WithSchemes ¶
func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig
WithSchemes overrides the default schemes, provided by the meta section of the spec file.