Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v1.122.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 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 BuildSecret

type BuildSecret struct {
	// Name name of the build secret
	//
	// required: true
	// example: SECRET_1
	Name string `json:"name"`

	// 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"`
}

BuildSecret holds general information about image hubs swagger:model BuildSecret

type BuildSecretStatus

type BuildSecretStatus int

BuildSecretStatus Enumeration of the statuses of a build secret

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

	// Consistent In configuration and in cluster
	Consistent
)

func (BuildSecretStatus) String

func (p BuildSecretStatus) String() string

Jump to

Keyboard shortcuts

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