v1

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerConfig

type DockerConfig struct {
	Type runtime.Type `json:"type"`
	// The reference path to the docker config JSON
	DockerConfigFile string `json:"dockerConfigFile,omitempty"`
	DockerConfig     string `json:"dockerConfig,omitempty"`
}

DockerConfig is a type that represents a docker config style credential repository.

Credentials can be offered - inline as encoded JSON (DockerConfig) - as a file reference (DockerConfigFile)

As a special case, If neither DockerConfigFile nor DockerConfig are set, the following logic applies: If the $DOCKER_CONFIG environment variable is set, $DOCKER_CONFIG/config.json should be used. Otherwise, the default location $HOME/.docker/config.json should be used.

+k8s:deepcopy-gen:interfaces=ocm.software/open-component-model/bindings/go/runtime.Typed +k8s:deepcopy-gen=true +ocm:typegen=true

func (*DockerConfig) DeepCopy

func (in *DockerConfig) DeepCopy() *DockerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfig.

func (*DockerConfig) DeepCopyInto

func (in *DockerConfig) DeepCopyInto(out *DockerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DockerConfig) DeepCopyTyped

func (in *DockerConfig) DeepCopyTyped() runtime.Typed

DeepCopyTyped is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Typed.

func (*DockerConfig) GetType

func (t *DockerConfig) GetType() runtime.Type

GetType is an autogenerated getter function, useful for type inference and defaulting.

func (*DockerConfig) SetType

func (t *DockerConfig) SetType(typ runtime.Type)

SetType is an autogenerated setter function, useful for type inference and defaulting.

func (*DockerConfig) String

func (c *DockerConfig) String() string

Jump to

Keyboard shortcuts

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