ruby

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL