helper

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Username   string `json:"username,omitempty"`
	Password   string `json:"password,omitempty"`
	Component  string `json:"component,omitempty"`
	Repository string `json:"repository,omitempty"`
	Version    string `json:"version,omitempty"`

	Target    json.RawMessage `json:"targetRepository,omitempty"`
	OCMConfig string          `json:"ocmConfig,omitempty"`
}

func ReadConfig

func ReadConfig(path string) (*Config, error)

func (*Config) GetCredentials

func (c *Config) GetCredentials() credentials.Credentials

Jump to

Keyboard shortcuts

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