Documentation ¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "localhost" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/service/rest/" )
Variables ¶
var Default = NewHTTPClient(nil)
Default nexus3 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 Nexus3 ¶
type Nexus3 struct { Assets assets.ClientService AzureBlobStore azure_blob_store.ClientService BlobStore blob_store.ClientService Components components.ClientService ContentSelectors content_selectors.ClientService Email email.ClientService Formats formatsops.ClientService Lifecycle lifecycle.ClientService ManageiqServerConfiguration manage_i_q_server_configuration.ClientService ProductLicensing product_licensing.ClientService ReadOnly read_only.ClientService RepositoryManagement repository_management.ClientService RoutingRules routing_rules.ClientService Script script.ClientService Search search.ClientService SecurityCertificates security_certificates.ClientService SecurityManagement security_management.ClientService SecurityManagementAnonymousAccess security_management_anonymous_access.ClientService SecurityManagementldap security_management_l_d_a_p.ClientService SecurityManagementPrivileges security_management_privileges.ClientService SecurityManagementRealms security_management_realms.ClientService SecurityManagementRoles security_management_roles.ClientService SecurityManagementUsers security_management_users.ClientService Status status.ClientService Support support.ClientService Tasks tasks.ClientService Transport runtime.ClientTransport }
Nexus3 is a client for nexus3
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Nexus3
New creates a new nexus3 client
func NewHTTPClient ¶
NewHTTPClient creates a new nexus3 HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *Nexus3
NewHTTPClientWithConfig creates a new nexus3 HTTP client, using a customizable transport config.
func (*Nexus3) SetTransport ¶
func (c *Nexus3) 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.