models

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageHubSecret

type ImageHubSecret struct {
	// Server name of the image hub
	//
	// required: true
	// example: myprivaterepo.azurecr.io
	Server string `json:"server"`

	// Username for connecting to private image hub
	//
	// required: true
	// example: my-user-name
	Username string `json:"username"`

	// Email provided in radixconfig.yaml
	//
	// required: false
	// example: radix@equinor.com
	Email string `json:"email"`

	// Status of the secret
	// - Pending = Secret value is not set
	// - Consistent = Secret value is set
	//
	// required: false
	// enum: Pending,Consistent
	// example: Consistent
	Status string `json:"status"`

	// Updated when the secret was last changed
	//
	// required: false
	// swagger:strfmt date-time
	Updated *time.Time `json:"updated,omitempty"`
}

ImageHubSecret holds general information about image hubs swagger:model ImageHubSecret

type ImageHubSecretStatus

type ImageHubSecretStatus int

ImageHubSecretStatus Enumeration of the statuses of an image hub secret

const (
	// Pending In configuration but not in cluster
	Pending ImageHubSecretStatus = iota

	// Consistent In configuration and in cluster
	Consistent
)

func (ImageHubSecretStatus) String

func (p ImageHubSecretStatus) String() string

Jump to

Keyboard shortcuts

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