registry

package
v0.0.0-...-2501f5e Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidLocation = fmt.Errorf("Invalid location")
View Source
var ErrInvalidRepositoryId = fmt.Errorf("Invalid repository id")
View Source
var File_registry_output_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*Artifact) Descriptor deprecated

func (*Artifact) Descriptor() ([]byte, []int)

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetSource

func (x *Artifact) GetSource() string

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

func (x *Artifact) ProtoReflect() protoreflect.Message

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

type GCPError

type GCPError struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Status  string `json:"status"`
}

type Location

type Location struct {
	Name       string            `json:"name"`
	Labels     map[string]string `json:"labels"`
	LocationId string            `json:"locationId"`
}

type LocationError

type LocationError struct {
	Error GCPError `json:"error"`
}

type Locations

type Locations struct {
	Locations []Location `json:"locations"`
}

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func (*Registry) AuthFunc

func (r *Registry) AuthFunc() interface{}

// AuthFunc satisfies the Authenticator interface

func (*Registry) Config

func (r *Registry) Config() (interface{}, error)

Implement Configurable

func (*Registry) ConfigSet

func (r *Registry) ConfigSet(config interface{}) error

Implement ConfigurableNotify

func (*Registry) PushFunc

func (r *Registry) PushFunc() interface{}

Implement Registry

func (*Registry) ValidateAuthFunc

func (r *Registry) ValidateAuthFunc() interface{}

type RegistryConfig

type RegistryConfig struct {
	Project      string `hcl:"project"`
	Location     string `hcl:"location"`
	RepositoryId string `hcl:"repository_id"`
}

Jump to

Keyboard shortcuts

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