Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultRegistryURL = "https://registry.modelcontextprotocol.io" TokenFileName = ".mcp_publisher_token" //nolint:gosec // Not a credential, just a filename MethodGitHub = "github" MethodGitHubOIDC = "github-oidc" MethodDNS = "dns" MethodHTTP = "http" MethodNone = "none" )
Variables ¶
This section is empty.
Functions ¶
func InitCommand ¶
func InitCommand() error
func LoginCommand ¶
func LogoutCommand ¶
func LogoutCommand() error
func PublishCommand ¶
Types ¶
type CryptoAlgorithm ¶ added in v1.3.7
type CryptoAlgorithm auth.CryptoAlgorithm
func (*CryptoAlgorithm) Set ¶ added in v1.3.7
func (c *CryptoAlgorithm) Set(v string) error
func (*CryptoAlgorithm) String ¶ added in v1.3.7
func (c *CryptoAlgorithm) String() string
type LoginFlags ¶ added in v1.3.7
type LoginFlags struct {
Domain string
PrivateKey string
RegistryURL string
KvVault string
KvKeyName string
KmsResource string
Token Token
CryptoAlgorithm CryptoAlgorithm
SignerType SignerType
ArgOffset int
}
type SignerType ¶ added in v1.3.7
type SignerType string
const ( InProcessSignerType SignerType = "in-process" AzureKeyVaultSignerType SignerType = "azure-key-vault" GoogleKMSSignerType SignerType = "google-kms" NoSignerType SignerType = "none" )
Click to show internal directories.
Click to hide internal directories.