Documentation
¶
Index ¶
- func GetRubyGemsRepoUrl(serverDetails *config.ServerDetails, repository string) (string, error)
- func GetRubyGemsRepoUrlWithCredentials(serverDetails *config.ServerDetails, repository string) (*url.URL, string, string, error)
- type RubyCommand
- func (rc *RubyCommand) ServerDetails() (*config.ServerDetails, error)
- func (rc *RubyCommand) SetArgs(arguments []string) *RubyCommand
- func (rc *RubyCommand) SetCommandName(commandName string) *RubyCommand
- func (rc *RubyCommand) SetRepo(repo string) *RubyCommand
- func (rc *RubyCommand) SetServerDetails(serverDetails *config.ServerDetails) *RubyCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRubyGemsRepoUrl ¶
func GetRubyGemsRepoUrl(serverDetails *config.ServerDetails, repository string) (string, error)
GetRubyGemsRepoUrl gets the RubyGems repository embedded credentials URL (https://<user>:<password/token>@<your-artifactory-url>/artifactory/api/gems/<repo-name>/)
func GetRubyGemsRepoUrlWithCredentials ¶
func GetRubyGemsRepoUrlWithCredentials(serverDetails *config.ServerDetails, repository string) (*url.URL, string, string, error)
GetRubyGemsRepoUrlWithCredentials gets the RubyGems repository url and the credentials.
Types ¶
type RubyCommand ¶
type RubyCommand struct {
// contains filtered or unexported fields
}
func NewRubyCommand ¶
func NewRubyCommand() *RubyCommand
func (*RubyCommand) ServerDetails ¶
func (rc *RubyCommand) ServerDetails() (*config.ServerDetails, error)
func (*RubyCommand) SetArgs ¶
func (rc *RubyCommand) SetArgs(arguments []string) *RubyCommand
func (*RubyCommand) SetCommandName ¶
func (rc *RubyCommand) SetCommandName(commandName string) *RubyCommand
func (*RubyCommand) SetRepo ¶
func (rc *RubyCommand) SetRepo(repo string) *RubyCommand
func (*RubyCommand) SetServerDetails ¶
func (rc *RubyCommand) SetServerDetails(serverDetails *config.ServerDetails) *RubyCommand
Click to show internal directories.
Click to hide internal directories.