models

package
v2.31.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 7 Imported by: 9

Documentation

Index

Constants

View Source
const (

	// EdgestacksEdgeStackFromGitRepositoryPayloadPerDeviceConfigsGroupMatchTypeFile captures enum value "file"
	EdgestacksEdgeStackFromGitRepositoryPayloadPerDeviceConfigsGroupMatchTypeFile string = "file"

	// EdgestacksEdgeStackFromGitRepositoryPayloadPerDeviceConfigsGroupMatchTypeDir captures enum value " dir"
	EdgestacksEdgeStackFromGitRepositoryPayloadPerDeviceConfigsGroupMatchTypeDir string = " dir"
)
View Source
const (

	// EdgestacksEdgeStackFromGitRepositoryPayloadPerDeviceConfigsMatchTypeFile captures enum value "file"
	EdgestacksEdgeStackFromGitRepositoryPayloadPerDeviceConfigsMatchTypeFile string = "file"

	// EdgestacksEdgeStackFromGitRepositoryPayloadPerDeviceConfigsMatchTypeDir captures enum value " dir"
	EdgestacksEdgeStackFromGitRepositoryPayloadPerDeviceConfigsMatchTypeDir string = " dir"
)
View Source
const (

	// PortainereeCustomTemplateRelativePathSettingsPerDeviceConfigsGroupMatchTypeFile captures enum value "file"
	PortainereeCustomTemplateRelativePathSettingsPerDeviceConfigsGroupMatchTypeFile string = "file"

	// PortainereeCustomTemplateRelativePathSettingsPerDeviceConfigsGroupMatchTypeDir captures enum value " dir"
	PortainereeCustomTemplateRelativePathSettingsPerDeviceConfigsGroupMatchTypeDir string = " dir"
)
View Source
const (

	// PortainereeCustomTemplateRelativePathSettingsPerDeviceConfigsMatchTypeFile captures enum value "file"
	PortainereeCustomTemplateRelativePathSettingsPerDeviceConfigsMatchTypeFile string = "file"

	// PortainereeCustomTemplateRelativePathSettingsPerDeviceConfigsMatchTypeDir captures enum value " dir"
	PortainereeCustomTemplateRelativePathSettingsPerDeviceConfigsMatchTypeDir string = " dir"
)
View Source
const (

	// PortainereeEdgeStackPerDeviceConfigsGroupMatchTypeFile captures enum value "file"
	PortainereeEdgeStackPerDeviceConfigsGroupMatchTypeFile string = "file"

	// PortainereeEdgeStackPerDeviceConfigsGroupMatchTypeDir captures enum value " dir"
	PortainereeEdgeStackPerDeviceConfigsGroupMatchTypeDir string = " dir"
)
View Source
const (

	// PortainereeEdgeStackPerDeviceConfigsMatchTypeFile captures enum value "file"
	PortainereeEdgeStackPerDeviceConfigsMatchTypeFile string = "file"

	// PortainereeEdgeStackPerDeviceConfigsMatchTypeDir captures enum value " dir"
	PortainereeEdgeStackPerDeviceConfigsMatchTypeDir string = " dir"
)
View Source
const (

	// PortainereeUserThemeSettingsColorDark captures enum value "dark"
	PortainereeUserThemeSettingsColorDark string = "dark"

	// PortainereeUserThemeSettingsColorLight captures enum value "light"
	PortainereeUserThemeSettingsColorLight string = "light"

	// PortainereeUserThemeSettingsColorHighcontrast captures enum value "highcontrast"
	PortainereeUserThemeSettingsColorHighcontrast string = "highcontrast"

	// PortainereeUserThemeSettingsColorAuto captures enum value "auto"
	PortainereeUserThemeSettingsColorAuto string = "auto"
)
View Source
const (

	// UsersThemePayloadColorDark captures enum value "dark"
	UsersThemePayloadColorDark string = "dark"

	// UsersThemePayloadColorLight captures enum value "light"
	UsersThemePayloadColorLight string = "light"

	// UsersThemePayloadColorHighcontrast captures enum value "highcontrast"
	UsersThemePayloadColorHighcontrast string = "highcontrast"

	// UsersThemePayloadColorAuto captures enum value "auto"
	UsersThemePayloadColorAuto string = "auto"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthAuthenticatePayload

type AuthAuthenticatePayload struct {

	// API Key
	// Example: 1234567890
	// Required: true
	APIKey *string `json:"apiKey"`

	// Password
	// Example: mypassword
	// Required: true
	Password *string `json:"password"`

	// Username
	// Example: admin
	// Required: true
	Username *string `json:"username"`
}

AuthAuthenticatePayload auth authenticate payload

swagger:model auth.authenticatePayload

func (*AuthAuthenticatePayload) ContextValidate

func (m *AuthAuthenticatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth authenticate payload based on context it is used

func (*AuthAuthenticatePayload) MarshalBinary

func (m *AuthAuthenticatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthAuthenticatePayload) UnmarshalBinary

func (m *AuthAuthenticatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthAuthenticatePayload) Validate

func (m *AuthAuthenticatePayload) Validate(formats strfmt.Registry) error

Validate validates this auth authenticate payload

type AuthAuthenticateResponse

type AuthAuthenticateResponse struct {

	// JWT token used to authenticate against the API
	// Example: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzAB
	Jwt string `json:"jwt,omitempty"`
}

AuthAuthenticateResponse auth authenticate response

swagger:model auth.authenticateResponse

func (*AuthAuthenticateResponse) ContextValidate

func (m *AuthAuthenticateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth authenticate response based on context it is used

func (*AuthAuthenticateResponse) MarshalBinary

func (m *AuthAuthenticateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthAuthenticateResponse) UnmarshalBinary

func (m *AuthAuthenticateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthAuthenticateResponse) Validate

func (m *AuthAuthenticateResponse) Validate(formats strfmt.Registry) error

Validate validates this auth authenticate response

type AuthOauthPayload

type AuthOauthPayload struct {

	// OAuth code returned from OAuth Provided
	Code string `json:"code,omitempty"`
}

AuthOauthPayload auth oauth payload

swagger:model auth.oauthPayload

func (*AuthOauthPayload) ContextValidate

func (m *AuthOauthPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth oauth payload based on context it is used

func (*AuthOauthPayload) MarshalBinary

func (m *AuthOauthPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthOauthPayload) UnmarshalBinary

func (m *AuthOauthPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthOauthPayload) Validate

func (m *AuthOauthPayload) Validate(formats strfmt.Registry) error

Validate validates this auth oauth payload

type BackupBackupPayload

type BackupBackupPayload struct {

	// password
	Password string `json:"password,omitempty"`
}

BackupBackupPayload backup backup payload

swagger:model backup.backupPayload

func (*BackupBackupPayload) ContextValidate

func (m *BackupBackupPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this backup backup payload based on context it is used

func (*BackupBackupPayload) MarshalBinary

func (m *BackupBackupPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupBackupPayload) UnmarshalBinary

func (m *BackupBackupPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupBackupPayload) Validate

func (m *BackupBackupPayload) Validate(formats strfmt.Registry) error

Validate validates this backup backup payload

type BackupBackupStatus

type BackupBackupStatus struct {

	// failed
	Failed bool `json:"failed,omitempty"`

	// timestamp u t c
	TimestampUTC string `json:"timestampUTC,omitempty"`
}

BackupBackupStatus backup backup status

swagger:model backup.backupStatus

func (*BackupBackupStatus) ContextValidate

func (m *BackupBackupStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this backup backup status based on context it is used

func (*BackupBackupStatus) MarshalBinary

func (m *BackupBackupStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupBackupStatus) UnmarshalBinary

func (m *BackupBackupStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupBackupStatus) Validate

func (m *BackupBackupStatus) Validate(formats strfmt.Registry) error

Validate validates this backup backup status

type BackupRestorePayload

type BackupRestorePayload struct {

	// Content of the backup
	// Required: true
	FileContent []int64 `json:"fileContent"`

	// File name
	// Required: true
	FileName *string `json:"fileName"`

	// Password to decrypt the backup with
	Password string `json:"password,omitempty"`
}

BackupRestorePayload backup restore payload

swagger:model backup.restorePayload

func (*BackupRestorePayload) ContextValidate

func (m *BackupRestorePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this backup restore payload based on context it is used

func (*BackupRestorePayload) MarshalBinary

func (m *BackupRestorePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupRestorePayload) UnmarshalBinary

func (m *BackupRestorePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupRestorePayload) Validate

func (m *BackupRestorePayload) Validate(formats strfmt.Registry) error

Validate validates this backup restore payload

type BackupRestoreS3Settings

type BackupRestoreS3Settings struct {

	// AWS access key id
	AccessKeyID string `json:"accessKeyID,omitempty"`

	// AWS S3 bucket name
	BucketName string `json:"bucketName,omitempty"`

	// AWS S3 filename in the bucket
	Filename string `json:"filename,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// AWS S3 region. Default to "us-east-1"
	// Example: us-east-1
	Region string `json:"region,omitempty"`

	// S3 compatible host
	S3CompatibleHost string `json:"s3CompatibleHost,omitempty"`

	// AWS secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`
}

BackupRestoreS3Settings backup restore s3 settings

swagger:model backup.restoreS3Settings

func (*BackupRestoreS3Settings) ContextValidate

func (m *BackupRestoreS3Settings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this backup restore s3 settings based on context it is used

func (*BackupRestoreS3Settings) MarshalBinary

func (m *BackupRestoreS3Settings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupRestoreS3Settings) UnmarshalBinary

func (m *BackupRestoreS3Settings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupRestoreS3Settings) Validate

func (m *BackupRestoreS3Settings) Validate(formats strfmt.Registry) error

Validate validates this backup restore s3 settings

type BackupS3BackupPayload

type BackupS3BackupPayload struct {

	// AWS access key id
	AccessKeyID string `json:"accessKeyID,omitempty"`

	// AWS S3 bucket name
	BucketName string `json:"bucketName,omitempty"`

	// Crontab rule to make periodical backups
	CronRule string `json:"cronRule,omitempty"`

	// Password to encrypt the backup with
	Password string `json:"password,omitempty"`

	// AWS S3 region. Default to "us-east-1"
	// Example: us-east-1
	Region string `json:"region,omitempty"`

	// S3 compatible host
	S3CompatibleHost string `json:"s3CompatibleHost,omitempty"`

	// AWS secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`
}

BackupS3BackupPayload backup s3 backup payload

swagger:model backup.s3BackupPayload

func (*BackupS3BackupPayload) ContextValidate

func (m *BackupS3BackupPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this backup s3 backup payload based on context it is used

func (*BackupS3BackupPayload) MarshalBinary

func (m *BackupS3BackupPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupS3BackupPayload) UnmarshalBinary

func (m *BackupS3BackupPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupS3BackupPayload) Validate

func (m *BackupS3BackupPayload) Validate(formats strfmt.Registry) error

Validate validates this backup s3 backup payload

type BuildBuildInfo

type BuildBuildInfo struct {

	// build number
	BuildNumber string `json:"buildNumber,omitempty"`

	// git commit
	GitCommit string `json:"gitCommit,omitempty"`

	// go version
	GoVersion string `json:"goVersion,omitempty"`

	// image tag
	ImageTag string `json:"imageTag,omitempty"`

	// nodejs version
	NodejsVersion string `json:"nodejsVersion,omitempty"`

	// webpack version
	WebpackVersion string `json:"webpackVersion,omitempty"`

	// yarn version
	YarnVersion string `json:"yarnVersion,omitempty"`
}

BuildBuildInfo build build info

swagger:model build.BuildInfo

func (*BuildBuildInfo) ContextValidate

func (m *BuildBuildInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this build build info based on context it is used

func (*BuildBuildInfo) MarshalBinary

func (m *BuildBuildInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildBuildInfo) UnmarshalBinary

func (m *BuildBuildInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildBuildInfo) Validate

func (m *BuildBuildInfo) Validate(formats strfmt.Registry) error

Validate validates this build build info

type BuildDependenciesInfo

type BuildDependenciesInfo struct {

	// compose version
	ComposeVersion string `json:"composeVersion,omitempty"`

	// docker version
	DockerVersion string `json:"dockerVersion,omitempty"`

	// helm version
	HelmVersion string `json:"helmVersion,omitempty"`

	// kubectl version
	KubectlVersion string `json:"kubectlVersion,omitempty"`
}

BuildDependenciesInfo build dependencies info

swagger:model build.DependenciesInfo

func (*BuildDependenciesInfo) ContextValidate

func (m *BuildDependenciesInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this build dependencies info based on context it is used

func (*BuildDependenciesInfo) MarshalBinary

func (m *BuildDependenciesInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildDependenciesInfo) UnmarshalBinary

func (m *BuildDependenciesInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildDependenciesInfo) Validate

func (m *BuildDependenciesInfo) Validate(formats strfmt.Registry) error

Validate validates this build dependencies info

type BuildRuntimeInfo

type BuildRuntimeInfo struct {

	// env
	Env []string `json:"env"`
}

BuildRuntimeInfo build runtime info

swagger:model build.RuntimeInfo

func (*BuildRuntimeInfo) ContextValidate

func (m *BuildRuntimeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this build runtime info based on context it is used

func (*BuildRuntimeInfo) MarshalBinary

func (m *BuildRuntimeInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildRuntimeInfo) UnmarshalBinary

func (m *BuildRuntimeInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildRuntimeInfo) Validate

func (m *BuildRuntimeInfo) Validate(formats strfmt.Registry) error

Validate validates this build runtime info

type ChatChatQueryPayload

type ChatChatQueryPayload struct {

	// Context is used to build a context that will be added to the prompt sent to OpenAI.
	// Only accepts a list of specific values:
	// environment_aware will create a context based on environment information (EnvironmentID parameter is mandatory).
	// Example: environment_aware
	// Required: true
	Context *string `json:"context"`

	// EnvironmentID is the ID of the environment for which the chat query is being made
	// it will be used to retrieve context information about the environment and pass it to then OpenAI API.
	// Mandatory when environment_aware context is used.
	// Example: 1
	EnvironmentID int64 `json:"environmentID,omitempty"`

	// Message is the message that will be forwarded to the OpenAI API.
	// Example: I would like to deploy a wordpress production setup
	// Required: true
	Message *string `json:"message"`

	// Model is the name of the OpenAI model that will be used to generate the response.
	// Only accepts a list of specific values: text-davinci-003, gpt-3.5-turbo, gpt-4
	// Note that the use of the GPT-4 model requires access to its API.
	// Optional: will default to gpt-3.5-turbo if not provided.
	// Example: gpt-3.5-turbo
	Model string `json:"model,omitempty"`
}

ChatChatQueryPayload chat chat query payload

swagger:model chat.chatQueryPayload

func (*ChatChatQueryPayload) ContextValidate

func (m *ChatChatQueryPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this chat chat query payload based on context it is used

func (*ChatChatQueryPayload) MarshalBinary

func (m *ChatChatQueryPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChatChatQueryPayload) UnmarshalBinary

func (m *ChatChatQueryPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChatChatQueryPayload) Validate

func (m *ChatChatQueryPayload) Validate(formats strfmt.Registry) error

Validate validates this chat chat query payload

type ChatChatQueryResponse

type ChatChatQueryResponse struct {

	// Message is the message that is returned by the OpenAI API.
	Message string `json:"message,omitempty"`

	// Yaml is the content of the compose / kubernetes manifest file that was generated by the OpenAI API as part of the response.
	Yaml string `json:"yaml,omitempty"`
}

ChatChatQueryResponse chat chat query response

swagger:model chat.chatQueryResponse

func (*ChatChatQueryResponse) ContextValidate

func (m *ChatChatQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this chat chat query response based on context it is used

func (*ChatChatQueryResponse) MarshalBinary

func (m *ChatChatQueryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChatChatQueryResponse) UnmarshalBinary

func (m *ChatChatQueryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChatChatQueryResponse) Validate

func (m *ChatChatQueryResponse) Validate(formats strfmt.Registry) error

Validate validates this chat chat query response

type ContainerMountPoint added in v2.31.0

type ContainerMountPoint struct {

	// Destination is the path relative to the container root (`/`) where the
	// Source is mounted inside the container.
	Destination string `json:"destination,omitempty"`

	// Driver is the volume driver used to create the volume (if it is a volume).
	Driver string `json:"driver,omitempty"`

	// Mode is a comma separated list of options supplied by the user when
	// creating the bind/volume mount.
	//
	// The default is platform-specific (`"z"` on Linux, empty on Windows).
	Mode string `json:"mode,omitempty"`

	// Name is the name reference to the underlying data defined by `Source`
	// e.g., the volume name.
	Name string `json:"name,omitempty"`

	// Propagation describes how mounts are propagated from the host into the
	// mount point, and vice-versa. Refer to the Linux kernel documentation
	// for details:
	// https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt
	//
	// This field is not used on Windows.
	Propagation string `json:"propagation,omitempty"`

	// RW indicates whether the mount is mounted writable (read-write).
	Rw bool `json:"rw,omitempty"`

	// Source is the source location of the mount.
	//
	// For volumes, this contains the storage location of the volume (within
	// `/var/lib/docker/volumes/`). For bind-mounts, and `npipe`, this contains
	// the source (host) part of the bind-mount. For `tmpfs` mount points, this
	// field is empty.
	Source string `json:"source,omitempty"`

	// Type is the type of mount, see `Type<foo>` definitions in
	// github.com/docker/docker/api/types/mount.Type
	Type string `json:"type,omitempty"`
}

ContainerMountPoint container mount point

swagger:model container.MountPoint

func (*ContainerMountPoint) ContextValidate added in v2.31.0

func (m *ContainerMountPoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this container mount point based on context it is used

func (*ContainerMountPoint) MarshalBinary added in v2.31.0

func (m *ContainerMountPoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainerMountPoint) UnmarshalBinary added in v2.31.0

func (m *ContainerMountPoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainerMountPoint) Validate added in v2.31.0

func (m *ContainerMountPoint) Validate(formats strfmt.Registry) error

Validate validates this container mount point

type ContainerNetworkSettingsSummary added in v2.31.0

type ContainerNetworkSettingsSummary struct {

	// networks
	Networks map[string]NetworkEndpointSettings `json:"networks,omitempty"`
}

ContainerNetworkSettingsSummary container network settings summary

swagger:model container.NetworkSettingsSummary

func (*ContainerNetworkSettingsSummary) ContextValidate added in v2.31.0

func (m *ContainerNetworkSettingsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this container network settings summary based on the context it is used

func (*ContainerNetworkSettingsSummary) MarshalBinary added in v2.31.0

func (m *ContainerNetworkSettingsSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainerNetworkSettingsSummary) UnmarshalBinary added in v2.31.0

func (m *ContainerNetworkSettingsSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainerNetworkSettingsSummary) Validate added in v2.31.0

Validate validates this container network settings summary

type ContainerPort added in v2.31.0

type ContainerPort struct {

	// Host IP address that the container's port is mapped to
	IP string `json:"IP,omitempty"`

	// Port on the container
	// Required: true
	PrivatePort int64 `json:"PrivatePort,omitempty"`

	// Port exposed on the host
	PublicPort int64 `json:"PublicPort,omitempty"`

	// type
	// Required: true
	Type string `json:"Type,omitempty"`
}

ContainerPort container port

swagger:model container.Port

func (*ContainerPort) ContextValidate added in v2.31.0

func (m *ContainerPort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this container port based on context it is used

func (*ContainerPort) MarshalBinary added in v2.31.0

func (m *ContainerPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainerPort) UnmarshalBinary added in v2.31.0

func (m *ContainerPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainerPort) Validate added in v2.31.0

func (m *ContainerPort) Validate(formats strfmt.Registry) error

Validate validates this container port

type ContainersContainerGpusResponse

type ContainersContainerGpusResponse struct {

	// gpus
	Gpus string `json:"gpus,omitempty"`
}

ContainersContainerGpusResponse containers container gpus response

swagger:model containers.containerGpusResponse

func (*ContainersContainerGpusResponse) ContextValidate

func (m *ContainersContainerGpusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this containers container gpus response based on context it is used

func (*ContainersContainerGpusResponse) MarshalBinary

func (m *ContainersContainerGpusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainersContainerGpusResponse) UnmarshalBinary

func (m *ContainersContainerGpusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainersContainerGpusResponse) Validate

Validate validates this containers container gpus response

type CustomtemplatesCustomTemplateFromFileContentPayload

type CustomtemplatesCustomTemplateFromFileContentPayload struct {

	// Description of the template
	// Example: High performance web server
	// Required: true
	Description *string `json:"description"`

	// edge settings
	EdgeSettings *PortainereeCustomTemplateEdgeSettings `json:"edgeSettings,omitempty"`

	// EdgeTemplate indicates if this template purpose for Edge Stack
	// Example: false
	EdgeTemplate bool `json:"edgeTemplate,omitempty"`

	// Content of stack file
	// Required: true
	FileContent *string `json:"fileContent"`

	// Example: https://portainer.io/img/logo.svg
	Logo string `json:"logo,omitempty"`

	// A note that will be displayed in the UI. Supports HTML content
	// Example: This is my \u003cb\u003ecustom\u003c/b\u003e template
	Note string `json:"note,omitempty"`

	// Platform associated to the template.
	// Valid values are: 1 - 'linux', 2 - 'windows'
	// Required for Docker stacks
	// Example: 1
	// Enum: [1,2]
	Platform int64 `json:"platform,omitempty"`

	// Title of the template
	// Example: Nginx
	// Required: true
	Title *string `json:"title"`

	// Type of created stack:
	// * 1 - swarm
	// * 2 - compose
	// * 3 - kubernetes
	// Example: 1
	// Required: true
	// Enum: [1,2,3]
	Type *int64 `json:"type"`

	// Definitions of variables in the stack file
	Variables []*PortainerCustomTemplateVariableDefinition `json:"variables"`
}

CustomtemplatesCustomTemplateFromFileContentPayload customtemplates custom template from file content payload

swagger:model customtemplates.customTemplateFromFileContentPayload

func (*CustomtemplatesCustomTemplateFromFileContentPayload) ContextValidate

ContextValidate validate this customtemplates custom template from file content payload based on the context it is used

func (*CustomtemplatesCustomTemplateFromFileContentPayload) MarshalBinary

MarshalBinary interface implementation

func (*CustomtemplatesCustomTemplateFromFileContentPayload) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CustomtemplatesCustomTemplateFromFileContentPayload) Validate

Validate validates this customtemplates custom template from file content payload

type CustomtemplatesCustomTemplateFromGitRepositoryPayload

type CustomtemplatesCustomTemplateFromGitRepositoryPayload struct {

	// Path to the Stack file inside the Git repository
	// Example: docker-compose.yml
	ComposeFilePathInRepository *string `json:"composeFilePathInRepository,omitempty"`

	// Description of the template
	// Example: High performance web server
	// Required: true
	Description *string `json:"description"`

	// edge settings
	EdgeSettings *PortainereeCustomTemplateEdgeSettings `json:"edgeSettings,omitempty"`

	// EdgeTemplate indicates if this template purpose for Edge Stack
	// Example: false
	EdgeTemplate bool `json:"edgeTemplate,omitempty"`

	// IsComposeFormat indicates if the Kubernetes template is created from a Docker Compose file
	// Example: false
	IsComposeFormat bool `json:"isComposeFormat,omitempty"`

	// Example: https://portainer.io/img/logo.svg
	Logo string `json:"logo,omitempty"`

	// A note that will be displayed in the UI. Supports HTML content
	// Example: This is my \u003cb\u003ecustom\u003c/b\u003e template
	Note string `json:"note,omitempty"`

	// Platform associated to the template.
	// Valid values are: 1 - 'linux', 2 - 'windows'
	// Required for Docker stacks
	// Example: 1
	// Enum: [1,2]
	Platform int64 `json:"platform,omitempty"`

	// Use basic authentication to clone the Git repository
	// Example: true
	RepositoryAuthentication bool `json:"repositoryAuthentication,omitempty"`

	// GitCredentialID used to identify the bound git credential. Required when RepositoryAuthentication
	// is true and RepositoryUsername/RepositoryPassword are not provided
	// Example: 0
	RepositoryGitCredentialID int64 `json:"repositoryGitCredentialID,omitempty"`

	// Password used in basic authentication. Required when RepositoryAuthentication is true
	// and RepositoryGitCredentialID is 0
	// Example: myGitPassword
	RepositoryPassword string `json:"repositoryPassword,omitempty"`

	// Reference name of a Git repository hosting the Stack file
	// Example: refs/heads/master
	RepositoryReferenceName string `json:"repositoryReferenceName,omitempty"`

	// URL of a Git repository hosting the Stack file
	// Example: https://github.com/openfaas/faas
	// Required: true
	RepositoryURL *string `json:"repositoryURL"`

	// Username used in basic authentication. Required when RepositoryAuthentication is true
	// and RepositoryGitCredentialID is 0
	// Example: myGitUsername
	RepositoryUsername string `json:"repositoryUsername,omitempty"`

	// Title of the template
	// Example: Nginx
	// Required: true
	Title *string `json:"title"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// Type of created stack:
	// * 1 - swarm
	// * 2 - compose
	// * 3 - kubernetes
	// Example: 1
	// Required: true
	// Enum: [1,2]
	Type *int64 `json:"type"`

	// Definitions of variables in the stack file
	Variables []*PortainerCustomTemplateVariableDefinition `json:"variables"`
}

CustomtemplatesCustomTemplateFromGitRepositoryPayload customtemplates custom template from git repository payload

swagger:model customtemplates.customTemplateFromGitRepositoryPayload

func (*CustomtemplatesCustomTemplateFromGitRepositoryPayload) ContextValidate

ContextValidate validate this customtemplates custom template from git repository payload based on the context it is used

func (*CustomtemplatesCustomTemplateFromGitRepositoryPayload) MarshalBinary

MarshalBinary interface implementation

func (*CustomtemplatesCustomTemplateFromGitRepositoryPayload) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CustomtemplatesCustomTemplateFromGitRepositoryPayload) Validate

Validate validates this customtemplates custom template from git repository payload

type CustomtemplatesCustomTemplateUpdatePayload

type CustomtemplatesCustomTemplateUpdatePayload struct {

	// Path to the Stack file inside the Git repository
	// Example: docker-compose.yml
	ComposeFilePathInRepository *string `json:"composeFilePathInRepository,omitempty"`

	// Description of the template
	// Example: High performance web server
	// Required: true
	Description *string `json:"description"`

	// edge settings
	EdgeSettings *PortainereeCustomTemplateEdgeSettings `json:"edgeSettings,omitempty"`

	// EdgeTemplate indicates if this template purpose for Edge Stack
	// Example: false
	EdgeTemplate bool `json:"edgeTemplate,omitempty"`

	// Content of stack file
	// Required: true
	FileContent *string `json:"fileContent"`

	// IsComposeFormat indicates if the Kubernetes template is created from a Docker Compose file
	// Example: false
	IsComposeFormat bool `json:"isComposeFormat,omitempty"`

	// Example: https://portainer.io/img/logo.svg
	Logo string `json:"logo,omitempty"`

	// A note that will be displayed in the UI. Supports HTML content
	// Example: This is my \u003cb\u003ecustom\u003c/b\u003e template
	Note string `json:"note,omitempty"`

	// Platform associated to the template.
	// Valid values are: 1 - 'linux', 2 - 'windows'
	// Required for Docker stacks
	// Example: 1
	// Enum: [1,2]
	Platform int64 `json:"platform,omitempty"`

	// Use basic authentication to clone the Git repository
	// Example: true
	RepositoryAuthentication bool `json:"repositoryAuthentication,omitempty"`

	// GitCredentialID used to identify the bound git credential. Required when RepositoryAuthentication
	// is true and RepositoryUsername/RepositoryPassword are not provided
	// Example: 0
	RepositoryGitCredentialID int64 `json:"repositoryGitCredentialID,omitempty"`

	// Password used in basic authentication. Required when RepositoryAuthentication is true
	// and RepositoryGitCredentialID is 0
	// Example: myGitPassword
	RepositoryPassword string `json:"repositoryPassword,omitempty"`

	// Reference name of a Git repository hosting the Stack file
	// Example: refs/heads/master
	RepositoryReferenceName string `json:"repositoryReferenceName,omitempty"`

	// URL of a Git repository hosting the Stack file
	// Example: https://github.com/openfaas/faas
	// Required: true
	RepositoryURL *string `json:"repositoryURL"`

	// Username used in basic authentication. Required when RepositoryAuthentication is true
	// and RepositoryGitCredentialID is 0
	// Example: myGitUsername
	RepositoryUsername string `json:"repositoryUsername,omitempty"`

	// Title of the template
	// Example: Nginx
	// Required: true
	Title *string `json:"title"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// Type of created stack (1 - swarm, 2 - compose, 3 - kubernetes)
	// Example: 1
	// Required: true
	// Enum: [1,2,3]
	Type *int64 `json:"type"`

	// Definitions of variables in the stack file
	Variables []*PortainerCustomTemplateVariableDefinition `json:"variables"`
}

CustomtemplatesCustomTemplateUpdatePayload customtemplates custom template update payload

swagger:model customtemplates.customTemplateUpdatePayload

func (*CustomtemplatesCustomTemplateUpdatePayload) ContextValidate

ContextValidate validate this customtemplates custom template update payload based on the context it is used

func (*CustomtemplatesCustomTemplateUpdatePayload) MarshalBinary

func (m *CustomtemplatesCustomTemplateUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomtemplatesCustomTemplateUpdatePayload) UnmarshalBinary

func (m *CustomtemplatesCustomTemplateUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomtemplatesCustomTemplateUpdatePayload) Validate

Validate validates this customtemplates custom template update payload

type CustomtemplatesFileResponse

type CustomtemplatesFileResponse struct {

	// file content
	FileContent string `json:"fileContent,omitempty"`
}

CustomtemplatesFileResponse customtemplates file response

swagger:model customtemplates.fileResponse

func (*CustomtemplatesFileResponse) ContextValidate

func (m *CustomtemplatesFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this customtemplates file response based on context it is used

func (*CustomtemplatesFileResponse) MarshalBinary

func (m *CustomtemplatesFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomtemplatesFileResponse) UnmarshalBinary

func (m *CustomtemplatesFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomtemplatesFileResponse) Validate

func (m *CustomtemplatesFileResponse) Validate(formats strfmt.Registry) error

Validate validates this customtemplates file response

type DockerContainerStats

type DockerContainerStats struct {

	// healthy
	Healthy int64 `json:"healthy,omitempty"`

	// running
	Running int64 `json:"running,omitempty"`

	// stopped
	Stopped int64 `json:"stopped,omitempty"`

	// total
	Total int64 `json:"total,omitempty"`

	// unhealthy
	Unhealthy int64 `json:"unhealthy,omitempty"`
}

DockerContainerStats docker container stats

swagger:model docker.ContainerStats

func (*DockerContainerStats) ContextValidate

func (m *DockerContainerStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this docker container stats based on context it is used

func (*DockerContainerStats) MarshalBinary

func (m *DockerContainerStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerContainerStats) UnmarshalBinary

func (m *DockerContainerStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerContainerStats) Validate

func (m *DockerContainerStats) Validate(formats strfmt.Registry) error

Validate validates this docker container stats

type DockerDashboardResponse

type DockerDashboardResponse struct {

	// containers
	Containers *DockerContainerStats `json:"containers,omitempty"`

	// images
	Images *DockerImagesCounters `json:"images,omitempty"`

	// networks
	Networks int64 `json:"networks,omitempty"`

	// services
	Services int64 `json:"services,omitempty"`

	// stacks
	Stacks int64 `json:"stacks,omitempty"`

	// volumes
	Volumes int64 `json:"volumes,omitempty"`
}

DockerDashboardResponse docker dashboard response

swagger:model docker.dashboardResponse

func (*DockerDashboardResponse) ContextValidate

func (m *DockerDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this docker dashboard response based on the context it is used

func (*DockerDashboardResponse) MarshalBinary

func (m *DockerDashboardResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerDashboardResponse) UnmarshalBinary

func (m *DockerDashboardResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerDashboardResponse) Validate

func (m *DockerDashboardResponse) Validate(formats strfmt.Registry) error

Validate validates this docker dashboard response

type DockerImagesCounters

type DockerImagesCounters struct {

	// size
	Size int64 `json:"size,omitempty"`

	// total
	Total int64 `json:"total,omitempty"`
}

DockerImagesCounters docker images counters

swagger:model docker.imagesCounters

func (*DockerImagesCounters) ContextValidate

func (m *DockerImagesCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this docker images counters based on context it is used

func (*DockerImagesCounters) MarshalBinary

func (m *DockerImagesCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerImagesCounters) UnmarshalBinary

func (m *DockerImagesCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerImagesCounters) Validate

func (m *DockerImagesCounters) Validate(formats strfmt.Registry) error

Validate validates this docker images counters

type EdgeDeployerOptionsPayload

type EdgeDeployerOptionsPayload struct {

	// Prune is a flag indicating if the agent must prune the containers or not when creating/updating an edge stack
	// This flag drives `docker compose up --remove-orphans` and `docker stack up --prune` options
	// Used only for EE
	Prune bool `json:"prune,omitempty"`

	// RemoveVolumes is a flag indicating if the agent must remove the named volumes declared
	// in the compose file and anonymouse volumes attached to containers
	// This flag drives `docker compose down --volumes` option
	// Used only for EE
	RemoveVolumes bool `json:"removeVolumes,omitempty"`
}

EdgeDeployerOptionsPayload edge deployer options payload

swagger:model edge.DeployerOptionsPayload

func (*EdgeDeployerOptionsPayload) ContextValidate

func (m *EdgeDeployerOptionsPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edge deployer options payload based on context it is used

func (*EdgeDeployerOptionsPayload) MarshalBinary

func (m *EdgeDeployerOptionsPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeDeployerOptionsPayload) UnmarshalBinary

func (m *EdgeDeployerOptionsPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeDeployerOptionsPayload) Validate

func (m *EdgeDeployerOptionsPayload) Validate(formats strfmt.Registry) error

Validate validates this edge deployer options payload

type EdgeRegistryCredentials

type EdgeRegistryCredentials struct {

	// secret
	Secret string `json:"secret,omitempty"`

	// server URL
	ServerURL string `json:"serverURL,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

EdgeRegistryCredentials edge registry credentials

swagger:model edge.RegistryCredentials

func (*EdgeRegistryCredentials) ContextValidate

func (m *EdgeRegistryCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edge registry credentials based on context it is used

func (*EdgeRegistryCredentials) MarshalBinary

func (m *EdgeRegistryCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeRegistryCredentials) UnmarshalBinary

func (m *EdgeRegistryCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeRegistryCredentials) Validate

func (m *EdgeRegistryCredentials) Validate(formats strfmt.Registry) error

Validate validates this edge registry credentials

type EdgeStackPayload

type EdgeStackPayload struct {

	// deployer options payload
	DeployerOptionsPayload *EdgeDeployerOptionsPayload `json:"deployerOptionsPayload,omitempty"`

	// Content of stack folder
	DirEntries []*FilesystemDirEntry `json:"dirEntries"`

	// EdgeUpdateID is the ID of the edge update related to this stack.
	// Used only for EE
	EdgeUpdateID int64 `json:"edgeUpdateID,omitempty"`

	// Name of the stack entry file
	EntryFileName string `json:"entryFileName,omitempty"`

	// Used only for EE
	// EnvVars is a list of environment variables to inject into the stack
	EnvVars []*PortainerPair `json:"envVars"`

	// Mount point for relative path
	FilesystemPath string `json:"filesystemPath,omitempty"`

	// ID of the stack
	ID int64 `json:"id,omitempty"`

	// Name of the stack
	Name string `json:"name,omitempty"`

	// Namespace to use for kubernetes stack. Keep empty to use the manifest namespace.
	Namespace string `json:"namespace,omitempty"`

	// PrePullImage is a flag indicating if the agent must pull the image before deploying the stack.
	// Used only for EE
	PrePullImage bool `json:"prePullImage,omitempty"`

	// RePullImage is a flag indicating if the agent must pull the image if it is already present on the node.
	// Used only for EE
	RePullImage bool `json:"rePullImage,omitempty"`

	// Used only for EE async edge agent
	// ReadyRePullImage is a flag to indicate whether the auto update is trigger to re-pull image
	ReadyRePullImage bool `json:"readyRePullImage,omitempty"`

	// RegistryCredentials holds the credentials for a Docker registry.
	// Used only for EE
	RegistryCredentials []*EdgeRegistryCredentials `json:"registryCredentials"`

	// RetryDeploy is a flag indicating if the agent must retry to deploy the stack if it fails.
	// Used only for EE
	RetryDeploy bool `json:"retryDeploy,omitempty"`

	// RetryPeriod specifies the duration, in seconds, for which the agent should continue attempting to deploy the stack after a failure
	// Used only for EE
	RetryPeriod int64 `json:"retryPeriod,omitempty"`

	// RollbackTo specifies the stack file version to rollback to (only support to rollback to the last version currently)
	RollbackTo int64 `json:"rollbackTo,omitempty"`

	// Content of the stack file (for compatibility to agent version less than 2.19.0)
	StackFileContent string `json:"stackFileContent,omitempty"`

	// Is relative path supported
	SupportRelativePath bool `json:"supportRelativePath,omitempty"`

	// Version of the stack file
	Version int64 `json:"version,omitempty"`
}

EdgeStackPayload edge stack payload

swagger:model edge.StackPayload

func (*EdgeStackPayload) ContextValidate

func (m *EdgeStackPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edge stack payload based on the context it is used

func (*EdgeStackPayload) MarshalBinary

func (m *EdgeStackPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeStackPayload) UnmarshalBinary

func (m *EdgeStackPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeStackPayload) Validate

func (m *EdgeStackPayload) Validate(formats strfmt.Registry) error

Validate validates this edge stack payload

type EdgeconfigsEdgeConfigCreatePayload

type EdgeconfigsEdgeConfigCreatePayload struct {

	// base dir
	BaseDir string `json:"baseDir,omitempty"`

	// category
	Category string `json:"category,omitempty"`

	// edge group i ds
	EdgeGroupIDs []int64 `json:"edgeGroupIDs"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

EdgeconfigsEdgeConfigCreatePayload edgeconfigs edge config create payload

swagger:model edgeconfigs.edgeConfigCreatePayload

func (*EdgeconfigsEdgeConfigCreatePayload) ContextValidate

func (m *EdgeconfigsEdgeConfigCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgeconfigs edge config create payload based on context it is used

func (*EdgeconfigsEdgeConfigCreatePayload) MarshalBinary

func (m *EdgeconfigsEdgeConfigCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeconfigsEdgeConfigCreatePayload) UnmarshalBinary

func (m *EdgeconfigsEdgeConfigCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeconfigsEdgeConfigCreatePayload) Validate

Validate validates this edgeconfigs edge config create payload

type EdgegroupsDecoratedEdgeGroup

type EdgegroupsDecoratedEdgeGroup struct {

	// dynamic
	Dynamic bool `json:"Dynamic,omitempty"`

	// endpoints
	Endpoints []int64 `json:"Endpoints"`

	// has edge config
	HasEdgeConfig bool `json:"HasEdgeConfig,omitempty"`

	// has edge job
	HasEdgeJob bool `json:"HasEdgeJob,omitempty"`

	// has edge stack
	HasEdgeStack bool `json:"HasEdgeStack,omitempty"`

	// EdgeGroup Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// partial match
	PartialMatch bool `json:"PartialMatch,omitempty"`

	// tag ids
	TagIds []int64 `json:"TagIds"`

	// trusted endpoints
	TrustedEndpoints []int64 `json:"TrustedEndpoints"`

	// edge update ID
	EdgeUpdateID int64 `json:"edgeUpdateID,omitempty"`

	// endpoint types
	EndpointTypes []int64 `json:"endpointTypes"`
}

EdgegroupsDecoratedEdgeGroup edgegroups decorated edge group

swagger:model edgegroups.decoratedEdgeGroup

func (*EdgegroupsDecoratedEdgeGroup) ContextValidate

func (m *EdgegroupsDecoratedEdgeGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgegroups decorated edge group based on context it is used

func (*EdgegroupsDecoratedEdgeGroup) MarshalBinary

func (m *EdgegroupsDecoratedEdgeGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgegroupsDecoratedEdgeGroup) UnmarshalBinary

func (m *EdgegroupsDecoratedEdgeGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgegroupsDecoratedEdgeGroup) Validate

func (m *EdgegroupsDecoratedEdgeGroup) Validate(formats strfmt.Registry) error

Validate validates this edgegroups decorated edge group

type EdgegroupsEdgeGroupCreatePayload

type EdgegroupsEdgeGroupCreatePayload struct {

	// dynamic
	Dynamic bool `json:"dynamic,omitempty"`

	// endpoints
	Endpoints []int64 `json:"endpoints"`

	// name
	Name string `json:"name,omitempty"`

	// partial match
	PartialMatch bool `json:"partialMatch,omitempty"`

	// tag i ds
	TagIDs []int64 `json:"tagIDs"`
}

EdgegroupsEdgeGroupCreatePayload edgegroups edge group create payload

swagger:model edgegroups.edgeGroupCreatePayload

func (*EdgegroupsEdgeGroupCreatePayload) ContextValidate

func (m *EdgegroupsEdgeGroupCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgegroups edge group create payload based on context it is used

func (*EdgegroupsEdgeGroupCreatePayload) MarshalBinary

func (m *EdgegroupsEdgeGroupCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgegroupsEdgeGroupCreatePayload) UnmarshalBinary

func (m *EdgegroupsEdgeGroupCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgegroupsEdgeGroupCreatePayload) Validate

Validate validates this edgegroups edge group create payload

type EdgegroupsEdgeGroupUpdatePayload

type EdgegroupsEdgeGroupUpdatePayload struct {

	// dynamic
	Dynamic bool `json:"dynamic,omitempty"`

	// endpoints
	Endpoints []int64 `json:"endpoints"`

	// name
	Name string `json:"name,omitempty"`

	// partial match
	PartialMatch bool `json:"partialMatch,omitempty"`

	// tag i ds
	TagIDs []int64 `json:"tagIDs"`
}

EdgegroupsEdgeGroupUpdatePayload edgegroups edge group update payload

swagger:model edgegroups.edgeGroupUpdatePayload

func (*EdgegroupsEdgeGroupUpdatePayload) ContextValidate

func (m *EdgegroupsEdgeGroupUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgegroups edge group update payload based on context it is used

func (*EdgegroupsEdgeGroupUpdatePayload) MarshalBinary

func (m *EdgegroupsEdgeGroupUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgegroupsEdgeGroupUpdatePayload) UnmarshalBinary

func (m *EdgegroupsEdgeGroupUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgegroupsEdgeGroupUpdatePayload) Validate

Validate validates this edgegroups edge group update payload

type EdgejobsEdgeJobCreateFromFileContentPayload

type EdgejobsEdgeJobCreateFromFileContentPayload struct {

	// cron expression
	CronExpression string `json:"cronExpression,omitempty"`

	// edge groups
	EdgeGroups []int64 `json:"edgeGroups"`

	// endpoints
	Endpoints []int64 `json:"endpoints"`

	// file content
	FileContent string `json:"fileContent,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// recurring
	Recurring bool `json:"recurring,omitempty"`
}

EdgejobsEdgeJobCreateFromFileContentPayload edgejobs edge job create from file content payload

swagger:model edgejobs.edgeJobCreateFromFileContentPayload

func (*EdgejobsEdgeJobCreateFromFileContentPayload) ContextValidate

ContextValidate validates this edgejobs edge job create from file content payload based on context it is used

func (*EdgejobsEdgeJobCreateFromFileContentPayload) MarshalBinary

func (m *EdgejobsEdgeJobCreateFromFileContentPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgejobsEdgeJobCreateFromFileContentPayload) UnmarshalBinary

func (m *EdgejobsEdgeJobCreateFromFileContentPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgejobsEdgeJobCreateFromFileContentPayload) Validate

Validate validates this edgejobs edge job create from file content payload

type EdgejobsEdgeJobFileResponse

type EdgejobsEdgeJobFileResponse struct {

	// file content
	FileContent string `json:"FileContent,omitempty"`
}

EdgejobsEdgeJobFileResponse edgejobs edge job file response

swagger:model edgejobs.edgeJobFileResponse

func (*EdgejobsEdgeJobFileResponse) ContextValidate

func (m *EdgejobsEdgeJobFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgejobs edge job file response based on context it is used

func (*EdgejobsEdgeJobFileResponse) MarshalBinary

func (m *EdgejobsEdgeJobFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgejobsEdgeJobFileResponse) UnmarshalBinary

func (m *EdgejobsEdgeJobFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgejobsEdgeJobFileResponse) Validate

func (m *EdgejobsEdgeJobFileResponse) Validate(formats strfmt.Registry) error

Validate validates this edgejobs edge job file response

type EdgejobsEdgeJobUpdatePayload

type EdgejobsEdgeJobUpdatePayload struct {

	// cron expression
	CronExpression string `json:"cronExpression,omitempty"`

	// edge groups
	EdgeGroups []int64 `json:"edgeGroups"`

	// endpoints
	Endpoints []int64 `json:"endpoints"`

	// file content
	FileContent string `json:"fileContent,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// recurring
	Recurring bool `json:"recurring,omitempty"`
}

EdgejobsEdgeJobUpdatePayload edgejobs edge job update payload

swagger:model edgejobs.edgeJobUpdatePayload

func (*EdgejobsEdgeJobUpdatePayload) ContextValidate

func (m *EdgejobsEdgeJobUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgejobs edge job update payload based on context it is used

func (*EdgejobsEdgeJobUpdatePayload) MarshalBinary

func (m *EdgejobsEdgeJobUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgejobsEdgeJobUpdatePayload) UnmarshalBinary

func (m *EdgejobsEdgeJobUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgejobsEdgeJobUpdatePayload) Validate

func (m *EdgejobsEdgeJobUpdatePayload) Validate(formats strfmt.Registry) error

Validate validates this edgejobs edge job update payload

type EdgejobsFileResponse

type EdgejobsFileResponse struct {

	// file content
	FileContent string `json:"FileContent,omitempty"`
}

EdgejobsFileResponse edgejobs file response

swagger:model edgejobs.fileResponse

func (*EdgejobsFileResponse) ContextValidate

func (m *EdgejobsFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgejobs file response based on context it is used

func (*EdgejobsFileResponse) MarshalBinary

func (m *EdgejobsFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgejobsFileResponse) UnmarshalBinary

func (m *EdgejobsFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgejobsFileResponse) Validate

func (m *EdgejobsFileResponse) Validate(formats strfmt.Registry) error

Validate validates this edgejobs file response

type EdgejobsTaskContainer

type EdgejobsTaskContainer struct {

	// endpoint Id
	EndpointID int64 `json:"EndpointId,omitempty"`

	// Id
	ID string `json:"Id,omitempty"`

	// logs status
	LogsStatus int64 `json:"LogsStatus,omitempty"`
}

EdgejobsTaskContainer edgejobs task container

swagger:model edgejobs.taskContainer

func (*EdgejobsTaskContainer) ContextValidate

func (m *EdgejobsTaskContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgejobs task container based on context it is used

func (*EdgejobsTaskContainer) MarshalBinary

func (m *EdgejobsTaskContainer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgejobsTaskContainer) UnmarshalBinary

func (m *EdgejobsTaskContainer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgejobsTaskContainer) Validate

func (m *EdgejobsTaskContainer) Validate(formats strfmt.Registry) error

Validate validates this edgejobs task container

type EdgestacksDeployerOptionsPayload

type EdgestacksDeployerOptionsPayload struct {

	// prune
	Prune bool `json:"prune,omitempty"`

	// remove volumes
	RemoveVolumes bool `json:"removeVolumes,omitempty"`
}

EdgestacksDeployerOptionsPayload edgestacks deployer options payload

swagger:model edgestacks.deployerOptionsPayload

func (*EdgestacksDeployerOptionsPayload) ContextValidate

func (m *EdgestacksDeployerOptionsPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgestacks deployer options payload based on context it is used

func (*EdgestacksDeployerOptionsPayload) MarshalBinary

func (m *EdgestacksDeployerOptionsPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgestacksDeployerOptionsPayload) UnmarshalBinary

func (m *EdgestacksDeployerOptionsPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgestacksDeployerOptionsPayload) Validate

Validate validates this edgestacks deployer options payload

type EdgestacksEdgeStackFromGitRepositoryPayload

type EdgestacksEdgeStackFromGitRepositoryPayload struct {

	// Optional GitOps update configuration
	AutoUpdate *PortainerAutoUpdateSettings `json:"autoUpdate,omitempty"`

	// CreatedFromCustomTemplateID used to determine whether the edge stack is created from a custom template
	CreatedFromCustomTemplateID int64 `json:"createdFromCustomTemplateID,omitempty"`

	// Deployment type to deploy this stack
	// Valid values are: 0 - 'compose', 1 - 'kubernetes'
	// compose is enabled only for docker environments
	// kubernetes is enabled only for kubernetes environments
	// Example: 0
	// Enum: [0,1]
	DeploymentType int64 `json:"deploymentType,omitempty"`

	// List of identifiers of EdgeGroups
	// Example: [1]
	// Required: true
	EdgeGroups []int64 `json:"edgeGroups"`

	// List of environment variables
	EnvVars []*PortainerPair `json:"envVars"`

	// Path to the Stack file inside the Git repository
	// Example: docker-compose.yml
	FilePathInRepository *string `json:"filePathInRepository,omitempty"`

	// Local filesystem path
	// Example: /mnt
	FilesystemPath string `json:"filesystemPath,omitempty"`

	// Name of the stack
	// Max length: 255
	// Name must only contains lowercase characters, numbers, hyphens, or underscores
	// Name must start with a lowercase character or number
	// Example: stack-name or stack_123 or stackName
	// Example: stack-name
	// Required: true
	Name *string `json:"name"`

	// Per device configs group match type
	// Example: file
	// Enum: ["file"," dir"]
	PerDeviceConfigsGroupMatchType string `json:"perDeviceConfigsGroupMatchType,omitempty"`

	// Per device configs match type
	// Example: file
	// Enum: ["file"," dir"]
	PerDeviceConfigsMatchType string `json:"perDeviceConfigsMatchType,omitempty"`

	// Per device configs path
	// Example: configs
	PerDeviceConfigsPath string `json:"perDeviceConfigsPath,omitempty"`

	// Pre Pull image
	// Example: false
	PrePullImage bool `json:"prePullImage,omitempty"`

	// List of Registries to use for this stack
	Registries []int64 `json:"registries"`

	// Use basic authentication to clone the Git repository
	// Example: true
	RepositoryAuthentication bool `json:"repositoryAuthentication,omitempty"`

	// GitCredentialID used to identify the binded git credential
	// Example: 0
	RepositoryGitCredentialID int64 `json:"repositoryGitCredentialID,omitempty"`

	// Password used in basic authentication. Required when RepositoryAuthentication is true.
	// Example: myGitPassword
	RepositoryPassword string `json:"repositoryPassword,omitempty"`

	// Reference name of a Git repository hosting the Stack file
	// Example: refs/heads/master
	RepositoryReferenceName string `json:"repositoryReferenceName,omitempty"`

	// URL of a Git repository hosting the Stack file
	// Example: https://github.com/openfaas/faas
	// Required: true
	RepositoryURL *string `json:"repositoryURL"`

	// Username used in basic authentication. Required when RepositoryAuthentication is true.
	// Example: myGitUsername
	RepositoryUsername string `json:"repositoryUsername,omitempty"`

	// Retry deploy
	// Example: false
	RetryDeploy bool `json:"retryDeploy,omitempty"`

	// Retry period specifies the duration, in seconds, for which the agent should continue attempting to deploy the stack after a failure
	RetryPeriod int64 `json:"retryPeriod,omitempty"`

	// Configuration for stagger updates
	StaggerConfig *PortainereeEdgeStaggerConfig `json:"staggerConfig,omitempty"`

	// Whether the edge stack supports per device configs
	// Example: false
	SupportPerDeviceConfigs bool `json:"supportPerDeviceConfigs,omitempty"`

	// Whether the stack supports relative path volume
	// Example: false
	SupportRelativePath bool `json:"supportRelativePath,omitempty"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// Uses the manifest's namespaces instead of the default one
	UseManifestNamespaces bool `json:"useManifestNamespaces,omitempty"`
}

EdgestacksEdgeStackFromGitRepositoryPayload edgestacks edge stack from git repository payload

swagger:model edgestacks.edgeStackFromGitRepositoryPayload

func (*EdgestacksEdgeStackFromGitRepositoryPayload) ContextValidate

ContextValidate validate this edgestacks edge stack from git repository payload based on the context it is used

func (*EdgestacksEdgeStackFromGitRepositoryPayload) MarshalBinary

func (m *EdgestacksEdgeStackFromGitRepositoryPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgestacksEdgeStackFromGitRepositoryPayload) UnmarshalBinary

func (m *EdgestacksEdgeStackFromGitRepositoryPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgestacksEdgeStackFromGitRepositoryPayload) Validate

Validate validates this edgestacks edge stack from git repository payload

type EdgestacksEdgeStackFromStringPayload

type EdgestacksEdgeStackFromStringPayload struct {

	// Deployment type to deploy this stack
	// Valid values are: 0 - 'compose', 1 - 'kubernetes'
	// compose is enabled only for docker environments
	// kubernetes is enabled only for kubernetes environments
	// Example: 0
	// Enum: [0,1]
	DeploymentType int64 `json:"deploymentType,omitempty"`

	// List of identifiers of EdgeGroups
	// Example: [1]
	EdgeGroups []int64 `json:"edgeGroups"`

	// List of environment variables
	EnvVars []*PortainerPair `json:"envVars"`

	// Name of the stack
	// Max length: 255
	// Name must only contains lowercase characters, numbers, hyphens, or underscores
	// Name must start with a lowercase character or number
	// Example: stack-name or stack_123 or stackName
	// Example: stack-name
	// Required: true
	Name *string `json:"name"`

	// Pre Pull image
	// Example: false
	PrePullImage bool `json:"prePullImage,omitempty"`

	// List of Registries to use for this stack
	Registries []int64 `json:"registries"`

	// Retry deploy
	// Example: false
	RetryDeploy bool `json:"retryDeploy,omitempty"`

	// Retry period specifies the duration, in seconds, for which the agent should continue attempting to deploy the stack after a failure
	RetryPeriod int64 `json:"retryPeriod,omitempty"`

	// Content of the Stack file
	// Example: version: 3\n services:\n web:\n image:nginx
	// Required: true
	StackFileContent *string `json:"stackFileContent"`

	// Configuration for stagger updates
	StaggerConfig *PortainereeEdgeStaggerConfig `json:"staggerConfig,omitempty"`

	// Uses the manifest's namespaces instead of the default one
	UseManifestNamespaces bool `json:"useManifestNamespaces,omitempty"`

	// Optional webhook configuration
	// Example: c11fdf23-183e-428a-9bb6-16db01032174
	Webhook string `json:"webhook,omitempty"`
}

EdgestacksEdgeStackFromStringPayload edgestacks edge stack from string payload

swagger:model edgestacks.edgeStackFromStringPayload

func (*EdgestacksEdgeStackFromStringPayload) ContextValidate

func (m *EdgestacksEdgeStackFromStringPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edgestacks edge stack from string payload based on the context it is used

func (*EdgestacksEdgeStackFromStringPayload) MarshalBinary

func (m *EdgestacksEdgeStackFromStringPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgestacksEdgeStackFromStringPayload) UnmarshalBinary

func (m *EdgestacksEdgeStackFromStringPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgestacksEdgeStackFromStringPayload) Validate

Validate validates this edgestacks edge stack from string payload

type EdgestacksEdgeStackStaggerStatusResponse

type EdgestacksEdgeStackStaggerStatusResponse struct {

	// status
	Status string `json:"status,omitempty"`
}

EdgestacksEdgeStackStaggerStatusResponse edgestacks edge stack stagger status response

swagger:model edgestacks.edgeStackStaggerStatusResponse

func (*EdgestacksEdgeStackStaggerStatusResponse) ContextValidate

ContextValidate validates this edgestacks edge stack stagger status response based on context it is used

func (*EdgestacksEdgeStackStaggerStatusResponse) MarshalBinary

func (m *EdgestacksEdgeStackStaggerStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgestacksEdgeStackStaggerStatusResponse) UnmarshalBinary

func (m *EdgestacksEdgeStackStaggerStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgestacksEdgeStackStaggerStatusResponse) Validate

Validate validates this edgestacks edge stack stagger status response

type EdgestacksStackFileResponse

type EdgestacksStackFileResponse struct {

	// stack file content
	StackFileContent string `json:"StackFileContent,omitempty"`
}

EdgestacksStackFileResponse edgestacks stack file response

swagger:model edgestacks.stackFileResponse

func (*EdgestacksStackFileResponse) ContextValidate

func (m *EdgestacksStackFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgestacks stack file response based on context it is used

func (*EdgestacksStackFileResponse) MarshalBinary

func (m *EdgestacksStackFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgestacksStackFileResponse) UnmarshalBinary

func (m *EdgestacksStackFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgestacksStackFileResponse) Validate

func (m *EdgestacksStackFileResponse) Validate(formats strfmt.Registry) error

Validate validates this edgestacks stack file response

type EdgestacksStackGitUpdatePayload

type EdgestacksStackGitUpdatePayload struct {

	// authentication
	Authentication *GittypesGitAuthentication `json:"authentication,omitempty"`

	// auto update
	AutoUpdate *PortainerAutoUpdateSettings `json:"autoUpdate,omitempty"`

	// Options to control the deployer behaviour
	DeployerOptions *EdgestacksDeployerOptionsPayload `json:"deployerOptions,omitempty"`

	// Deployment type to deploy this stack
	// Valid values are: 0 - 'compose', 1 - 'kubernetes'
	// compose is enabled only for docker environments
	// kubernetes is enabled only for kubernetes environments
	// Example: 0
	// Enum: [0,1]
	DeploymentType int64 `json:"deploymentType,omitempty"`

	// env vars
	EnvVars []*PortainerPair `json:"envVars"`

	// group ids
	GroupIds []int64 `json:"groupIds"`

	// pre pull image
	PrePullImage bool `json:"prePullImage,omitempty"`

	// re pull image
	RePullImage bool `json:"rePullImage,omitempty"`

	// ref name
	RefName string `json:"refName,omitempty"`

	// List of Registries to use for this stack
	Registries []int64 `json:"registries"`

	// retry deploy
	RetryDeploy bool `json:"retryDeploy,omitempty"`

	// RetryPeriod specifies the duration, in seconds, for which the agent should continue attempting to deploy the stack after a failure
	RetryPeriod int64 `json:"retryPeriod,omitempty"`

	// Configuration for stagger updates
	StaggerConfig *PortainereeEdgeStaggerConfig `json:"staggerConfig,omitempty"`

	// Update the stack file content from the git repository
	// If this is set to true, it indicates that the stack is being redeployed,
	// if it is false, it indicates that the stack is being updated
	UpdateVersion bool `json:"updateVersion,omitempty"`
}

EdgestacksStackGitUpdatePayload edgestacks stack git update payload

swagger:model edgestacks.stackGitUpdatePayload

func (*EdgestacksStackGitUpdatePayload) ContextValidate

func (m *EdgestacksStackGitUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edgestacks stack git update payload based on the context it is used

func (*EdgestacksStackGitUpdatePayload) MarshalBinary

func (m *EdgestacksStackGitUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgestacksStackGitUpdatePayload) UnmarshalBinary

func (m *EdgestacksStackGitUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgestacksStackGitUpdatePayload) Validate

Validate validates this edgestacks stack git update payload

type EdgestacksUpdateEdgeStackPayload

type EdgestacksUpdateEdgeStackPayload struct {

	// Options to control the deployer behaviour
	DeployerOptions *EdgestacksDeployerOptionsPayload `json:"deployerOptions,omitempty"`

	// Deployment type to deploy this stack
	// Valid values are: 0 - 'compose', 1 - 'kubernetes'
	// compose is enabled only for docker environments
	// kubernetes is enabled only for kubernetes environments
	// Example: 0
	// Enum: [0,1]
	DeploymentType int64 `json:"deploymentType,omitempty"`

	// edge groups
	EdgeGroups []int64 `json:"edgeGroups"`

	// Environment variables to inject into the stack
	EnvVars []*PortainerPair `json:"envVars"`

	// pre pull image
	PrePullImage bool `json:"prePullImage,omitempty"`

	// re pull image
	RePullImage bool `json:"rePullImage,omitempty"`

	// registries
	Registries []int64 `json:"registries"`

	// retry deploy
	RetryDeploy bool `json:"retryDeploy,omitempty"`

	// RetryPeriod specifies the duration, in seconds, for which the agent should continue attempting to deploy the stack after a failure
	RetryPeriod int64 `json:"retryPeriod,omitempty"`

	// RollbackTo specifies the stack file version to rollback to (only support to rollback to the last version currently)
	RollbackTo int64 `json:"rollbackTo,omitempty"`

	// stack file content
	StackFileContent string `json:"stackFileContent,omitempty"`

	// Configuration for stagger updates
	StaggerConfig *PortainereeEdgeStaggerConfig `json:"staggerConfig,omitempty"`

	// update version
	UpdateVersion bool `json:"updateVersion,omitempty"`

	// Uses the manifest's namespaces instead of the default one
	UseManifestNamespaces bool `json:"useManifestNamespaces,omitempty"`

	// Optional webhook configuration
	// Example: c11fdf23-183e-428a-9bb6-16db01032174
	Webhook string `json:"webhook,omitempty"`
}

EdgestacksUpdateEdgeStackPayload edgestacks update edge stack payload

swagger:model edgestacks.updateEdgeStackPayload

func (*EdgestacksUpdateEdgeStackPayload) ContextValidate

func (m *EdgestacksUpdateEdgeStackPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edgestacks update edge stack payload based on the context it is used

func (*EdgestacksUpdateEdgeStackPayload) MarshalBinary

func (m *EdgestacksUpdateEdgeStackPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgestacksUpdateEdgeStackPayload) UnmarshalBinary

func (m *EdgestacksUpdateEdgeStackPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgestacksUpdateEdgeStackPayload) Validate

Validate validates this edgestacks update edge stack payload

type EdgestacksUpdateStatusPayload

type EdgestacksUpdateStatusPayload struct {

	// endpoint ID
	EndpointID int64 `json:"endpointID,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// RollbackTo specifies the stack file version to rollback to (only support to rollback to the last version currently)
	RollbackTo int64 `json:"rollbackTo,omitempty"`

	// Deprecated
	Status int64 `json:"status,omitempty"`

	// time
	Time int64 `json:"time,omitempty"`

	// version
	Version int64 `json:"version,omitempty"`
}

EdgestacksUpdateStatusPayload edgestacks update status payload

swagger:model edgestacks.updateStatusPayload

func (*EdgestacksUpdateStatusPayload) ContextValidate

func (m *EdgestacksUpdateStatusPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgestacks update status payload based on context it is used

func (*EdgestacksUpdateStatusPayload) MarshalBinary

func (m *EdgestacksUpdateStatusPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgestacksUpdateStatusPayload) UnmarshalBinary

func (m *EdgestacksUpdateStatusPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgestacksUpdateStatusPayload) Validate

func (m *EdgestacksUpdateStatusPayload) Validate(formats strfmt.Registry) error

Validate validates this edgestacks update status payload

type EdgeupdateschedulesActiveSchedulePayload

type EdgeupdateschedulesActiveSchedulePayload struct {

	// environment i ds
	EnvironmentIDs []int64 `json:"environmentIDs"`
}

EdgeupdateschedulesActiveSchedulePayload edgeupdateschedules active schedule payload

swagger:model edgeupdateschedules.activeSchedulePayload

func (*EdgeupdateschedulesActiveSchedulePayload) ContextValidate

ContextValidate validates this edgeupdateschedules active schedule payload based on context it is used

func (*EdgeupdateschedulesActiveSchedulePayload) MarshalBinary

func (m *EdgeupdateschedulesActiveSchedulePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeupdateschedulesActiveSchedulePayload) UnmarshalBinary

func (m *EdgeupdateschedulesActiveSchedulePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeupdateschedulesActiveSchedulePayload) Validate

Validate validates this edgeupdateschedules active schedule payload

type EdgeupdateschedulesCreatePayload

type EdgeupdateschedulesCreatePayload struct {

	// default to "" == portainer/agent:<current_server_version>
	AgentImage string `json:"agentImage,omitempty"`

	// group i ds
	GroupIDs []int64 `json:"groupIDs"`

	// name
	Name string `json:"name,omitempty"`

	// default to 0 = dockerhub
	RegistryID int64 `json:"registryID,omitempty"`

	// scheduled time
	ScheduledTime string `json:"scheduledTime,omitempty"`

	// type
	Type int64 `json:"type,omitempty"`

	// default to "" == portainer/portainer-updater:<current_server_version>
	UpdaterImage string `json:"updaterImage,omitempty"`
}

EdgeupdateschedulesCreatePayload edgeupdateschedules create payload

swagger:model edgeupdateschedules.createPayload

func (*EdgeupdateschedulesCreatePayload) ContextValidate

func (m *EdgeupdateschedulesCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgeupdateschedules create payload based on context it is used

func (*EdgeupdateschedulesCreatePayload) MarshalBinary

func (m *EdgeupdateschedulesCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeupdateschedulesCreatePayload) UnmarshalBinary

func (m *EdgeupdateschedulesCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeupdateschedulesCreatePayload) Validate

Validate validates this edgeupdateschedules create payload

type EdgeupdateschedulesDecoratedUpdateSchedule

type EdgeupdateschedulesDecoratedUpdateSchedule struct {

	// Name of the agent image, does not include the registry
	// Example: portainer/agent:latest
	AgentImage string `json:"agentImage,omitempty"`

	// Created timestamp
	// Example: 1564897200
	Created int64 `json:"created,omitempty"`

	// Created by user id
	// Example: 1
	CreatedBy int64 `json:"createdBy,omitempty"`

	// edge group ids
	EdgeGroupIds []int64 `json:"edgeGroupIds"`

	// EdgeStack Identifier
	// Example: 1
	EdgeStackID int64 `json:"edgeStackId,omitempty"`

	// Deprecated - use Environment.Agent.PreviousVersion instead
	EnvironmentsPreviousVersions map[string]string `json:"environmentsPreviousVersions,omitempty"`

	// EdgeUpdateSchedule Identifier
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// Name of the schedule
	// Example: Update Schedule
	Name string `json:"name,omitempty"`

	// ID of registry
	// Example: 1
	RegistryID int64 `json:"registryId,omitempty"`

	// scheduled time
	ScheduledTime string `json:"scheduledTime,omitempty"`

	// status
	Status int64 `json:"status,omitempty"`

	// status message
	StatusMessage string `json:"statusMessage,omitempty"`

	// Type of the update (1 - update, 2 - rollback)
	// Example: 1
	// Enum: [1,2]
	Type int64 `json:"type,omitempty"`

	// Name of the updater image, does not include the registry but must include a tag
	// Example: portainer/portainer-updater:latest
	UpdaterImage string `json:"updaterImage,omitempty"`

	// Deprecated
	// Example: 1.0.0
	Version string `json:"version,omitempty"`
}

EdgeupdateschedulesDecoratedUpdateSchedule edgeupdateschedules decorated update schedule

swagger:model edgeupdateschedules.decoratedUpdateSchedule

func (*EdgeupdateschedulesDecoratedUpdateSchedule) ContextValidate

ContextValidate validates this edgeupdateschedules decorated update schedule based on context it is used

func (*EdgeupdateschedulesDecoratedUpdateSchedule) MarshalBinary

func (m *EdgeupdateschedulesDecoratedUpdateSchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeupdateschedulesDecoratedUpdateSchedule) UnmarshalBinary

func (m *EdgeupdateschedulesDecoratedUpdateSchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeupdateschedulesDecoratedUpdateSchedule) Validate

Validate validates this edgeupdateschedules decorated update schedule

type EdgeupdateschedulesInspectResponse added in v2.30.0

type EdgeupdateschedulesInspectResponse struct {

	// Name of the agent image, does not include the registry
	// Example: portainer/agent:latest
	AgentImage string `json:"agentImage,omitempty"`

	// Created timestamp
	// Example: 1564897200
	Created int64 `json:"created,omitempty"`

	// Created by user id
	// Example: 1
	CreatedBy int64 `json:"createdBy,omitempty"`

	// EdgeGroups to be updated
	//
	// There is some duplication here with EdgeStack.EdgeGroups
	// EdgeStack.EdgeGroup should have only one group which a temporary group, used only for the update
	// This field is saved only to show which groups the user chose when creating the schedule
	// Example: [1]
	EdgeGroupIds []int64 `json:"edgeGroupIds"`

	// EdgeStack Identifier
	// Example: 1
	EdgeStackID int64 `json:"edgeStackId,omitempty"`

	// environment ids
	EnvironmentIds []int64 `json:"environmentIds"`

	// Deprecated - use Environment.Agent.PreviousVersion instead
	EnvironmentsPreviousVersions map[string]string `json:"environmentsPreviousVersions,omitempty"`

	// EdgeUpdateSchedule Identifier
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// is active
	IsActive bool `json:"isActive,omitempty"`

	// Name of the schedule
	// Example: Update Schedule
	Name string `json:"name,omitempty"`

	// ID of registry
	// Example: 1
	RegistryID int64 `json:"registryId,omitempty"`

	// scheduled time
	ScheduledTime string `json:"scheduledTime,omitempty"`

	// Type of the update (1 - update, 2 - rollback)
	// Example: 1
	// Enum: [1,2]
	Type int64 `json:"type,omitempty"`

	// Name of the updater image, does not include the registry but must include a tag
	// Example: portainer/portainer-updater:latest
	UpdaterImage string `json:"updaterImage,omitempty"`

	// Deprecated
	// Example: 1.0.0
	Version string `json:"version,omitempty"`
}

EdgeupdateschedulesInspectResponse edgeupdateschedules inspect response

swagger:model edgeupdateschedules.inspectResponse

func (*EdgeupdateschedulesInspectResponse) ContextValidate added in v2.30.0

func (m *EdgeupdateschedulesInspectResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgeupdateschedules inspect response based on context it is used

func (*EdgeupdateschedulesInspectResponse) MarshalBinary added in v2.30.0

func (m *EdgeupdateschedulesInspectResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeupdateschedulesInspectResponse) UnmarshalBinary added in v2.30.0

func (m *EdgeupdateschedulesInspectResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeupdateschedulesInspectResponse) Validate added in v2.30.0

Validate validates this edgeupdateschedules inspect response

type EdgeupdateschedulesUpdatePayload

type EdgeupdateschedulesUpdatePayload struct {

	// default to "" == portainer/agent:<current_server_version>
	AgentImage string `json:"agentImage,omitempty"`

	// group i ds
	GroupIDs []int64 `json:"groupIDs"`

	// name
	Name string `json:"name,omitempty"`

	// ID of registry
	// Example: 1
	RegistryID int64 `json:"registryID,omitempty"`

	// scheduled time
	ScheduledTime string `json:"scheduledTime,omitempty"`

	// Type of the update (1 - update, 2 - rollback)
	// Example: 1
	// Enum: [1,2]
	Type int64 `json:"type,omitempty"`

	// default to "" == portainer/portainer-updater:latest
	UpdaterImage string `json:"updaterImage,omitempty"`
}

EdgeupdateschedulesUpdatePayload edgeupdateschedules update payload

swagger:model edgeupdateschedules.updatePayload

func (*EdgeupdateschedulesUpdatePayload) ContextValidate

func (m *EdgeupdateschedulesUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this edgeupdateschedules update payload based on context it is used

func (*EdgeupdateschedulesUpdatePayload) MarshalBinary

func (m *EdgeupdateschedulesUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeupdateschedulesUpdatePayload) UnmarshalBinary

func (m *EdgeupdateschedulesUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeupdateschedulesUpdatePayload) Validate

Validate validates this edgeupdateschedules update payload

type EndpointedgeEdgeAsyncResponse

type EndpointedgeEdgeAsyncResponse struct {

	// command interval
	CommandInterval int64 `json:"commandInterval,omitempty"`

	// commands
	Commands []*PortainereeEdgeAsyncCommand `json:"commands"`

	// endpoint ID
	EndpointID int64 `json:"endpointID,omitempty"`

	// need full snapshot
	NeedFullSnapshot bool `json:"needFullSnapshot,omitempty"`

	// ping interval
	PingInterval int64 `json:"pingInterval,omitempty"`

	// snapshot interval
	SnapshotInterval int64 `json:"snapshotInterval,omitempty"`
}

EndpointedgeEdgeAsyncResponse endpointedge edge async response

swagger:model endpointedge.EdgeAsyncResponse

func (*EndpointedgeEdgeAsyncResponse) ContextValidate

func (m *EndpointedgeEdgeAsyncResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpointedge edge async response based on the context it is used

func (*EndpointedgeEdgeAsyncResponse) MarshalBinary

func (m *EndpointedgeEdgeAsyncResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointedgeEdgeAsyncResponse) UnmarshalBinary

func (m *EndpointedgeEdgeAsyncResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointedgeEdgeAsyncResponse) Validate

func (m *EndpointedgeEdgeAsyncResponse) Validate(formats strfmt.Registry) error

Validate validates this endpointedge edge async response

type EndpointedgeEdgeJobResponse

type EndpointedgeEdgeJobResponse struct {

	// Whether to collect logs
	// Example: true
	CollectLogs bool `json:"CollectLogs,omitempty"`

	// A cron expression to schedule this job
	// Example: * * * * *
	CronExpression string `json:"CronExpression,omitempty"`

	// EdgeJob Identifier
	// Example: 2
	ID int64 `json:"Id,omitempty"`

	// Script to run
	// Example: echo hello
	Script string `json:"Script,omitempty"`

	// Version of this EdgeJob
	// Example: 2
	Version int64 `json:"Version,omitempty"`
}

EndpointedgeEdgeJobResponse endpointedge edge job response

swagger:model endpointedge.edgeJobResponse

func (*EndpointedgeEdgeJobResponse) ContextValidate

func (m *EndpointedgeEdgeJobResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpointedge edge job response based on context it is used

func (*EndpointedgeEdgeJobResponse) MarshalBinary

func (m *EndpointedgeEdgeJobResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointedgeEdgeJobResponse) UnmarshalBinary

func (m *EndpointedgeEdgeJobResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointedgeEdgeJobResponse) Validate

func (m *EndpointedgeEdgeJobResponse) Validate(formats strfmt.Registry) error

Validate validates this endpointedge edge job response

type EndpointedgeEndpointEdgeStatusInspectResponse

type EndpointedgeEndpointEdgeStatusInspectResponse struct {

	// The current value of CheckinInterval
	// Example: 5
	Checkin int64 `json:"checkin,omitempty"`

	// credentials
	Credentials string `json:"credentials,omitempty"`

	// edge configurations
	EdgeConfigurations map[string]int64 `json:"edge_configurations,omitempty"`

	// The tunnel port
	// Example: 8732
	Port int64 `json:"port,omitempty"`

	// List of requests for jobs to run on the environment(endpoint)
	Schedules []*EndpointedgeEdgeJobResponse `json:"schedules"`

	// List of stacks to be deployed on the environments(endpoints)
	Stacks []*EndpointedgeStackStatusResponse `json:"stacks"`

	// Status represents the environment(endpoint) status
	// Example: REQUIRED
	Status string `json:"status,omitempty"`
}

EndpointedgeEndpointEdgeStatusInspectResponse endpointedge endpoint edge status inspect response

swagger:model endpointedge.endpointEdgeStatusInspectResponse

func (*EndpointedgeEndpointEdgeStatusInspectResponse) ContextValidate

ContextValidate validate this endpointedge endpoint edge status inspect response based on the context it is used

func (*EndpointedgeEndpointEdgeStatusInspectResponse) MarshalBinary

MarshalBinary interface implementation

func (*EndpointedgeEndpointEdgeStatusInspectResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*EndpointedgeEndpointEdgeStatusInspectResponse) Validate

Validate validates this endpointedge endpoint edge status inspect response

type EndpointedgeEndpointsTrustPayload

type EndpointedgeEndpointsTrustPayload struct {

	// endpoint i ds
	EndpointIDs []int64 `json:"endpointIDs"`
}

EndpointedgeEndpointsTrustPayload endpointedge endpoints trust payload

swagger:model endpointedge.endpointsTrustPayload

func (*EndpointedgeEndpointsTrustPayload) ContextValidate

func (m *EndpointedgeEndpointsTrustPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpointedge endpoints trust payload based on context it is used

func (*EndpointedgeEndpointsTrustPayload) MarshalBinary

func (m *EndpointedgeEndpointsTrustPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointedgeEndpointsTrustPayload) UnmarshalBinary

func (m *EndpointedgeEndpointsTrustPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointedgeEndpointsTrustPayload) Validate

Validate validates this endpointedge endpoints trust payload

type EndpointedgeGenerateKeyResponse

type EndpointedgeGenerateKeyResponse struct {

	// edge key
	EdgeKey string `json:"edgeKey,omitempty"`
}

EndpointedgeGenerateKeyResponse endpointedge generate key response

swagger:model endpointedge.generateKeyResponse

func (*EndpointedgeGenerateKeyResponse) ContextValidate

func (m *EndpointedgeGenerateKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpointedge generate key response based on context it is used

func (*EndpointedgeGenerateKeyResponse) MarshalBinary

func (m *EndpointedgeGenerateKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointedgeGenerateKeyResponse) UnmarshalBinary

func (m *EndpointedgeGenerateKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointedgeGenerateKeyResponse) Validate

Validate validates this endpointedge generate key response

type EndpointedgeStackStatusResponse

type EndpointedgeStackStatusResponse struct {

	// EdgeStack Identifier
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// ReadyRePullImage indicates whether the stack is ready to re-pull image
	// Example: true
	ReadyRePullImage bool `json:"readyRePullImage,omitempty"`

	// Version of this stack
	// Example: 3
	Version int64 `json:"version,omitempty"`
}

EndpointedgeStackStatusResponse endpointedge stack status response

swagger:model endpointedge.stackStatusResponse

func (*EndpointedgeStackStatusResponse) ContextValidate

func (m *EndpointedgeStackStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpointedge stack status response based on context it is used

func (*EndpointedgeStackStatusResponse) MarshalBinary

func (m *EndpointedgeStackStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointedgeStackStatusResponse) UnmarshalBinary

func (m *EndpointedgeStackStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointedgeStackStatusResponse) Validate

Validate validates this endpointedge stack status response

type EndpointgroupsEndpointGroupCreatePayload

type EndpointgroupsEndpointGroupCreatePayload struct {

	// List of environment(endpoint) identifiers that will be part of this group
	// Example: [1,3]
	AssociatedEndpoints []int64 `json:"associatedEndpoints"`

	// Environment(Endpoint) group description
	// Example: description
	Description string `json:"description,omitempty"`

	// Environment(Endpoint) group name
	// Example: my-Environment-group
	// Required: true
	Name *string `json:"name"`

	// List of tag identifiers to which this environment(endpoint) group is associated
	// Example: [1,2]
	TagIDs []int64 `json:"tagIDs"`
}

EndpointgroupsEndpointGroupCreatePayload endpointgroups endpoint group create payload

swagger:model endpointgroups.endpointGroupCreatePayload

func (*EndpointgroupsEndpointGroupCreatePayload) ContextValidate

ContextValidate validates this endpointgroups endpoint group create payload based on context it is used

func (*EndpointgroupsEndpointGroupCreatePayload) MarshalBinary

func (m *EndpointgroupsEndpointGroupCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointgroupsEndpointGroupCreatePayload) UnmarshalBinary

func (m *EndpointgroupsEndpointGroupCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointgroupsEndpointGroupCreatePayload) Validate

Validate validates this endpointgroups endpoint group create payload

type EndpointgroupsEndpointGroupUpdatePayload

type EndpointgroupsEndpointGroupUpdatePayload struct {

	// Environment(Endpoint) group description
	// Example: description
	Description string `json:"description,omitempty"`

	// Environment(Endpoint) group name
	// Example: my-environment-group
	Name string `json:"name,omitempty"`

	// List of tag identifiers associated to the environment(endpoint) group
	// Example: [3,4]
	TagIDs []int64 `json:"tagIDs"`

	// team access policies
	TeamAccessPolicies PortainerTeamAccessPolicies `json:"teamAccessPolicies,omitempty"`

	// user access policies
	UserAccessPolicies PortainerUserAccessPolicies `json:"userAccessPolicies,omitempty"`
}

EndpointgroupsEndpointGroupUpdatePayload endpointgroups endpoint group update payload

swagger:model endpointgroups.endpointGroupUpdatePayload

func (*EndpointgroupsEndpointGroupUpdatePayload) ContextValidate

ContextValidate validate this endpointgroups endpoint group update payload based on the context it is used

func (*EndpointgroupsEndpointGroupUpdatePayload) MarshalBinary

func (m *EndpointgroupsEndpointGroupUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointgroupsEndpointGroupUpdatePayload) UnmarshalBinary

func (m *EndpointgroupsEndpointGroupUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointgroupsEndpointGroupUpdatePayload) Validate

Validate validates this endpointgroups endpoint group update payload

type EndpointsDockerhubStatusResponse

type EndpointsDockerhubStatusResponse struct {

	// Daily limit
	Limit int64 `json:"limit,omitempty"`

	// Remaiming images to pull
	Remaining int64 `json:"remaining,omitempty"`
}

EndpointsDockerhubStatusResponse endpoints dockerhub status response

swagger:model endpoints.dockerhubStatusResponse

func (*EndpointsDockerhubStatusResponse) ContextValidate

func (m *EndpointsDockerhubStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoints dockerhub status response based on context it is used

func (*EndpointsDockerhubStatusResponse) MarshalBinary

func (m *EndpointsDockerhubStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsDockerhubStatusResponse) UnmarshalBinary

func (m *EndpointsDockerhubStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsDockerhubStatusResponse) Validate

Validate validates this endpoints dockerhub status response

type EndpointsEndpointCreateGlobalKeyResponse

type EndpointsEndpointCreateGlobalKeyResponse struct {

	// Environment(Endpoint) Identifier
	EndpointID int64 `json:"endpointID,omitempty"`
}

EndpointsEndpointCreateGlobalKeyResponse endpoints endpoint create global key response

swagger:model endpoints.endpointCreateGlobalKeyResponse

func (*EndpointsEndpointCreateGlobalKeyResponse) ContextValidate

ContextValidate validates this endpoints endpoint create global key response based on context it is used

func (*EndpointsEndpointCreateGlobalKeyResponse) MarshalBinary

func (m *EndpointsEndpointCreateGlobalKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointCreateGlobalKeyResponse) UnmarshalBinary

func (m *EndpointsEndpointCreateGlobalKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointCreateGlobalKeyResponse) Validate

Validate validates this endpoints endpoint create global key response

type EndpointsEndpointDeleteBatchPartialResponse

type EndpointsEndpointDeleteBatchPartialResponse struct {

	// deleted
	Deleted []int64 `json:"deleted"`

	// errors
	Errors []int64 `json:"errors"`
}

EndpointsEndpointDeleteBatchPartialResponse endpoints endpoint delete batch partial response

swagger:model endpoints.endpointDeleteBatchPartialResponse

func (*EndpointsEndpointDeleteBatchPartialResponse) ContextValidate

ContextValidate validates this endpoints endpoint delete batch partial response based on context it is used

func (*EndpointsEndpointDeleteBatchPartialResponse) MarshalBinary

func (m *EndpointsEndpointDeleteBatchPartialResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointDeleteBatchPartialResponse) UnmarshalBinary

func (m *EndpointsEndpointDeleteBatchPartialResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointDeleteBatchPartialResponse) Validate

Validate validates this endpoints endpoint delete batch partial response

type EndpointsEndpointDeleteBatchPayload

type EndpointsEndpointDeleteBatchPayload struct {

	// endpoints
	Endpoints []*EndpointsEndpointDeleteRequest `json:"endpoints"`
}

EndpointsEndpointDeleteBatchPayload endpoints endpoint delete batch payload

swagger:model endpoints.endpointDeleteBatchPayload

func (*EndpointsEndpointDeleteBatchPayload) ContextValidate

func (m *EndpointsEndpointDeleteBatchPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoints endpoint delete batch payload based on the context it is used

func (*EndpointsEndpointDeleteBatchPayload) MarshalBinary

func (m *EndpointsEndpointDeleteBatchPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointDeleteBatchPayload) UnmarshalBinary

func (m *EndpointsEndpointDeleteBatchPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointDeleteBatchPayload) Validate

Validate validates this endpoints endpoint delete batch payload

type EndpointsEndpointDeleteRequest

type EndpointsEndpointDeleteRequest struct {

	// delete cluster
	DeleteCluster bool `json:"deleteCluster,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`
}

EndpointsEndpointDeleteRequest endpoints endpoint delete request

swagger:model endpoints.endpointDeleteRequest

func (*EndpointsEndpointDeleteRequest) ContextValidate

func (m *EndpointsEndpointDeleteRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoints endpoint delete request based on context it is used

func (*EndpointsEndpointDeleteRequest) MarshalBinary

func (m *EndpointsEndpointDeleteRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointDeleteRequest) UnmarshalBinary

func (m *EndpointsEndpointDeleteRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointDeleteRequest) Validate

func (m *EndpointsEndpointDeleteRequest) Validate(formats strfmt.Registry) error

Validate validates this endpoints endpoint delete request

type EndpointsEndpointMTLSCertResponse

type EndpointsEndpointMTLSCertResponse struct {

	// MTLSCertificate is the X.509 Certificate of the MTLS Certificate
	MTLSCertificate *SslCertificate `json:"MTLSCertificate,omitempty"`
}

EndpointsEndpointMTLSCertResponse endpoints endpoint m TLS cert response

swagger:model endpoints.endpointMTLSCertResponse

func (*EndpointsEndpointMTLSCertResponse) ContextValidate

func (m *EndpointsEndpointMTLSCertResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoints endpoint m TLS cert response based on the context it is used

func (*EndpointsEndpointMTLSCertResponse) MarshalBinary

func (m *EndpointsEndpointMTLSCertResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointMTLSCertResponse) UnmarshalBinary

func (m *EndpointsEndpointMTLSCertResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointMTLSCertResponse) Validate

Validate validates this endpoints endpoint m TLS cert response

type EndpointsEndpointSettingsUpdatePayload

type EndpointsEndpointSettingsUpdatePayload struct {

	// Whether GitOps update time restrictions are enabled
	ChangeWindow *PortainereeEndpointChangeWindow `json:"changeWindow,omitempty"`

	// Hide manual deployment forms for an environment
	DeploymentOptions *PortainereeDeploymentOptions `json:"deploymentOptions,omitempty"`

	// enable g p u management
	// Example: false
	EnableGPUManagement bool `json:"enableGPUManagement,omitempty"`

	// enable image notification
	// Example: true
	EnableImageNotification bool `json:"enableImageNotification,omitempty"`

	// gpus
	Gpus []*PortainerPair `json:"gpus"`

	// security settings
	SecuritySettings *EndpointsEndpointSettingsUpdatePayloadSecuritySettings `json:"securitySettings,omitempty"`
}

EndpointsEndpointSettingsUpdatePayload endpoints endpoint settings update payload

swagger:model endpoints.endpointSettingsUpdatePayload

func (*EndpointsEndpointSettingsUpdatePayload) ContextValidate

ContextValidate validate this endpoints endpoint settings update payload based on the context it is used

func (*EndpointsEndpointSettingsUpdatePayload) MarshalBinary

func (m *EndpointsEndpointSettingsUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointSettingsUpdatePayload) UnmarshalBinary

func (m *EndpointsEndpointSettingsUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointSettingsUpdatePayload) Validate

Validate validates this endpoints endpoint settings update payload

type EndpointsEndpointSettingsUpdatePayloadSecuritySettings

type EndpointsEndpointSettingsUpdatePayloadSecuritySettings struct {

	// Whether non-administrator should be able to use bind mounts when creating containers
	// Example: false
	AllowBindMountsForRegularUsers bool `json:"allowBindMountsForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use container capabilities
	// Example: true
	AllowContainerCapabilitiesForRegularUsers bool `json:"allowContainerCapabilitiesForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use device mapping
	// Example: true
	AllowDeviceMappingForRegularUsers bool `json:"allowDeviceMappingForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use the host pid
	// Example: true
	AllowHostNamespaceForRegularUsers bool `json:"allowHostNamespaceForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use privileged mode when creating containers
	// Example: false
	AllowPrivilegedModeForRegularUsers bool `json:"allowPrivilegedModeForRegularUsers,omitempty"`

	// Whether non-administrator should be able to manage stacks
	// Example: true
	AllowStackManagementForRegularUsers bool `json:"allowStackManagementForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use sysctl settings
	// Example: true
	AllowSysctlSettingForRegularUsers bool `json:"allowSysctlSettingForRegularUsers,omitempty"`

	// Whether non-administrator should be able to browse volumes
	// Example: true
	AllowVolumeBrowserForRegularUsers bool `json:"allowVolumeBrowserForRegularUsers,omitempty"`

	// Whether host management features are enabled
	// Example: true
	EnableHostManagementFeatures bool `json:"enableHostManagementFeatures,omitempty"`
}

EndpointsEndpointSettingsUpdatePayloadSecuritySettings Security settings updates

swagger:model EndpointsEndpointSettingsUpdatePayloadSecuritySettings

func (*EndpointsEndpointSettingsUpdatePayloadSecuritySettings) ContextValidate

ContextValidate validates this endpoints endpoint settings update payload security settings based on context it is used

func (*EndpointsEndpointSettingsUpdatePayloadSecuritySettings) MarshalBinary

MarshalBinary interface implementation

func (*EndpointsEndpointSettingsUpdatePayloadSecuritySettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*EndpointsEndpointSettingsUpdatePayloadSecuritySettings) Validate

Validate validates this endpoints endpoint settings update payload security settings

type EndpointsEndpointUpdatePayload

type EndpointsEndpointUpdatePayload struct {

	// Hide manual deployment forms for an environment
	DeploymentOptions *PortainereeDeploymentOptions `json:"DeploymentOptions,omitempty"`

	// is set status message
	IsSetStatusMessage bool `json:"IsSetStatusMessage,omitempty"`

	// Azure application ID
	// Example: eag7cdo9-o09l-9i83-9dO9-f0b23oe78db4
	AzureApplicationID string `json:"azureApplicationID,omitempty"`

	// Azure authentication key
	// Example: cOrXoK/1D35w8YQ8nH1/8ZGwzz45JIYD5jxHKXEQknk=
	AzureAuthenticationKey string `json:"azureAuthenticationKey,omitempty"`

	// Azure tenant ID
	// Example: 34ddc78d-4fel-2358-8cc1-df84c8o839f5
	AzureTenantID string `json:"azureTenantID,omitempty"`

	// Whether GitOps update time restrictions are enabled
	ChangeWindow *PortainereeEndpointChangeWindow `json:"changeWindow,omitempty"`

	// edge
	Edge *EndpointsEndpointUpdatePayloadEdge `json:"edge,omitempty"`

	// The check in interval for edge agent (in seconds)
	// Example: 5
	EdgeCheckinInterval int64 `json:"edgeCheckinInterval,omitempty"`

	// GPUs information
	Gpus []*PortainerPair `json:"gpus"`

	// Group identifier
	// Example: 1
	GroupID int64 `json:"groupID,omitempty"`

	// Associated Kubernetes data
	Kubernetes *PortainereeKubernetesData `json:"kubernetes,omitempty"`

	// Name that will be used to identify this environment(endpoint)
	// Example: my-environment
	Name string `json:"name,omitempty"`

	// URL or IP address where exposed containers will be reachable.\
	// Defaults to URL if not specified
	// Example: docker.mydomain.tld:2375
	PublicURL string `json:"publicURL,omitempty"`

	// The status of the environment(endpoint) (1 - up, 2 - down)
	// Example: 1
	Status int64 `json:"status,omitempty"`

	// status message
	StatusMessage *EndpointsEndpointUpdatePayloadStatusMessage `json:"statusMessage,omitempty"`

	// List of tag identifiers to which this environment(endpoint) is associated
	// Example: [1,2]
	TagIDs []int64 `json:"tagIDs"`

	// team access policies
	TeamAccessPolicies PortainerTeamAccessPolicies `json:"teamAccessPolicies,omitempty"`

	// Require TLS to connect against this environment(endpoint)
	// Example: true
	TLS bool `json:"tls,omitempty"`

	// Skip client verification when using TLS
	// Example: false
	TlsskipClientVerify bool `json:"tlsskipClientVerify,omitempty"`

	// Skip server verification when using TLS
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// URL or IP address of a Docker host
	// Example: docker.mydomain.tld:2375
	URL string `json:"url,omitempty"`

	// user access policies
	UserAccessPolicies PortainerUserAccessPolicies `json:"userAccessPolicies,omitempty"`
}

EndpointsEndpointUpdatePayload endpoints endpoint update payload

swagger:model endpoints.endpointUpdatePayload

func (*EndpointsEndpointUpdatePayload) ContextValidate

func (m *EndpointsEndpointUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoints endpoint update payload based on the context it is used

func (*EndpointsEndpointUpdatePayload) MarshalBinary

func (m *EndpointsEndpointUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointUpdatePayload) UnmarshalBinary

func (m *EndpointsEndpointUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointUpdatePayload) Validate

func (m *EndpointsEndpointUpdatePayload) Validate(formats strfmt.Registry) error

Validate validates this endpoints endpoint update payload

type EndpointsEndpointUpdatePayloadEdge

type EndpointsEndpointUpdatePayloadEdge struct {

	// The command list interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	CommandInterval int64 `json:"CommandInterval,omitempty"`

	// The ping interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	PingInterval int64 `json:"PingInterval,omitempty"`

	// The snapshot interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	SnapshotInterval int64 `json:"SnapshotInterval,omitempty"`
}

EndpointsEndpointUpdatePayloadEdge endpoints endpoint update payload edge

swagger:model EndpointsEndpointUpdatePayloadEdge

func (*EndpointsEndpointUpdatePayloadEdge) ContextValidate

func (m *EndpointsEndpointUpdatePayloadEdge) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoints endpoint update payload edge based on context it is used

func (*EndpointsEndpointUpdatePayloadEdge) MarshalBinary

func (m *EndpointsEndpointUpdatePayloadEdge) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointUpdatePayloadEdge) UnmarshalBinary

func (m *EndpointsEndpointUpdatePayloadEdge) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointUpdatePayloadEdge) Validate

Validate validates this endpoints endpoint update payload edge

type EndpointsEndpointUpdatePayloadStatusMessage

type EndpointsEndpointUpdatePayloadStatusMessage struct {

	// detail
	// Example: Error message
	Detail string `json:"Detail,omitempty"`

	// summary
	// Example: Error
	Summary string `json:"Summary,omitempty"`

	// 'scale', 'upgrade', 'addons'
	// Example: scale
	Operation string `json:"operation,omitempty"`

	// ,processing,error
	// Example: error
	OperationStatus string `json:"operationStatus,omitempty"`
}

EndpointsEndpointUpdatePayloadStatusMessage endpoints endpoint update payload status message

swagger:model EndpointsEndpointUpdatePayloadStatusMessage

func (*EndpointsEndpointUpdatePayloadStatusMessage) ContextValidate

ContextValidate validates this endpoints endpoint update payload status message based on context it is used

func (*EndpointsEndpointUpdatePayloadStatusMessage) MarshalBinary

func (m *EndpointsEndpointUpdatePayloadStatusMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointUpdatePayloadStatusMessage) UnmarshalBinary

func (m *EndpointsEndpointUpdatePayloadStatusMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointUpdatePayloadStatusMessage) Validate

Validate validates this endpoints endpoint update payload status message

type EndpointsEndpointUpdateRelationsPayload

type EndpointsEndpointUpdateRelationsPayload struct {

	// relations
	Relations map[string]EndpointsEndpointUpdateRelationsPayloadRelationsAnon `json:"relations,omitempty"`
}

EndpointsEndpointUpdateRelationsPayload endpoints endpoint update relations payload

swagger:model endpoints.endpointUpdateRelationsPayload

func (*EndpointsEndpointUpdateRelationsPayload) ContextValidate

ContextValidate validate this endpoints endpoint update relations payload based on the context it is used

func (*EndpointsEndpointUpdateRelationsPayload) MarshalBinary

func (m *EndpointsEndpointUpdateRelationsPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsEndpointUpdateRelationsPayload) UnmarshalBinary

func (m *EndpointsEndpointUpdateRelationsPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsEndpointUpdateRelationsPayload) Validate

Validate validates this endpoints endpoint update relations payload

type EndpointsEndpointUpdateRelationsPayloadRelationsAnon

type EndpointsEndpointUpdateRelationsPayloadRelationsAnon struct {

	// edge groups
	EdgeGroups []int64 `json:"edgeGroups"`

	// Environment(Endpoint) group identifier
	// Example: 1
	Group int64 `json:"group,omitempty"`

	// tags
	Tags []int64 `json:"tags"`
}

EndpointsEndpointUpdateRelationsPayloadRelationsAnon endpoints endpoint update relations payload relations anon

swagger:model EndpointsEndpointUpdateRelationsPayloadRelationsAnon

func (*EndpointsEndpointUpdateRelationsPayloadRelationsAnon) ContextValidate

ContextValidate validates this endpoints endpoint update relations payload relations anon based on context it is used

func (*EndpointsEndpointUpdateRelationsPayloadRelationsAnon) MarshalBinary

MarshalBinary interface implementation

func (*EndpointsEndpointUpdateRelationsPayloadRelationsAnon) UnmarshalBinary

UnmarshalBinary interface implementation

func (*EndpointsEndpointUpdateRelationsPayloadRelationsAnon) Validate

Validate validates this endpoints endpoint update relations payload relations anon

type EndpointsForceUpdateServicePayload

type EndpointsForceUpdateServicePayload struct {

	// PullImage if true will pull the image
	PullImage bool `json:"pullImage,omitempty"`

	// ServiceId to update
	ServiceID string `json:"serviceID,omitempty"`
}

EndpointsForceUpdateServicePayload endpoints force update service payload

swagger:model endpoints.forceUpdateServicePayload

func (*EndpointsForceUpdateServicePayload) ContextValidate

func (m *EndpointsForceUpdateServicePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoints force update service payload based on context it is used

func (*EndpointsForceUpdateServicePayload) MarshalBinary

func (m *EndpointsForceUpdateServicePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsForceUpdateServicePayload) UnmarshalBinary

func (m *EndpointsForceUpdateServicePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsForceUpdateServicePayload) Validate

Validate validates this endpoints force update service payload

type EndpointsRegistryAccessPayload

type EndpointsRegistryAccessPayload struct {

	// namespaces
	Namespaces []string `json:"namespaces"`

	// team access policies
	TeamAccessPolicies PortainerTeamAccessPolicies `json:"teamAccessPolicies,omitempty"`

	// user access policies
	UserAccessPolicies PortainerUserAccessPolicies `json:"userAccessPolicies,omitempty"`
}

EndpointsRegistryAccessPayload endpoints registry access payload

swagger:model endpoints.registryAccessPayload

func (*EndpointsRegistryAccessPayload) ContextValidate

func (m *EndpointsRegistryAccessPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoints registry access payload based on the context it is used

func (*EndpointsRegistryAccessPayload) MarshalBinary

func (m *EndpointsRegistryAccessPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsRegistryAccessPayload) UnmarshalBinary

func (m *EndpointsRegistryAccessPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsRegistryAccessPayload) Validate

func (m *EndpointsRegistryAccessPayload) Validate(formats strfmt.Registry) error

Validate validates this endpoints registry access payload

type EndpointsResourcePoolUpdatePayload

type EndpointsResourcePoolUpdatePayload struct {

	// teams to add
	TeamsToAdd []int64 `json:"teamsToAdd"`

	// teams to remove
	TeamsToRemove []int64 `json:"teamsToRemove"`

	// users to add
	UsersToAdd []int64 `json:"usersToAdd"`

	// users to remove
	UsersToRemove []int64 `json:"usersToRemove"`
}

EndpointsResourcePoolUpdatePayload endpoints resource pool update payload

swagger:model endpoints.resourcePoolUpdatePayload

func (*EndpointsResourcePoolUpdatePayload) ContextValidate

func (m *EndpointsResourcePoolUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoints resource pool update payload based on context it is used

func (*EndpointsResourcePoolUpdatePayload) MarshalBinary

func (m *EndpointsResourcePoolUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointsResourcePoolUpdatePayload) UnmarshalBinary

func (m *EndpointsResourcePoolUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointsResourcePoolUpdatePayload) Validate

Validate validates this endpoints resource pool update payload

type FilesystemDirEntry

type FilesystemDirEntry struct {

	// content
	Content string `json:"content,omitempty"`

	// is file
	IsFile bool `json:"isFile,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// permissions
	Permissions int64 `json:"permissions,omitempty"`
}

FilesystemDirEntry filesystem dir entry

swagger:model filesystem.DirEntry

func (*FilesystemDirEntry) ContextValidate

func (m *FilesystemDirEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this filesystem dir entry based on context it is used

func (*FilesystemDirEntry) MarshalBinary

func (m *FilesystemDirEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FilesystemDirEntry) UnmarshalBinary

func (m *FilesystemDirEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FilesystemDirEntry) Validate

func (m *FilesystemDirEntry) Validate(formats strfmt.Registry) error

Validate validates this filesystem dir entry

type GithubComPortainerPortainerAPIHTTPHandlerKubernetesDescribeResourceResponse

type GithubComPortainerPortainerAPIHTTPHandlerKubernetesDescribeResourceResponse struct {

	// describe
	Describe string `json:"describe,omitempty"`
}

GithubComPortainerPortainerAPIHTTPHandlerKubernetesDescribeResourceResponse github com portainer portainer api http handler kubernetes describe resource response

swagger:model github.com_portainer_portainer_api_http_handler_kubernetes.describeResourceResponse

func (*GithubComPortainerPortainerAPIHTTPHandlerKubernetesDescribeResourceResponse) ContextValidate

ContextValidate validates this github com portainer portainer api http handler kubernetes describe resource response based on context it is used

func (*GithubComPortainerPortainerAPIHTTPHandlerKubernetesDescribeResourceResponse) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerKubernetesDescribeResourceResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerKubernetesDescribeResourceResponse) Validate

Validate validates this github com portainer portainer api http handler kubernetes describe resource response

type GithubComPortainerPortainerAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload

type GithubComPortainerPortainerAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload struct {

	// Toggle the system state of this namespace to true or false
	// Example: true
	System bool `json:"system,omitempty"`
}

GithubComPortainerPortainerAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload github com portainer portainer api http handler kubernetes namespaces toggle system payload

swagger:model github.com_portainer_portainer_api_http_handler_kubernetes.namespacesToggleSystemPayload

func (*GithubComPortainerPortainerAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload) ContextValidate

ContextValidate validates this github com portainer portainer api http handler kubernetes namespaces toggle system payload based on context it is used

func (*GithubComPortainerPortainerAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload) Validate

Validate validates this github com portainer portainer api http handler kubernetes namespaces toggle system payload

type GithubComPortainerPortainerAPIHTTPHandlerSystemNodesCountResponse

type GithubComPortainerPortainerAPIHTTPHandlerSystemNodesCountResponse struct {

	// nodes
	Nodes int64 `json:"nodes,omitempty"`
}

GithubComPortainerPortainerAPIHTTPHandlerSystemNodesCountResponse github com portainer portainer api http handler system nodes count response

swagger:model github.com_portainer_portainer_api_http_handler_system.nodesCountResponse

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemNodesCountResponse) ContextValidate

ContextValidate validates this github com portainer portainer api http handler system nodes count response based on context it is used

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemNodesCountResponse) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemNodesCountResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemNodesCountResponse) Validate

Validate validates this github com portainer portainer api http handler system nodes count response

type GithubComPortainerPortainerAPIHTTPHandlerSystemStatus

type GithubComPortainerPortainerAPIHTTPHandlerSystemStatus struct {

	// Portainer API version
	// Example: 2.0.0
	Version string `json:"Version,omitempty"`

	// Server Instance ID
	// Example: 299ab403-70a8-4c05-92f7-bf7a994d50df
	InstanceID string `json:"instanceID,omitempty"`
}

GithubComPortainerPortainerAPIHTTPHandlerSystemStatus github com portainer portainer api http handler system status

swagger:model github.com_portainer_portainer_api_http_handler_system.status

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemStatus) ContextValidate

ContextValidate validates this github com portainer portainer api http handler system status based on context it is used

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemStatus) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemStatus) Validate

Validate validates this github com portainer portainer api http handler system status

type GithubComPortainerPortainerAPIHTTPHandlerSystemSystemInfoResponse

type GithubComPortainerPortainerAPIHTTPHandlerSystemSystemInfoResponse struct {

	// agents
	Agents int64 `json:"agents,omitempty"`

	// edge agents
	EdgeAgents int64 `json:"edgeAgents,omitempty"`

	// platform
	Platform string `json:"platform,omitempty"`
}

GithubComPortainerPortainerAPIHTTPHandlerSystemSystemInfoResponse github com portainer portainer api http handler system system info response

swagger:model github.com_portainer_portainer_api_http_handler_system.systemInfoResponse

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemSystemInfoResponse) ContextValidate

ContextValidate validates this github com portainer portainer api http handler system system info response based on context it is used

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemSystemInfoResponse) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemSystemInfoResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemSystemInfoResponse) Validate

Validate validates this github com portainer portainer api http handler system system info response

type GithubComPortainerPortainerAPIHTTPHandlerSystemVersionResponse

type GithubComPortainerPortainerAPIHTTPHandlerSystemVersionResponse struct {

	// The latest version available
	// Example: 2.0.0
	LatestVersion string `json:"LatestVersion,omitempty"`

	// server edition
	// Example: CE/EE
	ServerEdition string `json:"ServerEdition,omitempty"`

	// Whether portainer has an update available
	// Example: false
	UpdateAvailable bool `json:"UpdateAvailable,omitempty"`

	// version support
	// Example: STS/LTS
	VersionSupport string `json:"VersionSupport,omitempty"`

	// build
	Build *BuildBuildInfo `json:"build,omitempty"`

	// database version
	DatabaseVersion string `json:"databaseVersion,omitempty"`

	// dependencies
	Dependencies *BuildDependenciesInfo `json:"dependencies,omitempty"`

	// runtime
	Runtime *BuildRuntimeInfo `json:"runtime,omitempty"`

	// server version
	ServerVersion string `json:"serverVersion,omitempty"`
}

GithubComPortainerPortainerAPIHTTPHandlerSystemVersionResponse github com portainer portainer api http handler system version response

swagger:model github.com_portainer_portainer_api_http_handler_system.versionResponse

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemVersionResponse) ContextValidate

ContextValidate validate this github com portainer portainer api http handler system version response based on the context it is used

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemVersionResponse) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemVersionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerAPIHTTPHandlerSystemVersionResponse) Validate

Validate validates this github com portainer portainer api http handler system version response

type GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesDescribeResourceResponse

type GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesDescribeResourceResponse struct {

	// describe
	Describe string `json:"describe,omitempty"`
}

GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesDescribeResourceResponse github com portainer portainer ee api http handler kubernetes describe resource response

swagger:model github.com_portainer_portainer-ee_api_http_handler_kubernetes.describeResourceResponse

func (*GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesDescribeResourceResponse) ContextValidate

ContextValidate validates this github com portainer portainer ee api http handler kubernetes describe resource response based on context it is used

func (*GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesDescribeResourceResponse) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesDescribeResourceResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesDescribeResourceResponse) Validate

Validate validates this github com portainer portainer ee api http handler kubernetes describe resource response

type GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload

type GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload struct {

	// Toggle the system state of this namespace to true or false
	// Example: true
	System bool `json:"system,omitempty"`
}

GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload github com portainer portainer ee api http handler kubernetes namespaces toggle system payload

swagger:model github.com_portainer_portainer-ee_api_http_handler_kubernetes.namespacesToggleSystemPayload

func (*GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload) ContextValidate

ContextValidate validates this github com portainer portainer ee api http handler kubernetes namespaces toggle system payload based on context it is used

func (*GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerKubernetesNamespacesToggleSystemPayload) Validate

Validate validates this github com portainer portainer ee api http handler kubernetes namespaces toggle system payload

type GithubComPortainerPortainerEeAPIHTTPHandlerSystemNodesCountResponse

type GithubComPortainerPortainerEeAPIHTTPHandlerSystemNodesCountResponse struct {

	// nodes
	Nodes int64 `json:"nodes,omitempty"`
}

GithubComPortainerPortainerEeAPIHTTPHandlerSystemNodesCountResponse github com portainer portainer ee api http handler system nodes count response

swagger:model github.com_portainer_portainer-ee_api_http_handler_system.nodesCountResponse

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemNodesCountResponse) ContextValidate

ContextValidate validates this github com portainer portainer ee api http handler system nodes count response based on context it is used

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemNodesCountResponse) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemNodesCountResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemNodesCountResponse) Validate

Validate validates this github com portainer portainer ee api http handler system nodes count response

type GithubComPortainerPortainerEeAPIHTTPHandlerSystemStatus

type GithubComPortainerPortainerEeAPIHTTPHandlerSystemStatus struct {

	// Portainer API version
	// Example: 2.0.0
	Version string `json:"Version,omitempty"`

	// Server Instance ID
	// Example: 299ab403-70a8-4c05-92f7-bf7a994d50df
	InstanceID string `json:"instanceID,omitempty"`
}

GithubComPortainerPortainerEeAPIHTTPHandlerSystemStatus github com portainer portainer ee api http handler system status

swagger:model github.com_portainer_portainer-ee_api_http_handler_system.status

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemStatus) ContextValidate

ContextValidate validates this github com portainer portainer ee api http handler system status based on context it is used

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemStatus) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemStatus) Validate

Validate validates this github com portainer portainer ee api http handler system status

type GithubComPortainerPortainerEeAPIHTTPHandlerSystemSystemInfoResponse

type GithubComPortainerPortainerEeAPIHTTPHandlerSystemSystemInfoResponse struct {

	// agents
	Agents int64 `json:"agents,omitempty"`

	// edge agents
	EdgeAgents int64 `json:"edgeAgents,omitempty"`

	// edge devices
	EdgeDevices int64 `json:"edgeDevices,omitempty"`

	// platform
	Platform string `json:"platform,omitempty"`
}

GithubComPortainerPortainerEeAPIHTTPHandlerSystemSystemInfoResponse github com portainer portainer ee api http handler system system info response

swagger:model github.com_portainer_portainer-ee_api_http_handler_system.systemInfoResponse

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemSystemInfoResponse) ContextValidate

ContextValidate validates this github com portainer portainer ee api http handler system system info response based on context it is used

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemSystemInfoResponse) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemSystemInfoResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemSystemInfoResponse) Validate

Validate validates this github com portainer portainer ee api http handler system system info response

type GithubComPortainerPortainerEeAPIHTTPHandlerSystemVersionResponse

type GithubComPortainerPortainerEeAPIHTTPHandlerSystemVersionResponse struct {

	// The latest version available
	// Example: 2.0.0
	LatestVersion string `json:"LatestVersion,omitempty"`

	// server edition
	// Example: CE/EE
	ServerEdition string `json:"ServerEdition,omitempty"`

	// Whether portainer has an update available
	// Example: false
	UpdateAvailable bool `json:"UpdateAvailable,omitempty"`

	// version support
	// Example: STS/LTS
	VersionSupport string `json:"VersionSupport,omitempty"`

	// build
	Build *BuildBuildInfo `json:"build,omitempty"`

	// database version
	DatabaseVersion string `json:"databaseVersion,omitempty"`

	// dependencies
	Dependencies *BuildDependenciesInfo `json:"dependencies,omitempty"`

	// runtime
	Runtime *BuildRuntimeInfo `json:"runtime,omitempty"`

	// server version
	ServerVersion string `json:"serverVersion,omitempty"`
}

GithubComPortainerPortainerEeAPIHTTPHandlerSystemVersionResponse github com portainer portainer ee api http handler system version response

swagger:model github.com_portainer_portainer-ee_api_http_handler_system.versionResponse

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemVersionResponse) ContextValidate

ContextValidate validate this github com portainer portainer ee api http handler system version response based on the context it is used

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemVersionResponse) MarshalBinary

MarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemVersionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GithubComPortainerPortainerEeAPIHTTPHandlerSystemVersionResponse) Validate

Validate validates this github com portainer portainer ee api http handler system version response

type GitopsFileResponse

type GitopsFileResponse struct {

	// file content
	FileContent string `json:"fileContent,omitempty"`
}

GitopsFileResponse gitops file response

swagger:model gitops.fileResponse

func (*GitopsFileResponse) ContextValidate

func (m *GitopsFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gitops file response based on context it is used

func (*GitopsFileResponse) MarshalBinary

func (m *GitopsFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitopsFileResponse) UnmarshalBinary

func (m *GitopsFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitopsFileResponse) Validate

func (m *GitopsFileResponse) Validate(formats strfmt.Registry) error

Validate validates this gitops file response

type GitopsRepositoryFilePreviewPayload

type GitopsRepositoryFilePreviewPayload struct {

	// git credential ID
	// Example: 0
	GitCredentialID int64 `json:"gitCredentialID,omitempty"`

	// password
	// Example: myGitPassword
	Password string `json:"password,omitempty"`

	// reference
	// Example: refs/heads/master
	Reference string `json:"reference,omitempty"`

	// repository
	// Example: https://github.com/openfaas/faas
	// Required: true
	Repository *string `json:"repository"`

	// Path to file whose content will be read
	// Example: docker-compose.yml
	TargetFile string `json:"targetFile,omitempty"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// username
	// Example: myGitUsername
	Username string `json:"username,omitempty"`
}

GitopsRepositoryFilePreviewPayload gitops repository file preview payload

swagger:model gitops.repositoryFilePreviewPayload

func (*GitopsRepositoryFilePreviewPayload) ContextValidate

func (m *GitopsRepositoryFilePreviewPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gitops repository file preview payload based on context it is used

func (*GitopsRepositoryFilePreviewPayload) MarshalBinary

func (m *GitopsRepositoryFilePreviewPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitopsRepositoryFilePreviewPayload) UnmarshalBinary

func (m *GitopsRepositoryFilePreviewPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitopsRepositoryFilePreviewPayload) Validate

Validate validates this gitops repository file preview payload

type GitopsRepositoryFileSearchPayload

type GitopsRepositoryFileSearchPayload struct {

	// created from custom template ID
	CreatedFromCustomTemplateID int64 `json:"createdFromCustomTemplateID,omitempty"`

	// DirOnly List directories only
	// Example: false
	DirOnly bool `json:"dirOnly,omitempty"`

	// git credential ID
	GitCredentialID int64 `json:"gitCredentialID,omitempty"`

	// Allow to provide specific file extension as the search result. If empty, the file extensions yml,yaml,hcl,json will be set by default
	// Example: json,yml
	Include string `json:"include,omitempty"`

	// Partial or completed file name. If empty, all filenames with included extensions will be returned
	// Example: docker-compose
	Keyword string `json:"keyword,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// Specific Git repository reference. If empty, the reference ref/heads/main will be set by default
	// Example: refs/heads/develop
	Reference string `json:"reference,omitempty"`

	// repository
	// Required: true
	Repository *string `json:"repository"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

GitopsRepositoryFileSearchPayload gitops repository file search payload

swagger:model gitops.repositoryFileSearchPayload

func (*GitopsRepositoryFileSearchPayload) ContextValidate

func (m *GitopsRepositoryFileSearchPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gitops repository file search payload based on context it is used

func (*GitopsRepositoryFileSearchPayload) MarshalBinary

func (m *GitopsRepositoryFileSearchPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitopsRepositoryFileSearchPayload) UnmarshalBinary

func (m *GitopsRepositoryFileSearchPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitopsRepositoryFileSearchPayload) Validate

Validate validates this gitops repository file search payload

type GitopsRepositoryReferenceListPayload

type GitopsRepositoryReferenceListPayload struct {

	// created from custom template ID
	CreatedFromCustomTemplateID int64 `json:"createdFromCustomTemplateID,omitempty"`

	// git credential ID
	GitCredentialID int64 `json:"gitCredentialID,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// repository
	// Required: true
	Repository *string `json:"repository"`

	// stack ID
	StackID int64 `json:"stackID,omitempty"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

GitopsRepositoryReferenceListPayload gitops repository reference list payload

swagger:model gitops.repositoryReferenceListPayload

func (*GitopsRepositoryReferenceListPayload) ContextValidate

func (m *GitopsRepositoryReferenceListPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gitops repository reference list payload based on context it is used

func (*GitopsRepositoryReferenceListPayload) MarshalBinary

func (m *GitopsRepositoryReferenceListPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitopsRepositoryReferenceListPayload) UnmarshalBinary

func (m *GitopsRepositoryReferenceListPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitopsRepositoryReferenceListPayload) Validate

Validate validates this gitops repository reference list payload

type GittypesGitAuthentication

type GittypesGitAuthentication struct {

	// Git credentials identifier when the value is not 0
	// When the value is 0, Username and Password are set without using saved credential
	// This is introduced since 2.15.0
	// Example: 0
	GitCredentialID int64 `json:"gitCredentialID,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

GittypesGitAuthentication gittypes git authentication

swagger:model gittypes.GitAuthentication

func (*GittypesGitAuthentication) ContextValidate

func (m *GittypesGitAuthentication) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gittypes git authentication based on context it is used

func (*GittypesGitAuthentication) MarshalBinary

func (m *GittypesGitAuthentication) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GittypesGitAuthentication) UnmarshalBinary

func (m *GittypesGitAuthentication) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GittypesGitAuthentication) Validate

func (m *GittypesGitAuthentication) Validate(formats strfmt.Registry) error

Validate validates this gittypes git authentication

type GittypesRepoConfig

type GittypesRepoConfig struct {

	// Git credentials
	Authentication *GittypesGitAuthentication `json:"authentication,omitempty"`

	// Path to where the config file is in this url/refName
	// Example: docker-compose.yml
	ConfigFilePath string `json:"configFilePath,omitempty"`

	// Repository hash
	// Example: bc4c183d756879ea4d173315338110b31004b8e0
	ConfigHash string `json:"configHash,omitempty"`

	// The reference name
	// Example: refs/heads/branch_name
	ReferenceName string `json:"referenceName,omitempty"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// The repo url
	// Example: https://github.com/portainer/portainer.git
	URL string `json:"url,omitempty"`
}

GittypesRepoConfig gittypes repo config

swagger:model gittypes.RepoConfig

func (*GittypesRepoConfig) ContextValidate

func (m *GittypesRepoConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gittypes repo config based on the context it is used

func (*GittypesRepoConfig) MarshalBinary

func (m *GittypesRepoConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GittypesRepoConfig) UnmarshalBinary

func (m *GittypesRepoConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GittypesRepoConfig) Validate

func (m *GittypesRepoConfig) Validate(formats strfmt.Registry) error

Validate validates this gittypes repo config

type HelmInstallChartPayload

type HelmInstallChartPayload struct {

	// atomic
	Atomic bool `json:"atomic,omitempty"`

	// chart
	Chart string `json:"chart,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// repo
	Repo string `json:"repo,omitempty"`

	// values
	Values string `json:"values,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

HelmInstallChartPayload helm install chart payload

swagger:model helm.installChartPayload

func (*HelmInstallChartPayload) ContextValidate

func (m *HelmInstallChartPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this helm install chart payload based on context it is used

func (*HelmInstallChartPayload) MarshalBinary

func (m *HelmInstallChartPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmInstallChartPayload) UnmarshalBinary

func (m *HelmInstallChartPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmInstallChartPayload) Validate

func (m *HelmInstallChartPayload) Validate(formats strfmt.Registry) error

Validate validates this helm install chart payload

type ImagesImageResponse

type ImagesImageResponse struct {

	// created
	Created int64 `json:"created,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// node name
	NodeName string `json:"nodeName,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// Used is true if the image is used by at least one container
	// supplied only when withUsage is true
	Used bool `json:"used,omitempty"`
}

ImagesImageResponse images image response

swagger:model images.ImageResponse

func (*ImagesImageResponse) ContextValidate

func (m *ImagesImageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this images image response based on context it is used

func (*ImagesImageResponse) MarshalBinary

func (m *ImagesImageResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImagesImageResponse) UnmarshalBinary

func (m *ImagesImageResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImagesImageResponse) Validate

func (m *ImagesImageResponse) Validate(formats strfmt.Registry) error

Validate validates this images image response

type ImagesStatusResponse

type ImagesStatusResponse struct {

	// message
	Message string `json:"Message,omitempty"`

	// status
	Status string `json:"Status,omitempty"`
}

ImagesStatusResponse images status response

swagger:model images.StatusResponse

func (*ImagesStatusResponse) ContextValidate

func (m *ImagesStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this images status response based on context it is used

func (*ImagesStatusResponse) MarshalBinary

func (m *ImagesStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImagesStatusResponse) UnmarshalBinary

func (m *ImagesStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImagesStatusResponse) Validate

func (m *ImagesStatusResponse) Validate(formats strfmt.Registry) error

Validate validates this images status response

type IntstrIntOrString

type IntstrIntOrString struct {

	// int val
	IntVal int64 `json:"intVal,omitempty"`

	// str val
	StrVal string `json:"strVal,omitempty"`

	// type
	Type int64 `json:"type,omitempty"`
}

IntstrIntOrString intstr int or string

swagger:model intstr.IntOrString

func (*IntstrIntOrString) ContextValidate

func (m *IntstrIntOrString) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this intstr int or string based on context it is used

func (*IntstrIntOrString) MarshalBinary

func (m *IntstrIntOrString) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntstrIntOrString) UnmarshalBinary

func (m *IntstrIntOrString) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntstrIntOrString) Validate

func (m *IntstrIntOrString) Validate(formats strfmt.Registry) error

Validate validates this intstr int or string

type KubernetesConfiguration

type KubernetesConfiguration struct {

	// configuration owner
	ConfigurationOwner string `json:"ConfigurationOwner,omitempty"`

	// data
	Data interface{} `json:"Data,omitempty"`

	// kind
	Kind string `json:"Kind,omitempty"`
}

KubernetesConfiguration kubernetes configuration

swagger:model kubernetes.Configuration

func (*KubernetesConfiguration) ContextValidate

func (m *KubernetesConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes configuration based on context it is used

func (*KubernetesConfiguration) MarshalBinary

func (m *KubernetesConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesConfiguration) UnmarshalBinary

func (m *KubernetesConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesConfiguration) Validate

func (m *KubernetesConfiguration) Validate(formats strfmt.Registry) error

Validate validates this kubernetes configuration

type KubernetesCustomResourceMetadata added in v2.31.2

type KubernetesCustomResourceMetadata struct {

	// api version
	APIVersion string `json:"apiVersion,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

	// plural
	Plural string `json:"plural,omitempty"`
}

KubernetesCustomResourceMetadata kubernetes custom resource metadata

swagger:model kubernetes.CustomResourceMetadata

func (*KubernetesCustomResourceMetadata) ContextValidate added in v2.31.2

func (m *KubernetesCustomResourceMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes custom resource metadata based on context it is used

func (*KubernetesCustomResourceMetadata) MarshalBinary added in v2.31.2

func (m *KubernetesCustomResourceMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesCustomResourceMetadata) UnmarshalBinary added in v2.31.2

func (m *KubernetesCustomResourceMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesCustomResourceMetadata) Validate added in v2.31.2

Validate validates this kubernetes custom resource metadata

type KubernetesIngressRule

type KubernetesIngressRule struct {

	// host
	Host string `json:"Host,omitempty"`

	// IP
	IP string `json:"IP,omitempty"`

	// path
	Path string `json:"Path,omitempty"`

	// TLS
	TLS []*KubernetesTLSInfo `json:"TLS"`
}

KubernetesIngressRule kubernetes ingress rule

swagger:model kubernetes.IngressRule

func (*KubernetesIngressRule) ContextValidate

func (m *KubernetesIngressRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes ingress rule based on the context it is used

func (*KubernetesIngressRule) MarshalBinary

func (m *KubernetesIngressRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesIngressRule) UnmarshalBinary

func (m *KubernetesIngressRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesIngressRule) Validate

func (m *KubernetesIngressRule) Validate(formats strfmt.Registry) error

Validate validates this kubernetes ingress rule

type KubernetesK8sApplication

type KubernetesK8sApplication struct {

	// application owner
	ApplicationOwner string `json:"ApplicationOwner,omitempty"`

	// application type
	ApplicationType string `json:"ApplicationType,omitempty"`

	// configurations
	Configurations []*KubernetesConfiguration `json:"Configurations"`

	// containers
	Containers []interface{} `json:"Containers"`

	// creation date
	CreationDate string `json:"CreationDate,omitempty"`

	// custom resource metadata
	CustomResourceMetadata *KubernetesCustomResourceMetadata `json:"CustomResourceMetadata,omitempty"`

	// deployment type
	DeploymentType string `json:"DeploymentType,omitempty"`

	// horizontal pod autoscaler
	HorizontalPodAutoscaler *V2HorizontalPodAutoscaler `json:"HorizontalPodAutoscaler,omitempty"`

	// Id
	ID string `json:"Id,omitempty"`

	// image
	Image string `json:"Image,omitempty"`

	// kind
	Kind string `json:"Kind,omitempty"`

	// labels
	Labels map[string]string `json:"Labels,omitempty"`

	// load balancer IP address
	LoadBalancerIPAddress string `json:"LoadBalancerIPAddress,omitempty"`

	// match labels
	MatchLabels map[string]string `json:"MatchLabels,omitempty"`

	// metadata
	Metadata *KubernetesMetadata `json:"Metadata,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// namespace
	Namespace string `json:"Namespace,omitempty"`

	// pods
	Pods []*KubernetesPod `json:"Pods"`

	// published ports
	PublishedPorts []*KubernetesPublishedPort `json:"PublishedPorts"`

	// resource
	Resource *KubernetesK8sApplicationResource `json:"Resource,omitempty"`

	// resource pool
	ResourcePool string `json:"ResourcePool,omitempty"`

	// running pods count
	RunningPodsCount int64 `json:"RunningPodsCount,omitempty"`

	// service Id
	ServiceID string `json:"ServiceId,omitempty"`

	// service name
	ServiceName string `json:"ServiceName,omitempty"`

	// service type
	ServiceType string `json:"ServiceType,omitempty"`

	// services
	Services []*V1Service `json:"Services"`

	// stack Id
	StackID string `json:"StackId,omitempty"`

	// stack name
	StackName string `json:"StackName,omitempty"`

	// status
	Status string `json:"Status,omitempty"`

	// total pods count
	TotalPodsCount int64 `json:"TotalPodsCount,omitempty"`

	// Uid
	UID string `json:"Uid,omitempty"`
}

KubernetesK8sApplication kubernetes k8s application

swagger:model kubernetes.K8sApplication

func (*KubernetesK8sApplication) ContextValidate

func (m *KubernetesK8sApplication) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s application based on the context it is used

func (*KubernetesK8sApplication) MarshalBinary

func (m *KubernetesK8sApplication) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sApplication) UnmarshalBinary

func (m *KubernetesK8sApplication) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sApplication) Validate

func (m *KubernetesK8sApplication) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s application

type KubernetesK8sApplicationResource

type KubernetesK8sApplicationResource struct {

	// Cpu limit
	CPULimit float64 `json:"CpuLimit,omitempty"`

	// Cpu request
	CPURequest float64 `json:"CpuRequest,omitempty"`

	// memory limit
	MemoryLimit int64 `json:"MemoryLimit,omitempty"`

	// memory request
	MemoryRequest int64 `json:"MemoryRequest,omitempty"`
}

KubernetesK8sApplicationResource kubernetes k8s application resource

swagger:model kubernetes.K8sApplicationResource

func (*KubernetesK8sApplicationResource) ContextValidate

func (m *KubernetesK8sApplicationResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s application resource based on context it is used

func (*KubernetesK8sApplicationResource) MarshalBinary

func (m *KubernetesK8sApplicationResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sApplicationResource) UnmarshalBinary

func (m *KubernetesK8sApplicationResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sApplicationResource) Validate

Validate validates this kubernetes k8s application resource

type KubernetesK8sClusterRole

type KubernetesK8sClusterRole struct {

	// creation date
	CreationDate string `json:"creationDate,omitempty"`

	// is system
	IsSystem bool `json:"isSystem,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	UID string `json:"uid,omitempty"`
}

KubernetesK8sClusterRole kubernetes k8s cluster role

swagger:model kubernetes.K8sClusterRole

func (*KubernetesK8sClusterRole) ContextValidate

func (m *KubernetesK8sClusterRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s cluster role based on context it is used

func (*KubernetesK8sClusterRole) MarshalBinary

func (m *KubernetesK8sClusterRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sClusterRole) UnmarshalBinary

func (m *KubernetesK8sClusterRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sClusterRole) Validate

func (m *KubernetesK8sClusterRole) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s cluster role

type KubernetesK8sClusterRoleBinding

type KubernetesK8sClusterRoleBinding struct {

	// creation date
	CreationDate string `json:"creationDate,omitempty"`

	// is system
	IsSystem bool `json:"isSystem,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// role ref
	RoleRef *V1RoleRef `json:"roleRef,omitempty"`

	// subjects
	Subjects []*V1Subject `json:"subjects"`

	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	UID string `json:"uid,omitempty"`
}

KubernetesK8sClusterRoleBinding kubernetes k8s cluster role binding

swagger:model kubernetes.K8sClusterRoleBinding

func (*KubernetesK8sClusterRoleBinding) ContextValidate

func (m *KubernetesK8sClusterRoleBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s cluster role binding based on the context it is used

func (*KubernetesK8sClusterRoleBinding) MarshalBinary

func (m *KubernetesK8sClusterRoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sClusterRoleBinding) UnmarshalBinary

func (m *KubernetesK8sClusterRoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sClusterRoleBinding) Validate

Validate validates this kubernetes k8s cluster role binding

type KubernetesK8sConfigMap

type KubernetesK8sConfigMap struct {

	// annotations
	Annotations map[string]string `json:"Annotations,omitempty"`

	// configuration owner
	ConfigurationOwner string `json:"ConfigurationOwner,omitempty"`

	// configuration owner Id
	ConfigurationOwnerID string `json:"ConfigurationOwnerId,omitempty"`

	// configuration owners
	ConfigurationOwners []*KubernetesK8sConfigurationOwnerResource `json:"ConfigurationOwners"`

	// creation date
	CreationDate string `json:"CreationDate,omitempty"`

	// data
	Data map[string]string `json:"Data,omitempty"`

	// is used
	IsUsed bool `json:"IsUsed,omitempty"`

	// labels
	Labels map[string]string `json:"Labels,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// namespace
	Namespace string `json:"Namespace,omitempty"`

	// UID
	UID string `json:"UID,omitempty"`
}

KubernetesK8sConfigMap kubernetes k8s config map

swagger:model kubernetes.K8sConfigMap

func (*KubernetesK8sConfigMap) ContextValidate

func (m *KubernetesK8sConfigMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s config map based on the context it is used

func (*KubernetesK8sConfigMap) MarshalBinary

func (m *KubernetesK8sConfigMap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sConfigMap) UnmarshalBinary

func (m *KubernetesK8sConfigMap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sConfigMap) Validate

func (m *KubernetesK8sConfigMap) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s config map

type KubernetesK8sConfigurationOwnerResource

type KubernetesK8sConfigurationOwnerResource struct {

	// Id
	ID string `json:"Id,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// resource kind
	ResourceKind string `json:"ResourceKind,omitempty"`
}

KubernetesK8sConfigurationOwnerResource kubernetes k8s configuration owner resource

swagger:model kubernetes.K8sConfigurationOwnerResource

func (*KubernetesK8sConfigurationOwnerResource) ContextValidate

ContextValidate validates this kubernetes k8s configuration owner resource based on context it is used

func (*KubernetesK8sConfigurationOwnerResource) MarshalBinary

func (m *KubernetesK8sConfigurationOwnerResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sConfigurationOwnerResource) UnmarshalBinary

func (m *KubernetesK8sConfigurationOwnerResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sConfigurationOwnerResource) Validate

Validate validates this kubernetes k8s configuration owner resource

type KubernetesK8sCronJob

type KubernetesK8sCronJob struct {

	// command
	Command string `json:"Command,omitempty"`

	// Id
	ID string `json:"Id,omitempty"`

	// is system
	IsSystem bool `json:"IsSystem,omitempty"`

	// jobs
	Jobs []*KubernetesK8sJob `json:"Jobs"`

	// name
	Name string `json:"Name,omitempty"`

	// namespace
	Namespace string `json:"Namespace,omitempty"`

	// schedule
	Schedule string `json:"Schedule,omitempty"`

	// suspend
	Suspend bool `json:"Suspend,omitempty"`

	// timezone
	Timezone string `json:"Timezone,omitempty"`
}

KubernetesK8sCronJob kubernetes k8s cron job

swagger:model kubernetes.K8sCronJob

func (*KubernetesK8sCronJob) ContextValidate

func (m *KubernetesK8sCronJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s cron job based on the context it is used

func (*KubernetesK8sCronJob) MarshalBinary

func (m *KubernetesK8sCronJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sCronJob) UnmarshalBinary

func (m *KubernetesK8sCronJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sCronJob) Validate

func (m *KubernetesK8sCronJob) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s cron job

type KubernetesK8sCronJobDeleteRequests

type KubernetesK8sCronJobDeleteRequests map[string][]string

KubernetesK8sCronJobDeleteRequests kubernetes k8s cron job delete requests

swagger:model kubernetes.K8sCronJobDeleteRequests

func (KubernetesK8sCronJobDeleteRequests) ContextValidate

func (m KubernetesK8sCronJobDeleteRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s cron job delete requests based on context it is used

func (KubernetesK8sCronJobDeleteRequests) Validate

Validate validates this kubernetes k8s cron job delete requests

type KubernetesK8sDashboard

type KubernetesK8sDashboard struct {

	// applications count
	ApplicationsCount int64 `json:"applicationsCount,omitempty"`

	// config maps count
	ConfigMapsCount int64 `json:"configMapsCount,omitempty"`

	// ingresses count
	IngressesCount int64 `json:"ingressesCount,omitempty"`

	// namespaces count
	NamespacesCount int64 `json:"namespacesCount,omitempty"`

	// secrets count
	SecretsCount int64 `json:"secretsCount,omitempty"`

	// services count
	ServicesCount int64 `json:"servicesCount,omitempty"`

	// volumes count
	VolumesCount int64 `json:"volumesCount,omitempty"`
}

KubernetesK8sDashboard kubernetes k8s dashboard

swagger:model kubernetes.K8sDashboard

func (*KubernetesK8sDashboard) ContextValidate

func (m *KubernetesK8sDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s dashboard based on context it is used

func (*KubernetesK8sDashboard) MarshalBinary

func (m *KubernetesK8sDashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sDashboard) UnmarshalBinary

func (m *KubernetesK8sDashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sDashboard) Validate

func (m *KubernetesK8sDashboard) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s dashboard

type KubernetesK8sEvent added in v2.31.0

type KubernetesK8sEvent struct {

	// count
	Count int64 `json:"count,omitempty"`

	// event time
	EventTime string `json:"eventTime,omitempty"`

	// first timestamp
	FirstTimestamp string `json:"firstTimestamp,omitempty"`

	// involved object
	InvolvedObject *KubernetesK8sEventInvolvedObject `json:"involvedObject,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

	// last timestamp
	LastTimestamp string `json:"lastTimestamp,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// reason
	Reason string `json:"reason,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// uid
	UID string `json:"uid,omitempty"`
}

KubernetesK8sEvent kubernetes k8s event

swagger:model kubernetes.K8sEvent

func (*KubernetesK8sEvent) ContextValidate added in v2.31.0

func (m *KubernetesK8sEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s event based on the context it is used

func (*KubernetesK8sEvent) MarshalBinary added in v2.31.0

func (m *KubernetesK8sEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sEvent) UnmarshalBinary added in v2.31.0

func (m *KubernetesK8sEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sEvent) Validate added in v2.31.0

func (m *KubernetesK8sEvent) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s event

type KubernetesK8sEventInvolvedObject added in v2.31.0

type KubernetesK8sEventInvolvedObject struct {

	// kind
	Kind string `json:"kind,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// uid
	UID string `json:"uid,omitempty"`
}

KubernetesK8sEventInvolvedObject kubernetes k8s event involved object

swagger:model kubernetes.K8sEventInvolvedObject

func (*KubernetesK8sEventInvolvedObject) ContextValidate added in v2.31.0

func (m *KubernetesK8sEventInvolvedObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s event involved object based on context it is used

func (*KubernetesK8sEventInvolvedObject) MarshalBinary added in v2.31.0

func (m *KubernetesK8sEventInvolvedObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sEventInvolvedObject) UnmarshalBinary added in v2.31.0

func (m *KubernetesK8sEventInvolvedObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sEventInvolvedObject) Validate added in v2.31.0

Validate validates this kubernetes k8s event involved object

type KubernetesK8sIngressController

type KubernetesK8sIngressController struct {

	// availability
	Availability bool `json:"Availability,omitempty"`

	// class name
	ClassName string `json:"ClassName,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// new
	New bool `json:"New,omitempty"`

	// type
	Type string `json:"Type,omitempty"`

	// used
	Used bool `json:"Used,omitempty"`
}

KubernetesK8sIngressController kubernetes k8s ingress controller

swagger:model kubernetes.K8sIngressController

func (*KubernetesK8sIngressController) ContextValidate

func (m *KubernetesK8sIngressController) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s ingress controller based on context it is used

func (*KubernetesK8sIngressController) MarshalBinary

func (m *KubernetesK8sIngressController) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sIngressController) UnmarshalBinary

func (m *KubernetesK8sIngressController) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sIngressController) Validate

func (m *KubernetesK8sIngressController) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s ingress controller

type KubernetesK8sIngressDeleteRequests

type KubernetesK8sIngressDeleteRequests map[string][]string

KubernetesK8sIngressDeleteRequests kubernetes k8s ingress delete requests

swagger:model kubernetes.K8sIngressDeleteRequests

func (KubernetesK8sIngressDeleteRequests) ContextValidate

func (m KubernetesK8sIngressDeleteRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s ingress delete requests based on context it is used

func (KubernetesK8sIngressDeleteRequests) Validate

Validate validates this kubernetes k8s ingress delete requests

type KubernetesK8sIngressInfo

type KubernetesK8sIngressInfo struct {

	// annotations
	Annotations map[string]string `json:"Annotations,omitempty"`

	// class name
	ClassName string `json:"ClassName,omitempty"`

	// creation date
	CreationDate string `json:"CreationDate,omitempty"`

	// hosts
	Hosts []string `json:"Hosts"`

	// labels
	Labels map[string]string `json:"Labels,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// namespace
	Namespace string `json:"Namespace,omitempty"`

	// paths
	Paths []*KubernetesK8sIngressPath `json:"Paths"`

	// TLS
	TLS []*KubernetesK8sIngressTLS `json:"TLS"`

	// type
	Type string `json:"Type,omitempty"`

	// UID
	UID string `json:"UID,omitempty"`
}

KubernetesK8sIngressInfo kubernetes k8s ingress info

swagger:model kubernetes.K8sIngressInfo

func (*KubernetesK8sIngressInfo) ContextValidate

func (m *KubernetesK8sIngressInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s ingress info based on the context it is used

func (*KubernetesK8sIngressInfo) MarshalBinary

func (m *KubernetesK8sIngressInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sIngressInfo) UnmarshalBinary

func (m *KubernetesK8sIngressInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sIngressInfo) Validate

func (m *KubernetesK8sIngressInfo) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s ingress info

type KubernetesK8sIngressPath

type KubernetesK8sIngressPath struct {

	// has service
	HasService bool `json:"HasService,omitempty"`

	// host
	Host string `json:"Host,omitempty"`

	// ingress name
	IngressName string `json:"IngressName,omitempty"`

	// path
	Path string `json:"Path,omitempty"`

	// path type
	PathType string `json:"PathType,omitempty"`

	// port
	Port int64 `json:"Port,omitempty"`

	// service name
	ServiceName string `json:"ServiceName,omitempty"`
}

KubernetesK8sIngressPath kubernetes k8s ingress path

swagger:model kubernetes.K8sIngressPath

func (*KubernetesK8sIngressPath) ContextValidate

func (m *KubernetesK8sIngressPath) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s ingress path based on context it is used

func (*KubernetesK8sIngressPath) MarshalBinary

func (m *KubernetesK8sIngressPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sIngressPath) UnmarshalBinary

func (m *KubernetesK8sIngressPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sIngressPath) Validate

func (m *KubernetesK8sIngressPath) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s ingress path

type KubernetesK8sIngressTLS

type KubernetesK8sIngressTLS struct {

	// hosts
	Hosts []string `json:"Hosts"`

	// secret name
	SecretName string `json:"SecretName,omitempty"`
}

KubernetesK8sIngressTLS kubernetes k8s ingress TLS

swagger:model kubernetes.K8sIngressTLS

func (*KubernetesK8sIngressTLS) ContextValidate

func (m *KubernetesK8sIngressTLS) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s ingress TLS based on context it is used

func (*KubernetesK8sIngressTLS) MarshalBinary

func (m *KubernetesK8sIngressTLS) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sIngressTLS) UnmarshalBinary

func (m *KubernetesK8sIngressTLS) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sIngressTLS) Validate

func (m *KubernetesK8sIngressTLS) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s ingress TLS

type KubernetesK8sJob

type KubernetesK8sJob struct {

	// backoff limit
	BackoffLimit int64 `json:"BackoffLimit,omitempty"`

	// command
	Command string `json:"Command,omitempty"`

	// completions
	Completions int64 `json:"Completions,omitempty"`

	// container
	Container *V1Container `json:"Container,omitempty"`

	// duration
	Duration string `json:"Duration,omitempty"`

	// failed reason
	FailedReason string `json:"FailedReason,omitempty"`

	// finish time
	FinishTime string `json:"FinishTime,omitempty"`

	// Id
	ID string `json:"Id,omitempty"`

	// is system
	IsSystem bool `json:"IsSystem,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// namespace
	Namespace string `json:"Namespace,omitempty"`

	// pod name
	PodName string `json:"PodName,omitempty"`

	// start time
	StartTime string `json:"StartTime,omitempty"`

	// status
	Status string `json:"Status,omitempty"`
}

KubernetesK8sJob kubernetes k8s job

swagger:model kubernetes.K8sJob

func (*KubernetesK8sJob) ContextValidate

func (m *KubernetesK8sJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s job based on the context it is used

func (*KubernetesK8sJob) MarshalBinary

func (m *KubernetesK8sJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sJob) UnmarshalBinary

func (m *KubernetesK8sJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sJob) Validate

func (m *KubernetesK8sJob) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s job

type KubernetesK8sJobDeleteRequests

type KubernetesK8sJobDeleteRequests map[string][]string

KubernetesK8sJobDeleteRequests kubernetes k8s job delete requests

swagger:model kubernetes.K8sJobDeleteRequests

func (KubernetesK8sJobDeleteRequests) ContextValidate

func (m KubernetesK8sJobDeleteRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s job delete requests based on context it is used

func (KubernetesK8sJobDeleteRequests) Validate

Validate validates this kubernetes k8s job delete requests

type KubernetesK8sNamespaceDetails

type KubernetesK8sNamespaceDetails struct {

	// annotations
	Annotations map[string]string `json:"Annotations,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// owner
	Owner string `json:"Owner,omitempty"`

	// resource quota
	ResourceQuota *KubernetesK8sResourceQuota `json:"ResourceQuota,omitempty"`
}

KubernetesK8sNamespaceDetails kubernetes k8s namespace details

swagger:model kubernetes.K8sNamespaceDetails

func (*KubernetesK8sNamespaceDetails) ContextValidate

func (m *KubernetesK8sNamespaceDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s namespace details based on the context it is used

func (*KubernetesK8sNamespaceDetails) MarshalBinary

func (m *KubernetesK8sNamespaceDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sNamespaceDetails) UnmarshalBinary

func (m *KubernetesK8sNamespaceDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sNamespaceDetails) Validate

func (m *KubernetesK8sNamespaceDetails) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s namespace details

type KubernetesK8sPersistentVolume

type KubernetesK8sPersistentVolume struct {

	// access modes
	AccessModes []string `json:"accessModes"`

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// capacity
	Capacity V1ResourceList `json:"capacity,omitempty"`

	// claim ref
	ClaimRef *V1ObjectReference `json:"claimRef,omitempty"`

	// csi
	Csi *V1CSIPersistentVolumeSource `json:"csi,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// persistent volume reclaim policy
	PersistentVolumeReclaimPolicy string `json:"persistentVolumeReclaimPolicy,omitempty"`

	// storage class name
	StorageClassName string `json:"storageClassName,omitempty"`

	// volume mode
	VolumeMode string `json:"volumeMode,omitempty"`
}

KubernetesK8sPersistentVolume kubernetes k8s persistent volume

swagger:model kubernetes.K8sPersistentVolume

func (*KubernetesK8sPersistentVolume) ContextValidate

func (m *KubernetesK8sPersistentVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s persistent volume based on the context it is used

func (*KubernetesK8sPersistentVolume) MarshalBinary

func (m *KubernetesK8sPersistentVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sPersistentVolume) UnmarshalBinary

func (m *KubernetesK8sPersistentVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sPersistentVolume) Validate

func (m *KubernetesK8sPersistentVolume) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s persistent volume

type KubernetesK8sPersistentVolumeClaim

type KubernetesK8sPersistentVolumeClaim struct {

	// access modes
	AccessModes []string `json:"accessModes"`

	// creation date
	CreationDate string `json:"creationDate,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// owning applications
	OwningApplications []*KubernetesK8sApplication `json:"owningApplications"`

	// phase
	Phase string `json:"phase,omitempty"`

	// resources requests
	ResourcesRequests V1ResourceList `json:"resourcesRequests,omitempty"`

	// storage
	Storage int64 `json:"storage,omitempty"`

	// storage class
	StorageClass string `json:"storageClass,omitempty"`

	// volume mode
	VolumeMode string `json:"volumeMode,omitempty"`

	// volume name
	VolumeName string `json:"volumeName,omitempty"`
}

KubernetesK8sPersistentVolumeClaim kubernetes k8s persistent volume claim

swagger:model kubernetes.K8sPersistentVolumeClaim

func (*KubernetesK8sPersistentVolumeClaim) ContextValidate

func (m *KubernetesK8sPersistentVolumeClaim) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s persistent volume claim based on the context it is used

func (*KubernetesK8sPersistentVolumeClaim) MarshalBinary

func (m *KubernetesK8sPersistentVolumeClaim) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sPersistentVolumeClaim) UnmarshalBinary

func (m *KubernetesK8sPersistentVolumeClaim) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sPersistentVolumeClaim) Validate

Validate validates this kubernetes k8s persistent volume claim

type KubernetesK8sResourceQuota

type KubernetesK8sResourceQuota struct {

	// cpu
	CPU string `json:"cpu,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// memory
	Memory string `json:"memory,omitempty"`
}

KubernetesK8sResourceQuota kubernetes k8s resource quota

swagger:model kubernetes.K8sResourceQuota

func (*KubernetesK8sResourceQuota) ContextValidate

func (m *KubernetesK8sResourceQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s resource quota based on context it is used

func (*KubernetesK8sResourceQuota) MarshalBinary

func (m *KubernetesK8sResourceQuota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sResourceQuota) UnmarshalBinary

func (m *KubernetesK8sResourceQuota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sResourceQuota) Validate

func (m *KubernetesK8sResourceQuota) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s resource quota

type KubernetesK8sRole

type KubernetesK8sRole struct {

	// creation date
	CreationDate string `json:"creationDate,omitempty"`

	// isSystem is true if prefixed with "system:" or exists in the kube-system namespace
	// or is one of the portainer roles
	IsSystem bool `json:"isSystem,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	UID string `json:"uid,omitempty"`
}

KubernetesK8sRole kubernetes k8s role

swagger:model kubernetes.K8sRole

func (*KubernetesK8sRole) ContextValidate

func (m *KubernetesK8sRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s role based on context it is used

func (*KubernetesK8sRole) MarshalBinary

func (m *KubernetesK8sRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sRole) UnmarshalBinary

func (m *KubernetesK8sRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sRole) Validate

func (m *KubernetesK8sRole) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s role

type KubernetesK8sRoleBinding

type KubernetesK8sRoleBinding struct {

	// creation date
	CreationDate string `json:"creationDate,omitempty"`

	// is system
	IsSystem bool `json:"isSystem,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// role ref
	RoleRef *V1RoleRef `json:"roleRef,omitempty"`

	// subjects
	Subjects []*V1Subject `json:"subjects"`

	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	UID string `json:"uid,omitempty"`
}

KubernetesK8sRoleBinding kubernetes k8s role binding

swagger:model kubernetes.K8sRoleBinding

func (*KubernetesK8sRoleBinding) ContextValidate

func (m *KubernetesK8sRoleBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s role binding based on the context it is used

func (*KubernetesK8sRoleBinding) MarshalBinary

func (m *KubernetesK8sRoleBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sRoleBinding) UnmarshalBinary

func (m *KubernetesK8sRoleBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sRoleBinding) Validate

func (m *KubernetesK8sRoleBinding) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s role binding

type KubernetesK8sRoleBindingDeleteRequests

type KubernetesK8sRoleBindingDeleteRequests map[string][]string

KubernetesK8sRoleBindingDeleteRequests kubernetes k8s role binding delete requests

swagger:model kubernetes.K8sRoleBindingDeleteRequests

func (KubernetesK8sRoleBindingDeleteRequests) ContextValidate

ContextValidate validates this kubernetes k8s role binding delete requests based on context it is used

func (KubernetesK8sRoleBindingDeleteRequests) Validate

Validate validates this kubernetes k8s role binding delete requests

type KubernetesK8sRoleDeleteRequests

type KubernetesK8sRoleDeleteRequests map[string][]string

KubernetesK8sRoleDeleteRequests kubernetes k8s role delete requests

swagger:model kubernetes.K8sRoleDeleteRequests

func (KubernetesK8sRoleDeleteRequests) ContextValidate

func (m KubernetesK8sRoleDeleteRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s role delete requests based on context it is used

func (KubernetesK8sRoleDeleteRequests) Validate

Validate validates this kubernetes k8s role delete requests

type KubernetesK8sSecret

type KubernetesK8sSecret struct {

	// annotations
	Annotations map[string]string `json:"Annotations,omitempty"`

	// configuration owner
	ConfigurationOwner string `json:"ConfigurationOwner,omitempty"`

	// configuration owner Id
	ConfigurationOwnerID string `json:"ConfigurationOwnerId,omitempty"`

	// configuration owners
	ConfigurationOwners []*KubernetesK8sConfigurationOwnerResource `json:"ConfigurationOwners"`

	// creation date
	CreationDate string `json:"CreationDate,omitempty"`

	// data
	Data map[string]string `json:"Data,omitempty"`

	// is used
	IsUsed bool `json:"IsUsed,omitempty"`

	// labels
	Labels map[string]string `json:"Labels,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// namespace
	Namespace string `json:"Namespace,omitempty"`

	// secret type
	SecretType string `json:"SecretType,omitempty"`

	// UID
	UID string `json:"UID,omitempty"`
}

KubernetesK8sSecret kubernetes k8s secret

swagger:model kubernetes.K8sSecret

func (*KubernetesK8sSecret) ContextValidate

func (m *KubernetesK8sSecret) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s secret based on the context it is used

func (*KubernetesK8sSecret) MarshalBinary

func (m *KubernetesK8sSecret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sSecret) UnmarshalBinary

func (m *KubernetesK8sSecret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sSecret) Validate

func (m *KubernetesK8sSecret) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s secret

type KubernetesK8sServiceAccount

type KubernetesK8sServiceAccount struct {

	// creation date
	CreationDate string `json:"creationDate,omitempty"`

	// is system
	IsSystem bool `json:"isSystem,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	UID string `json:"uid,omitempty"`
}

KubernetesK8sServiceAccount kubernetes k8s service account

swagger:model kubernetes.K8sServiceAccount

func (*KubernetesK8sServiceAccount) ContextValidate

func (m *KubernetesK8sServiceAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s service account based on context it is used

func (*KubernetesK8sServiceAccount) MarshalBinary

func (m *KubernetesK8sServiceAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sServiceAccount) UnmarshalBinary

func (m *KubernetesK8sServiceAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sServiceAccount) Validate

func (m *KubernetesK8sServiceAccount) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s service account

type KubernetesK8sServiceAccountDeleteRequests

type KubernetesK8sServiceAccountDeleteRequests map[string][]string

KubernetesK8sServiceAccountDeleteRequests kubernetes k8s service account delete requests

swagger:model kubernetes.K8sServiceAccountDeleteRequests

func (KubernetesK8sServiceAccountDeleteRequests) ContextValidate

ContextValidate validates this kubernetes k8s service account delete requests based on context it is used

func (KubernetesK8sServiceAccountDeleteRequests) Validate

Validate validates this kubernetes k8s service account delete requests

type KubernetesK8sServiceDeleteRequests

type KubernetesK8sServiceDeleteRequests map[string][]string

KubernetesK8sServiceDeleteRequests kubernetes k8s service delete requests

swagger:model kubernetes.K8sServiceDeleteRequests

func (KubernetesK8sServiceDeleteRequests) ContextValidate

func (m KubernetesK8sServiceDeleteRequests) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s service delete requests based on context it is used

func (KubernetesK8sServiceDeleteRequests) Validate

Validate validates this kubernetes k8s service delete requests

type KubernetesK8sServiceInfo

type KubernetesK8sServiceInfo struct {

	// allocate load balancer node ports
	AllocateLoadBalancerNodePorts bool `json:"allocateLoadBalancerNodePorts,omitempty"`

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// serviceList screen
	Applications []*KubernetesK8sApplication `json:"applications"`

	// cluster i ps
	ClusterIPs []string `json:"clusterIPs"`

	// creation date
	CreationDate string `json:"creationDate,omitempty"`

	// external i ps
	ExternalIPs []string `json:"externalIPs"`

	// external name
	ExternalName string `json:"externalName,omitempty"`

	// ingress status
	IngressStatus []*KubernetesK8sServiceIngress `json:"ingressStatus"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// ports
	Ports []*KubernetesK8sServicePort `json:"ports"`

	// selector
	Selector map[string]string `json:"selector,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// uid
	UID string `json:"uid,omitempty"`
}

KubernetesK8sServiceInfo kubernetes k8s service info

swagger:model kubernetes.K8sServiceInfo

func (*KubernetesK8sServiceInfo) ContextValidate

func (m *KubernetesK8sServiceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s service info based on the context it is used

func (*KubernetesK8sServiceInfo) MarshalBinary

func (m *KubernetesK8sServiceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sServiceInfo) UnmarshalBinary

func (m *KubernetesK8sServiceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sServiceInfo) Validate

func (m *KubernetesK8sServiceInfo) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s service info

type KubernetesK8sServiceIngress

type KubernetesK8sServiceIngress struct {

	// hostname
	Hostname string `json:"Hostname,omitempty"`

	// IP
	IP string `json:"IP,omitempty"`
}

KubernetesK8sServiceIngress kubernetes k8s service ingress

swagger:model kubernetes.K8sServiceIngress

func (*KubernetesK8sServiceIngress) ContextValidate

func (m *KubernetesK8sServiceIngress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s service ingress based on context it is used

func (*KubernetesK8sServiceIngress) MarshalBinary

func (m *KubernetesK8sServiceIngress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sServiceIngress) UnmarshalBinary

func (m *KubernetesK8sServiceIngress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sServiceIngress) Validate

func (m *KubernetesK8sServiceIngress) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s service ingress

type KubernetesK8sServicePort

type KubernetesK8sServicePort struct {

	// name
	Name string `json:"Name,omitempty"`

	// node port
	NodePort int64 `json:"NodePort,omitempty"`

	// port
	Port int64 `json:"Port,omitempty"`

	// protocol
	Protocol string `json:"Protocol,omitempty"`

	// target port
	TargetPort string `json:"TargetPort,omitempty"`
}

KubernetesK8sServicePort kubernetes k8s service port

swagger:model kubernetes.K8sServicePort

func (*KubernetesK8sServicePort) ContextValidate

func (m *KubernetesK8sServicePort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s service port based on context it is used

func (*KubernetesK8sServicePort) MarshalBinary

func (m *KubernetesK8sServicePort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sServicePort) UnmarshalBinary

func (m *KubernetesK8sServicePort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sServicePort) Validate

func (m *KubernetesK8sServicePort) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s service port

type KubernetesK8sStorageClass

type KubernetesK8sStorageClass struct {

	// allow volume expansion
	AllowVolumeExpansion bool `json:"allowVolumeExpansion,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// provisioner
	Provisioner string `json:"provisioner,omitempty"`

	// reclaim policy
	ReclaimPolicy string `json:"reclaimPolicy,omitempty"`
}

KubernetesK8sStorageClass kubernetes k8s storage class

swagger:model kubernetes.K8sStorageClass

func (*KubernetesK8sStorageClass) ContextValidate

func (m *KubernetesK8sStorageClass) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes k8s storage class based on context it is used

func (*KubernetesK8sStorageClass) MarshalBinary

func (m *KubernetesK8sStorageClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sStorageClass) UnmarshalBinary

func (m *KubernetesK8sStorageClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sStorageClass) Validate

func (m *KubernetesK8sStorageClass) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s storage class

type KubernetesK8sVolumeInfo

type KubernetesK8sVolumeInfo struct {

	// persistent volume
	PersistentVolume *KubernetesK8sPersistentVolume `json:"persistentVolume,omitempty"`

	// persistent volume claim
	PersistentVolumeClaim *KubernetesK8sPersistentVolumeClaim `json:"persistentVolumeClaim,omitempty"`

	// storage class
	StorageClass *KubernetesK8sStorageClass `json:"storageClass,omitempty"`
}

KubernetesK8sVolumeInfo kubernetes k8s volume info

swagger:model kubernetes.K8sVolumeInfo

func (*KubernetesK8sVolumeInfo) ContextValidate

func (m *KubernetesK8sVolumeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes k8s volume info based on the context it is used

func (*KubernetesK8sVolumeInfo) MarshalBinary

func (m *KubernetesK8sVolumeInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesK8sVolumeInfo) UnmarshalBinary

func (m *KubernetesK8sVolumeInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesK8sVolumeInfo) Validate

func (m *KubernetesK8sVolumeInfo) Validate(formats strfmt.Registry) error

Validate validates this kubernetes k8s volume info

type KubernetesMetadata

type KubernetesMetadata struct {

	// labels
	Labels map[string]string `json:"labels,omitempty"`
}

KubernetesMetadata kubernetes metadata

swagger:model kubernetes.Metadata

func (*KubernetesMetadata) ContextValidate

func (m *KubernetesMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes metadata based on context it is used

func (*KubernetesMetadata) MarshalBinary

func (m *KubernetesMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesMetadata) UnmarshalBinary

func (m *KubernetesMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesMetadata) Validate

func (m *KubernetesMetadata) Validate(formats strfmt.Registry) error

Validate validates this kubernetes metadata

type KubernetesNamespacesToggleSystemPayload

type KubernetesNamespacesToggleSystemPayload struct {

	// Toggle the system state of this namespace to true or false
	// Example: true
	System bool `json:"system,omitempty"`
}

KubernetesNamespacesToggleSystemPayload kubernetes namespaces toggle system payload

swagger:model kubernetes.namespacesToggleSystemPayload

func (*KubernetesNamespacesToggleSystemPayload) ContextValidate

ContextValidate validates this kubernetes namespaces toggle system payload based on context it is used

func (*KubernetesNamespacesToggleSystemPayload) MarshalBinary

func (m *KubernetesNamespacesToggleSystemPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesNamespacesToggleSystemPayload) UnmarshalBinary

func (m *KubernetesNamespacesToggleSystemPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesNamespacesToggleSystemPayload) Validate

Validate validates this kubernetes namespaces toggle system payload

type KubernetesPod

type KubernetesPod struct {

	// container name
	ContainerName string `json:"ContainerName,omitempty"`

	// creation date
	CreationDate string `json:"CreationDate,omitempty"`

	// image
	Image string `json:"Image,omitempty"`

	// image pull policy
	ImagePullPolicy string `json:"ImagePullPolicy,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// node name
	NodeName string `json:"NodeName,omitempty"`

	// pod IP
	PodIP string `json:"PodIP,omitempty"`

	// resource
	Resource *KubernetesK8sApplicationResource `json:"Resource,omitempty"`

	// status
	Status string `json:"Status,omitempty"`

	// Uid
	UID string `json:"Uid,omitempty"`
}

KubernetesPod kubernetes pod

swagger:model kubernetes.Pod

func (*KubernetesPod) ContextValidate

func (m *KubernetesPod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes pod based on the context it is used

func (*KubernetesPod) MarshalBinary

func (m *KubernetesPod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesPod) UnmarshalBinary

func (m *KubernetesPod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesPod) Validate

func (m *KubernetesPod) Validate(formats strfmt.Registry) error

Validate validates this kubernetes pod

type KubernetesPublishedPort

type KubernetesPublishedPort struct {

	// ingress rules
	IngressRules []*KubernetesIngressRule `json:"IngressRules"`

	// port
	Port int64 `json:"Port,omitempty"`
}

KubernetesPublishedPort kubernetes published port

swagger:model kubernetes.PublishedPort

func (*KubernetesPublishedPort) ContextValidate

func (m *KubernetesPublishedPort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubernetes published port based on the context it is used

func (*KubernetesPublishedPort) MarshalBinary

func (m *KubernetesPublishedPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesPublishedPort) UnmarshalBinary

func (m *KubernetesPublishedPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesPublishedPort) Validate

func (m *KubernetesPublishedPort) Validate(formats strfmt.Registry) error

Validate validates this kubernetes published port

type KubernetesTLSInfo

type KubernetesTLSInfo struct {

	// hosts
	Hosts []string `json:"hosts"`
}

KubernetesTLSInfo kubernetes TLS info

swagger:model kubernetes.TLSInfo

func (*KubernetesTLSInfo) ContextValidate

func (m *KubernetesTLSInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes TLS info based on context it is used

func (*KubernetesTLSInfo) MarshalBinary

func (m *KubernetesTLSInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KubernetesTLSInfo) UnmarshalBinary

func (m *KubernetesTLSInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KubernetesTLSInfo) Validate

func (m *KubernetesTLSInfo) Validate(formats strfmt.Registry) error

Validate validates this kubernetes TLS info

type LdapAdminGroupsPayload

type LdapAdminGroupsPayload struct {

	// ldapsettings
	Ldapsettings *PortainereeLDAPSettings `json:"ldapsettings,omitempty"`
}

LdapAdminGroupsPayload ldap admin groups payload

swagger:model ldap.adminGroupsPayload

func (*LdapAdminGroupsPayload) ContextValidate

func (m *LdapAdminGroupsPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ldap admin groups payload based on the context it is used

func (*LdapAdminGroupsPayload) MarshalBinary

func (m *LdapAdminGroupsPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapAdminGroupsPayload) UnmarshalBinary

func (m *LdapAdminGroupsPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapAdminGroupsPayload) Validate

func (m *LdapAdminGroupsPayload) Validate(formats strfmt.Registry) error

Validate validates this ldap admin groups payload

type LdapCheckPayload

type LdapCheckPayload struct {

	// ldapsettings
	Ldapsettings *PortainereeLDAPSettings `json:"ldapsettings,omitempty"`
}

LdapCheckPayload ldap check payload

swagger:model ldap.checkPayload

func (*LdapCheckPayload) ContextValidate

func (m *LdapCheckPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ldap check payload based on the context it is used

func (*LdapCheckPayload) MarshalBinary

func (m *LdapCheckPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapCheckPayload) UnmarshalBinary

func (m *LdapCheckPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapCheckPayload) Validate

func (m *LdapCheckPayload) Validate(formats strfmt.Registry) error

Validate validates this ldap check payload

type LdapGroupsPayload

type LdapGroupsPayload struct {

	// ldapsettings
	Ldapsettings *PortainereeLDAPSettings `json:"ldapsettings,omitempty"`
}

LdapGroupsPayload ldap groups payload

swagger:model ldap.groupsPayload

func (*LdapGroupsPayload) ContextValidate

func (m *LdapGroupsPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ldap groups payload based on the context it is used

func (*LdapGroupsPayload) MarshalBinary

func (m *LdapGroupsPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapGroupsPayload) UnmarshalBinary

func (m *LdapGroupsPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapGroupsPayload) Validate

func (m *LdapGroupsPayload) Validate(formats strfmt.Registry) error

Validate validates this ldap groups payload

type LdapTestLoginPayload

type LdapTestLoginPayload struct {

	// ldapsettings
	Ldapsettings *PortainereeLDAPSettings `json:"ldapsettings,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

LdapTestLoginPayload ldap test login payload

swagger:model ldap.testLoginPayload

func (*LdapTestLoginPayload) ContextValidate

func (m *LdapTestLoginPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ldap test login payload based on the context it is used

func (*LdapTestLoginPayload) MarshalBinary

func (m *LdapTestLoginPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapTestLoginPayload) UnmarshalBinary

func (m *LdapTestLoginPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapTestLoginPayload) Validate

func (m *LdapTestLoginPayload) Validate(formats strfmt.Registry) error

Validate validates this ldap test login payload

type LdapTestLoginResponse

type LdapTestLoginResponse struct {

	// valid
	Valid bool `json:"valid,omitempty"`
}

LdapTestLoginResponse ldap test login response

swagger:model ldap.testLoginResponse

func (*LdapTestLoginResponse) ContextValidate

func (m *LdapTestLoginResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ldap test login response based on context it is used

func (*LdapTestLoginResponse) MarshalBinary

func (m *LdapTestLoginResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapTestLoginResponse) UnmarshalBinary

func (m *LdapTestLoginResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapTestLoginResponse) Validate

func (m *LdapTestLoginResponse) Validate(formats strfmt.Registry) error

Validate validates this ldap test login response

type LdapUsersPayload

type LdapUsersPayload struct {

	// ldapsettings
	Ldapsettings *PortainereeLDAPSettings `json:"ldapsettings,omitempty"`
}

LdapUsersPayload ldap users payload

swagger:model ldap.usersPayload

func (*LdapUsersPayload) ContextValidate

func (m *LdapUsersPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ldap users payload based on the context it is used

func (*LdapUsersPayload) MarshalBinary

func (m *LdapUsersPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapUsersPayload) UnmarshalBinary

func (m *LdapUsersPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapUsersPayload) Validate

func (m *LdapUsersPayload) Validate(formats strfmt.Registry) error

Validate validates this ldap users payload

type LiblicensePortainerLicense

type LiblicensePortainerLicense struct {

	// company
	Company string `json:"company,omitempty"`

	// created
	Created int64 `json:"created,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// expires after
	ExpiresAfter int64 `json:"expiresAfter,omitempty"`

	// expires at
	ExpiresAt int64 `json:"expiresAt,omitempty"`

	// first checkin
	FirstCheckin int64 `json:"firstCheckin,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last checkin
	LastCheckin int64 `json:"lastCheckin,omitempty"`

	// license key
	LicenseKey string `json:"licenseKey,omitempty"`

	// multi checkin count
	MultiCheckinCount int64 `json:"multiCheckinCount,omitempty"`

	// multiuse instances count
	MultiuseInstancesCount int64 `json:"multiuseInstancesCount,omitempty"`

	// nodes
	Nodes int64 `json:"nodes,omitempty"`

	// ProductEdition was created originally with plans on having a
	// seperate portainer product for Enterprise users and Business users
	// with differing features. This didn't wind up coming about, but may
	// still serve useful in the future if we need to issue keys for a
	// different product entirely.
	// Originally, the ProductEdition was used as the prefix for generating
	// license keys, but in practice most people thought it was the
	// "version" due to us having the original extension licenses which can
	// be thought of as the true version 1 licenses.
	ProductEdition int64 `json:"productEdition,omitempty"`

	// redis ref
	RedisRef string `json:"redisRef,omitempty"`

	// reference
	Reference string `json:"reference,omitempty"`

	// revoked
	Revoked bool `json:"revoked,omitempty"`

	// revoked at
	RevokedAt int64 `json:"revokedAt,omitempty"`

	// Type is used to distinguish different kinds of licenses, trial
	// licenses, enterprise subscriptions
	Type int64 `json:"type,omitempty"`

	// unique Id
	UniqueID string `json:"uniqueId,omitempty"`

	// Version indicates which key should be used to encode/decode the
	// license string.
	Version int64 `json:"version,omitempty"`
}

LiblicensePortainerLicense liblicense portainer license

swagger:model liblicense.PortainerLicense

func (*LiblicensePortainerLicense) ContextValidate

func (m *LiblicensePortainerLicense) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this liblicense portainer license based on context it is used

func (*LiblicensePortainerLicense) MarshalBinary

func (m *LiblicensePortainerLicense) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LiblicensePortainerLicense) UnmarshalBinary

func (m *LiblicensePortainerLicense) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LiblicensePortainerLicense) Validate

func (m *LiblicensePortainerLicense) Validate(formats strfmt.Registry) error

Validate validates this liblicense portainer license

type LicensesAttachPayload

type LicensesAttachPayload struct {

	// key
	Key string `json:"key,omitempty"`
}

LicensesAttachPayload licenses attach payload

swagger:model licenses.attachPayload

func (*LicensesAttachPayload) ContextValidate

func (m *LicensesAttachPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this licenses attach payload based on context it is used

func (*LicensesAttachPayload) MarshalBinary

func (m *LicensesAttachPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LicensesAttachPayload) UnmarshalBinary

func (m *LicensesAttachPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LicensesAttachPayload) Validate

func (m *LicensesAttachPayload) Validate(formats strfmt.Registry) error

Validate validates this licenses attach payload

type LicensesAttachResponse

type LicensesAttachResponse struct {

	// conflicting keys
	ConflictingKeys []string `json:"conflictingKeys"`
}

LicensesAttachResponse licenses attach response

swagger:model licenses.attachResponse

func (*LicensesAttachResponse) ContextValidate

func (m *LicensesAttachResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this licenses attach response based on context it is used

func (*LicensesAttachResponse) MarshalBinary

func (m *LicensesAttachResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LicensesAttachResponse) UnmarshalBinary

func (m *LicensesAttachResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LicensesAttachResponse) Validate

func (m *LicensesAttachResponse) Validate(formats strfmt.Registry) error

Validate validates this licenses attach response

type LicensesDeletePayload

type LicensesDeletePayload struct {

	// List of license keys to remove
	LicenseKeys []string `json:"licenseKeys"`
}

LicensesDeletePayload licenses delete payload

swagger:model licenses.deletePayload

func (*LicensesDeletePayload) ContextValidate

func (m *LicensesDeletePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this licenses delete payload based on context it is used

func (*LicensesDeletePayload) MarshalBinary

func (m *LicensesDeletePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LicensesDeletePayload) UnmarshalBinary

func (m *LicensesDeletePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LicensesDeletePayload) Validate

func (m *LicensesDeletePayload) Validate(formats strfmt.Registry) error

Validate validates this licenses delete payload

type LicensesLicenseInfo

type LicensesLicenseInfo struct {

	// company
	Company string `json:"company,omitempty"`

	// enforced at
	EnforcedAt int64 `json:"enforcedAt,omitempty"`

	// expires at
	ExpiresAt int64 `json:"expiresAt,omitempty"`

	// nodes
	Nodes int64 `json:"nodes,omitempty"`

	// unix timestamp when node usage exceeded available license limit
	OveruseStartedTimestamp int64 `json:"overuseStartedTimestamp,omitempty"`

	// type
	Type int64 `json:"type,omitempty"`

	// valid
	Valid bool `json:"valid,omitempty"`
}

LicensesLicenseInfo licenses license info

swagger:model licenses.LicenseInfo

func (*LicensesLicenseInfo) ContextValidate

func (m *LicensesLicenseInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this licenses license info based on context it is used

func (*LicensesLicenseInfo) MarshalBinary

func (m *LicensesLicenseInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LicensesLicenseInfo) UnmarshalBinary

func (m *LicensesLicenseInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LicensesLicenseInfo) Validate

func (m *LicensesLicenseInfo) Validate(formats strfmt.Registry) error

Validate validates this licenses license info

type ModelsCloudCredential

type ModelsCloudCredential struct {

	// created
	// Example: 1650000000
	Created int64 `json:"created,omitempty"`

	// credentials
	Credentials ModelsCloudCredentialMap `json:"credentials,omitempty"`

	// id
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// name
	// Example: test-env
	Name string `json:"name,omitempty"`

	// provider
	// Example: aws
	Provider string `json:"provider,omitempty"`
}

ModelsCloudCredential models cloud credential

swagger:model models.CloudCredential

func (*ModelsCloudCredential) ContextValidate

func (m *ModelsCloudCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models cloud credential based on the context it is used

func (*ModelsCloudCredential) MarshalBinary

func (m *ModelsCloudCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsCloudCredential) UnmarshalBinary

func (m *ModelsCloudCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsCloudCredential) Validate

func (m *ModelsCloudCredential) Validate(formats strfmt.Registry) error

Validate validates this models cloud credential

type ModelsCloudCredentialMap

type ModelsCloudCredentialMap map[string]string

ModelsCloudCredentialMap models cloud credential map

swagger:model models.CloudCredentialMap

func (ModelsCloudCredentialMap) ContextValidate

func (m ModelsCloudCredentialMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models cloud credential map based on context it is used

func (ModelsCloudCredentialMap) Validate

func (m ModelsCloudCredentialMap) Validate(formats strfmt.Registry) error

Validate validates this models cloud credential map

type ModelsK8sDashboard

type ModelsK8sDashboard struct {

	// applications count
	ApplicationsCount int64 `json:"applicationsCount,omitempty"`

	// config maps count
	ConfigMapsCount int64 `json:"configMapsCount,omitempty"`

	// ingresses count
	IngressesCount int64 `json:"ingressesCount,omitempty"`

	// namespaces count
	NamespacesCount int64 `json:"namespacesCount,omitempty"`

	// secrets count
	SecretsCount int64 `json:"secretsCount,omitempty"`

	// services count
	ServicesCount int64 `json:"servicesCount,omitempty"`

	// volumes count
	VolumesCount int64 `json:"volumesCount,omitempty"`
}

ModelsK8sDashboard models k8s dashboard

swagger:model models.K8sDashboard

func (*ModelsK8sDashboard) ContextValidate

func (m *ModelsK8sDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models k8s dashboard based on context it is used

func (*ModelsK8sDashboard) MarshalBinary

func (m *ModelsK8sDashboard) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsK8sDashboard) UnmarshalBinary

func (m *ModelsK8sDashboard) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsK8sDashboard) Validate

func (m *ModelsK8sDashboard) Validate(formats strfmt.Registry) error

Validate validates this models k8s dashboard

type ModelsK8sLoadBalancerQuota

type ModelsK8sLoadBalancerQuota struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// limit
	Limit int64 `json:"limit,omitempty"`
}

ModelsK8sLoadBalancerQuota models k8s load balancer quota

swagger:model models.K8sLoadBalancerQuota

func (*ModelsK8sLoadBalancerQuota) ContextValidate

func (m *ModelsK8sLoadBalancerQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models k8s load balancer quota based on context it is used

func (*ModelsK8sLoadBalancerQuota) MarshalBinary

func (m *ModelsK8sLoadBalancerQuota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsK8sLoadBalancerQuota) UnmarshalBinary

func (m *ModelsK8sLoadBalancerQuota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsK8sLoadBalancerQuota) Validate

func (m *ModelsK8sLoadBalancerQuota) Validate(formats strfmt.Registry) error

Validate validates this models k8s load balancer quota

type ModelsK8sNamespaceDetails

type ModelsK8sNamespaceDetails struct {

	// annotations
	Annotations map[string]string `json:"Annotations,omitempty"`

	// load balancer quota
	LoadBalancerQuota *ModelsK8sLoadBalancerQuota `json:"LoadBalancerQuota,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// owner
	Owner string `json:"Owner,omitempty"`

	// resource quota
	ResourceQuota *ModelsK8sResourceQuota `json:"ResourceQuota,omitempty"`

	// storage quotas
	StorageQuotas map[string]ModelsK8sStorageQuota `json:"StorageQuotas,omitempty"`
}

ModelsK8sNamespaceDetails models k8s namespace details

swagger:model models.K8sNamespaceDetails

func (*ModelsK8sNamespaceDetails) ContextValidate

func (m *ModelsK8sNamespaceDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this models k8s namespace details based on the context it is used

func (*ModelsK8sNamespaceDetails) MarshalBinary

func (m *ModelsK8sNamespaceDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsK8sNamespaceDetails) UnmarshalBinary

func (m *ModelsK8sNamespaceDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsK8sNamespaceDetails) Validate

func (m *ModelsK8sNamespaceDetails) Validate(formats strfmt.Registry) error

Validate validates this models k8s namespace details

type ModelsK8sResourceQuota

type ModelsK8sResourceQuota struct {

	// cpu limit
	CPULimit string `json:"cpuLimit,omitempty"`

	// cpu request
	CPURequest string `json:"cpuRequest,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// memory limit
	MemoryLimit string `json:"memoryLimit,omitempty"`

	// memory request
	MemoryRequest string `json:"memoryRequest,omitempty"`
}

ModelsK8sResourceQuota models k8s resource quota

swagger:model models.K8sResourceQuota

func (*ModelsK8sResourceQuota) ContextValidate

func (m *ModelsK8sResourceQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models k8s resource quota based on context it is used

func (*ModelsK8sResourceQuota) MarshalBinary

func (m *ModelsK8sResourceQuota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsK8sResourceQuota) UnmarshalBinary

func (m *ModelsK8sResourceQuota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsK8sResourceQuota) Validate

func (m *ModelsK8sResourceQuota) Validate(formats strfmt.Registry) error

Validate validates this models k8s resource quota

type ModelsK8sStorageQuota

type ModelsK8sStorageQuota struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// limit
	Limit string `json:"limit,omitempty"`
}

ModelsK8sStorageQuota models k8s storage quota

swagger:model models.K8sStorageQuota

func (*ModelsK8sStorageQuota) ContextValidate

func (m *ModelsK8sStorageQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models k8s storage quota based on context it is used

func (*ModelsK8sStorageQuota) MarshalBinary

func (m *ModelsK8sStorageQuota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsK8sStorageQuota) UnmarshalBinary

func (m *ModelsK8sStorageQuota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsK8sStorageQuota) Validate

func (m *ModelsK8sStorageQuota) Validate(formats strfmt.Registry) error

Validate validates this models k8s storage quota

type ModelsSSHKeyPair

type ModelsSSHKeyPair struct {

	// private
	Private string `json:"private,omitempty"`

	// public
	Public string `json:"public,omitempty"`
}

ModelsSSHKeyPair models SSH key pair

swagger:model models.SSHKeyPair

func (*ModelsSSHKeyPair) ContextValidate

func (m *ModelsSSHKeyPair) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this models SSH key pair based on context it is used

func (*ModelsSSHKeyPair) MarshalBinary

func (m *ModelsSSHKeyPair) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsSSHKeyPair) UnmarshalBinary

func (m *ModelsSSHKeyPair) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsSSHKeyPair) Validate

func (m *ModelsSSHKeyPair) Validate(formats strfmt.Registry) error

Validate validates this models SSH key pair

type MotdMotdResponse

type MotdMotdResponse struct {

	// content layout
	ContentLayout map[string]string `json:"ContentLayout,omitempty"`

	// hash
	Hash []int64 `json:"Hash"`

	// message
	Message string `json:"Message,omitempty"`

	// style
	Style string `json:"Style,omitempty"`

	// title
	Title string `json:"Title,omitempty"`
}

MotdMotdResponse motd motd response

swagger:model motd.motdResponse

func (*MotdMotdResponse) ContextValidate

func (m *MotdMotdResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this motd motd response based on context it is used

func (*MotdMotdResponse) MarshalBinary

func (m *MotdMotdResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MotdMotdResponse) UnmarshalBinary

func (m *MotdMotdResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MotdMotdResponse) Validate

func (m *MotdMotdResponse) Validate(formats strfmt.Registry) error

Validate validates this motd motd response

type NetworkEndpointIPAMConfig

type NetworkEndpointIPAMConfig struct {

	// ipv4 address
	IPV4Address string `json:"ipv4Address,omitempty"`

	// ipv6 address
	IPV6Address string `json:"ipv6Address,omitempty"`

	// link local i ps
	LinkLocalIPs []string `json:"linkLocalIPs"`
}

NetworkEndpointIPAMConfig network endpoint IP a m config

swagger:model network.EndpointIPAMConfig

func (*NetworkEndpointIPAMConfig) ContextValidate

func (m *NetworkEndpointIPAMConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network endpoint IP a m config based on context it is used

func (*NetworkEndpointIPAMConfig) MarshalBinary

func (m *NetworkEndpointIPAMConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkEndpointIPAMConfig) UnmarshalBinary

func (m *NetworkEndpointIPAMConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkEndpointIPAMConfig) Validate

func (m *NetworkEndpointIPAMConfig) Validate(formats strfmt.Registry) error

Validate validates this network endpoint IP a m config

type NetworkEndpointSettings

type NetworkEndpointSettings struct {

	// Aliases holds the list of extra, user-specified DNS names for this endpoint.
	Aliases []string `json:"aliases"`

	// DNSNames holds all the (non fully qualified) DNS names associated to this endpoint. First entry is used to
	// generate PTR records.
	Dnsnames []string `json:"dnsnames"`

	// driver opts
	DriverOpts map[string]string `json:"driverOpts,omitempty"`

	// endpoint ID
	EndpointID string `json:"endpointID,omitempty"`

	// gateway
	Gateway string `json:"gateway,omitempty"`

	// global IPv6 address
	GlobalIPV6Address string `json:"globalIPv6Address,omitempty"`

	// global IPv6 prefix len
	GlobalIPV6PrefixLen int64 `json:"globalIPv6PrefixLen,omitempty"`

	// GwPriority determines which endpoint will provide the default gateway
	// for the container. The endpoint with the highest priority will be used.
	// If multiple endpoints have the same priority, they are lexicographically
	// sorted based on their network name, and the one that sorts first is picked.
	GwPriority int64 `json:"gwPriority,omitempty"`

	// ipaddress
	Ipaddress string `json:"ipaddress,omitempty"`

	// Configurations
	Ipamconfig *NetworkEndpointIPAMConfig `json:"ipamconfig,omitempty"`

	// ipprefix len
	IpprefixLen int64 `json:"ipprefixLen,omitempty"`

	// ipv6 gateway
	IPV6Gateway string `json:"ipv6Gateway,omitempty"`

	// links
	Links []string `json:"links"`

	// MacAddress may be used to specify a MAC address when the container is created.
	// Once the container is running, it becomes operational data (it may contain a
	// generated address).
	MacAddress string `json:"macAddress,omitempty"`

	// Operational data
	NetworkID string `json:"networkID,omitempty"`
}

NetworkEndpointSettings network endpoint settings

swagger:model network.EndpointSettings

func (*NetworkEndpointSettings) ContextValidate

func (m *NetworkEndpointSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network endpoint settings based on the context it is used

func (*NetworkEndpointSettings) MarshalBinary

func (m *NetworkEndpointSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkEndpointSettings) UnmarshalBinary

func (m *NetworkEndpointSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkEndpointSettings) Validate

func (m *NetworkEndpointSettings) Validate(formats strfmt.Registry) error

Validate validates this network endpoint settings

type OpenamtDeviceActionPayload

type OpenamtDeviceActionPayload struct {

	// action
	Action string `json:"action,omitempty"`
}

OpenamtDeviceActionPayload openamt device action payload

swagger:model openamt.deviceActionPayload

func (*OpenamtDeviceActionPayload) ContextValidate

func (m *OpenamtDeviceActionPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openamt device action payload based on context it is used

func (*OpenamtDeviceActionPayload) MarshalBinary

func (m *OpenamtDeviceActionPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenamtDeviceActionPayload) UnmarshalBinary

func (m *OpenamtDeviceActionPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenamtDeviceActionPayload) Validate

func (m *OpenamtDeviceActionPayload) Validate(formats strfmt.Registry) error

Validate validates this openamt device action payload

type OpenamtDeviceFeaturesPayload

type OpenamtDeviceFeaturesPayload struct {

	// features
	Features *PortainerOpenAMTDeviceEnabledFeatures `json:"features,omitempty"`
}

OpenamtDeviceFeaturesPayload openamt device features payload

swagger:model openamt.deviceFeaturesPayload

func (*OpenamtDeviceFeaturesPayload) ContextValidate

func (m *OpenamtDeviceFeaturesPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this openamt device features payload based on the context it is used

func (*OpenamtDeviceFeaturesPayload) MarshalBinary

func (m *OpenamtDeviceFeaturesPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenamtDeviceFeaturesPayload) UnmarshalBinary

func (m *OpenamtDeviceFeaturesPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenamtDeviceFeaturesPayload) Validate

func (m *OpenamtDeviceFeaturesPayload) Validate(formats strfmt.Registry) error

Validate validates this openamt device features payload

type OpenamtOpenAMTConfigurePayload

type OpenamtOpenAMTConfigurePayload struct {

	// cert file content
	CertFileContent string `json:"certFileContent,omitempty"`

	// cert file name
	CertFileName string `json:"certFileName,omitempty"`

	// cert file password
	CertFilePassword string `json:"certFilePassword,omitempty"`

	// domain name
	DomainName string `json:"domainName,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// mpspassword
	Mpspassword string `json:"mpspassword,omitempty"`

	// mpsserver
	Mpsserver string `json:"mpsserver,omitempty"`

	// mpsuser
	Mpsuser string `json:"mpsuser,omitempty"`
}

OpenamtOpenAMTConfigurePayload openamt open a m t configure payload

swagger:model openamt.openAMTConfigurePayload

func (*OpenamtOpenAMTConfigurePayload) ContextValidate

func (m *OpenamtOpenAMTConfigurePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openamt open a m t configure payload based on context it is used

func (*OpenamtOpenAMTConfigurePayload) MarshalBinary

func (m *OpenamtOpenAMTConfigurePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenamtOpenAMTConfigurePayload) UnmarshalBinary

func (m *OpenamtOpenAMTConfigurePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenamtOpenAMTConfigurePayload) Validate

func (m *OpenamtOpenAMTConfigurePayload) Validate(formats strfmt.Registry) error

Validate validates this openamt open a m t configure payload

type PodsecurityPodSecurityAllowFlexVolumes

type PodsecurityPodSecurityAllowFlexVolumes struct {

	// allowed volumes
	AllowedVolumes []string `json:"allowedVolumes"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecurityAllowFlexVolumes podsecurity pod security allow flex volumes

swagger:model podsecurity.PodSecurityAllowFlexVolumes

func (*PodsecurityPodSecurityAllowFlexVolumes) ContextValidate

ContextValidate validates this podsecurity pod security allow flex volumes based on context it is used

func (*PodsecurityPodSecurityAllowFlexVolumes) MarshalBinary

func (m *PodsecurityPodSecurityAllowFlexVolumes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowFlexVolumes) UnmarshalBinary

func (m *PodsecurityPodSecurityAllowFlexVolumes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowFlexVolumes) Validate

Validate validates this podsecurity pod security allow flex volumes

type PodsecurityPodSecurityAllowPrivilegeEscalation

type PodsecurityPodSecurityAllowPrivilegeEscalation struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecurityAllowPrivilegeEscalation podsecurity pod security allow privilege escalation

swagger:model podsecurity.PodSecurityAllowPrivilegeEscalation

func (*PodsecurityPodSecurityAllowPrivilegeEscalation) ContextValidate

ContextValidate validates this podsecurity pod security allow privilege escalation based on context it is used

func (*PodsecurityPodSecurityAllowPrivilegeEscalation) MarshalBinary

MarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowPrivilegeEscalation) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowPrivilegeEscalation) Validate

Validate validates this podsecurity pod security allow privilege escalation

type PodsecurityPodSecurityAllowProcMount

type PodsecurityPodSecurityAllowProcMount struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// proc mount type
	ProcMountType string `json:"procMountType,omitempty"`
}

PodsecurityPodSecurityAllowProcMount podsecurity pod security allow proc mount

swagger:model podsecurity.PodSecurityAllowProcMount

func (*PodsecurityPodSecurityAllowProcMount) ContextValidate

func (m *PodsecurityPodSecurityAllowProcMount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this podsecurity pod security allow proc mount based on context it is used

func (*PodsecurityPodSecurityAllowProcMount) MarshalBinary

func (m *PodsecurityPodSecurityAllowProcMount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowProcMount) UnmarshalBinary

func (m *PodsecurityPodSecurityAllowProcMount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowProcMount) Validate

Validate validates this podsecurity pod security allow proc mount

type PodsecurityPodSecurityAllowedCapabilities

type PodsecurityPodSecurityAllowedCapabilities struct {

	// level
	Level string `json:"level,omitempty"`

	// role
	Role string `json:"role,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// user
	User string `json:"user,omitempty"`
}

PodsecurityPodSecurityAllowedCapabilities podsecurity pod security allowed capabilities

swagger:model podsecurity.PodSecurityAllowedCapabilities

func (*PodsecurityPodSecurityAllowedCapabilities) ContextValidate

ContextValidate validates this podsecurity pod security allowed capabilities based on context it is used

func (*PodsecurityPodSecurityAllowedCapabilities) MarshalBinary

func (m *PodsecurityPodSecurityAllowedCapabilities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowedCapabilities) UnmarshalBinary

func (m *PodsecurityPodSecurityAllowedCapabilities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowedCapabilities) Validate

Validate validates this podsecurity pod security allowed capabilities

type PodsecurityPodSecurityAllowedPaths

type PodsecurityPodSecurityAllowedPaths struct {

	// path prefix
	PathPrefix string `json:"pathPrefix,omitempty"`

	// readonly
	Readonly bool `json:"readonly,omitempty"`
}

PodsecurityPodSecurityAllowedPaths podsecurity pod security allowed paths

swagger:model podsecurity.PodSecurityAllowedPaths

func (*PodsecurityPodSecurityAllowedPaths) ContextValidate

func (m *PodsecurityPodSecurityAllowedPaths) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this podsecurity pod security allowed paths based on context it is used

func (*PodsecurityPodSecurityAllowedPaths) MarshalBinary

func (m *PodsecurityPodSecurityAllowedPaths) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowedPaths) UnmarshalBinary

func (m *PodsecurityPodSecurityAllowedPaths) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityAllowedPaths) Validate

Validate validates this podsecurity pod security allowed paths

type PodsecurityPodSecurityAppArmour

type PodsecurityPodSecurityAppArmour struct {

	// app armor type
	AppArmorType []string `json:"AppArmorType"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecurityAppArmour podsecurity pod security app armour

swagger:model podsecurity.PodSecurityAppArmour

func (*PodsecurityPodSecurityAppArmour) ContextValidate

func (m *PodsecurityPodSecurityAppArmour) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this podsecurity pod security app armour based on context it is used

func (*PodsecurityPodSecurityAppArmour) MarshalBinary

func (m *PodsecurityPodSecurityAppArmour) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityAppArmour) UnmarshalBinary

func (m *PodsecurityPodSecurityAppArmour) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityAppArmour) Validate

Validate validates this podsecurity pod security app armour

type PodsecurityPodSecurityCapabilities

type PodsecurityPodSecurityCapabilities struct {

	// allowed capabilities
	AllowedCapabilities []string `json:"allowedCapabilities"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// required drop capabilities
	RequiredDropCapabilities []string `json:"requiredDropCapabilities"`
}

PodsecurityPodSecurityCapabilities podsecurity pod security capabilities

swagger:model podsecurity.PodSecurityCapabilities

func (*PodsecurityPodSecurityCapabilities) ContextValidate

func (m *PodsecurityPodSecurityCapabilities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this podsecurity pod security capabilities based on context it is used

func (*PodsecurityPodSecurityCapabilities) MarshalBinary

func (m *PodsecurityPodSecurityCapabilities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityCapabilities) UnmarshalBinary

func (m *PodsecurityPodSecurityCapabilities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityCapabilities) Validate

Validate validates this podsecurity pod security capabilities

type PodsecurityPodSecurityForbiddenSysctlsList

type PodsecurityPodSecurityForbiddenSysctlsList struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// required drop capabilities
	RequiredDropCapabilities []string `json:"requiredDropCapabilities"`
}

PodsecurityPodSecurityForbiddenSysctlsList podsecurity pod security forbidden sysctls list

swagger:model podsecurity.PodSecurityForbiddenSysctlsList

func (*PodsecurityPodSecurityForbiddenSysctlsList) ContextValidate

ContextValidate validates this podsecurity pod security forbidden sysctls list based on context it is used

func (*PodsecurityPodSecurityForbiddenSysctlsList) MarshalBinary

func (m *PodsecurityPodSecurityForbiddenSysctlsList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityForbiddenSysctlsList) UnmarshalBinary

func (m *PodsecurityPodSecurityForbiddenSysctlsList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityForbiddenSysctlsList) Validate

Validate validates this podsecurity pod security forbidden sysctls list

type PodsecurityPodSecurityFsGroups

type PodsecurityPodSecurityFsGroups struct {

	// idrange
	Idrange []*PodsecurityPodSecurityIdrange `json:"idrange"`

	// type
	Type string `json:"type,omitempty"`
}

PodsecurityPodSecurityFsGroups podsecurity pod security fs groups

swagger:model podsecurity.PodSecurityFsGroups

func (*PodsecurityPodSecurityFsGroups) ContextValidate

func (m *PodsecurityPodSecurityFsGroups) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this podsecurity pod security fs groups based on the context it is used

func (*PodsecurityPodSecurityFsGroups) MarshalBinary

func (m *PodsecurityPodSecurityFsGroups) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityFsGroups) UnmarshalBinary

func (m *PodsecurityPodSecurityFsGroups) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityFsGroups) Validate

func (m *PodsecurityPodSecurityFsGroups) Validate(formats strfmt.Registry) error

Validate validates this podsecurity pod security fs groups

type PodsecurityPodSecurityHostFilesystem

type PodsecurityPodSecurityHostFilesystem struct {

	// allowed paths
	AllowedPaths []*PodsecurityPodSecurityAllowedPaths `json:"allowedPaths"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecurityHostFilesystem podsecurity pod security host filesystem

swagger:model podsecurity.PodSecurityHostFilesystem

func (*PodsecurityPodSecurityHostFilesystem) ContextValidate

func (m *PodsecurityPodSecurityHostFilesystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this podsecurity pod security host filesystem based on the context it is used

func (*PodsecurityPodSecurityHostFilesystem) MarshalBinary

func (m *PodsecurityPodSecurityHostFilesystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityHostFilesystem) UnmarshalBinary

func (m *PodsecurityPodSecurityHostFilesystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityHostFilesystem) Validate

Validate validates this podsecurity pod security host filesystem

type PodsecurityPodSecurityHostNamespaces

type PodsecurityPodSecurityHostNamespaces struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecurityHostNamespaces podsecurity pod security host namespaces

swagger:model podsecurity.PodSecurityHostNamespaces

func (*PodsecurityPodSecurityHostNamespaces) ContextValidate

func (m *PodsecurityPodSecurityHostNamespaces) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this podsecurity pod security host namespaces based on context it is used

func (*PodsecurityPodSecurityHostNamespaces) MarshalBinary

func (m *PodsecurityPodSecurityHostNamespaces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityHostNamespaces) UnmarshalBinary

func (m *PodsecurityPodSecurityHostNamespaces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityHostNamespaces) Validate

Validate validates this podsecurity pod security host namespaces

type PodsecurityPodSecurityHostNetworkingPorts

type PodsecurityPodSecurityHostNetworkingPorts struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// host network
	HostNetwork bool `json:"hostNetwork,omitempty"`

	// max
	Max int64 `json:"max,omitempty"`

	// min
	Min int64 `json:"min,omitempty"`
}

PodsecurityPodSecurityHostNetworkingPorts podsecurity pod security host networking ports

swagger:model podsecurity.PodSecurityHostNetworkingPorts

func (*PodsecurityPodSecurityHostNetworkingPorts) ContextValidate

ContextValidate validates this podsecurity pod security host networking ports based on context it is used

func (*PodsecurityPodSecurityHostNetworkingPorts) MarshalBinary

func (m *PodsecurityPodSecurityHostNetworkingPorts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityHostNetworkingPorts) UnmarshalBinary

func (m *PodsecurityPodSecurityHostNetworkingPorts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityHostNetworkingPorts) Validate

Validate validates this podsecurity pod security host networking ports

type PodsecurityPodSecurityIdrange

type PodsecurityPodSecurityIdrange struct {

	// max
	Max int64 `json:"max,omitempty"`

	// min
	Min int64 `json:"min,omitempty"`
}

PodsecurityPodSecurityIdrange podsecurity pod security idrange

swagger:model podsecurity.PodSecurityIdrange

func (*PodsecurityPodSecurityIdrange) ContextValidate

func (m *PodsecurityPodSecurityIdrange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this podsecurity pod security idrange based on context it is used

func (*PodsecurityPodSecurityIdrange) MarshalBinary

func (m *PodsecurityPodSecurityIdrange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityIdrange) UnmarshalBinary

func (m *PodsecurityPodSecurityIdrange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityIdrange) Validate

func (m *PodsecurityPodSecurityIdrange) Validate(formats strfmt.Registry) error

Validate validates this podsecurity pod security idrange

type PodsecurityPodSecurityPrivilegedContainers

type PodsecurityPodSecurityPrivilegedContainers struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecurityPrivilegedContainers podsecurity pod security privileged containers

swagger:model podsecurity.PodSecurityPrivilegedContainers

func (*PodsecurityPodSecurityPrivilegedContainers) ContextValidate

ContextValidate validates this podsecurity pod security privileged containers based on context it is used

func (*PodsecurityPodSecurityPrivilegedContainers) MarshalBinary

func (m *PodsecurityPodSecurityPrivilegedContainers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityPrivilegedContainers) UnmarshalBinary

func (m *PodsecurityPodSecurityPrivilegedContainers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityPrivilegedContainers) Validate

Validate validates this podsecurity pod security privileged containers

type PodsecurityPodSecurityReadOnlyRootFileSystem

type PodsecurityPodSecurityReadOnlyRootFileSystem struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecurityReadOnlyRootFileSystem podsecurity pod security read only root file system

swagger:model podsecurity.PodSecurityReadOnlyRootFileSystem

func (*PodsecurityPodSecurityReadOnlyRootFileSystem) ContextValidate

ContextValidate validates this podsecurity pod security read only root file system based on context it is used

func (*PodsecurityPodSecurityReadOnlyRootFileSystem) MarshalBinary

MarshalBinary interface implementation

func (*PodsecurityPodSecurityReadOnlyRootFileSystem) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityReadOnlyRootFileSystem) Validate

Validate validates this podsecurity pod security read only root file system

type PodsecurityPodSecurityRule

type PodsecurityPodSecurityRule struct {

	// allow flex volumes
	AllowFlexVolumes *PodsecurityPodSecurityAllowFlexVolumes `json:"allowFlexVolumes,omitempty"`

	// allow privilege escalation
	AllowPrivilegeEscalation *PodsecurityPodSecurityAllowPrivilegeEscalation `json:"allowPrivilegeEscalation,omitempty"`

	// allow proc mount
	AllowProcMount *PodsecurityPodSecurityAllowProcMount `json:"allowProcMount,omitempty"`

	// app armor
	AppArmor *PodsecurityPodSecurityAppArmour `json:"appArmor,omitempty"`

	// capabilities
	Capabilities *PodsecurityPodSecurityCapabilities `json:"capabilities,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// end point ID
	EndPointID int64 `json:"endPointID,omitempty"`

	// forbidden sysctls list
	ForbiddenSysctlsList *PodsecurityPodSecurityForbiddenSysctlsList `json:"forbiddenSysctlsList,omitempty"`

	// host filesystem
	HostFilesystem *PodsecurityPodSecurityHostFilesystem `json:"hostFilesystem,omitempty"`

	// host namespaces
	HostNamespaces *PodsecurityPodSecurityHostNamespaces `json:"hostNamespaces,omitempty"`

	// host ports
	HostPorts *PodsecurityPodSecurityHostNetworkingPorts `json:"hostPorts,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// privileged containers
	PrivilegedContainers *PodsecurityPodSecurityPrivilegedContainers `json:"privilegedContainers,omitempty"`

	// read only root file system
	ReadOnlyRootFileSystem *PodsecurityPodSecurityReadOnlyRootFileSystem `json:"readOnlyRootFileSystem,omitempty"`

	// sec comp
	SecComp *PodsecurityPodSecuritySecComp `json:"secComp,omitempty"`

	// selinux
	Selinux *PodsecurityPodSecuritySelinux `json:"selinux,omitempty"`

	// users
	Users *PodsecurityPodSecurityUsers `json:"users,omitempty"`

	// volume types
	VolumeTypes *PodsecurityPodSecurityVolumeTypes `json:"volumeTypes,omitempty"`
}

PodsecurityPodSecurityRule podsecurity pod security rule

swagger:model podsecurity.PodSecurityRule

func (*PodsecurityPodSecurityRule) ContextValidate

func (m *PodsecurityPodSecurityRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this podsecurity pod security rule based on the context it is used

func (*PodsecurityPodSecurityRule) MarshalBinary

func (m *PodsecurityPodSecurityRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityRule) UnmarshalBinary

func (m *PodsecurityPodSecurityRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityRule) Validate

func (m *PodsecurityPodSecurityRule) Validate(formats strfmt.Registry) error

Validate validates this podsecurity pod security rule

type PodsecurityPodSecurityRunAsGroup

type PodsecurityPodSecurityRunAsGroup struct {

	// idrange
	Idrange []*PodsecurityPodSecurityIdrange `json:"idrange"`

	// type
	Type string `json:"type,omitempty"`
}

PodsecurityPodSecurityRunAsGroup podsecurity pod security run as group

swagger:model podsecurity.PodSecurityRunAsGroup

func (*PodsecurityPodSecurityRunAsGroup) ContextValidate

func (m *PodsecurityPodSecurityRunAsGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this podsecurity pod security run as group based on the context it is used

func (*PodsecurityPodSecurityRunAsGroup) MarshalBinary

func (m *PodsecurityPodSecurityRunAsGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityRunAsGroup) UnmarshalBinary

func (m *PodsecurityPodSecurityRunAsGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityRunAsGroup) Validate

Validate validates this podsecurity pod security run as group

type PodsecurityPodSecurityRunAsUser

type PodsecurityPodSecurityRunAsUser struct {

	// idrange
	Idrange []*PodsecurityPodSecurityIdrange `json:"idrange"`

	// type
	Type string `json:"type,omitempty"`
}

PodsecurityPodSecurityRunAsUser podsecurity pod security run as user

swagger:model podsecurity.PodSecurityRunAsUser

func (*PodsecurityPodSecurityRunAsUser) ContextValidate

func (m *PodsecurityPodSecurityRunAsUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this podsecurity pod security run as user based on the context it is used

func (*PodsecurityPodSecurityRunAsUser) MarshalBinary

func (m *PodsecurityPodSecurityRunAsUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityRunAsUser) UnmarshalBinary

func (m *PodsecurityPodSecurityRunAsUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityRunAsUser) Validate

Validate validates this podsecurity pod security run as user

type PodsecurityPodSecuritySecComp

type PodsecurityPodSecuritySecComp struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// sec comp type
	SecCompType []string `json:"secCompType"`
}

PodsecurityPodSecuritySecComp podsecurity pod security sec comp

swagger:model podsecurity.PodSecuritySecComp

func (*PodsecurityPodSecuritySecComp) ContextValidate

func (m *PodsecurityPodSecuritySecComp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this podsecurity pod security sec comp based on context it is used

func (*PodsecurityPodSecuritySecComp) MarshalBinary

func (m *PodsecurityPodSecuritySecComp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecuritySecComp) UnmarshalBinary

func (m *PodsecurityPodSecuritySecComp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecuritySecComp) Validate

func (m *PodsecurityPodSecuritySecComp) Validate(formats strfmt.Registry) error

Validate validates this podsecurity pod security sec comp

type PodsecurityPodSecuritySelinux

type PodsecurityPodSecuritySelinux struct {

	// allowed capabilities
	AllowedCapabilities []*PodsecurityPodSecurityAllowedCapabilities `json:"allowedCapabilities"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecuritySelinux podsecurity pod security selinux

swagger:model podsecurity.PodSecuritySelinux

func (*PodsecurityPodSecuritySelinux) ContextValidate

func (m *PodsecurityPodSecuritySelinux) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this podsecurity pod security selinux based on the context it is used

func (*PodsecurityPodSecuritySelinux) MarshalBinary

func (m *PodsecurityPodSecuritySelinux) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecuritySelinux) UnmarshalBinary

func (m *PodsecurityPodSecuritySelinux) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecuritySelinux) Validate

func (m *PodsecurityPodSecuritySelinux) Validate(formats strfmt.Registry) error

Validate validates this podsecurity pod security selinux

type PodsecurityPodSecuritySupplementalGroups

type PodsecurityPodSecuritySupplementalGroups struct {

	// idrange
	Idrange []*PodsecurityPodSecurityIdrange `json:"idrange"`

	// type
	Type string `json:"type,omitempty"`
}

PodsecurityPodSecuritySupplementalGroups podsecurity pod security supplemental groups

swagger:model podsecurity.PodSecuritySupplementalGroups

func (*PodsecurityPodSecuritySupplementalGroups) ContextValidate

ContextValidate validate this podsecurity pod security supplemental groups based on the context it is used

func (*PodsecurityPodSecuritySupplementalGroups) MarshalBinary

func (m *PodsecurityPodSecuritySupplementalGroups) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecuritySupplementalGroups) UnmarshalBinary

func (m *PodsecurityPodSecuritySupplementalGroups) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecuritySupplementalGroups) Validate

Validate validates this podsecurity pod security supplemental groups

type PodsecurityPodSecurityUsers

type PodsecurityPodSecurityUsers struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// fs groups
	FsGroups *PodsecurityPodSecurityFsGroups `json:"fsGroups,omitempty"`

	// run as group
	RunAsGroup *PodsecurityPodSecurityRunAsGroup `json:"runAsGroup,omitempty"`

	// run as user
	RunAsUser *PodsecurityPodSecurityRunAsUser `json:"runAsUser,omitempty"`

	// supplemental groups
	SupplementalGroups *PodsecurityPodSecuritySupplementalGroups `json:"supplementalGroups,omitempty"`
}

PodsecurityPodSecurityUsers podsecurity pod security users

swagger:model podsecurity.PodSecurityUsers

func (*PodsecurityPodSecurityUsers) ContextValidate

func (m *PodsecurityPodSecurityUsers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this podsecurity pod security users based on the context it is used

func (*PodsecurityPodSecurityUsers) MarshalBinary

func (m *PodsecurityPodSecurityUsers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityUsers) UnmarshalBinary

func (m *PodsecurityPodSecurityUsers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityUsers) Validate

func (m *PodsecurityPodSecurityUsers) Validate(formats strfmt.Registry) error

Validate validates this podsecurity pod security users

type PodsecurityPodSecurityVolumeTypes

type PodsecurityPodSecurityVolumeTypes struct {

	// allowed types
	AllowedTypes []string `json:"allowedTypes"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

PodsecurityPodSecurityVolumeTypes podsecurity pod security volume types

swagger:model podsecurity.PodSecurityVolumeTypes

func (*PodsecurityPodSecurityVolumeTypes) ContextValidate

func (m *PodsecurityPodSecurityVolumeTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this podsecurity pod security volume types based on context it is used

func (*PodsecurityPodSecurityVolumeTypes) MarshalBinary

func (m *PodsecurityPodSecurityVolumeTypes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodsecurityPodSecurityVolumeTypes) UnmarshalBinary

func (m *PodsecurityPodSecurityVolumeTypes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodsecurityPodSecurityVolumeTypes) Validate

Validate validates this podsecurity pod security volume types

type PortainerAPIKey

type PortainerAPIKey struct {

	// Unix timestamp (UTC) when the API key was created
	DateCreated int64 `json:"dateCreated,omitempty"`

	// description
	// Example: portainer-api-key
	Description string `json:"description,omitempty"`

	// Digest represents SHA256 hash of the raw API key
	Digest string `json:"digest,omitempty"`

	// id
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// Unix timestamp (UTC) when the API key was last used
	LastUsed int64 `json:"lastUsed,omitempty"`

	// API key identifier (7 char prefix)
	Prefix string `json:"prefix,omitempty"`

	// User Identifier
	// Example: 1
	UserID int64 `json:"userId,omitempty"`
}

PortainerAPIKey portainer API key

swagger:model portainer.APIKey

func (*PortainerAPIKey) ContextValidate

func (m *PortainerAPIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer API key based on context it is used

func (*PortainerAPIKey) MarshalBinary

func (m *PortainerAPIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerAPIKey) UnmarshalBinary

func (m *PortainerAPIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerAPIKey) Validate

func (m *PortainerAPIKey) Validate(formats strfmt.Registry) error

Validate validates this portainer API key

type PortainerAccessPolicy

type PortainerAccessPolicy struct {

	// Role identifier. Reference the role that will be associated to this access policy
	// Example: 1
	RoleID int64 `json:"RoleId,omitempty"`
}

PortainerAccessPolicy portainer access policy

swagger:model portainer.AccessPolicy

func (*PortainerAccessPolicy) ContextValidate

func (m *PortainerAccessPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer access policy based on context it is used

func (*PortainerAccessPolicy) MarshalBinary

func (m *PortainerAccessPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerAccessPolicy) UnmarshalBinary

func (m *PortainerAccessPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerAccessPolicy) Validate

func (m *PortainerAccessPolicy) Validate(formats strfmt.Registry) error

Validate validates this portainer access policy

type PortainerAuthorizations

type PortainerAuthorizations map[string]bool

PortainerAuthorizations portainer authorizations

swagger:model portainer.Authorizations

func (PortainerAuthorizations) ContextValidate

func (m PortainerAuthorizations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer authorizations based on context it is used

func (PortainerAuthorizations) Validate

func (m PortainerAuthorizations) Validate(formats strfmt.Registry) error

Validate validates this portainer authorizations

type PortainerAutoUpdateSettings

type PortainerAutoUpdateSettings struct {

	// Pull latest image
	// Example: false
	ForcePullImage bool `json:"forcePullImage,omitempty"`

	// Force update ignores repo changes
	// Example: false
	ForceUpdate bool `json:"forceUpdate,omitempty"`

	// Auto update interval
	// Example: 1m30s
	Interval string `json:"interval,omitempty"`

	// Autoupdate job id
	// Example: 15
	JobID string `json:"jobID,omitempty"`

	// A UUID generated from client
	// Example: 05de31a2-79fa-4644-9c12-faa67e5c49f0
	Webhook string `json:"webhook,omitempty"`
}

PortainerAutoUpdateSettings portainer auto update settings

swagger:model portainer.AutoUpdateSettings

func (*PortainerAutoUpdateSettings) ContextValidate

func (m *PortainerAutoUpdateSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer auto update settings based on context it is used

func (*PortainerAutoUpdateSettings) MarshalBinary

func (m *PortainerAutoUpdateSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerAutoUpdateSettings) UnmarshalBinary

func (m *PortainerAutoUpdateSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerAutoUpdateSettings) Validate

func (m *PortainerAutoUpdateSettings) Validate(formats strfmt.Registry) error

Validate validates this portainer auto update settings

type PortainerAzureCredentials

type PortainerAzureCredentials struct {

	// Azure application ID
	// Example: eag7cdo9-o09l-9i83-9dO9-f0b23oe78db4
	ApplicationID string `json:"ApplicationID,omitempty"`

	// Azure authentication key
	// Example: cOrXoK/1D35w8YQ8nH1/8ZGwzz45JIYD5jxHKXEQknk=
	AuthenticationKey string `json:"AuthenticationKey,omitempty"`

	// Azure tenant ID
	// Example: 34ddc78d-4fel-2358-8cc1-df84c8o839f5
	TenantID string `json:"TenantID,omitempty"`
}

PortainerAzureCredentials portainer azure credentials

swagger:model portainer.AzureCredentials

func (*PortainerAzureCredentials) ContextValidate

func (m *PortainerAzureCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer azure credentials based on context it is used

func (*PortainerAzureCredentials) MarshalBinary

func (m *PortainerAzureCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerAzureCredentials) UnmarshalBinary

func (m *PortainerAzureCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerAzureCredentials) Validate

func (m *PortainerAzureCredentials) Validate(formats strfmt.Registry) error

Validate validates this portainer azure credentials

type PortainerCustomTemplateVariableDefinition

type PortainerCustomTemplateVariableDefinition struct {

	// default value
	// Example: default value
	DefaultValue string `json:"defaultValue,omitempty"`

	// description
	// Example: Description
	Description string `json:"description,omitempty"`

	// label
	// Example: My Variable
	Label string `json:"label,omitempty"`

	// name
	// Example: MY_VAR
	Name string `json:"name,omitempty"`
}

PortainerCustomTemplateVariableDefinition portainer custom template variable definition

swagger:model portainer.CustomTemplateVariableDefinition

func (*PortainerCustomTemplateVariableDefinition) ContextValidate

ContextValidate validates this portainer custom template variable definition based on context it is used

func (*PortainerCustomTemplateVariableDefinition) MarshalBinary

func (m *PortainerCustomTemplateVariableDefinition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerCustomTemplateVariableDefinition) UnmarshalBinary

func (m *PortainerCustomTemplateVariableDefinition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerCustomTemplateVariableDefinition) Validate

Validate validates this portainer custom template variable definition

type PortainerDiagnosticsData

type PortainerDiagnosticsData struct {

	// DNS
	DNS map[string]string `json:"DNS,omitempty"`

	// log
	Log string `json:"Log,omitempty"`

	// proxy
	Proxy map[string]string `json:"Proxy,omitempty"`

	// telnet
	Telnet map[string]string `json:"Telnet,omitempty"`
}

PortainerDiagnosticsData portainer diagnostics data

swagger:model portainer.DiagnosticsData

func (*PortainerDiagnosticsData) ContextValidate

func (m *PortainerDiagnosticsData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer diagnostics data based on context it is used

func (*PortainerDiagnosticsData) MarshalBinary

func (m *PortainerDiagnosticsData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerDiagnosticsData) UnmarshalBinary

func (m *PortainerDiagnosticsData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerDiagnosticsData) Validate

func (m *PortainerDiagnosticsData) Validate(formats strfmt.Registry) error

Validate validates this portainer diagnostics data

type PortainerDockerContainerSnapshot

type PortainerDockerContainerSnapshot struct {

	// EE-5240
	Env []string `json:"Env"`

	// Id
	ID string `json:"Id,omitempty"`

	// image manifest descriptor
	ImageManifestDescriptor *V1Descriptor `json:"ImageManifestDescriptor,omitempty"`

	// command
	Command string `json:"command,omitempty"`

	// created
	Created int64 `json:"created,omitempty"`

	// host config
	HostConfig *PortainerDockerContainerSnapshotHostConfig `json:"hostConfig,omitempty"`

	// image
	Image string `json:"image,omitempty"`

	// image ID
	ImageID string `json:"imageID,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// mounts
	Mounts []*ContainerMountPoint `json:"mounts"`

	// names
	Names []string `json:"names"`

	// network settings
	NetworkSettings *ContainerNetworkSettingsSummary `json:"networkSettings,omitempty"`

	// ports
	Ports []*ContainerPort `json:"ports"`

	// size root fs
	SizeRootFs int64 `json:"sizeRootFs,omitempty"`

	// size rw
	SizeRw int64 `json:"sizeRw,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

PortainerDockerContainerSnapshot portainer docker container snapshot

swagger:model portainer.DockerContainerSnapshot

func (*PortainerDockerContainerSnapshot) ContextValidate

func (m *PortainerDockerContainerSnapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer docker container snapshot based on the context it is used

func (*PortainerDockerContainerSnapshot) MarshalBinary

func (m *PortainerDockerContainerSnapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerDockerContainerSnapshot) UnmarshalBinary

func (m *PortainerDockerContainerSnapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerDockerContainerSnapshot) Validate

Validate validates this portainer docker container snapshot

type PortainerDockerContainerSnapshotHostConfig

type PortainerDockerContainerSnapshotHostConfig struct {

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// network mode
	NetworkMode string `json:"networkMode,omitempty"`
}

PortainerDockerContainerSnapshotHostConfig portainer docker container snapshot host config

swagger:model PortainerDockerContainerSnapshotHostConfig

func (*PortainerDockerContainerSnapshotHostConfig) ContextValidate

ContextValidate validates this portainer docker container snapshot host config based on context it is used

func (*PortainerDockerContainerSnapshotHostConfig) MarshalBinary

func (m *PortainerDockerContainerSnapshotHostConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerDockerContainerSnapshotHostConfig) UnmarshalBinary

func (m *PortainerDockerContainerSnapshotHostConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerDockerContainerSnapshotHostConfig) Validate

Validate validates this portainer docker container snapshot host config

type PortainerDockerSnapshot

type PortainerDockerSnapshot struct {

	// container count
	ContainerCount int64 `json:"ContainerCount,omitempty"`

	// diagnostics data
	DiagnosticsData *PortainerDiagnosticsData `json:"DiagnosticsData,omitempty"`

	// docker snapshot raw
	DockerSnapshotRaw PortainerDockerSnapshotRaw `json:"DockerSnapshotRaw,omitempty"`

	// docker version
	DockerVersion string `json:"DockerVersion,omitempty"`

	// gpu use all
	GpuUseAll bool `json:"GpuUseAll,omitempty"`

	// gpu use list
	GpuUseList []string `json:"GpuUseList"`

	// healthy container count
	HealthyContainerCount int64 `json:"HealthyContainerCount,omitempty"`

	// image count
	ImageCount int64 `json:"ImageCount,omitempty"`

	// is podman
	IsPodman bool `json:"IsPodman,omitempty"`

	// node count
	NodeCount int64 `json:"NodeCount,omitempty"`

	// running container count
	RunningContainerCount int64 `json:"RunningContainerCount,omitempty"`

	// service count
	ServiceCount int64 `json:"ServiceCount,omitempty"`

	// stack count
	StackCount int64 `json:"StackCount,omitempty"`

	// stopped container count
	StoppedContainerCount int64 `json:"StoppedContainerCount,omitempty"`

	// swarm
	Swarm bool `json:"Swarm,omitempty"`

	// time
	Time int64 `json:"Time,omitempty"`

	// total CPU
	TotalCPU int64 `json:"TotalCPU,omitempty"`

	// total memory
	TotalMemory int64 `json:"TotalMemory,omitempty"`

	// unhealthy container count
	UnhealthyContainerCount int64 `json:"UnhealthyContainerCount,omitempty"`

	// volume count
	VolumeCount int64 `json:"VolumeCount,omitempty"`
}

PortainerDockerSnapshot portainer docker snapshot

swagger:model portainer.DockerSnapshot

func (*PortainerDockerSnapshot) ContextValidate

func (m *PortainerDockerSnapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer docker snapshot based on the context it is used

func (*PortainerDockerSnapshot) MarshalBinary

func (m *PortainerDockerSnapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerDockerSnapshot) UnmarshalBinary

func (m *PortainerDockerSnapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerDockerSnapshot) Validate

func (m *PortainerDockerSnapshot) Validate(formats strfmt.Registry) error

Validate validates this portainer docker snapshot

type PortainerDockerSnapshotRaw

type PortainerDockerSnapshotRaw interface{}

PortainerDockerSnapshotRaw portainer docker snapshot raw

swagger:model portainer.DockerSnapshotRaw

type PortainerEcrData

type PortainerEcrData struct {

	// region
	// Example: ap-southeast-2
	Region string `json:"Region,omitempty"`
}

PortainerEcrData portainer ecr data

swagger:model portainer.EcrData

func (*PortainerEcrData) ContextValidate

func (m *PortainerEcrData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer ecr data based on context it is used

func (*PortainerEcrData) MarshalBinary

func (m *PortainerEcrData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEcrData) UnmarshalBinary

func (m *PortainerEcrData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEcrData) Validate

func (m *PortainerEcrData) Validate(formats strfmt.Registry) error

Validate validates this portainer ecr data

type PortainerEdge

type PortainerEdge struct {

	// Deprecated 2.18
	// Example: false
	AsyncMode bool `json:"AsyncMode,omitempty"`

	// The command list interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	CommandInterval int64 `json:"CommandInterval,omitempty"`

	// The ping interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	PingInterval int64 `json:"PingInterval,omitempty"`

	// The snapshot interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	SnapshotInterval int64 `json:"SnapshotInterval,omitempty"`
}

PortainerEdge portainer edge

swagger:model portainer.Edge

func (*PortainerEdge) ContextValidate

func (m *PortainerEdge) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer edge based on context it is used

func (*PortainerEdge) MarshalBinary

func (m *PortainerEdge) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEdge) UnmarshalBinary

func (m *PortainerEdge) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEdge) Validate

func (m *PortainerEdge) Validate(formats strfmt.Registry) error

Validate validates this portainer edge

type PortainerEdgeJob

type PortainerEdgeJob struct {

	// created
	Created int64 `json:"Created,omitempty"`

	// cron expression
	CronExpression string `json:"CronExpression,omitempty"`

	// edge groups
	EdgeGroups []int64 `json:"EdgeGroups"`

	// endpoints
	Endpoints map[string]PortainerEdgeJobEndpointMeta `json:"Endpoints,omitempty"`

	// EdgeJob Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// recurring
	Recurring bool `json:"Recurring,omitempty"`

	// script path
	ScriptPath string `json:"ScriptPath,omitempty"`

	// version
	Version int64 `json:"Version,omitempty"`

	// Field used for log collection of Endpoints belonging to EdgeGroups
	GroupLogsCollection map[string]PortainerEdgeJobEndpointMeta `json:"groupLogsCollection,omitempty"`
}

PortainerEdgeJob portainer edge job

swagger:model portainer.EdgeJob

func (*PortainerEdgeJob) ContextValidate

func (m *PortainerEdgeJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer edge job based on the context it is used

func (*PortainerEdgeJob) MarshalBinary

func (m *PortainerEdgeJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEdgeJob) UnmarshalBinary

func (m *PortainerEdgeJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEdgeJob) Validate

func (m *PortainerEdgeJob) Validate(formats strfmt.Registry) error

Validate validates this portainer edge job

type PortainerEdgeJobEndpointMeta

type PortainerEdgeJobEndpointMeta struct {

	// collect logs
	CollectLogs bool `json:"collectLogs,omitempty"`

	// logs status
	LogsStatus int64 `json:"logsStatus,omitempty"`
}

PortainerEdgeJobEndpointMeta portainer edge job endpoint meta

swagger:model portainer.EdgeJobEndpointMeta

func (*PortainerEdgeJobEndpointMeta) ContextValidate

func (m *PortainerEdgeJobEndpointMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer edge job endpoint meta based on context it is used

func (*PortainerEdgeJobEndpointMeta) MarshalBinary

func (m *PortainerEdgeJobEndpointMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEdgeJobEndpointMeta) UnmarshalBinary

func (m *PortainerEdgeJobEndpointMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEdgeJobEndpointMeta) Validate

func (m *PortainerEdgeJobEndpointMeta) Validate(formats strfmt.Registry) error

Validate validates this portainer edge job endpoint meta

type PortainerEdgeStackDeploymentStatus

type PortainerEdgeStackDeploymentStatus struct {

	// error
	Error string `json:"Error,omitempty"`

	// EE only feature
	RollbackTo int64 `json:"RollbackTo,omitempty"`

	// version
	Version int64 `json:"Version,omitempty"`

	// time
	Time int64 `json:"time,omitempty"`

	// type
	Type int64 `json:"type,omitempty"`
}

PortainerEdgeStackDeploymentStatus portainer edge stack deployment status

swagger:model portainer.EdgeStackDeploymentStatus

func (*PortainerEdgeStackDeploymentStatus) ContextValidate

func (m *PortainerEdgeStackDeploymentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer edge stack deployment status based on context it is used

func (*PortainerEdgeStackDeploymentStatus) MarshalBinary

func (m *PortainerEdgeStackDeploymentStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEdgeStackDeploymentStatus) UnmarshalBinary

func (m *PortainerEdgeStackDeploymentStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEdgeStackDeploymentStatus) Validate

Validate validates this portainer edge stack deployment status

type PortainerEdgeStackStatus

type PortainerEdgeStackStatus struct {

	// Deprecated
	Details *PortainerEdgeStackStatusDetails `json:"Details,omitempty"`

	// Deprecated
	Error string `json:"Error,omitempty"`

	// ReadyRePullImage is a flag to indicate whether the auto update is trigger to re-pull image
	ReadyRePullImage bool `json:"ReadyRePullImage,omitempty"`

	// Deprecated
	Type int64 `json:"Type,omitempty"`

	// EE only feature
	DeploymentInfo *PortainerStackDeploymentInfo `json:"deploymentInfo,omitempty"`

	// endpoint ID
	EndpointID int64 `json:"endpointID,omitempty"`

	// status
	Status []*PortainerEdgeStackDeploymentStatus `json:"status"`
}

PortainerEdgeStackStatus portainer edge stack status

swagger:model portainer.EdgeStackStatus

func (*PortainerEdgeStackStatus) ContextValidate

func (m *PortainerEdgeStackStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer edge stack status based on the context it is used

func (*PortainerEdgeStackStatus) MarshalBinary

func (m *PortainerEdgeStackStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEdgeStackStatus) UnmarshalBinary

func (m *PortainerEdgeStackStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEdgeStackStatus) Validate

func (m *PortainerEdgeStackStatus) Validate(formats strfmt.Registry) error

Validate validates this portainer edge stack status

type PortainerEdgeStackStatusDetails

type PortainerEdgeStackStatusDetails struct {

	// acknowledged
	Acknowledged bool `json:"acknowledged,omitempty"`

	// error
	Error bool `json:"error,omitempty"`

	// images pulled
	ImagesPulled bool `json:"imagesPulled,omitempty"`

	// ok
	Ok bool `json:"ok,omitempty"`

	// pending
	Pending bool `json:"pending,omitempty"`

	// remote update success
	RemoteUpdateSuccess bool `json:"remoteUpdateSuccess,omitempty"`

	// remove
	Remove bool `json:"remove,omitempty"`
}

PortainerEdgeStackStatusDetails portainer edge stack status details

swagger:model portainer.EdgeStackStatusDetails

func (*PortainerEdgeStackStatusDetails) ContextValidate

func (m *PortainerEdgeStackStatusDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer edge stack status details based on context it is used

func (*PortainerEdgeStackStatusDetails) MarshalBinary

func (m *PortainerEdgeStackStatusDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEdgeStackStatusDetails) UnmarshalBinary

func (m *PortainerEdgeStackStatusDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEdgeStackStatusDetails) Validate

Validate validates this portainer edge stack status details

type PortainerEndpointAuthorizations

type PortainerEndpointAuthorizations map[string]PortainerAuthorizations

PortainerEndpointAuthorizations portainer endpoint authorizations

swagger:model portainer.EndpointAuthorizations

func (PortainerEndpointAuthorizations) ContextValidate

func (m PortainerEndpointAuthorizations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer endpoint authorizations based on the context it is used

func (PortainerEndpointAuthorizations) Validate

Validate validates this portainer endpoint authorizations

type PortainerEndpointGroup

type PortainerEndpointGroup struct {

	// authorized teams
	AuthorizedTeams []int64 `json:"AuthorizedTeams"`

	// Deprecated in DBVersion == 18
	AuthorizedUsers []int64 `json:"AuthorizedUsers"`

	// Description associated to the environment(endpoint) group
	// Example: Environment(Endpoint) group description
	Description string `json:"Description,omitempty"`

	// Environment(Endpoint) group Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Deprecated fields
	Labels []*PortainerPair `json:"Labels"`

	// Environment(Endpoint) group name
	// Example: my-environment-group
	Name string `json:"Name,omitempty"`

	// List of tags associated to this environment(endpoint) group
	TagIds []int64 `json:"TagIds"`

	// Deprecated in DBVersion == 22
	Tags []string `json:"Tags"`

	// team access policies
	TeamAccessPolicies PortainerTeamAccessPolicies `json:"TeamAccessPolicies,omitempty"`

	// user access policies
	UserAccessPolicies PortainerUserAccessPolicies `json:"UserAccessPolicies,omitempty"`
}

PortainerEndpointGroup portainer endpoint group

swagger:model portainer.EndpointGroup

func (*PortainerEndpointGroup) ContextValidate

func (m *PortainerEndpointGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer endpoint group based on the context it is used

func (*PortainerEndpointGroup) MarshalBinary

func (m *PortainerEndpointGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEndpointGroup) UnmarshalBinary

func (m *PortainerEndpointGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEndpointGroup) Validate

func (m *PortainerEndpointGroup) Validate(formats strfmt.Registry) error

Validate validates this portainer endpoint group

type PortainerEndpointPostInitMigrations

type PortainerEndpointPostInitMigrations struct {

	// migrate g p us
	MigrateGPUs bool `json:"MigrateGPUs,omitempty"`

	// migrate ingresses
	MigrateIngresses bool `json:"MigrateIngresses,omitempty"`
}

PortainerEndpointPostInitMigrations portainer endpoint post init migrations

swagger:model portainer.EndpointPostInitMigrations

func (*PortainerEndpointPostInitMigrations) ContextValidate

func (m *PortainerEndpointPostInitMigrations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer endpoint post init migrations based on context it is used

func (*PortainerEndpointPostInitMigrations) MarshalBinary

func (m *PortainerEndpointPostInitMigrations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEndpointPostInitMigrations) UnmarshalBinary

func (m *PortainerEndpointPostInitMigrations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEndpointPostInitMigrations) Validate

Validate validates this portainer endpoint post init migrations

type PortainerEndpointSecuritySettings

type PortainerEndpointSecuritySettings struct {

	// Whether non-administrator should be able to use bind mounts when creating containers
	// Example: false
	AllowBindMountsForRegularUsers bool `json:"allowBindMountsForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use container capabilities
	// Example: true
	AllowContainerCapabilitiesForRegularUsers bool `json:"allowContainerCapabilitiesForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use device mapping
	// Example: true
	AllowDeviceMappingForRegularUsers bool `json:"allowDeviceMappingForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use the host pid
	// Example: true
	AllowHostNamespaceForRegularUsers bool `json:"allowHostNamespaceForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use privileged mode when creating containers
	// Example: false
	AllowPrivilegedModeForRegularUsers bool `json:"allowPrivilegedModeForRegularUsers,omitempty"`

	// Whether non-administrator should be able to manage stacks
	// Example: true
	AllowStackManagementForRegularUsers bool `json:"allowStackManagementForRegularUsers,omitempty"`

	// Whether non-administrator should be able to use sysctl settings
	// Example: true
	AllowSysctlSettingForRegularUsers bool `json:"allowSysctlSettingForRegularUsers,omitempty"`

	// Whether non-administrator should be able to browse volumes
	// Example: true
	AllowVolumeBrowserForRegularUsers bool `json:"allowVolumeBrowserForRegularUsers,omitempty"`

	// Whether host management features are enabled
	// Example: true
	EnableHostManagementFeatures bool `json:"enableHostManagementFeatures,omitempty"`
}

PortainerEndpointSecuritySettings portainer endpoint security settings

swagger:model portainer.EndpointSecuritySettings

func (*PortainerEndpointSecuritySettings) ContextValidate

func (m *PortainerEndpointSecuritySettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer endpoint security settings based on context it is used

func (*PortainerEndpointSecuritySettings) MarshalBinary

func (m *PortainerEndpointSecuritySettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEndpointSecuritySettings) UnmarshalBinary

func (m *PortainerEndpointSecuritySettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEndpointSecuritySettings) Validate

Validate validates this portainer endpoint security settings

type PortainerEnvironmentEdgeSettings

type PortainerEnvironmentEdgeSettings struct {

	// The command list interval for edge agent - used in edge async mode [seconds]
	// Example: 60
	CommandInterval int64 `json:"CommandInterval,omitempty"`

	// The ping interval for edge agent - used in edge async mode [seconds]
	// Example: 60
	PingInterval int64 `json:"PingInterval,omitempty"`

	// The snapshot interval for edge agent - used in edge async mode [seconds]
	// Example: 60
	SnapshotInterval int64 `json:"SnapshotInterval,omitempty"`

	// Whether the device has been started in edge async mode
	AsyncMode bool `json:"asyncMode,omitempty"`
}

PortainerEnvironmentEdgeSettings portainer environment edge settings

swagger:model portainer.EnvironmentEdgeSettings

func (*PortainerEnvironmentEdgeSettings) ContextValidate

func (m *PortainerEnvironmentEdgeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer environment edge settings based on context it is used

func (*PortainerEnvironmentEdgeSettings) MarshalBinary

func (m *PortainerEnvironmentEdgeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerEnvironmentEdgeSettings) UnmarshalBinary

func (m *PortainerEnvironmentEdgeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerEnvironmentEdgeSettings) Validate

Validate validates this portainer environment edge settings

type PortainerGitlabRegistryData

type PortainerGitlabRegistryData struct {

	// instance URL
	InstanceURL string `json:"InstanceURL,omitempty"`

	// project Id
	ProjectID int64 `json:"ProjectId,omitempty"`

	// project path
	ProjectPath string `json:"ProjectPath,omitempty"`
}

PortainerGitlabRegistryData portainer gitlab registry data

swagger:model portainer.GitlabRegistryData

func (*PortainerGitlabRegistryData) ContextValidate

func (m *PortainerGitlabRegistryData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer gitlab registry data based on context it is used

func (*PortainerGitlabRegistryData) MarshalBinary

func (m *PortainerGitlabRegistryData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerGitlabRegistryData) UnmarshalBinary

func (m *PortainerGitlabRegistryData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerGitlabRegistryData) Validate

func (m *PortainerGitlabRegistryData) Validate(formats strfmt.Registry) error

Validate validates this portainer gitlab registry data

type PortainerGlobalDeploymentOptions

type PortainerGlobalDeploymentOptions struct {

	// hide stacks functionality
	// Example: false
	HideStacksFunctionality bool `json:"hideStacksFunctionality,omitempty"`
}

PortainerGlobalDeploymentOptions portainer global deployment options

swagger:model portainer.GlobalDeploymentOptions

func (*PortainerGlobalDeploymentOptions) ContextValidate

func (m *PortainerGlobalDeploymentOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer global deployment options based on context it is used

func (*PortainerGlobalDeploymentOptions) MarshalBinary

func (m *PortainerGlobalDeploymentOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerGlobalDeploymentOptions) UnmarshalBinary

func (m *PortainerGlobalDeploymentOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerGlobalDeploymentOptions) Validate

Validate validates this portainer global deployment options

type PortainerHelmUserRepository

type PortainerHelmUserRepository struct {

	// Membership Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Helm repository URL
	// Example: https://charts.bitnami.com/bitnami
	URL string `json:"URL,omitempty"`

	// User identifier
	// Example: 1
	UserID int64 `json:"UserId,omitempty"`
}

PortainerHelmUserRepository portainer helm user repository

swagger:model portainer.HelmUserRepository

func (*PortainerHelmUserRepository) ContextValidate

func (m *PortainerHelmUserRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer helm user repository based on context it is used

func (*PortainerHelmUserRepository) MarshalBinary

func (m *PortainerHelmUserRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerHelmUserRepository) UnmarshalBinary

func (m *PortainerHelmUserRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerHelmUserRepository) Validate

func (m *PortainerHelmUserRepository) Validate(formats strfmt.Registry) error

Validate validates this portainer helm user repository

type PortainerInternalAuthSettings

type PortainerInternalAuthSettings struct {

	// required password length
	RequiredPasswordLength int64 `json:"requiredPasswordLength,omitempty"`
}

PortainerInternalAuthSettings portainer internal auth settings

swagger:model portainer.InternalAuthSettings

func (*PortainerInternalAuthSettings) ContextValidate

func (m *PortainerInternalAuthSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer internal auth settings based on context it is used

func (*PortainerInternalAuthSettings) MarshalBinary

func (m *PortainerInternalAuthSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerInternalAuthSettings) UnmarshalBinary

func (m *PortainerInternalAuthSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerInternalAuthSettings) Validate

func (m *PortainerInternalAuthSettings) Validate(formats strfmt.Registry) error

Validate validates this portainer internal auth settings

type PortainerK8sNamespaceInfo

type PortainerK8sNamespaceInfo struct {

	// annotations
	Annotations map[string]string `json:"Annotations,omitempty"`

	// creation date
	CreationDate string `json:"CreationDate,omitempty"`

	// Id
	ID string `json:"Id,omitempty"`

	// is default
	IsDefault bool `json:"IsDefault,omitempty"`

	// is system
	IsSystem bool `json:"IsSystem,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// namespace owner
	NamespaceOwner string `json:"NamespaceOwner,omitempty"`

	// resource quota
	ResourceQuota *V1ResourceQuota `json:"ResourceQuota,omitempty"`

	// status
	Status *V1NamespaceStatus `json:"Status,omitempty"`
}

PortainerK8sNamespaceInfo portainer k8s namespace info

swagger:model portainer.K8sNamespaceInfo

func (*PortainerK8sNamespaceInfo) ContextValidate

func (m *PortainerK8sNamespaceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer k8s namespace info based on the context it is used

func (*PortainerK8sNamespaceInfo) MarshalBinary

func (m *PortainerK8sNamespaceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerK8sNamespaceInfo) UnmarshalBinary

func (m *PortainerK8sNamespaceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerK8sNamespaceInfo) Validate

func (m *PortainerK8sNamespaceInfo) Validate(formats strfmt.Registry) error

Validate validates this portainer k8s namespace info

type PortainerK8sNodeLimits

type PortainerK8sNodeLimits struct {

	// CPU
	CPU int64 `json:"CPU,omitempty"`

	// memory
	Memory int64 `json:"Memory,omitempty"`
}

PortainerK8sNodeLimits portainer k8s node limits

swagger:model portainer.K8sNodeLimits

func (*PortainerK8sNodeLimits) ContextValidate

func (m *PortainerK8sNodeLimits) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer k8s node limits based on context it is used

func (*PortainerK8sNodeLimits) MarshalBinary

func (m *PortainerK8sNodeLimits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerK8sNodeLimits) UnmarshalBinary

func (m *PortainerK8sNodeLimits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerK8sNodeLimits) Validate

func (m *PortainerK8sNodeLimits) Validate(formats strfmt.Registry) error

Validate validates this portainer k8s node limits

type PortainerK8sNodesLimits

type PortainerK8sNodesLimits map[string]PortainerK8sNodeLimits

PortainerK8sNodesLimits portainer k8s nodes limits

swagger:model portainer.K8sNodesLimits

func (PortainerK8sNodesLimits) ContextValidate

func (m PortainerK8sNodesLimits) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer k8s nodes limits based on the context it is used

func (PortainerK8sNodesLimits) Validate

func (m PortainerK8sNodesLimits) Validate(formats strfmt.Registry) error

Validate validates this portainer k8s nodes limits

type PortainerKubernetesConfiguration

type PortainerKubernetesConfiguration struct {

	// allow none ingress class
	AllowNoneIngressClass bool `json:"AllowNoneIngressClass,omitempty"`

	// enable resource over commit
	EnableResourceOverCommit bool `json:"EnableResourceOverCommit,omitempty"`

	// ingress availability per namespace
	IngressAvailabilityPerNamespace bool `json:"IngressAvailabilityPerNamespace,omitempty"`

	// ingress classes
	IngressClasses []*PortainerKubernetesIngressClassConfig `json:"IngressClasses"`

	// resource over commit percentage
	ResourceOverCommitPercentage int64 `json:"ResourceOverCommitPercentage,omitempty"`

	// restrict default namespace
	RestrictDefaultNamespace bool `json:"RestrictDefaultNamespace,omitempty"`

	// storage classes
	StorageClasses []*PortainerKubernetesStorageClassConfig `json:"StorageClasses"`

	// use load balancer
	UseLoadBalancer bool `json:"UseLoadBalancer,omitempty"`

	// use server metrics
	UseServerMetrics bool `json:"UseServerMetrics,omitempty"`
}

PortainerKubernetesConfiguration portainer kubernetes configuration

swagger:model portainer.KubernetesConfiguration

func (*PortainerKubernetesConfiguration) ContextValidate

func (m *PortainerKubernetesConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer kubernetes configuration based on the context it is used

func (*PortainerKubernetesConfiguration) MarshalBinary

func (m *PortainerKubernetesConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerKubernetesConfiguration) UnmarshalBinary

func (m *PortainerKubernetesConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerKubernetesConfiguration) Validate

Validate validates this portainer kubernetes configuration

type PortainerKubernetesData

type PortainerKubernetesData struct {

	// configuration
	Configuration *PortainerKubernetesConfiguration `json:"Configuration,omitempty"`

	// flags
	Flags *PortainerKubernetesFlags `json:"Flags,omitempty"`

	// snapshots
	Snapshots []*PortainerKubernetesSnapshot `json:"Snapshots"`
}

PortainerKubernetesData portainer kubernetes data

swagger:model portainer.KubernetesData

func (*PortainerKubernetesData) ContextValidate

func (m *PortainerKubernetesData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer kubernetes data based on the context it is used

func (*PortainerKubernetesData) MarshalBinary

func (m *PortainerKubernetesData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerKubernetesData) UnmarshalBinary

func (m *PortainerKubernetesData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerKubernetesData) Validate

func (m *PortainerKubernetesData) Validate(formats strfmt.Registry) error

Validate validates this portainer kubernetes data

type PortainerKubernetesFlags

type PortainerKubernetesFlags struct {

	// is server ingress class detected
	IsServerIngressClassDetected bool `json:"IsServerIngressClassDetected,omitempty"`

	// is server metrics detected
	IsServerMetricsDetected bool `json:"IsServerMetricsDetected,omitempty"`

	// is server storage detected
	IsServerStorageDetected bool `json:"IsServerStorageDetected,omitempty"`
}

PortainerKubernetesFlags portainer kubernetes flags

swagger:model portainer.KubernetesFlags

func (*PortainerKubernetesFlags) ContextValidate

func (m *PortainerKubernetesFlags) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer kubernetes flags based on context it is used

func (*PortainerKubernetesFlags) MarshalBinary

func (m *PortainerKubernetesFlags) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerKubernetesFlags) UnmarshalBinary

func (m *PortainerKubernetesFlags) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerKubernetesFlags) Validate

func (m *PortainerKubernetesFlags) Validate(formats strfmt.Registry) error

Validate validates this portainer kubernetes flags

type PortainerKubernetesIngressClassConfig

type PortainerKubernetesIngressClassConfig struct {

	// blocked
	Blocked bool `json:"Blocked,omitempty"`

	// blocked namespaces
	BlockedNamespaces []string `json:"BlockedNamespaces"`

	// name
	Name string `json:"Name,omitempty"`

	// type
	Type string `json:"Type,omitempty"`
}

PortainerKubernetesIngressClassConfig portainer kubernetes ingress class config

swagger:model portainer.KubernetesIngressClassConfig

func (*PortainerKubernetesIngressClassConfig) ContextValidate

func (m *PortainerKubernetesIngressClassConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer kubernetes ingress class config based on context it is used

func (*PortainerKubernetesIngressClassConfig) MarshalBinary

func (m *PortainerKubernetesIngressClassConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerKubernetesIngressClassConfig) UnmarshalBinary

func (m *PortainerKubernetesIngressClassConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerKubernetesIngressClassConfig) Validate

Validate validates this portainer kubernetes ingress class config

type PortainerKubernetesSnapshot

type PortainerKubernetesSnapshot struct {

	// diagnostics data
	DiagnosticsData *PortainerDiagnosticsData `json:"DiagnosticsData,omitempty"`

	// kubernetes version
	KubernetesVersion string `json:"KubernetesVersion,omitempty"`

	// node count
	NodeCount int64 `json:"NodeCount,omitempty"`

	// time
	Time int64 `json:"Time,omitempty"`

	// total CPU
	TotalCPU int64 `json:"TotalCPU,omitempty"`

	// total memory
	TotalMemory int64 `json:"TotalMemory,omitempty"`
}

PortainerKubernetesSnapshot portainer kubernetes snapshot

swagger:model portainer.KubernetesSnapshot

func (*PortainerKubernetesSnapshot) ContextValidate

func (m *PortainerKubernetesSnapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer kubernetes snapshot based on the context it is used

func (*PortainerKubernetesSnapshot) MarshalBinary

func (m *PortainerKubernetesSnapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerKubernetesSnapshot) UnmarshalBinary

func (m *PortainerKubernetesSnapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerKubernetesSnapshot) Validate

func (m *PortainerKubernetesSnapshot) Validate(formats strfmt.Registry) error

Validate validates this portainer kubernetes snapshot

type PortainerKubernetesStorageClassConfig

type PortainerKubernetesStorageClassConfig struct {

	// access modes
	AccessModes []string `json:"AccessModes"`

	// allow volume expansion
	AllowVolumeExpansion bool `json:"AllowVolumeExpansion,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// provisioner
	Provisioner string `json:"Provisioner,omitempty"`
}

PortainerKubernetesStorageClassConfig portainer kubernetes storage class config

swagger:model portainer.KubernetesStorageClassConfig

func (*PortainerKubernetesStorageClassConfig) ContextValidate

func (m *PortainerKubernetesStorageClassConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer kubernetes storage class config based on context it is used

func (*PortainerKubernetesStorageClassConfig) MarshalBinary

func (m *PortainerKubernetesStorageClassConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerKubernetesStorageClassConfig) UnmarshalBinary

func (m *PortainerKubernetesStorageClassConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerKubernetesStorageClassConfig) Validate

Validate validates this portainer kubernetes storage class config

type PortainerLDAPGroupSearchSettings

type PortainerLDAPGroupSearchSettings struct {

	// LDAP attribute which denotes the group membership
	// Example: member
	GroupAttribute string `json:"GroupAttribute,omitempty"`

	// The distinguished name of the element from which the LDAP server will search for groups
	// Example: dc=ldap,dc=domain,dc=tld
	GroupBaseDN string `json:"GroupBaseDN,omitempty"`

	// The LDAP search filter used to select group elements, optional
	// Example: (objectClass=account
	GroupFilter string `json:"GroupFilter,omitempty"`
}

PortainerLDAPGroupSearchSettings portainer l d a p group search settings

swagger:model portainer.LDAPGroupSearchSettings

func (*PortainerLDAPGroupSearchSettings) ContextValidate

func (m *PortainerLDAPGroupSearchSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer l d a p group search settings based on context it is used

func (*PortainerLDAPGroupSearchSettings) MarshalBinary

func (m *PortainerLDAPGroupSearchSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerLDAPGroupSearchSettings) UnmarshalBinary

func (m *PortainerLDAPGroupSearchSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerLDAPGroupSearchSettings) Validate

Validate validates this portainer l d a p group search settings

type PortainerLDAPSearchSettings

type PortainerLDAPSearchSettings struct {

	// The distinguished name of the element from which the LDAP server will search for users
	// Example: dc=ldap,dc=domain,dc=tld
	BaseDN string `json:"BaseDN,omitempty"`

	// Optional LDAP search filter used to select user elements
	// Example: (objectClass=account)
	Filter string `json:"Filter,omitempty"`

	// LDAP attribute which denotes the username
	// Example: uid
	UserNameAttribute string `json:"UserNameAttribute,omitempty"`
}

PortainerLDAPSearchSettings portainer l d a p search settings

swagger:model portainer.LDAPSearchSettings

func (*PortainerLDAPSearchSettings) ContextValidate

func (m *PortainerLDAPSearchSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer l d a p search settings based on context it is used

func (*PortainerLDAPSearchSettings) MarshalBinary

func (m *PortainerLDAPSearchSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerLDAPSearchSettings) UnmarshalBinary

func (m *PortainerLDAPSearchSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerLDAPSearchSettings) Validate

func (m *PortainerLDAPSearchSettings) Validate(formats strfmt.Registry) error

Validate validates this portainer l d a p search settings

type PortainerLDAPSettings

type PortainerLDAPSettings struct {

	// Enable this option if the server is configured for Anonymous access. When enabled, ReaderDN and Password will not be used
	// Example: true
	AnonymousMode bool `json:"AnonymousMode,omitempty"`

	// Automatically provision users and assign them to matching LDAP group names
	// Example: true
	AutoCreateUsers bool `json:"AutoCreateUsers,omitempty"`

	// group search settings
	GroupSearchSettings []*PortainerLDAPGroupSearchSettings `json:"GroupSearchSettings"`

	// Password of the account that will be used to search users
	// Example: readonly-password
	Password string `json:"Password,omitempty"`

	// Account that will be used to search for users
	// Example: cn=readonly-account,dc=ldap,dc=domain,dc=tld
	ReaderDN string `json:"ReaderDN,omitempty"`

	// search settings
	SearchSettings []*PortainerLDAPSearchSettings `json:"SearchSettings"`

	// Whether LDAP connection should use StartTLS
	// Example: true
	StartTLS bool `json:"StartTLS,omitempty"`

	// TLS config
	TLSConfig *PortainerTLSConfiguration `json:"TLSConfig,omitempty"`

	// URL or IP address of the LDAP server
	// Example: myldap.domain.tld:389
	URL string `json:"URL,omitempty"`
}

PortainerLDAPSettings portainer l d a p settings

swagger:model portainer.LDAPSettings

func (*PortainerLDAPSettings) ContextValidate

func (m *PortainerLDAPSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer l d a p settings based on the context it is used

func (*PortainerLDAPSettings) MarshalBinary

func (m *PortainerLDAPSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerLDAPSettings) UnmarshalBinary

func (m *PortainerLDAPSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerLDAPSettings) Validate

func (m *PortainerLDAPSettings) Validate(formats strfmt.Registry) error

Validate validates this portainer l d a p settings

type PortainerLDAPUser

type PortainerLDAPUser struct {

	// groups
	Groups []string `json:"groups"`

	// name
	Name string `json:"name,omitempty"`
}

PortainerLDAPUser portainer l d a p user

swagger:model portainer.LDAPUser

func (*PortainerLDAPUser) ContextValidate

func (m *PortainerLDAPUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer l d a p user based on context it is used

func (*PortainerLDAPUser) MarshalBinary

func (m *PortainerLDAPUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerLDAPUser) UnmarshalBinary

func (m *PortainerLDAPUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerLDAPUser) Validate

func (m *PortainerLDAPUser) Validate(formats strfmt.Registry) error

Validate validates this portainer l d a p user

type PortainerOAuthSettings

type PortainerOAuthSettings struct {

	// access token URI
	AccessTokenURI string `json:"AccessTokenURI,omitempty"`

	// auth style
	AuthStyle int64 `json:"AuthStyle,omitempty"`

	// authorization URI
	AuthorizationURI string `json:"AuthorizationURI,omitempty"`

	// client ID
	ClientID string `json:"ClientID,omitempty"`

	// client secret
	ClientSecret string `json:"ClientSecret,omitempty"`

	// default team ID
	DefaultTeamID int64 `json:"DefaultTeamID,omitempty"`

	// kube secret key
	KubeSecretKey []int64 `json:"KubeSecretKey"`

	// logout URI
	LogoutURI string `json:"LogoutURI,omitempty"`

	// o auth auto create users
	OAuthAutoCreateUsers bool `json:"OAuthAutoCreateUsers,omitempty"`

	// redirect URI
	RedirectURI string `json:"RedirectURI,omitempty"`

	// resource URI
	ResourceURI string `json:"ResourceURI,omitempty"`

	// s s o
	SSO bool `json:"SSO,omitempty"`

	// scopes
	Scopes string `json:"Scopes,omitempty"`

	// user identifier
	UserIdentifier string `json:"UserIdentifier,omitempty"`
}

PortainerOAuthSettings portainer o auth settings

swagger:model portainer.OAuthSettings

func (*PortainerOAuthSettings) ContextValidate

func (m *PortainerOAuthSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer o auth settings based on context it is used

func (*PortainerOAuthSettings) MarshalBinary

func (m *PortainerOAuthSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerOAuthSettings) UnmarshalBinary

func (m *PortainerOAuthSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerOAuthSettings) Validate

func (m *PortainerOAuthSettings) Validate(formats strfmt.Registry) error

Validate validates this portainer o auth settings

type PortainerOpenAMTConfiguration

type PortainerOpenAMTConfiguration struct {

	// cert file content
	CertFileContent string `json:"certFileContent,omitempty"`

	// cert file name
	CertFileName string `json:"certFileName,omitempty"`

	// cert file password
	CertFilePassword string `json:"certFilePassword,omitempty"`

	// domain name
	DomainName string `json:"domainName,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// mps password
	MpsPassword string `json:"mpsPassword,omitempty"`

	// mps server
	MpsServer string `json:"mpsServer,omitempty"`

	// retrieved from API
	MpsToken string `json:"mpsToken,omitempty"`

	// mps user
	MpsUser string `json:"mpsUser,omitempty"`
}

PortainerOpenAMTConfiguration portainer open a m t configuration

swagger:model portainer.OpenAMTConfiguration

func (*PortainerOpenAMTConfiguration) ContextValidate

func (m *PortainerOpenAMTConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer open a m t configuration based on context it is used

func (*PortainerOpenAMTConfiguration) MarshalBinary

func (m *PortainerOpenAMTConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerOpenAMTConfiguration) UnmarshalBinary

func (m *PortainerOpenAMTConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerOpenAMTConfiguration) Validate

func (m *PortainerOpenAMTConfiguration) Validate(formats strfmt.Registry) error

Validate validates this portainer open a m t configuration

type PortainerOpenAMTDeviceEnabledFeatures

type PortainerOpenAMTDeviceEnabledFeatures struct {

	// ID e r
	IDER bool `json:"IDER,omitempty"`

	// k VM
	KVM bool `json:"KVM,omitempty"`

	// s o l
	SOL bool `json:"SOL,omitempty"`

	// redirection
	Redirection bool `json:"redirection,omitempty"`

	// user consent
	UserConsent string `json:"userConsent,omitempty"`
}

PortainerOpenAMTDeviceEnabledFeatures portainer open a m t device enabled features

swagger:model portainer.OpenAMTDeviceEnabledFeatures

func (*PortainerOpenAMTDeviceEnabledFeatures) ContextValidate

func (m *PortainerOpenAMTDeviceEnabledFeatures) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer open a m t device enabled features based on context it is used

func (*PortainerOpenAMTDeviceEnabledFeatures) MarshalBinary

func (m *PortainerOpenAMTDeviceEnabledFeatures) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerOpenAMTDeviceEnabledFeatures) UnmarshalBinary

func (m *PortainerOpenAMTDeviceEnabledFeatures) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerOpenAMTDeviceEnabledFeatures) Validate

Validate validates this portainer open a m t device enabled features

type PortainerPair

type PortainerPair struct {

	// name
	// Example: name
	Name string `json:"name,omitempty"`

	// value
	// Example: value
	Value string `json:"value,omitempty"`
}

PortainerPair portainer pair

swagger:model portainer.Pair

func (*PortainerPair) ContextValidate

func (m *PortainerPair) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer pair based on context it is used

func (*PortainerPair) MarshalBinary

func (m *PortainerPair) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerPair) UnmarshalBinary

func (m *PortainerPair) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerPair) Validate

func (m *PortainerPair) Validate(formats strfmt.Registry) error

Validate validates this portainer pair

type PortainerQuayRegistryData

type PortainerQuayRegistryData struct {

	// organisation name
	OrganisationName string `json:"OrganisationName,omitempty"`

	// use organisation
	UseOrganisation bool `json:"UseOrganisation,omitempty"`
}

PortainerQuayRegistryData portainer quay registry data

swagger:model portainer.QuayRegistryData

func (*PortainerQuayRegistryData) ContextValidate

func (m *PortainerQuayRegistryData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer quay registry data based on context it is used

func (*PortainerQuayRegistryData) MarshalBinary

func (m *PortainerQuayRegistryData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerQuayRegistryData) UnmarshalBinary

func (m *PortainerQuayRegistryData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerQuayRegistryData) Validate

func (m *PortainerQuayRegistryData) Validate(formats strfmt.Registry) error

Validate validates this portainer quay registry data

type PortainerRegistryAccessPolicies

type PortainerRegistryAccessPolicies struct {

	// namespaces
	Namespaces []string `json:"Namespaces"`

	// team access policies
	TeamAccessPolicies PortainerTeamAccessPolicies `json:"TeamAccessPolicies,omitempty"`

	// user access policies
	UserAccessPolicies PortainerUserAccessPolicies `json:"UserAccessPolicies,omitempty"`
}

PortainerRegistryAccessPolicies portainer registry access policies

swagger:model portainer.RegistryAccessPolicies

func (*PortainerRegistryAccessPolicies) ContextValidate

func (m *PortainerRegistryAccessPolicies) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer registry access policies based on the context it is used

func (*PortainerRegistryAccessPolicies) MarshalBinary

func (m *PortainerRegistryAccessPolicies) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerRegistryAccessPolicies) UnmarshalBinary

func (m *PortainerRegistryAccessPolicies) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerRegistryAccessPolicies) Validate

Validate validates this portainer registry access policies

type PortainerRegistryAccesses

type PortainerRegistryAccesses map[string]PortainerRegistryAccessPolicies

PortainerRegistryAccesses portainer registry accesses

swagger:model portainer.RegistryAccesses

func (PortainerRegistryAccesses) ContextValidate

func (m PortainerRegistryAccesses) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer registry accesses based on the context it is used

func (PortainerRegistryAccesses) Validate

func (m PortainerRegistryAccesses) Validate(formats strfmt.Registry) error

Validate validates this portainer registry accesses

type PortainerRegistryManagementConfiguration

type PortainerRegistryManagementConfiguration struct {

	// access token
	AccessToken string `json:"AccessToken,omitempty"`

	// access token expiry
	AccessTokenExpiry int64 `json:"AccessTokenExpiry,omitempty"`

	// authentication
	Authentication bool `json:"Authentication,omitempty"`

	// ecr
	Ecr *PortainerEcrData `json:"Ecr,omitempty"`

	// password
	Password string `json:"Password,omitempty"`

	// TLS config
	TLSConfig *PortainerTLSConfiguration `json:"TLSConfig,omitempty"`

	// Registry Type (1 - Quay, 2 - Azure, 3 - Custom, 4 - Gitlab, 5 - ProGet, 6 - DockerHub, 7 - ECR)
	Type int64 `json:"Type,omitempty"`

	// username
	Username string `json:"Username,omitempty"`
}

PortainerRegistryManagementConfiguration portainer registry management configuration

swagger:model portainer.RegistryManagementConfiguration

func (*PortainerRegistryManagementConfiguration) ContextValidate

ContextValidate validate this portainer registry management configuration based on the context it is used

func (*PortainerRegistryManagementConfiguration) MarshalBinary

func (m *PortainerRegistryManagementConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerRegistryManagementConfiguration) UnmarshalBinary

func (m *PortainerRegistryManagementConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerRegistryManagementConfiguration) Validate

Validate validates this portainer registry management configuration

type PortainerResourceControl

type PortainerResourceControl struct {

	// access level
	AccessLevel int64 `json:"AccessLevel,omitempty"`

	// Permit access to resource only to admins
	// Example: true
	AdministratorsOnly bool `json:"AdministratorsOnly,omitempty"`

	// ResourceControl Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Deprecated fields
	// Deprecated in DBVersion == 2
	OwnerID int64 `json:"OwnerId,omitempty"`

	// Permit access to the associated resource to any user
	// Example: true
	Public bool `json:"Public,omitempty"`

	// Docker resource identifier on which access control will be applied.\
	// In the case of a resource control applied to a stack, use the stack name as identifier
	// Example: 617c5f22bb9b023d6daab7cba43a57576f83492867bc767d1c59416b065e5f08
	ResourceID string `json:"ResourceId,omitempty"`

	// List of Docker resources that will inherit this access control
	// Example: ["617c5f22bb9b023d6daab7cba43a57576f83492867bc767d1c59416b065e5f08"]
	SubResourceIds []string `json:"SubResourceIds"`

	// system
	System bool `json:"System,omitempty"`

	// team accesses
	TeamAccesses []*PortainerTeamResourceAccess `json:"TeamAccesses"`

	// Type of Docker resource. Valid values are: 1- container, 2 -service
	// 3 - volume, 4 - secret, 5 - stack, 6 - config or 7 - custom template
	// Example: 1
	Type int64 `json:"Type,omitempty"`

	// user accesses
	UserAccesses []*PortainerUserResourceAccess `json:"UserAccesses"`
}

PortainerResourceControl portainer resource control

swagger:model portainer.ResourceControl

func (*PortainerResourceControl) ContextValidate

func (m *PortainerResourceControl) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer resource control based on the context it is used

func (*PortainerResourceControl) MarshalBinary

func (m *PortainerResourceControl) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerResourceControl) UnmarshalBinary

func (m *PortainerResourceControl) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerResourceControl) Validate

func (m *PortainerResourceControl) Validate(formats strfmt.Registry) error

Validate validates this portainer resource control

type PortainerStackDeploymentInfo

type PortainerStackDeploymentInfo struct {

	// ConfigHash is the commit hash of the git repository used for deploying the stack
	ConfigHash string `json:"ConfigHash,omitempty"`

	// FileVersion is the version of the stack file, used to detect changes
	FileVersion int64 `json:"FileVersion,omitempty"`

	// Version is the version of the stack and also is the deployed version in edge agent
	Version int64 `json:"Version,omitempty"`
}

PortainerStackDeploymentInfo portainer stack deployment info

swagger:model portainer.StackDeploymentInfo

func (*PortainerStackDeploymentInfo) ContextValidate

func (m *PortainerStackDeploymentInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer stack deployment info based on context it is used

func (*PortainerStackDeploymentInfo) MarshalBinary

func (m *PortainerStackDeploymentInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerStackDeploymentInfo) UnmarshalBinary

func (m *PortainerStackDeploymentInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerStackDeploymentInfo) Validate

func (m *PortainerStackDeploymentInfo) Validate(formats strfmt.Registry) error

Validate validates this portainer stack deployment info

type PortainerStackOption

type PortainerStackOption struct {

	// Prune services that are no longer referenced
	// Example: false
	Prune bool `json:"prune,omitempty"`
}

PortainerStackOption portainer stack option

swagger:model portainer.StackOption

func (*PortainerStackOption) ContextValidate

func (m *PortainerStackOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer stack option based on context it is used

func (*PortainerStackOption) MarshalBinary

func (m *PortainerStackOption) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerStackOption) UnmarshalBinary

func (m *PortainerStackOption) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerStackOption) Validate

func (m *PortainerStackOption) Validate(formats strfmt.Registry) error

Validate validates this portainer stack option

type PortainerTLSConfiguration

type PortainerTLSConfiguration struct {

	// Use TLS
	// Example: true
	TLS bool `json:"TLS,omitempty"`

	// Path to the TLS CA certificate file
	// Example: /data/tls/ca.pem
	TLSCACert string `json:"TLSCACert,omitempty"`

	// Path to the TLS client certificate file
	// Example: /data/tls/cert.pem
	TLSCert string `json:"TLSCert,omitempty"`

	// Path to the TLS client key file
	// Example: /data/tls/key.pem
	TLSKey string `json:"TLSKey,omitempty"`

	// Skip the verification of the server TLS certificate
	// Example: false
	TLSSkipVerify bool `json:"TLSSkipVerify,omitempty"`
}

PortainerTLSConfiguration portainer TLS configuration

swagger:model portainer.TLSConfiguration

func (*PortainerTLSConfiguration) ContextValidate

func (m *PortainerTLSConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer TLS configuration based on context it is used

func (*PortainerTLSConfiguration) MarshalBinary

func (m *PortainerTLSConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTLSConfiguration) UnmarshalBinary

func (m *PortainerTLSConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTLSConfiguration) Validate

func (m *PortainerTLSConfiguration) Validate(formats strfmt.Registry) error

Validate validates this portainer TLS configuration

type PortainerTag

type PortainerTag struct {

	// A set of environment(endpoint) group ids that have this tag
	EndpointGroups map[string]bool `json:"EndpointGroups,omitempty"`

	// A set of environment(endpoint) ids that have this tag
	Endpoints map[string]bool `json:"Endpoints,omitempty"`

	// Tag name
	// Example: org/acme
	Name string `json:"Name,omitempty"`

	// Tag identifier
	// Example: 1
	ID int64 `json:"id,omitempty"`
}

PortainerTag portainer tag

swagger:model portainer.Tag

func (*PortainerTag) ContextValidate

func (m *PortainerTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer tag based on context it is used

func (*PortainerTag) MarshalBinary

func (m *PortainerTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTag) UnmarshalBinary

func (m *PortainerTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTag) Validate

func (m *PortainerTag) Validate(formats strfmt.Registry) error

Validate validates this portainer tag

type PortainerTeam

type PortainerTeam struct {

	// Team Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Team name
	// Example: developers
	Name string `json:"Name,omitempty"`
}

PortainerTeam portainer team

swagger:model portainer.Team

func (*PortainerTeam) ContextValidate

func (m *PortainerTeam) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer team based on context it is used

func (*PortainerTeam) MarshalBinary

func (m *PortainerTeam) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTeam) UnmarshalBinary

func (m *PortainerTeam) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTeam) Validate

func (m *PortainerTeam) Validate(formats strfmt.Registry) error

Validate validates this portainer team

type PortainerTeamAccessPolicies

type PortainerTeamAccessPolicies map[string]PortainerAccessPolicy

PortainerTeamAccessPolicies portainer team access policies

swagger:model portainer.TeamAccessPolicies

func (PortainerTeamAccessPolicies) ContextValidate

func (m PortainerTeamAccessPolicies) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer team access policies based on the context it is used

func (PortainerTeamAccessPolicies) Validate

func (m PortainerTeamAccessPolicies) Validate(formats strfmt.Registry) error

Validate validates this portainer team access policies

type PortainerTeamMembership

type PortainerTeamMembership struct {

	// Membership Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Team role (1 for team leader and 2 for team member)
	// Example: 1
	Role int64 `json:"Role,omitempty"`

	// Team identifier
	// Example: 1
	TeamID int64 `json:"TeamID,omitempty"`

	// User identifier
	// Example: 1
	UserID int64 `json:"UserID,omitempty"`
}

PortainerTeamMembership portainer team membership

swagger:model portainer.TeamMembership

func (*PortainerTeamMembership) ContextValidate

func (m *PortainerTeamMembership) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer team membership based on context it is used

func (*PortainerTeamMembership) MarshalBinary

func (m *PortainerTeamMembership) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTeamMembership) UnmarshalBinary

func (m *PortainerTeamMembership) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTeamMembership) Validate

func (m *PortainerTeamMembership) Validate(formats strfmt.Registry) error

Validate validates this portainer team membership

type PortainerTeamResourceAccess

type PortainerTeamResourceAccess struct {

	// access level
	AccessLevel int64 `json:"AccessLevel,omitempty"`

	// team Id
	TeamID int64 `json:"TeamId,omitempty"`
}

PortainerTeamResourceAccess portainer team resource access

swagger:model portainer.TeamResourceAccess

func (*PortainerTeamResourceAccess) ContextValidate

func (m *PortainerTeamResourceAccess) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer team resource access based on context it is used

func (*PortainerTeamResourceAccess) MarshalBinary

func (m *PortainerTeamResourceAccess) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTeamResourceAccess) UnmarshalBinary

func (m *PortainerTeamResourceAccess) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTeamResourceAccess) Validate

func (m *PortainerTeamResourceAccess) Validate(formats strfmt.Registry) error

Validate validates this portainer team resource access

type PortainerTemplate

type PortainerTemplate struct {

	// Whether the template should be available to administrators only
	// Example: true
	AdministratorOnly bool `json:"administrator_only,omitempty"`

	// A list of categories associated to the template
	// Example: ["database"]
	Categories []string `json:"categories"`

	// The command that will be executed in a container template
	// Example: ls -lah
	Command string `json:"command,omitempty"`

	// Description of the template
	// Example: High performance web server
	Description string `json:"description,omitempty"`

	// A list of environment(endpoint) variables used during the template deployment
	Env []*PortainerTemplateEnv `json:"env"`

	// Container hostname
	// Example: mycontainer
	Hostname string `json:"hostname,omitempty"`

	// Mandatory container/stack fields
	// Template Identifier
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// Mandatory container fields
	// Image associated to a container template. Mandatory for a container template
	// Example: nginx:latest
	Image string `json:"image,omitempty"`

	// Whether the container should be started in
	// interactive mode (-i -t equivalent on the CLI)
	// Example: true
	Interactive bool `json:"interactive,omitempty"`

	// Container labels
	Labels []*PortainerPair `json:"labels"`

	// Example: https://portainer.io/img/logo.svg
	Logo string `json:"logo,omitempty"`

	// Optional stack/container fields
	// Default name for the stack/container to be used on deployment
	// Example: mystackname
	Name string `json:"name,omitempty"`

	// Name of a network that will be used on container deployment if it exists inside the environment(endpoint)
	// Example: mynet
	Network string `json:"network,omitempty"`

	// A note that will be displayed in the UI. Supports HTML content
	// Example: This is my \u003cb\u003ecustom\u003c/b\u003e template
	Note string `json:"note,omitempty"`

	// Platform associated to the template.
	// Valid values are: 'linux', 'windows' or leave empty for multi-platform
	// Example: linux
	Platform string `json:"platform,omitempty"`

	// A list of ports exposed by the container
	// Example: ["8080:80/tcp"]
	Ports []string `json:"ports"`

	// Whether the container should be started in privileged mode
	// Example: true
	Privileged bool `json:"privileged,omitempty"`

	// Optional container fields
	// The URL of a registry associated to the image for a container template
	// Example: quay.io
	Registry string `json:"registry,omitempty"`

	// Mandatory stack fields
	Repository *PortainerTemplateRepository `json:"repository,omitempty"`

	// Container restart policy
	// Example: on-failure
	RestartPolicy string `json:"restart_policy,omitempty"`

	// Mandatory Edge stack fields
	// Stack file used for this template
	StackFile string `json:"stackFile,omitempty"`

	// Title of the template
	// Example: Nginx
	Title string `json:"title,omitempty"`

	// Template type. Valid values are: 1 (container), 2 (Swarm stack), 3 (Compose stack), 4 (Compose edge stack)
	// Example: 1
	Type int64 `json:"type,omitempty"`

	// A list of volumes used during the container template deployment
	Volumes []*PortainerTemplateVolume `json:"volumes"`
}

PortainerTemplate portainer template

swagger:model portainer.Template

func (*PortainerTemplate) ContextValidate

func (m *PortainerTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer template based on the context it is used

func (*PortainerTemplate) MarshalBinary

func (m *PortainerTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTemplate) UnmarshalBinary

func (m *PortainerTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTemplate) Validate

func (m *PortainerTemplate) Validate(formats strfmt.Registry) error

Validate validates this portainer template

type PortainerTemplateEnv

type PortainerTemplateEnv struct {

	// Default value that will be set for the variable
	// Example: default_value
	Default string `json:"default,omitempty"`

	// Content of the tooltip that will be generated in the UI
	// Example: MySQL root account password
	Description string `json:"description,omitempty"`

	// Text for the label that will be generated in the UI
	// Example: Root password
	Label string `json:"label,omitempty"`

	// name of the environment(endpoint) variable
	// Example: MYSQL_ROOT_PASSWORD
	Name string `json:"name,omitempty"`

	// If set to true, will not generate any input for this variable in the UI
	// Example: false
	Preset bool `json:"preset,omitempty"`

	// A list of name/value that will be used to generate a dropdown in the UI
	Select []*PortainerTemplateEnvSelect `json:"select"`
}

PortainerTemplateEnv portainer template env

swagger:model portainer.TemplateEnv

func (*PortainerTemplateEnv) ContextValidate

func (m *PortainerTemplateEnv) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer template env based on the context it is used

func (*PortainerTemplateEnv) MarshalBinary

func (m *PortainerTemplateEnv) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTemplateEnv) UnmarshalBinary

func (m *PortainerTemplateEnv) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTemplateEnv) Validate

func (m *PortainerTemplateEnv) Validate(formats strfmt.Registry) error

Validate validates this portainer template env

type PortainerTemplateEnvSelect

type PortainerTemplateEnvSelect struct {

	// Will set this choice as the default choice
	// Example: false
	Default bool `json:"default,omitempty"`

	// Some text that will displayed as a choice
	// Example: text value
	Text string `json:"text,omitempty"`

	// A value that will be associated to the choice
	// Example: value
	Value string `json:"value,omitempty"`
}

PortainerTemplateEnvSelect portainer template env select

swagger:model portainer.TemplateEnvSelect

func (*PortainerTemplateEnvSelect) ContextValidate

func (m *PortainerTemplateEnvSelect) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer template env select based on context it is used

func (*PortainerTemplateEnvSelect) MarshalBinary

func (m *PortainerTemplateEnvSelect) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTemplateEnvSelect) UnmarshalBinary

func (m *PortainerTemplateEnvSelect) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTemplateEnvSelect) Validate

func (m *PortainerTemplateEnvSelect) Validate(formats strfmt.Registry) error

Validate validates this portainer template env select

type PortainerTemplateRepository

type PortainerTemplateRepository struct {

	// Path to the stack file inside the git repository
	// Example: ./subfolder/docker-compose.yml
	Stackfile string `json:"stackfile,omitempty"`

	// URL of a git repository used to deploy a stack template. Mandatory for a Swarm/Compose stack template
	// Example: https://github.com/portainer/portainer-compose
	URL string `json:"url,omitempty"`
}

PortainerTemplateRepository portainer template repository

swagger:model portainer.TemplateRepository

func (*PortainerTemplateRepository) ContextValidate

func (m *PortainerTemplateRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer template repository based on context it is used

func (*PortainerTemplateRepository) MarshalBinary

func (m *PortainerTemplateRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTemplateRepository) UnmarshalBinary

func (m *PortainerTemplateRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTemplateRepository) Validate

func (m *PortainerTemplateRepository) Validate(formats strfmt.Registry) error

Validate validates this portainer template repository

type PortainerTemplateVolume

type PortainerTemplateVolume struct {

	// Path on the host
	// Example: /tmp
	Bind string `json:"bind,omitempty"`

	// Path inside the container
	// Example: /data
	Container string `json:"container,omitempty"`

	// Whether the volume used should be readonly
	// Example: true
	Readonly bool `json:"readonly,omitempty"`
}

PortainerTemplateVolume portainer template volume

swagger:model portainer.TemplateVolume

func (*PortainerTemplateVolume) ContextValidate

func (m *PortainerTemplateVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer template volume based on context it is used

func (*PortainerTemplateVolume) MarshalBinary

func (m *PortainerTemplateVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerTemplateVolume) UnmarshalBinary

func (m *PortainerTemplateVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerTemplateVolume) Validate

func (m *PortainerTemplateVolume) Validate(formats strfmt.Registry) error

Validate validates this portainer template volume

type PortainerUserAccessPolicies

type PortainerUserAccessPolicies map[string]PortainerAccessPolicy

PortainerUserAccessPolicies portainer user access policies

swagger:model portainer.UserAccessPolicies

func (PortainerUserAccessPolicies) ContextValidate

func (m PortainerUserAccessPolicies) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portainer user access policies based on the context it is used

func (PortainerUserAccessPolicies) Validate

func (m PortainerUserAccessPolicies) Validate(formats strfmt.Registry) error

Validate validates this portainer user access policies

type PortainerUserResourceAccess

type PortainerUserResourceAccess struct {

	// access level
	AccessLevel int64 `json:"AccessLevel,omitempty"`

	// User identifier who created this template
	UserID int64 `json:"UserId,omitempty"`
}

PortainerUserResourceAccess portainer user resource access

swagger:model portainer.UserResourceAccess

func (*PortainerUserResourceAccess) ContextValidate

func (m *PortainerUserResourceAccess) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer user resource access based on context it is used

func (*PortainerUserResourceAccess) MarshalBinary

func (m *PortainerUserResourceAccess) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerUserResourceAccess) UnmarshalBinary

func (m *PortainerUserResourceAccess) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerUserResourceAccess) Validate

func (m *PortainerUserResourceAccess) Validate(formats strfmt.Registry) error

Validate validates this portainer user resource access

type PortainerWebhook

type PortainerWebhook struct {

	// Environment(Endpoint) identifier. Reference the environment(endpoint) that will be used for deployment
	EndpointID int64 `json:"EndpointId,omitempty"`

	// Webhook Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Registry Identifier
	RegistryID int64 `json:"RegistryId,omitempty"`

	// resource Id
	ResourceID string `json:"ResourceId,omitempty"`

	// token
	Token string `json:"Token,omitempty"`

	// Type of webhook (1 - service)
	Type int64 `json:"Type,omitempty"`
}

PortainerWebhook portainer webhook

swagger:model portainer.Webhook

func (*PortainerWebhook) ContextValidate

func (m *PortainerWebhook) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portainer webhook based on context it is used

func (*PortainerWebhook) MarshalBinary

func (m *PortainerWebhook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainerWebhook) UnmarshalBinary

func (m *PortainerWebhook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainerWebhook) Validate

func (m *PortainerWebhook) Validate(formats strfmt.Registry) error

Validate validates this portainer webhook

type PortainereeAuthActivityLog

type PortainereeAuthActivityLog struct {

	// Active authentication method for the Portainer instance. Valid values are: 1 for internal, 2 for LDAP, or 3 for oauth
	Context int64 `json:"context,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// origin
	Origin string `json:"origin,omitempty"`

	// timestamp
	Timestamp int64 `json:"timestamp,omitempty"`

	// type
	Type int64 `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

PortainereeAuthActivityLog portaineree auth activity log

swagger:model portaineree.AuthActivityLog

func (*PortainereeAuthActivityLog) ContextValidate

func (m *PortainereeAuthActivityLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree auth activity log based on context it is used

func (*PortainereeAuthActivityLog) MarshalBinary

func (m *PortainereeAuthActivityLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeAuthActivityLog) UnmarshalBinary

func (m *PortainereeAuthActivityLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeAuthActivityLog) Validate

func (m *PortainereeAuthActivityLog) Validate(formats strfmt.Registry) error

Validate validates this portaineree auth activity log

type PortainereeCloudAPIKeys

type PortainereeCloudAPIKeys struct {

	// civo Api key
	// Example: DgJ33kwIhnHumQFyc8ihGwWJql9cC8UJDiBhN8YImKqiX
	CivoAPIKey string `json:"CivoApiKey,omitempty"`

	// digital ocean token
	// Example: dop_v1_n9rq7dkcbg3zb3bewtk9nnvmfkyfnr94d42n28lym22vhqu23rtkllsldygqm22v
	DigitalOceanToken string `json:"DigitalOceanToken,omitempty"`

	// g k e Api key
	// Example: an entire base64ed key file
	GKEAPIKey string `json:"GKEApiKey,omitempty"`

	// linode token
	// Example: 92gsh9r9u5helgs4eibcuvlo403vm45hrmc6mzbslotnrqmkwc1ovqgmolcyq0wc
	LinodeToken string `json:"LinodeToken,omitempty"`
}

PortainereeCloudAPIKeys portaineree cloud Api keys

swagger:model portaineree.CloudApiKeys

func (*PortainereeCloudAPIKeys) ContextValidate

func (m *PortainereeCloudAPIKeys) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree cloud Api keys based on context it is used

func (*PortainereeCloudAPIKeys) MarshalBinary

func (m *PortainereeCloudAPIKeys) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeCloudAPIKeys) UnmarshalBinary

func (m *PortainereeCloudAPIKeys) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeCloudAPIKeys) Validate

func (m *PortainereeCloudAPIKeys) Validate(formats strfmt.Registry) error

Validate validates this portaineree cloud Api keys

type PortainereeCloudProvider

type PortainereeCloudProvider struct {

	// MicroK8S specific fields
	AddonWithArgs []*PortainereeMicroK8sAddon `json:"AddonWithArgs"`

	// Amazon specific fields
	AmiType string `json:"AmiType,omitempty"`

	// CPU
	CPU int64 `json:"CPU,omitempty"`

	// CredentialID holds an ID of the credential used to create the cluster
	CredentialID int64 `json:"CredentialID,omitempty"`

	// h d d
	HDD int64 `json:"HDD,omitempty"`

	// instance type
	InstanceType string `json:"InstanceType,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// Pointer will hide this field for providers other than civo which do
	// not use this field.
	NetworkID string `json:"NetworkID,omitempty"`

	// node count
	NodeCount int64 `json:"NodeCount,omitempty"`

	// node i ps
	NodeIPs string `json:"NodeIPs,omitempty"`

	// node volume size
	NodeVolumeSize int64 `json:"NodeVolumeSize,omitempty"`

	// offline install
	OfflineInstall bool `json:"OfflineInstall,omitempty"`

	// provider
	Provider string `json:"Provider,omitempty"`

	// RAM
	RAM float64 `json:"RAM,omitempty"`

	// region
	Region string `json:"Region,omitempty"`

	// size
	Size string `json:"Size,omitempty"`

	// URL
	URL string `json:"URL,omitempty"`

	// dnsprefix
	Dnsprefix string `json:"dnsprefix,omitempty"`

	// kubernetes version
	KubernetesVersion string `json:"kubernetesVersion,omitempty"`

	// pool name
	PoolName string `json:"poolName,omitempty"`

	// Azure specific fields
	ResourceGroup string `json:"resourceGroup,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

PortainereeCloudProvider portaineree cloud provider

swagger:model portaineree.CloudProvider

func (*PortainereeCloudProvider) ContextValidate

func (m *PortainereeCloudProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree cloud provider based on the context it is used

func (*PortainereeCloudProvider) MarshalBinary

func (m *PortainereeCloudProvider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeCloudProvider) UnmarshalBinary

func (m *PortainereeCloudProvider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeCloudProvider) Validate

func (m *PortainereeCloudProvider) Validate(formats strfmt.Registry) error

Validate validates this portaineree cloud provider

type PortainereeCustomTemplate

type PortainereeCustomTemplate struct {

	// User identifier who created this template
	// Example: 3
	CreatedByUserID int64 `json:"CreatedByUserId,omitempty"`

	// Description of the template
	// Example: High performance web server
	Description string `json:"Description,omitempty"`

	// Path to the Stack file
	// Example: docker-compose.yml
	EntryPoint string `json:"EntryPoint,omitempty"`

	// git config
	GitConfig *GittypesRepoConfig `json:"GitConfig,omitempty"`

	// CustomTemplate Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Example: https://portainer.io/img/logo.svg
	Logo string `json:"Logo,omitempty"`

	// A note that will be displayed in the UI. Supports HTML content
	// Example: This is my \u003cb\u003ecustom\u003c/b\u003e template
	Note string `json:"Note,omitempty"`

	// Platform associated to the template.
	// Valid values are: 1 - 'linux', 2 - 'windows'
	// Example: 1
	// Enum: [1,2]
	Platform int64 `json:"Platform,omitempty"`

	// Path on disk to the repository hosting the Stack file
	// Example: /data/custom_template/3
	ProjectPath string `json:"ProjectPath,omitempty"`

	// resource control
	ResourceControl *PortainerResourceControl `json:"ResourceControl,omitempty"`

	// Title of the template
	// Example: Nginx
	Title string `json:"Title,omitempty"`

	// Type of created stack:
	// * 1 - swarm
	// * 2 - compose
	// * 3 - kubernetes
	// Example: 1
	// Enum: [1,2,3]
	Type int64 `json:"Type,omitempty"`

	// edge settings
	EdgeSettings *PortainereeCustomTemplateEdgeSettings `json:"edgeSettings,omitempty"`

	// EdgeTemplate indicates if this template purpose for Edge Stack
	// Example: false
	EdgeTemplate bool `json:"edgeTemplate,omitempty"`

	// IsComposeFormat indicates if the Kubernetes template is created from a Docker Compose file
	// Example: false
	IsComposeFormat bool `json:"isComposeFormat,omitempty"`

	// variables
	Variables []*PortainerCustomTemplateVariableDefinition `json:"variables"`
}

PortainereeCustomTemplate portaineree custom template

swagger:model portaineree.CustomTemplate

func (*PortainereeCustomTemplate) ContextValidate

func (m *PortainereeCustomTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree custom template based on the context it is used

func (*PortainereeCustomTemplate) MarshalBinary

func (m *PortainereeCustomTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeCustomTemplate) UnmarshalBinary

func (m *PortainereeCustomTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeCustomTemplate) Validate

func (m *PortainereeCustomTemplate) Validate(formats strfmt.Registry) error

Validate validates this portaineree custom template

type PortainereeCustomTemplateEdgeSettings

type PortainereeCustomTemplateEdgeSettings struct {

	// private registry Id
	PrivateRegistryID int64 `json:"PrivateRegistryId,omitempty"`

	// Pre Pull Image
	PrePullImage bool `json:"prePullImage,omitempty"`

	// relative path settings
	RelativePathSettings *PortainereeCustomTemplateRelativePathSettings `json:"relativePathSettings,omitempty"`

	// Retry deploy
	// Example: false
	RetryDeploy bool `json:"retryDeploy,omitempty"`

	// retry period
	RetryPeriod int64 `json:"retryPeriod,omitempty"`

	// StaggerConfig is the configuration for staggered update
	StaggerConfig *PortainereeEdgeStaggerConfig `json:"staggerConfig,omitempty"`
}

PortainereeCustomTemplateEdgeSettings portaineree custom template edge settings

swagger:model portaineree.CustomTemplateEdgeSettings

func (*PortainereeCustomTemplateEdgeSettings) ContextValidate

func (m *PortainereeCustomTemplateEdgeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree custom template edge settings based on the context it is used

func (*PortainereeCustomTemplateEdgeSettings) MarshalBinary

func (m *PortainereeCustomTemplateEdgeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeCustomTemplateEdgeSettings) UnmarshalBinary

func (m *PortainereeCustomTemplateEdgeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeCustomTemplateEdgeSettings) Validate

Validate validates this portaineree custom template edge settings

type PortainereeCustomTemplateRelativePathSettings

type PortainereeCustomTemplateRelativePathSettings struct {

	// Local filesystem path
	// Example: /tmp
	FilesystemPath string `json:"filesystemPath,omitempty"`

	// Per device configs group match type
	// Example: file
	// Enum: ["file"," dir"]
	PerDeviceConfigsGroupMatchType string `json:"perDeviceConfigsGroupMatchType,omitempty"`

	// Per device configs match type
	// Example: file
	// Enum: ["file"," dir"]
	PerDeviceConfigsMatchType string `json:"perDeviceConfigsMatchType,omitempty"`

	// Per device configs path
	// Example: configs
	PerDeviceConfigsPath string `json:"perDeviceConfigsPath,omitempty"`

	// Whether the edge stack supports per device configs
	// Example: false
	SupportPerDeviceConfigs bool `json:"supportPerDeviceConfigs,omitempty"`

	// Whether the stack supports relative path volume
	// Example: false
	SupportRelativePath bool `json:"supportRelativePath,omitempty"`
}

PortainereeCustomTemplateRelativePathSettings portaineree custom template relative path settings

swagger:model portaineree.CustomTemplateRelativePathSettings

func (*PortainereeCustomTemplateRelativePathSettings) ContextValidate

ContextValidate validates this portaineree custom template relative path settings based on context it is used

func (*PortainereeCustomTemplateRelativePathSettings) MarshalBinary

MarshalBinary interface implementation

func (*PortainereeCustomTemplateRelativePathSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PortainereeCustomTemplateRelativePathSettings) Validate

Validate validates this portaineree custom template relative path settings

type PortainereeDeploymentOptions

type PortainereeDeploymentOptions struct {

	// Hide manual deploy forms in portainer
	// Example: true
	HideAddWithForm bool `json:"hideAddWithForm,omitempty"`

	// Hide the file upload option in the remaining visible forms
	// Example: false
	HideFileUpload bool `json:"hideFileUpload,omitempty"`

	// Hide the webeditor in the remaining visible forms
	// Example: false
	HideWebEditor bool `json:"hideWebEditor,omitempty"`

	// override global options
	OverrideGlobalOptions bool `json:"overrideGlobalOptions,omitempty"`
}

PortainereeDeploymentOptions portaineree deployment options

swagger:model portaineree.DeploymentOptions

func (*PortainereeDeploymentOptions) ContextValidate

func (m *PortainereeDeploymentOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree deployment options based on context it is used

func (*PortainereeDeploymentOptions) MarshalBinary

func (m *PortainereeDeploymentOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeDeploymentOptions) UnmarshalBinary

func (m *PortainereeDeploymentOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeDeploymentOptions) Validate

func (m *PortainereeDeploymentOptions) Validate(formats strfmt.Registry) error

Validate validates this portaineree deployment options

type PortainereeEdge

type PortainereeEdge struct {

	// Deprecated 2.18
	// Example: false
	AsyncMode bool `json:"AsyncMode,omitempty"`

	// The command list interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	CommandInterval int64 `json:"CommandInterval,omitempty"`

	// The ping interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	PingInterval int64 `json:"PingInterval,omitempty"`

	// The snapshot interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	SnapshotInterval int64 `json:"SnapshotInterval,omitempty"`

	// The address where the tunneling server can be reached by Edge agents
	// Example: portainer.domain.tld
	TunnelServerAddress string `json:"TunnelServerAddress,omitempty"`

	// mtls
	Mtls *PortainereeMTLSSettings `json:"mtls,omitempty"`
}

PortainereeEdge portaineree edge

swagger:model portaineree.Edge

func (*PortainereeEdge) ContextValidate

func (m *PortainereeEdge) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree edge based on the context it is used

func (*PortainereeEdge) MarshalBinary

func (m *PortainereeEdge) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEdge) UnmarshalBinary

func (m *PortainereeEdge) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEdge) Validate

func (m *PortainereeEdge) Validate(formats strfmt.Registry) error

Validate validates this portaineree edge

type PortainereeEdgeAsyncCommand

type PortainereeEdgeAsyncCommand struct {

	// endpoint ID
	EndpointID int64 `json:"endpointID,omitempty"`

	// executed
	Executed bool `json:"executed,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// op
	Op string `json:"op,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// scheduled time
	ScheduledTime string `json:"scheduledTime,omitempty"`

	// timestamp
	Timestamp string `json:"timestamp,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// value
	Value interface{} `json:"value,omitempty"`
}

PortainereeEdgeAsyncCommand portaineree edge async command

swagger:model portaineree.EdgeAsyncCommand

func (*PortainereeEdgeAsyncCommand) ContextValidate

func (m *PortainereeEdgeAsyncCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree edge async command based on context it is used

func (*PortainereeEdgeAsyncCommand) MarshalBinary

func (m *PortainereeEdgeAsyncCommand) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEdgeAsyncCommand) UnmarshalBinary

func (m *PortainereeEdgeAsyncCommand) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEdgeAsyncCommand) Validate

func (m *PortainereeEdgeAsyncCommand) Validate(formats strfmt.Registry) error

Validate validates this portaineree edge async command

type PortainereeEdgeConfig

type PortainereeEdgeConfig struct {

	// base dir
	BaseDir string `json:"baseDir,omitempty"`

	// category
	Category string `json:"category,omitempty"`

	// created
	Created int64 `json:"created,omitempty"`

	// Deprecated fields
	// Deprecated in DBVersion == 2
	CreatedBy int64 `json:"createdBy,omitempty"`

	// edge group i ds
	EdgeGroupIDs []int64 `json:"edgeGroupIDs"`

	// id
	ID int64 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// prev
	Prev *PortainereeEdgeConfig `json:"prev,omitempty"`

	// progress
	Progress *PortainereeEdgeConfigProgress `json:"progress,omitempty"`

	// state
	State int64 `json:"state,omitempty"`

	// type
	Type int64 `json:"type,omitempty"`

	// updated
	Updated int64 `json:"updated,omitempty"`

	// Deprecated fields
	// Deprecated in DBVersion == 2
	UpdatedBy int64 `json:"updatedBy,omitempty"`
}

PortainereeEdgeConfig portaineree edge config

swagger:model portaineree.EdgeConfig

func (*PortainereeEdgeConfig) ContextValidate

func (m *PortainereeEdgeConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree edge config based on the context it is used

func (*PortainereeEdgeConfig) MarshalBinary

func (m *PortainereeEdgeConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEdgeConfig) UnmarshalBinary

func (m *PortainereeEdgeConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEdgeConfig) Validate

func (m *PortainereeEdgeConfig) Validate(formats strfmt.Registry) error

Validate validates this portaineree edge config

type PortainereeEdgeConfigProgress

type PortainereeEdgeConfigProgress struct {

	// success
	Success int64 `json:"success,omitempty"`

	// total
	Total int64 `json:"total,omitempty"`
}

PortainereeEdgeConfigProgress portaineree edge config progress

swagger:model portaineree.EdgeConfigProgress

func (*PortainereeEdgeConfigProgress) ContextValidate

func (m *PortainereeEdgeConfigProgress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree edge config progress based on context it is used

func (*PortainereeEdgeConfigProgress) MarshalBinary

func (m *PortainereeEdgeConfigProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEdgeConfigProgress) UnmarshalBinary

func (m *PortainereeEdgeConfigProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEdgeConfigProgress) Validate

func (m *PortainereeEdgeConfigProgress) Validate(formats strfmt.Registry) error

Validate validates this portaineree edge config progress

type PortainereeEdgeGroup

type PortainereeEdgeGroup struct {

	// dynamic
	Dynamic bool `json:"Dynamic,omitempty"`

	// endpoints
	Endpoints []int64 `json:"Endpoints"`

	// EdgeGroup Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// partial match
	PartialMatch bool `json:"PartialMatch,omitempty"`

	// tag ids
	TagIds []int64 `json:"TagIds"`

	// edge update ID
	EdgeUpdateID int64 `json:"edgeUpdateID,omitempty"`
}

PortainereeEdgeGroup portaineree edge group

swagger:model portaineree.EdgeGroup

func (*PortainereeEdgeGroup) ContextValidate

func (m *PortainereeEdgeGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree edge group based on context it is used

func (*PortainereeEdgeGroup) MarshalBinary

func (m *PortainereeEdgeGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEdgeGroup) UnmarshalBinary

func (m *PortainereeEdgeGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEdgeGroup) Validate

func (m *PortainereeEdgeGroup) Validate(formats strfmt.Registry) error

Validate validates this portaineree edge group

type PortainereeEdgeStack

type PortainereeEdgeStack struct {

	// The GitOps update settings of a git stack
	AutoUpdate *PortainerAutoUpdateSettings `json:"AutoUpdate,omitempty"`

	// StatusArray    map[EndpointID][]EdgeStackStatus `json:"StatusArray"`
	CreationDate int64 `json:"CreationDate,omitempty"`

	// deployment type
	DeploymentType int64 `json:"DeploymentType,omitempty"`

	// edge groups
	EdgeGroups []int64 `json:"EdgeGroups"`

	// entry point
	EntryPoint string `json:"EntryPoint,omitempty"`

	// EdgeStack Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// manifest path
	ManifestPath string `json:"ManifestPath,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// num deployments
	NumDeployments int64 `json:"NumDeployments,omitempty"`

	// Pre Pull Image
	PrePullImage bool `json:"PrePullImage,omitempty"`

	// PreviousDeploymentInfo represents the previous deployment info of the stack
	PreviousDeploymentInfo *PortainerStackDeploymentInfo `json:"PreviousDeploymentInfo,omitempty"`

	// project path
	ProjectPath string `json:"ProjectPath,omitempty"`

	// Re-Pull Image
	RePullImage bool `json:"RePullImage,omitempty"`

	// registries
	Registries []int64 `json:"Registries"`

	// StackFileVersion represents the version of the stack file, such yaml, hcl, manifest file
	// Example: 1
	StackFileVersion int64 `json:"StackFileVersion,omitempty"`

	// status
	Status map[string]PortainerEdgeStackStatus `json:"Status,omitempty"`

	// version
	Version int64 `json:"Version,omitempty"`

	// Options to control the Deployer behaviour
	DeployerOptions *PortainereeEdgeStackDeployerOptions `json:"deployerOptions,omitempty"`

	// EdgeUpdateID represents the parent update ID, will be zero if this stack is not part of an update
	EdgeUpdateID int64 `json:"edgeUpdateID,omitempty"`

	// EnvVars is a list of environment variables to inject into the stack
	EnvVars []*PortainerPair `json:"envVars"`

	// Local filesystem path
	// Example: /tmp
	FilesystemPath string `json:"filesystemPath,omitempty"`

	// The git configuration of a git stack
	GitConfig *GittypesRepoConfig `json:"gitConfig,omitempty"`

	// Per device configs group match type
	// Example: file
	// Enum: ["file"," dir"]
	PerDeviceConfigsGroupMatchType string `json:"perDeviceConfigsGroupMatchType,omitempty"`

	// Per device configs match type
	// Example: file
	// Enum: ["file"," dir"]
	PerDeviceConfigsMatchType string `json:"perDeviceConfigsMatchType,omitempty"`

	// Per device configs path
	// Example: configs
	PerDeviceConfigsPath string `json:"perDeviceConfigsPath,omitempty"`

	// Retry deploy
	// Example: false
	RetryDeploy bool `json:"retryDeploy,omitempty"`

	// RetryPeriod specifies the duration, in seconds, for which the agent should continue attempting to deploy the stack after a failure
	RetryPeriod int64 `json:"retryPeriod,omitempty"`

	// Schedule represents the schedule of the Edge stack (optional, format - 'YYYY-MM-DD HH:mm:ss')
	// Example: 2020-11-13 14:53:00
	ScheduledTime string `json:"scheduledTime,omitempty"`

	// StaggerConfig is the configuration for staggered update
	StaggerConfig *PortainereeEdgeStaggerConfig `json:"staggerConfig,omitempty"`

	// Whether the edge stack supports per device configs
	// Example: false
	SupportPerDeviceConfigs bool `json:"supportPerDeviceConfigs,omitempty"`

	// Whether the stack supports relative path volume
	// Example: false
	SupportRelativePath bool `json:"supportRelativePath,omitempty"`

	// Uses the manifest's namespaces instead of the default one
	UseManifestNamespaces bool `json:"useManifestNamespaces,omitempty"`

	// A UUID to identify a webhook. The stack will be force updated and pull the latest image when the webhook was invoked.
	// Example: c11fdf23-183e-428a-9bb6-16db01032174
	Webhook string `json:"webhook,omitempty"`
}

PortainereeEdgeStack portaineree edge stack

swagger:model portaineree.EdgeStack

func (*PortainereeEdgeStack) ContextValidate

func (m *PortainereeEdgeStack) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree edge stack based on the context it is used

func (*PortainereeEdgeStack) MarshalBinary

func (m *PortainereeEdgeStack) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEdgeStack) UnmarshalBinary

func (m *PortainereeEdgeStack) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEdgeStack) Validate

func (m *PortainereeEdgeStack) Validate(formats strfmt.Registry) error

Validate validates this portaineree edge stack

type PortainereeEdgeStackDeployerOptions

type PortainereeEdgeStackDeployerOptions struct {

	// Drives `compose up --remove-orphans` and `stack up --prune` options
	Prune bool `json:"prune,omitempty"`

	// Drives `compose down --volumes` option
	RemoveVolumes bool `json:"removeVolumes,omitempty"`
}

PortainereeEdgeStackDeployerOptions portaineree edge stack deployer options

swagger:model portaineree.EdgeStackDeployerOptions

func (*PortainereeEdgeStackDeployerOptions) ContextValidate

func (m *PortainereeEdgeStackDeployerOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree edge stack deployer options based on context it is used

func (*PortainereeEdgeStackDeployerOptions) MarshalBinary

func (m *PortainereeEdgeStackDeployerOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEdgeStackDeployerOptions) UnmarshalBinary

func (m *PortainereeEdgeStackDeployerOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEdgeStackDeployerOptions) Validate

Validate validates this portaineree edge stack deployer options

type PortainereeEdgeStaggerConfig

type PortainereeEdgeStaggerConfig struct {

	// device number
	DeviceNumber int64 `json:"deviceNumber,omitempty"`

	// device number increment by
	DeviceNumberIncrementBy int64 `json:"deviceNumberIncrementBy,omitempty"`

	// device number start from
	DeviceNumberStartFrom int64 `json:"deviceNumberStartFrom,omitempty"`

	// stagger option
	StaggerOption int64 `json:"staggerOption,omitempty"`

	// stagger parallel option
	StaggerParallelOption int64 `json:"staggerParallelOption,omitempty"`

	// Timeout unit is minute
	// Example: 5
	Timeout string `json:"timeout,omitempty"`

	// UpdateDelay unit is minute
	// Example: 5
	UpdateDelay string `json:"updateDelay,omitempty"`

	// update failure action
	UpdateFailureAction int64 `json:"updateFailureAction,omitempty"`
}

PortainereeEdgeStaggerConfig portaineree edge stagger config

swagger:model portaineree.EdgeStaggerConfig

func (*PortainereeEdgeStaggerConfig) ContextValidate

func (m *PortainereeEdgeStaggerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree edge stagger config based on context it is used

func (*PortainereeEdgeStaggerConfig) MarshalBinary

func (m *PortainereeEdgeStaggerConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEdgeStaggerConfig) UnmarshalBinary

func (m *PortainereeEdgeStaggerConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEdgeStaggerConfig) Validate

func (m *PortainereeEdgeStaggerConfig) Validate(formats strfmt.Registry) error

Validate validates this portaineree edge stagger config

type PortainereeEndpoint

type PortainereeEndpoint struct {

	// The identifier of the AMT Device associated with this environment(endpoint)
	// Example: 4c4c4544-004b-3910-8037-b6c04f504633
	AMTDeviceGUID string `json:"AMTDeviceGUID,omitempty"`

	// authorized teams
	AuthorizedTeams []int64 `json:"AuthorizedTeams"`

	// Deprecated in DBVersion == 18
	AuthorizedUsers []int64 `json:"AuthorizedUsers"`

	// azure credentials
	AzureCredentials *PortainerAzureCredentials `json:"AzureCredentials,omitempty"`

	// GitOps update change window restriction for stacks and apps
	ChangeWindow *PortainereeEndpointChangeWindow `json:"ChangeWindow,omitempty"`

	// A Kubernetes as a service cloud provider. Only included if this
	// endpoint was created using KaaS provisioning.
	CloudProvider *PortainereeCloudProvider `json:"CloudProvider,omitempty"`

	// Maximum version of docker-compose
	// Example: 3.8
	ComposeSyntaxMaxVersion string `json:"ComposeSyntaxMaxVersion,omitempty"`

	// ContainerEngine represents the container engine type. This can be 'docker' or 'podman' when interacting directly with these environmentes, otherwise ” for kubernetes environments.
	// Example: docker
	ContainerEngine string `json:"ContainerEngine,omitempty"`

	// Hide manual deployment forms for an environment
	DeploymentOptions *PortainereeDeploymentOptions `json:"DeploymentOptions,omitempty"`

	// The check in interval for edge agent (in seconds)
	// Example: 5
	EdgeCheckinInterval int64 `json:"EdgeCheckinInterval,omitempty"`

	// The identifier of the edge agent associated with this environment(endpoint)
	EdgeID string `json:"EdgeID,omitempty"`

	// The key which is used to map the agent to Portainer
	EdgeKey string `json:"EdgeKey,omitempty"`

	// enable g p u management
	EnableGPUManagement bool `json:"EnableGPUManagement,omitempty"`

	// enable image notification
	EnableImageNotification bool `json:"EnableImageNotification,omitempty"`

	// gpus
	Gpus []*PortainerPair `json:"Gpus"`

	// Environment(Endpoint) group identifier
	// Example: 1
	GroupID int64 `json:"GroupId,omitempty"`

	// Heartbeat indicates the heartbeat status of an edge environment
	// Example: true
	Heartbeat bool `json:"Heartbeat,omitempty"`

	// Environment(Endpoint) Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Deprecated v2.18
	IsEdgeDevice bool `json:"IsEdgeDevice,omitempty"`

	// Associated Kubernetes data
	Kubernetes *PortainereeKubernetesData `json:"Kubernetes,omitempty"`

	// m TLS status
	MTLSStatus *PortainereeMTLSStatus `json:"MTLSStatus,omitempty"`

	// Environment(Endpoint) name
	// Example: my-environment
	Name string `json:"Name,omitempty"`

	// Whether we need to run any "post init migrations".
	PostInitMigrations *PortainereeEndpointPostInitMigrations `json:"PostInitMigrations,omitempty"`

	// URL or IP address where exposed containers will be reachable
	// Example: docker.mydomain.tld:2375
	PublicURL string `json:"PublicURL,omitempty"`

	// List of snapshots
	Snapshots []*PortainerDockerSnapshot `json:"Snapshots"`

	// The status of the environment(endpoint) (1 - up, 2 - down)
	// Example: 1
	Status int64 `json:"Status,omitempty"`

	// A message that describes the status. Should be included for Status 3
	// or 4.
	StatusMessage *PortainereeEndpointStatusMessage `json:"StatusMessage,omitempty"`

	// Deprecated fields
	// Deprecated in DBVersion == 4
	TLS bool `json:"TLS,omitempty"`

	// TLS c a cert
	TLSCACert string `json:"TLSCACert,omitempty"`

	// TLS cert
	TLSCert string `json:"TLSCert,omitempty"`

	// TLS config
	TLSConfig *PortainerTLSConfiguration `json:"TLSConfig,omitempty"`

	// TLS key
	TLSKey string `json:"TLSKey,omitempty"`

	// List of tag identifiers to which this environment(endpoint) is associated
	TagIds []int64 `json:"TagIds"`

	// Deprecated in DBVersion == 22
	Tags []string `json:"Tags"`

	// List of team identifiers authorized to connect to this environment(endpoint)
	TeamAccessPolicies PortainerTeamAccessPolicies `json:"TeamAccessPolicies,omitempty"`

	// Environment(Endpoint) environment(endpoint) type. 1 for a Docker environment(endpoint), 2 for an agent on Docker environment(endpoint) or 3 for an Azure environment(endpoint).
	// Example: 1
	Type int64 `json:"Type,omitempty"`

	// URL or IP address of the Docker host associated to this environment(endpoint)
	// Example: docker.mydomain.tld:2375
	URL string `json:"URL,omitempty"`

	// List of user identifiers authorized to connect to this environment(endpoint)
	UserAccessPolicies PortainerUserAccessPolicies `json:"UserAccessPolicies,omitempty"`

	// Whether the device has been trusted or not by the user
	UserTrusted bool `json:"UserTrusted,omitempty"`

	// agent
	Agent *PortainereeEnvironmentAgentData `json:"agent,omitempty"`

	// edge
	Edge *PortainerEnvironmentEdgeSettings `json:"edge,omitempty"`

	// LastCheckInDate mark last check-in date on checkin
	LastCheckInDate int64 `json:"lastCheckInDate,omitempty"`

	// LocalTimeZone is the local time zone of the endpoint
	LocalTimeZone string `json:"localTimeZone,omitempty"`

	// QueryDate of each query with the endpoints list
	QueryDate int64 `json:"queryDate,omitempty"`

	// Environment(Endpoint) specific security settings
	SecuritySettings *PortainerEndpointSecuritySettings `json:"securitySettings,omitempty"`
}

PortainereeEndpoint portaineree endpoint

swagger:model portaineree.Endpoint

func (*PortainereeEndpoint) ContextValidate

func (m *PortainereeEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree endpoint based on the context it is used

func (*PortainereeEndpoint) MarshalBinary

func (m *PortainereeEndpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEndpoint) UnmarshalBinary

func (m *PortainereeEndpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEndpoint) Validate

func (m *PortainereeEndpoint) Validate(formats strfmt.Registry) error

Validate validates this portaineree endpoint

type PortainereeEndpointChangeWindow

type PortainereeEndpointChangeWindow struct {

	// enabled
	// Example: true
	Enabled bool `json:"Enabled,omitempty"`

	// end time
	// Example: 02:00
	EndTime string `json:"EndTime,omitempty"`

	// start time
	// Example: 22:00
	StartTime string `json:"StartTime,omitempty"`
}

PortainereeEndpointChangeWindow portaineree endpoint change window

swagger:model portaineree.EndpointChangeWindow

func (*PortainereeEndpointChangeWindow) ContextValidate

func (m *PortainereeEndpointChangeWindow) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree endpoint change window based on context it is used

func (*PortainereeEndpointChangeWindow) MarshalBinary

func (m *PortainereeEndpointChangeWindow) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEndpointChangeWindow) UnmarshalBinary

func (m *PortainereeEndpointChangeWindow) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEndpointChangeWindow) Validate

Validate validates this portaineree endpoint change window

type PortainereeEndpointPostInitMigrations

type PortainereeEndpointPostInitMigrations struct {

	// migrate g p us
	MigrateGPUs bool `json:"MigrateGPUs,omitempty"`

	// migrate gate keeper
	MigrateGateKeeper bool `json:"MigrateGateKeeper,omitempty"`

	// migrate ingresses
	MigrateIngresses bool `json:"MigrateIngresses,omitempty"`

	// migrate secret owners
	MigrateSecretOwners bool `json:"MigrateSecretOwners,omitempty"`
}

PortainereeEndpointPostInitMigrations portaineree endpoint post init migrations

swagger:model portaineree.EndpointPostInitMigrations

func (*PortainereeEndpointPostInitMigrations) ContextValidate

func (m *PortainereeEndpointPostInitMigrations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree endpoint post init migrations based on context it is used

func (*PortainereeEndpointPostInitMigrations) MarshalBinary

func (m *PortainereeEndpointPostInitMigrations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEndpointPostInitMigrations) UnmarshalBinary

func (m *PortainereeEndpointPostInitMigrations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEndpointPostInitMigrations) Validate

Validate validates this portaineree endpoint post init migrations

type PortainereeEndpointStatusMessage

type PortainereeEndpointStatusMessage struct {

	// detail
	Detail string `json:"detail,omitempty"`

	// TODO: in future versions, we should think about removing these fields and
	// create a separate bucket to store cluster operation messages instead or try to find a better way.
	// Operation/OperationStatus blank means, nothing is happening
	Operation string `json:"operation,omitempty"`

	// ,processing,error
	OperationStatus string `json:"operationStatus,omitempty"`

	// summary
	Summary string `json:"summary,omitempty"`

	// warnings
	Warnings []string `json:"warnings"`
}

PortainereeEndpointStatusMessage portaineree endpoint status message

swagger:model portaineree.EndpointStatusMessage

func (*PortainereeEndpointStatusMessage) ContextValidate

func (m *PortainereeEndpointStatusMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree endpoint status message based on context it is used

func (*PortainereeEndpointStatusMessage) MarshalBinary

func (m *PortainereeEndpointStatusMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEndpointStatusMessage) UnmarshalBinary

func (m *PortainereeEndpointStatusMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEndpointStatusMessage) Validate

Validate validates this portaineree endpoint status message

type PortainereeEnvironmentAgentData

type PortainereeEnvironmentAgentData struct {

	// previous version
	// Example: 1.0.0
	PreviousVersion string `json:"PreviousVersion,omitempty"`

	// version
	// Example: 1.0.0
	Version string `json:"Version,omitempty"`
}

PortainereeEnvironmentAgentData portaineree environment agent data

swagger:model portaineree.EnvironmentAgentData

func (*PortainereeEnvironmentAgentData) ContextValidate

func (m *PortainereeEnvironmentAgentData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree environment agent data based on context it is used

func (*PortainereeEnvironmentAgentData) MarshalBinary

func (m *PortainereeEnvironmentAgentData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeEnvironmentAgentData) UnmarshalBinary

func (m *PortainereeEnvironmentAgentData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeEnvironmentAgentData) Validate

Validate validates this portaineree environment agent data

type PortainereeExperimentalFeatures

type PortainereeExperimentalFeatures struct {

	// open a i integration
	OpenAIIntegration bool `json:"OpenAIIntegration,omitempty"`
}

PortainereeExperimentalFeatures portaineree experimental features

swagger:model portaineree.ExperimentalFeatures

func (*PortainereeExperimentalFeatures) ContextValidate

func (m *PortainereeExperimentalFeatures) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree experimental features based on context it is used

func (*PortainereeExperimentalFeatures) MarshalBinary

func (m *PortainereeExperimentalFeatures) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeExperimentalFeatures) UnmarshalBinary

func (m *PortainereeExperimentalFeatures) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeExperimentalFeatures) Validate

Validate validates this portaineree experimental features

type PortainereeGitCredential

type PortainereeGitCredential struct {

	// creation date
	// Example: 1587399600
	CreationDate int64 `json:"creationDate,omitempty"`

	// GitCredentialID used to identify the binded git credential
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// User Identifier
	// Example: 1
	UserID int64 `json:"userId,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

PortainereeGitCredential portaineree git credential

swagger:model portaineree.GitCredential

func (*PortainereeGitCredential) ContextValidate

func (m *PortainereeGitCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree git credential based on context it is used

func (*PortainereeGitCredential) MarshalBinary

func (m *PortainereeGitCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeGitCredential) UnmarshalBinary

func (m *PortainereeGitCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeGitCredential) Validate

func (m *PortainereeGitCredential) Validate(formats strfmt.Registry) error

Validate validates this portaineree git credential

type PortainereeGithubRegistryData

type PortainereeGithubRegistryData struct {

	// organisation name
	OrganisationName string `json:"OrganisationName,omitempty"`

	// use organisation
	UseOrganisation bool `json:"UseOrganisation,omitempty"`
}

PortainereeGithubRegistryData portaineree github registry data

swagger:model portaineree.GithubRegistryData

func (*PortainereeGithubRegistryData) ContextValidate

func (m *PortainereeGithubRegistryData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree github registry data based on context it is used

func (*PortainereeGithubRegistryData) MarshalBinary

func (m *PortainereeGithubRegistryData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeGithubRegistryData) UnmarshalBinary

func (m *PortainereeGithubRegistryData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeGithubRegistryData) Validate

func (m *PortainereeGithubRegistryData) Validate(formats strfmt.Registry) error

Validate validates this portaineree github registry data

type PortainereeGlobalDeploymentOptions

type PortainereeGlobalDeploymentOptions struct {

	// Hide manual deploy forms in portainer
	// Example: false
	HideAddWithForm bool `json:"hideAddWithForm,omitempty"`

	// Hide the file upload option in the remaining visible forms
	// Example: false
	HideFileUpload bool `json:"hideFileUpload,omitempty"`

	// hide stacks functionality
	// Example: false
	HideStacksFunctionality bool `json:"hideStacksFunctionality,omitempty"`

	// Hide the webeditor in the remaining visible forms
	// Example: false
	HideWebEditor bool `json:"hideWebEditor,omitempty"`

	// min application note length
	// Example: 10
	MinApplicationNoteLength int64 `json:"minApplicationNoteLength,omitempty"`

	// Configure this per environment or globally
	// Example: false
	PerEnvOverride bool `json:"perEnvOverride,omitempty"`

	// Make note field mandatory if enabled
	// Example: false
	RequireNoteOnApplications bool `json:"requireNoteOnApplications,omitempty"`
}

PortainereeGlobalDeploymentOptions portaineree global deployment options

swagger:model portaineree.GlobalDeploymentOptions

func (*PortainereeGlobalDeploymentOptions) ContextValidate

func (m *PortainereeGlobalDeploymentOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree global deployment options based on context it is used

func (*PortainereeGlobalDeploymentOptions) MarshalBinary

func (m *PortainereeGlobalDeploymentOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeGlobalDeploymentOptions) UnmarshalBinary

func (m *PortainereeGlobalDeploymentOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeGlobalDeploymentOptions) Validate

Validate validates this portaineree global deployment options

type PortainereeKubernetesConfiguration

type PortainereeKubernetesConfiguration struct {

	// allow none ingress class
	AllowNoneIngressClass bool `json:"AllowNoneIngressClass,omitempty"`

	// enable resource over commit
	EnableResourceOverCommit bool `json:"EnableResourceOverCommit,omitempty"`

	// ingress availability per namespace
	IngressAvailabilityPerNamespace bool `json:"IngressAvailabilityPerNamespace,omitempty"`

	// ingress classes
	IngressClasses []*PortainerKubernetesIngressClassConfig `json:"IngressClasses"`

	// resource over commit percentage
	ResourceOverCommitPercentage int64 `json:"ResourceOverCommitPercentage,omitempty"`

	// restrict default namespace
	RestrictDefaultNamespace bool `json:"RestrictDefaultNamespace,omitempty"`

	// restrict secrets
	RestrictSecrets bool `json:"RestrictSecrets,omitempty"`

	// restrict standard user ingress w
	RestrictStandardUserIngressW bool `json:"RestrictStandardUserIngressW,omitempty"`

	// storage classes
	StorageClasses []*PortainerKubernetesStorageClassConfig `json:"StorageClasses"`

	// use load balancer
	UseLoadBalancer bool `json:"UseLoadBalancer,omitempty"`

	// use server metrics
	UseServerMetrics bool `json:"UseServerMetrics,omitempty"`
}

PortainereeKubernetesConfiguration portaineree kubernetes configuration

swagger:model portaineree.KubernetesConfiguration

func (*PortainereeKubernetesConfiguration) ContextValidate

func (m *PortainereeKubernetesConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree kubernetes configuration based on the context it is used

func (*PortainereeKubernetesConfiguration) MarshalBinary

func (m *PortainereeKubernetesConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeKubernetesConfiguration) UnmarshalBinary

func (m *PortainereeKubernetesConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeKubernetesConfiguration) Validate

Validate validates this portaineree kubernetes configuration

type PortainereeKubernetesData

type PortainereeKubernetesData struct {

	// configuration
	Configuration *PortainereeKubernetesConfiguration `json:"Configuration,omitempty"`

	// flags
	Flags *PortainerKubernetesFlags `json:"Flags,omitempty"`

	// snapshots
	Snapshots []*PortainerKubernetesSnapshot `json:"Snapshots"`
}

PortainereeKubernetesData portaineree kubernetes data

swagger:model portaineree.KubernetesData

func (*PortainereeKubernetesData) ContextValidate

func (m *PortainereeKubernetesData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree kubernetes data based on the context it is used

func (*PortainereeKubernetesData) MarshalBinary

func (m *PortainereeKubernetesData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeKubernetesData) UnmarshalBinary

func (m *PortainereeKubernetesData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeKubernetesData) Validate

func (m *PortainereeKubernetesData) Validate(formats strfmt.Registry) error

Validate validates this portaineree kubernetes data

type PortainereeLDAPKerberosSettings added in v2.30.0

type PortainereeLDAPKerberosSettings struct {

	// configuration
	Configuration string `json:"Configuration,omitempty"`

	// password
	Password string `json:"Password,omitempty"`

	// realm
	Realm string `json:"Realm,omitempty"`

	// service
	Service string `json:"Service,omitempty"`

	// username
	Username string `json:"Username,omitempty"`
}

PortainereeLDAPKerberosSettings portaineree l d a p kerberos settings

swagger:model portaineree.LDAPKerberosSettings

func (*PortainereeLDAPKerberosSettings) ContextValidate added in v2.30.0

func (m *PortainereeLDAPKerberosSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree l d a p kerberos settings based on context it is used

func (*PortainereeLDAPKerberosSettings) MarshalBinary added in v2.30.0

func (m *PortainereeLDAPKerberosSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeLDAPKerberosSettings) UnmarshalBinary added in v2.30.0

func (m *PortainereeLDAPKerberosSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeLDAPKerberosSettings) Validate added in v2.30.0

Validate validates this portaineree l d a p kerberos settings

type PortainereeLDAPSettings

type PortainereeLDAPSettings struct {

	// Whether auto admin population is switched on or not
	// Example: true
	AdminAutoPopulate bool `json:"AdminAutoPopulate,omitempty"`

	// admin group search settings
	AdminGroupSearchSettings []*PortainerLDAPGroupSearchSettings `json:"AdminGroupSearchSettings"`

	// Saved admin group list, the user will be populated as an admin role if any user group matches the record in the list
	// Example: ["['manager'","'operator']"]
	AdminGroups []string `json:"AdminGroups"`

	// Enable this option if the server is configured for Anonymous access. When enabled, ReaderDN and Password will not be used
	// Example: true
	AnonymousMode bool `json:"AnonymousMode,omitempty"`

	// Automatically provision users and assign them to matching LDAP group names
	// Example: true
	AutoCreateUsers bool `json:"AutoCreateUsers,omitempty"`

	// group search settings
	GroupSearchSettings []*PortainerLDAPGroupSearchSettings `json:"GroupSearchSettings"`

	// Kerberos settings
	Kerberos *PortainereeLDAPKerberosSettings `json:"Kerberos,omitempty"`

	// Password of the account that will be used to search users
	// Example: readonly-password
	Password string `json:"Password,omitempty"`

	// Account that will be used to search for users
	// Example: cn=readonly-account,dc=ldap,dc=domain,dc=tld
	ReaderDN string `json:"ReaderDN,omitempty"`

	// search settings
	SearchSettings []*PortainerLDAPSearchSettings `json:"SearchSettings"`

	// server type
	// Example: 1
	ServerType int64 `json:"ServerType,omitempty"`

	// Whether LDAP connection should use StartTLS
	// Example: true
	StartTLS bool `json:"StartTLS,omitempty"`

	// TLS config
	TLSConfig *PortainerTLSConfiguration `json:"TLSConfig,omitempty"`

	// Deprecated
	URL string `json:"URL,omitempty"`

	// URLs or IP addresses of the LDAP server
	URLs []string `json:"URLs"`
}

PortainereeLDAPSettings portaineree l d a p settings

swagger:model portaineree.LDAPSettings

func (*PortainereeLDAPSettings) ContextValidate

func (m *PortainereeLDAPSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree l d a p settings based on the context it is used

func (*PortainereeLDAPSettings) MarshalBinary

func (m *PortainereeLDAPSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeLDAPSettings) UnmarshalBinary

func (m *PortainereeLDAPSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeLDAPSettings) Validate

func (m *PortainereeLDAPSettings) Validate(formats strfmt.Registry) error

Validate validates this portaineree l d a p settings

type PortainereeMTLSSettings

type PortainereeMTLSSettings struct {

	// CaCertFile is the path to the mTLS CA certificate file
	CaCertFile string `json:"CaCertFile,omitempty"`

	// CertFile is the path to the mTLS certificate file
	CertFile string `json:"CertFile,omitempty"`

	// KeyFile is the path to the mTLS key file
	KeyFile string `json:"KeyFile,omitempty"`

	// use separate cert
	UseSeparateCert bool `json:"UseSeparateCert,omitempty"`
}

PortainereeMTLSSettings portaineree m TLS settings

swagger:model portaineree.MTLSSettings

func (*PortainereeMTLSSettings) ContextValidate

func (m *PortainereeMTLSSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree m TLS settings based on context it is used

func (*PortainereeMTLSSettings) MarshalBinary

func (m *PortainereeMTLSSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeMTLSSettings) UnmarshalBinary

func (m *PortainereeMTLSSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeMTLSSettings) Validate

func (m *PortainereeMTLSSettings) Validate(formats strfmt.Registry) error

Validate validates this portaineree m TLS settings

type PortainereeMTLSStatus

type PortainereeMTLSStatus struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// ok
	Ok bool `json:"ok,omitempty"`
}

PortainereeMTLSStatus portaineree m TLS status

swagger:model portaineree.MTLSStatus

func (*PortainereeMTLSStatus) ContextValidate

func (m *PortainereeMTLSStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree m TLS status based on context it is used

func (*PortainereeMTLSStatus) MarshalBinary

func (m *PortainereeMTLSStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeMTLSStatus) UnmarshalBinary

func (m *PortainereeMTLSStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeMTLSStatus) Validate

func (m *PortainereeMTLSStatus) Validate(formats strfmt.Registry) error

Validate validates this portaineree m TLS status

type PortainereeMicroK8sAddon

type PortainereeMicroK8sAddon struct {

	// arguments
	Arguments string `json:"arguments,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// repository
	Repository string `json:"repository,omitempty"`
}

PortainereeMicroK8sAddon portaineree micro k8s addon

swagger:model portaineree.MicroK8sAddon

func (*PortainereeMicroK8sAddon) ContextValidate

func (m *PortainereeMicroK8sAddon) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree micro k8s addon based on context it is used

func (*PortainereeMicroK8sAddon) MarshalBinary

func (m *PortainereeMicroK8sAddon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeMicroK8sAddon) UnmarshalBinary

func (m *PortainereeMicroK8sAddon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeMicroK8sAddon) Validate

func (m *PortainereeMicroK8sAddon) Validate(formats strfmt.Registry) error

Validate validates this portaineree micro k8s addon

type PortainereeOAuthClaimMappings

type PortainereeOAuthClaimMappings struct {

	// claim val regex
	ClaimValRegex string `json:"ClaimValRegex,omitempty"`

	// team
	Team int64 `json:"Team,omitempty"`
}

PortainereeOAuthClaimMappings portaineree o auth claim mappings

swagger:model portaineree.OAuthClaimMappings

func (*PortainereeOAuthClaimMappings) ContextValidate

func (m *PortainereeOAuthClaimMappings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree o auth claim mappings based on context it is used

func (*PortainereeOAuthClaimMappings) MarshalBinary

func (m *PortainereeOAuthClaimMappings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeOAuthClaimMappings) UnmarshalBinary

func (m *PortainereeOAuthClaimMappings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeOAuthClaimMappings) Validate

func (m *PortainereeOAuthClaimMappings) Validate(formats strfmt.Registry) error

Validate validates this portaineree o auth claim mappings

type PortainereeOAuthSettings

type PortainereeOAuthSettings struct {

	// access token URI
	AccessTokenURI string `json:"AccessTokenURI,omitempty"`

	// auth style
	AuthStyle int64 `json:"AuthStyle,omitempty"`

	// authorization URI
	AuthorizationURI string `json:"AuthorizationURI,omitempty"`

	// client ID
	ClientID string `json:"ClientID,omitempty"`

	// client secret
	ClientSecret string `json:"ClientSecret,omitempty"`

	// default team ID
	DefaultTeamID int64 `json:"DefaultTeamID,omitempty"`

	// hide internal auth
	HideInternalAuth bool `json:"HideInternalAuth,omitempty"`

	// kube secret key
	KubeSecretKey []int64 `json:"KubeSecretKey"`

	// logout URI
	LogoutURI string `json:"LogoutURI,omitempty"`

	// microsoft tenant ID
	MicrosoftTenantID string `json:"MicrosoftTenantID,omitempty"`

	// o auth auto create users
	OAuthAutoCreateUsers bool `json:"OAuthAutoCreateUsers,omitempty"`

	// o auth auto map team memberships
	OAuthAutoMapTeamMemberships bool `json:"OAuthAutoMapTeamMemberships,omitempty"`

	// redirect URI
	RedirectURI string `json:"RedirectURI,omitempty"`

	// resource URI
	ResourceURI string `json:"ResourceURI,omitempty"`

	// s s o
	SSO bool `json:"SSO,omitempty"`

	// scopes
	Scopes string `json:"Scopes,omitempty"`

	// team memberships
	TeamMemberships *PortainereeTeamMemberships `json:"TeamMemberships,omitempty"`

	// user identifier
	UserIdentifier string `json:"UserIdentifier,omitempty"`
}

PortainereeOAuthSettings portaineree o auth settings

swagger:model portaineree.OAuthSettings

func (*PortainereeOAuthSettings) ContextValidate

func (m *PortainereeOAuthSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree o auth settings based on the context it is used

func (*PortainereeOAuthSettings) MarshalBinary

func (m *PortainereeOAuthSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeOAuthSettings) UnmarshalBinary

func (m *PortainereeOAuthSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeOAuthSettings) Validate

func (m *PortainereeOAuthSettings) Validate(formats strfmt.Registry) error

Validate validates this portaineree o auth settings

type PortainereeRegistry

type PortainereeRegistry struct {

	// Stores temporary access token
	AccessToken string `json:"AccessToken,omitempty"`

	// access token expiry
	AccessTokenExpiry int64 `json:"AccessTokenExpiry,omitempty"`

	// Is authentication against this registry enabled
	// Example: true
	Authentication bool `json:"Authentication,omitempty"`

	// Deprecated in DBVersion == 18
	AuthorizedTeams []int64 `json:"AuthorizedTeams"`

	// Deprecated in DBVersion == 18
	AuthorizedUsers []int64 `json:"AuthorizedUsers"`

	// Base URL, introduced for ProGet registry
	// Example: registry.mydomain.tld:2375
	BaseURL string `json:"BaseURL,omitempty"`

	// ecr
	Ecr *PortainerEcrData `json:"Ecr,omitempty"`

	// github
	Github *PortainereeGithubRegistryData `json:"Github,omitempty"`

	// gitlab
	Gitlab *PortainerGitlabRegistryData `json:"Gitlab,omitempty"`

	// Registry Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// management configuration
	ManagementConfiguration *PortainerRegistryManagementConfiguration `json:"ManagementConfiguration,omitempty"`

	// Registry Name
	// Example: my-registry
	Name string `json:"Name,omitempty"`

	// Password or SecretAccessKey used to authenticate against this registry
	// Example: registry_password
	Password string `json:"Password,omitempty"`

	// quay
	Quay *PortainerQuayRegistryData `json:"Quay,omitempty"`

	// registry accesses
	RegistryAccesses PortainerRegistryAccesses `json:"RegistryAccesses,omitempty"`

	// Deprecated in DBVersion == 31
	TeamAccessPolicies PortainerTeamAccessPolicies `json:"TeamAccessPolicies,omitempty"`

	// Registry Type (1 - Quay, 2 - Azure, 3 - Custom, 4 - Gitlab, 5 - ProGet, 6 - DockerHub, 7 - ECR)
	// Enum: [1,2,3,4,5,6,7]
	Type int64 `json:"Type,omitempty"`

	// URL or IP address of the Docker registry
	// Example: registry.mydomain.tld:2375
	URL string `json:"URL,omitempty"`

	// Deprecated fields
	// Deprecated in DBVersion == 31
	UserAccessPolicies PortainerUserAccessPolicies `json:"UserAccessPolicies,omitempty"`

	// Username or AccessKeyID used to authenticate against this registry
	// Example: registry user
	Username string `json:"Username,omitempty"`
}

PortainereeRegistry portaineree registry

swagger:model portaineree.Registry

func (*PortainereeRegistry) ContextValidate

func (m *PortainereeRegistry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree registry based on the context it is used

func (*PortainereeRegistry) MarshalBinary

func (m *PortainereeRegistry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeRegistry) UnmarshalBinary

func (m *PortainereeRegistry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeRegistry) Validate

func (m *PortainereeRegistry) Validate(formats strfmt.Registry) error

Validate validates this portaineree registry

type PortainereeRole

type PortainereeRole struct {

	// Authorizations associated to a role
	// Required: true
	Authorizations PortainerAuthorizations `json:"Authorizations"`

	// Role description
	// Example: Read-only access of all resources in an environment(endpoint)
	// Required: true
	Description *string `json:"Description"`

	// Role Identifier
	// Example: 1
	// Required: true
	ID *int64 `json:"Id"`

	// Role name
	// Example: HelpDesk
	// Required: true
	Name *string `json:"Name"`

	// priority
	// Required: true
	Priority *int64 `json:"Priority"`

	// scope
	// Required: true
	Scope map[string][]string `json:"Scope"`
}

PortainereeRole portaineree role

swagger:model portaineree.Role

func (*PortainereeRole) ContextValidate

func (m *PortainereeRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree role based on the context it is used

func (*PortainereeRole) MarshalBinary

func (m *PortainereeRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeRole) UnmarshalBinary

func (m *PortainereeRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeRole) Validate

func (m *PortainereeRole) Validate(formats strfmt.Registry) error

Validate validates this portaineree role

type PortainereeS3BackupSettings

type PortainereeS3BackupSettings struct {

	// AWS access key id
	AccessKeyID string `json:"accessKeyID,omitempty"`

	// AWS S3 bucket name
	BucketName string `json:"bucketName,omitempty"`

	// Crontab rule to make periodical backups
	CronRule string `json:"cronRule,omitempty"`

	// Password to encrypt the backup with
	Password string `json:"password,omitempty"`

	// AWS S3 region. Default to "us-east-1"
	// Example: us-east-1
	Region string `json:"region,omitempty"`

	// S3 compatible host
	S3CompatibleHost string `json:"s3CompatibleHost,omitempty"`

	// AWS secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`
}

PortainereeS3BackupSettings portaineree s3 backup settings

swagger:model portaineree.S3BackupSettings

func (*PortainereeS3BackupSettings) ContextValidate

func (m *PortainereeS3BackupSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree s3 backup settings based on context it is used

func (*PortainereeS3BackupSettings) MarshalBinary

func (m *PortainereeS3BackupSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeS3BackupSettings) UnmarshalBinary

func (m *PortainereeS3BackupSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeS3BackupSettings) Validate

func (m *PortainereeS3BackupSettings) Validate(formats strfmt.Registry) error

Validate validates this portaineree s3 backup settings

type PortainereeSSLSettings

type PortainereeSSLSettings struct {

	// ca cert path
	CaCertPath string `json:"caCertPath,omitempty"`

	// cert path
	CertPath string `json:"certPath,omitempty"`

	// http enabled
	HTTPEnabled bool `json:"httpEnabled,omitempty"`

	// key path
	KeyPath string `json:"keyPath,omitempty"`

	// self signed
	SelfSigned bool `json:"selfSigned,omitempty"`
}

PortainereeSSLSettings portaineree s s l settings

swagger:model portaineree.SSLSettings

func (*PortainereeSSLSettings) ContextValidate

func (m *PortainereeSSLSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree s s l settings based on context it is used

func (*PortainereeSSLSettings) MarshalBinary

func (m *PortainereeSSLSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeSSLSettings) UnmarshalBinary

func (m *PortainereeSSLSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeSSLSettings) Validate

func (m *PortainereeSSLSettings) Validate(formats strfmt.Registry) error

Validate validates this portaineree s s l settings

type PortainereeSettings

type PortainereeSettings struct {

	// Container environment parameter AGENT_SECRET
	AgentSecret string `json:"AgentSecret,omitempty"`

	// allow bind mounts for regular users
	AllowBindMountsForRegularUsers bool `json:"AllowBindMountsForRegularUsers,omitempty"`

	// allow container capabilities for regular users
	AllowContainerCapabilitiesForRegularUsers bool `json:"AllowContainerCapabilitiesForRegularUsers,omitempty"`

	// allow device mapping for regular users
	AllowDeviceMappingForRegularUsers bool `json:"AllowDeviceMappingForRegularUsers,omitempty"`

	// allow host namespace for regular users
	AllowHostNamespaceForRegularUsers bool `json:"AllowHostNamespaceForRegularUsers,omitempty"`

	// allow privileged mode for regular users
	AllowPrivilegedModeForRegularUsers bool `json:"AllowPrivilegedModeForRegularUsers,omitempty"`

	// allow stack management for regular users
	AllowStackManagementForRegularUsers bool `json:"AllowStackManagementForRegularUsers,omitempty"`

	// allow volume browser for regular users
	AllowVolumeBrowserForRegularUsers bool `json:"AllowVolumeBrowserForRegularUsers,omitempty"`

	// Active authentication method for the Portainer instance. Valid values are: 1 for internal, 2 for LDAP, or 3 for oauth
	// Example: 1
	AuthenticationMethod int64 `json:"AuthenticationMethod,omitempty"`

	// A list of label name & value that will be used to hide containers when querying containers
	BlackListedLabels []*PortainerPair `json:"BlackListedLabels"`

	// CloudAPIKeys
	CloudAPIKeys *PortainereeCloudAPIKeys `json:"CloudApiKeys,omitempty"`

	// The content in plaintext used to display in the login page. Will hide when value is empty string
	CustomLoginBanner string `json:"CustomLoginBanner,omitempty"`

	// DisableKubeRolesSync will disable the sync of kube roles for all built-in roles
	// Example: false
	DisableKubeRolesSync bool `json:"DisableKubeRolesSync,omitempty"`

	// DisableKubeShell will disable the kube shell feature for non-admin users
	// Example: false
	DisableKubeShell bool `json:"DisableKubeShell,omitempty"`

	// DisableKubeconfigDownload will disable the download of kubeconfig files for non-admin users
	// Example: false
	DisableKubeconfigDownload bool `json:"DisableKubeconfigDownload,omitempty"`

	// Deprecated fields
	DisplayDonationHeader bool `json:"DisplayDonationHeader,omitempty"`

	// display external contributors
	DisplayExternalContributors bool `json:"DisplayExternalContributors,omitempty"`

	// edge
	Edge *PortainereeEdge `json:"Edge,omitempty"`

	// The default check in interval for edge agent (in seconds)
	// Example: 5
	EdgeAgentCheckinInterval int64 `json:"EdgeAgentCheckinInterval,omitempty"`

	// EdgePortainerURL is the URL that is exposed to edge agents
	EdgePortainerURL string `json:"EdgePortainerUrl,omitempty"`

	// Whether edge compute features are enabled
	EnableEdgeComputeFeatures bool `json:"EnableEdgeComputeFeatures,omitempty"`

	// Deprecated fields v26
	EnableHostManagementFeatures bool `json:"EnableHostManagementFeatures,omitempty"`

	// Whether telemetry is enabled
	// Example: false
	EnableTelemetry bool `json:"EnableTelemetry,omitempty"`

	// EnforceEdgeID makes Portainer store the Edge ID instead of accepting anyone
	// Example: false
	EnforceEdgeID bool `json:"EnforceEdgeID,omitempty"`

	// Experimental features
	ExperimentalFeatures *PortainereeExperimentalFeatures `json:"ExperimentalFeatures,omitempty"`

	// feature flag settings
	FeatureFlagSettings map[string]bool `json:"FeatureFlagSettings,omitempty"`

	// Deployment options for encouraging git ops workflows
	GlobalDeploymentOptions *PortainereeGlobalDeploymentOptions `json:"GlobalDeploymentOptions,omitempty"`

	// Helm repository URL, defaults to "https://charts.bitnami.com/bitnami"
	// Example: https://charts.bitnami.com/bitnami
	HelmRepositoryURL string `json:"HelmRepositoryURL,omitempty"`

	// internal auth settings
	InternalAuthSettings *PortainerInternalAuthSettings `json:"InternalAuthSettings,omitempty"`

	// is docker desktop extension
	IsDockerDesktopExtension bool `json:"IsDockerDesktopExtension,omitempty"`

	// The expiry of a Kubeconfig
	// Example: 24h
	KubeconfigExpiry string `json:"KubeconfigExpiry,omitempty"`

	// KubectlImage, defaults to portainer/kubectl-shell
	// Example: portainer/kubectl-shell
	KubectlShellImage string `json:"KubectlShellImage,omitempty"`

	// l d a p settings
	LDAPSettings *PortainereeLDAPSettings `json:"LDAPSettings,omitempty"`

	// URL to a logo that will be displayed on the login page as well as on top of the sidebar. Will use default Portainer logo when value is empty string
	// Example: https://mycompany.mydomain.tld/logo.png
	LogoURL string `json:"LogoURL,omitempty"`

	// o auth settings
	OAuthSettings *PortainereeOAuthSettings `json:"OAuthSettings,omitempty"`

	// The interval in which environment(endpoint) snapshots are created
	// Example: 5m
	SnapshotInterval string `json:"SnapshotInterval,omitempty"`

	// URL to the templates that will be displayed in the UI when navigating to App Templates
	// Example: https://raw.githubusercontent.com/portainer/templates/master/templates.json
	TemplatesURL string `json:"TemplatesURL,omitempty"`

	// TrustOnFirstConnect makes Portainer accepting edge agent connection by default
	// Example: false
	TrustOnFirstConnect bool `json:"TrustOnFirstConnect,omitempty"`

	// The duration of a user session
	// Example: 5m
	UserSessionTimeout string `json:"UserSessionTimeout,omitempty"`

	// default registry
	DefaultRegistry *PortainereeSettingsDefaultRegistry `json:"defaultRegistry,omitempty"`

	// open a m t configuration
	OpenAMTConfiguration *PortainerOpenAMTConfiguration `json:"openAMTConfiguration,omitempty"`
}

PortainereeSettings portaineree settings

swagger:model portaineree.Settings

func (*PortainereeSettings) ContextValidate

func (m *PortainereeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree settings based on the context it is used

func (*PortainereeSettings) MarshalBinary

func (m *PortainereeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeSettings) UnmarshalBinary

func (m *PortainereeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeSettings) Validate

func (m *PortainereeSettings) Validate(formats strfmt.Registry) error

Validate validates this portaineree settings

type PortainereeSettingsDefaultRegistry

type PortainereeSettingsDefaultRegistry struct {

	// hide
	// Example: false
	Hide bool `json:"Hide,omitempty"`
}

PortainereeSettingsDefaultRegistry The default builtin registry now is anonymous docker hub registry

swagger:model PortainereeSettingsDefaultRegistry

func (*PortainereeSettingsDefaultRegistry) ContextValidate

func (m *PortainereeSettingsDefaultRegistry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree settings default registry based on context it is used

func (*PortainereeSettingsDefaultRegistry) MarshalBinary

func (m *PortainereeSettingsDefaultRegistry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeSettingsDefaultRegistry) UnmarshalBinary

func (m *PortainereeSettingsDefaultRegistry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeSettingsDefaultRegistry) Validate

Validate validates this portaineree settings default registry

type PortainereeStack

type PortainereeStack struct {

	// Only applies when deploying stack with multiple files
	AdditionalFiles []string `json:"AdditionalFiles"`

	// The GitOps update settings of a git stack
	AutoUpdate *PortainerAutoUpdateSettings `json:"AutoUpdate,omitempty"`

	// Environment(Endpoint) identifier. Reference the environment(endpoint) that will be used for deployment
	// Example: 1
	EndpointID int64 `json:"EndpointId,omitempty"`

	// Path to the Stack file
	// Example: docker-compose.yml
	EntryPoint string `json:"EntryPoint,omitempty"`

	// A list of environment(endpoint) variables used during stack deployment
	Env []*PortainerPair `json:"Env"`

	// Stack Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// Stack name
	// Example: myStack
	Name string `json:"Name,omitempty"`

	// The stack deployment option
	Option *PortainerStackOption `json:"Option,omitempty"`

	// The previous deployment info of the stack
	PreviousDeploymentInfo *PortainerStackDeploymentInfo `json:"PreviousDeploymentInfo,omitempty"`

	// resource control
	ResourceControl *PortainerResourceControl `json:"ResourceControl,omitempty"`

	// Stack status (1 - active, 2 - inactive)
	// Example: 1
	Status int64 `json:"Status,omitempty"`

	// Cluster identifier of the Swarm cluster where the stack is deployed
	// Example: jpofkc0i9uo9wtx1zesuk649w
	SwarmID string `json:"SwarmId,omitempty"`

	// Stack type. 1 for a Swarm stack, 2 for a Compose stack
	// Example: 2
	Type int64 `json:"Type,omitempty"`

	// The username which created this stack
	// Example: admin
	CreatedBy string `json:"createdBy,omitempty"`

	// The username id which created this stack
	// Example: 1
	CreatedByUserID string `json:"createdByUserId,omitempty"`

	// The date in unix time when stack was created
	// Example: 1587399600
	CreationDate int64 `json:"creationDate,omitempty"`

	// Network(Swarm) or local(Standalone) filesystem path
	// Example: /tmp
	FilesystemPath string `json:"filesystemPath,omitempty"`

	// Whether the stack is from a app template
	// Example: false
	FromAppTemplate bool `json:"fromAppTemplate,omitempty"`

	// The git config of this stack
	GitConfig *GittypesRepoConfig `json:"gitConfig,omitempty"`

	// Whether the stack is detached from git
	// Example: false
	IsDetachedFromGit bool `json:"isDetachedFromGit,omitempty"`

	// Kubernetes namespace if stack is a kube application
	// Example: default
	Namespace string `json:"namespace,omitempty"`

	// Path on disk to the repository hosting the Stack file
	// Example: /data/compose/myStack_jpofkc0i9uo9wtx1zesuk649w
	ProjectPath string `json:"projectPath,omitempty"`

	// StackFileVersion indicates the stack file version, such as yaml, hcl, and manifest
	// Example: 1
	StackFileVersion int64 `json:"stackFileVersion,omitempty"`

	// If stack support relative path volume
	// Example: false
	SupportRelativePath bool `json:"supportRelativePath,omitempty"`

	// The date in unix time when stack was last updated
	// Example: 1587399600
	UpdateDate int64 `json:"updateDate,omitempty"`

	// The username which last updated this stack
	// Example: bob
	UpdatedBy string `json:"updatedBy,omitempty"`

	// A UUID to identify a webhook. The stack will be force updated and pull the latest image when the webhook was invoked.
	// Example: c11fdf23-183e-428a-9bb6-16db01032174
	Webhook string `json:"webhook,omitempty"`
}

PortainereeStack portaineree stack

swagger:model portaineree.Stack

func (*PortainereeStack) ContextValidate

func (m *PortainereeStack) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree stack based on the context it is used

func (*PortainereeStack) MarshalBinary

func (m *PortainereeStack) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeStack) UnmarshalBinary

func (m *PortainereeStack) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeStack) Validate

func (m *PortainereeStack) Validate(formats strfmt.Registry) error

Validate validates this portaineree stack

type PortainereeTeamMemberships

type PortainereeTeamMemberships struct {

	// admin auto populate
	AdminAutoPopulate bool `json:"AdminAutoPopulate,omitempty"`

	// admin group claims regex list
	AdminGroupClaimsRegexList []string `json:"AdminGroupClaimsRegexList"`

	// o auth claim mappings
	OAuthClaimMappings []*PortainereeOAuthClaimMappings `json:"OAuthClaimMappings"`

	// o auth claim name
	OAuthClaimName string `json:"OAuthClaimName,omitempty"`
}

PortainereeTeamMemberships portaineree team memberships

swagger:model portaineree.TeamMemberships

func (*PortainereeTeamMemberships) ContextValidate

func (m *PortainereeTeamMemberships) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree team memberships based on the context it is used

func (*PortainereeTeamMemberships) MarshalBinary

func (m *PortainereeTeamMemberships) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeTeamMemberships) UnmarshalBinary

func (m *PortainereeTeamMemberships) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeTeamMemberships) Validate

func (m *PortainereeTeamMemberships) Validate(formats strfmt.Registry) error

Validate validates this portaineree team memberships

type PortainereeUser

type PortainereeUser struct {

	// endpoint authorizations
	EndpointAuthorizations PortainerEndpointAuthorizations `json:"EndpointAuthorizations,omitempty"`

	// User Identifier
	// Example: 1
	ID int64 `json:"Id,omitempty"`

	// OpenAI integration parameters
	// Example: sk-1234567890
	OpenAIAPIKey string `json:"OpenAIApiKey,omitempty"`

	// portainer authorizations
	PortainerAuthorizations PortainerAuthorizations `json:"PortainerAuthorizations,omitempty"`

	// User role (1 for administrator account and 2 for regular account)
	// Example: 1
	Role int64 `json:"Role,omitempty"`

	// theme settings
	ThemeSettings *PortainereeUserThemeSettings `json:"ThemeSettings,omitempty"`

	// token issue at
	// Example: 1639408208
	TokenIssueAt int64 `json:"TokenIssueAt,omitempty"`

	// use cache
	// Example: true
	UseCache bool `json:"UseCache,omitempty"`

	// Deprecated
	// Example: dark
	UserTheme string `json:"UserTheme,omitempty"`

	// username
	// Example: bob
	Username string `json:"Username,omitempty"`
}

PortainereeUser portaineree user

swagger:model portaineree.User

func (*PortainereeUser) ContextValidate

func (m *PortainereeUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this portaineree user based on the context it is used

func (*PortainereeUser) MarshalBinary

func (m *PortainereeUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeUser) UnmarshalBinary

func (m *PortainereeUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeUser) Validate

func (m *PortainereeUser) Validate(formats strfmt.Registry) error

Validate validates this portaineree user

type PortainereeUserActivityLog

type PortainereeUserActivityLog struct {

	// action
	Action string `json:"action,omitempty"`

	// context
	Context string `json:"context,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// payload
	Payload []int64 `json:"payload"`

	// timestamp
	Timestamp int64 `json:"timestamp,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

PortainereeUserActivityLog portaineree user activity log

swagger:model portaineree.UserActivityLog

func (*PortainereeUserActivityLog) ContextValidate

func (m *PortainereeUserActivityLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree user activity log based on context it is used

func (*PortainereeUserActivityLog) MarshalBinary

func (m *PortainereeUserActivityLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeUserActivityLog) UnmarshalBinary

func (m *PortainereeUserActivityLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeUserActivityLog) Validate

func (m *PortainereeUserActivityLog) Validate(formats strfmt.Registry) error

Validate validates this portaineree user activity log

type PortainereeUserThemeSettings

type PortainereeUserThemeSettings struct {

	// Color represents the color theme of the UI
	// Example: dark
	// Enum: ["dark","light","highcontrast","auto"]
	Color string `json:"color,omitempty"`

	// SubtleUpgradeButton indicates if the upgrade banner should be displayed in a subtle way
	SubtleUpgradeButton bool `json:"subtleUpgradeButton,omitempty"`
}

PortainereeUserThemeSettings portaineree user theme settings

swagger:model portaineree.UserThemeSettings

func (*PortainereeUserThemeSettings) ContextValidate

func (m *PortainereeUserThemeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this portaineree user theme settings based on context it is used

func (*PortainereeUserThemeSettings) MarshalBinary

func (m *PortainereeUserThemeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortainereeUserThemeSettings) UnmarshalBinary

func (m *PortainereeUserThemeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortainereeUserThemeSettings) Validate

func (m *PortainereeUserThemeSettings) Validate(formats strfmt.Registry) error

Validate validates this portaineree user theme settings

type ProvidersAmazonProvisionPayload

type ProvidersAmazonProvisionPayload struct {

	// ami type
	// Example: BOTTLEROCKET_x86_64
	// Required: true
	AmiType *string `json:"amiType"`

	// CredentialID holds an ID of the credential used to create the cluster
	// Example: 1
	// Required: true
	CredentialID *int64 `json:"credentialID"`

	// instance type
	// Example: m5.large
	// Required: true
	InstanceType *string `json:"instanceType"`

	// kubernetes version
	// Example: 1.23
	// Required: true
	KubernetesVersion *string `json:"kubernetesVersion"`

	// meta
	Meta *TypesEnvironmentMetadata `json:"meta,omitempty"`

	// name
	// Example: myDevCluster
	// Required: true
	Name *string `json:"name"`

	// network ID
	// Example: 8465fb26-632e-4fa3-bb9b-21c449629026
	NetworkID string `json:"networkID,omitempty"`

	// node count
	// Example: 3
	// Required: true
	NodeCount *int64 `json:"nodeCount"`

	// node size
	// Example: g3.small
	// Required: true
	NodeSize *string `json:"nodeSize"`

	// node volume size
	// Example: 20
	NodeVolumeSize int64 `json:"nodeVolumeSize,omitempty"`

	// region
	// Example: NYC1
	// Required: true
	Region *string `json:"region"`
}

ProvidersAmazonProvisionPayload providers amazon provision payload

swagger:model providers.AmazonProvisionPayload

func (*ProvidersAmazonProvisionPayload) ContextValidate

func (m *ProvidersAmazonProvisionPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this providers amazon provision payload based on the context it is used

func (*ProvidersAmazonProvisionPayload) MarshalBinary

func (m *ProvidersAmazonProvisionPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProvidersAmazonProvisionPayload) UnmarshalBinary

func (m *ProvidersAmazonProvisionPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProvidersAmazonProvisionPayload) Validate

Validate validates this providers amazon provision payload

type ProvidersAzureProvisionPayload

type ProvidersAzureProvisionPayload struct {

	// availability zones
	AvailabilityZones []string `json:"availabilityZones"`

	// CredentialID holds an ID of the credential used to create the cluster
	// Example: 1
	// Required: true
	CredentialID *int64 `json:"credentialID"`

	// dns prefix
	DNSPrefix string `json:"dnsPrefix,omitempty"`

	// kubernetes version
	// Example: 1.23
	// Required: true
	KubernetesVersion *string `json:"kubernetesVersion"`

	// meta
	Meta *TypesEnvironmentMetadata `json:"meta,omitempty"`

	// name
	// Example: myDevCluster
	// Required: true
	Name *string `json:"name"`

	// network ID
	// Example: 8465fb26-632e-4fa3-bb9b-21c449629026
	NetworkID string `json:"networkID,omitempty"`

	// node count
	// Example: 3
	// Required: true
	NodeCount *int64 `json:"nodeCount"`

	// node size
	// Example: g3.small
	// Required: true
	NodeSize *string `json:"nodeSize"`

	// pool name
	PoolName string `json:"poolName,omitempty"`

	// region
	// Example: NYC1
	// Required: true
	Region *string `json:"region"`

	// Azure specific fields
	ResourceGroup string `json:"resourceGroup,omitempty"`

	// resource group name
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

ProvidersAzureProvisionPayload providers azure provision payload

swagger:model providers.AzureProvisionPayload

func (*ProvidersAzureProvisionPayload) ContextValidate

func (m *ProvidersAzureProvisionPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this providers azure provision payload based on the context it is used

func (*ProvidersAzureProvisionPayload) MarshalBinary

func (m *ProvidersAzureProvisionPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProvidersAzureProvisionPayload) UnmarshalBinary

func (m *ProvidersAzureProvisionPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProvidersAzureProvisionPayload) Validate

func (m *ProvidersAzureProvisionPayload) Validate(formats strfmt.Registry) error

Validate validates this providers azure provision payload

type ProvidersDefaultProvisionPayload

type ProvidersDefaultProvisionPayload struct {

	// CredentialID holds an ID of the credential used to create the cluster
	// Example: 1
	// Required: true
	CredentialID *int64 `json:"credentialID"`

	// kubernetes version
	// Example: 1.23
	// Required: true
	KubernetesVersion *string `json:"kubernetesVersion"`

	// meta
	Meta *TypesEnvironmentMetadata `json:"meta,omitempty"`

	// name
	// Example: myDevCluster
	// Required: true
	Name *string `json:"name"`

	// network ID
	// Example: 8465fb26-632e-4fa3-bb9b-21c449629026
	NetworkID string `json:"networkID,omitempty"`

	// node count
	// Example: 3
	// Required: true
	NodeCount *int64 `json:"nodeCount"`

	// node size
	// Example: g3.small
	// Required: true
	NodeSize *string `json:"nodeSize"`

	// region
	// Example: NYC1
	// Required: true
	Region *string `json:"region"`
}

ProvidersDefaultProvisionPayload providers default provision payload

swagger:model providers.DefaultProvisionPayload

func (*ProvidersDefaultProvisionPayload) ContextValidate

func (m *ProvidersDefaultProvisionPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this providers default provision payload based on the context it is used

func (*ProvidersDefaultProvisionPayload) MarshalBinary

func (m *ProvidersDefaultProvisionPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProvidersDefaultProvisionPayload) UnmarshalBinary

func (m *ProvidersDefaultProvisionPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProvidersDefaultProvisionPayload) Validate

Validate validates this providers default provision payload

type ProvidersGKEProvisionPayload

type ProvidersGKEProvisionPayload struct {

	// cpu
	// Example: 2
	CPU int64 `json:"cpu,omitempty"`

	// CredentialID holds an ID of the credential used to create the cluster
	// Example: 1
	// Required: true
	CredentialID *int64 `json:"credentialID"`

	// hdd
	// Example: 100
	Hdd int64 `json:"hdd,omitempty"`

	// kubernetes version
	// Example: 1.23
	// Required: true
	KubernetesVersion *string `json:"kubernetesVersion"`

	// meta
	Meta *TypesEnvironmentMetadata `json:"meta,omitempty"`

	// name
	// Example: myDevCluster
	// Required: true
	Name *string `json:"name"`

	// network ID
	// Example: 8465fb26-632e-4fa3-bb9b-21c449629026
	NetworkID string `json:"networkID,omitempty"`

	// node count
	// Example: 3
	// Required: true
	NodeCount *int64 `json:"nodeCount"`

	// node size
	// Example: g3.small
	// Required: true
	NodeSize *string `json:"nodeSize"`

	// ram
	// Example: 4
	RAM float64 `json:"ram,omitempty"`

	// region
	// Example: NYC1
	// Required: true
	Region *string `json:"region"`
}

ProvidersGKEProvisionPayload providers g k e provision payload

swagger:model providers.GKEProvisionPayload

func (*ProvidersGKEProvisionPayload) ContextValidate

func (m *ProvidersGKEProvisionPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this providers g k e provision payload based on the context it is used

func (*ProvidersGKEProvisionPayload) MarshalBinary

func (m *ProvidersGKEProvisionPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProvidersGKEProvisionPayload) UnmarshalBinary

func (m *ProvidersGKEProvisionPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProvidersGKEProvisionPayload) Validate

func (m *ProvidersGKEProvisionPayload) Validate(formats strfmt.Registry) error

Validate validates this providers g k e provision payload

type ProvidersMicrok8sTestSSHPayload

type ProvidersMicrok8sTestSSHPayload struct {

	// CredentialID holds an ID of the credential used to create the cluster
	// Example: 1
	// Required: true
	CredentialID *int64 `json:"credentialID"`

	// node i ps
	// Required: true
	NodeIPs []string `json:"nodeIPs"`
}

ProvidersMicrok8sTestSSHPayload providers microk8s test SSH payload

swagger:model providers.Microk8sTestSSHPayload

func (*ProvidersMicrok8sTestSSHPayload) ContextValidate

func (m *ProvidersMicrok8sTestSSHPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this providers microk8s test SSH payload based on context it is used

func (*ProvidersMicrok8sTestSSHPayload) MarshalBinary

func (m *ProvidersMicrok8sTestSSHPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProvidersMicrok8sTestSSHPayload) UnmarshalBinary

func (m *ProvidersMicrok8sTestSSHPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProvidersMicrok8sTestSSHPayload) Validate

Validate validates this providers microk8s test SSH payload

type ProvidersMicrok8sUpdateAddonsPayload

type ProvidersMicrok8sUpdateAddonsPayload struct {

	// addons
	Addons []*PortainereeMicroK8sAddon `json:"addons"`
}

ProvidersMicrok8sUpdateAddonsPayload providers microk8s update addons payload

swagger:model providers.Microk8sUpdateAddonsPayload

func (*ProvidersMicrok8sUpdateAddonsPayload) ContextValidate

func (m *ProvidersMicrok8sUpdateAddonsPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this providers microk8s update addons payload based on the context it is used

func (*ProvidersMicrok8sUpdateAddonsPayload) MarshalBinary

func (m *ProvidersMicrok8sUpdateAddonsPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProvidersMicrok8sUpdateAddonsPayload) UnmarshalBinary

func (m *ProvidersMicrok8sUpdateAddonsPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProvidersMicrok8sUpdateAddonsPayload) Validate

Validate validates this providers microk8s update addons payload

type RegistriesDeleteTagsPayload

type RegistriesDeleteTagsPayload struct {

	// tags
	Tags []string `json:"tags"`
}

RegistriesDeleteTagsPayload registries delete tags payload

swagger:model registries.deleteTagsPayload

func (*RegistriesDeleteTagsPayload) ContextValidate

func (m *RegistriesDeleteTagsPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this registries delete tags payload based on context it is used

func (*RegistriesDeleteTagsPayload) MarshalBinary

func (m *RegistriesDeleteTagsPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegistriesDeleteTagsPayload) UnmarshalBinary

func (m *RegistriesDeleteTagsPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegistriesDeleteTagsPayload) Validate

func (m *RegistriesDeleteTagsPayload) Validate(formats strfmt.Registry) error

Validate validates this registries delete tags payload

type RegistriesRegistryConfigurePayload

type RegistriesRegistryConfigurePayload struct {

	// Is authentication against this registry enabled
	// Example: false
	// Required: true
	Authentication *bool `json:"authentication"`

	// Password used to authenticate against this registry. required when Authentication is true
	// Example: registry_password
	Password string `json:"password,omitempty"`

	// ECR region
	Region string `json:"region,omitempty"`

	// Use TLS
	// Example: true
	TLS bool `json:"tls,omitempty"`

	// The TLS CA certificate file
	TlscacertFile []int64 `json:"tlscacertFile"`

	// The TLS client certificate file
	TlscertFile []int64 `json:"tlscertFile"`

	// The TLS client key file
	TlskeyFile []int64 `json:"tlskeyFile"`

	// Skip the verification of the server TLS certificate
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`

	// Username used to authenticate against this registry. Required when Authentication is true
	// Example: registry_user
	Username string `json:"username,omitempty"`
}

RegistriesRegistryConfigurePayload registries registry configure payload

swagger:model registries.registryConfigurePayload

func (*RegistriesRegistryConfigurePayload) ContextValidate

func (m *RegistriesRegistryConfigurePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this registries registry configure payload based on context it is used

func (*RegistriesRegistryConfigurePayload) MarshalBinary

func (m *RegistriesRegistryConfigurePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegistriesRegistryConfigurePayload) UnmarshalBinary

func (m *RegistriesRegistryConfigurePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegistriesRegistryConfigurePayload) Validate

Validate validates this registries registry configure payload

type RegistriesRegistryCreatePayload

type RegistriesRegistryCreatePayload struct {

	// Is authentication against this registry enabled
	// Example: false
	// Required: true
	Authentication *bool `json:"authentication"`

	// BaseURL required for ProGet registry
	// Example: registry.mydomain.tld:2375
	BaseURL string `json:"baseURL,omitempty"`

	// ECR specific details, required when type = 7
	Ecr *PortainerEcrData `json:"ecr,omitempty"`

	// Github specific details, required when type = 8
	Github *PortainereeGithubRegistryData `json:"github,omitempty"`

	// Gitlab specific details, required when type = 4
	Gitlab *PortainerGitlabRegistryData `json:"gitlab,omitempty"`

	// Name that will be used to identify this registry
	// Example: my-registry
	// Required: true
	Name *string `json:"name"`

	// Password used to authenticate against this registry. required when Authentication is true
	// Example: registry_password
	Password string `json:"password,omitempty"`

	// Quay specific details, required when type = 1
	Quay *PortainerQuayRegistryData `json:"quay,omitempty"`

	// Registry Type. Valid values are:
	// 	1 (Quay.io),
	// 	2 (Azure container registry),
	// 	3 (custom registry),
	// 	4 (Gitlab registry),
	// 	5 (ProGet registry),
	// 	6 (DockerHub)
	// 	7 (ECR)
	// 	8 (Github registry)
	// Example: 1
	// Required: true
	// Enum: [1,2,3,4,5,6,7,8]
	Type *int64 `json:"type"`

	// URL or IP address of the Docker registry
	// Example: registry.mydomain.tld:2375/feed
	// Required: true
	URL *string `json:"url"`

	// Username used to authenticate against this registry. Required when Authentication is true
	// Example: registry_user
	Username string `json:"username,omitempty"`
}

RegistriesRegistryCreatePayload registries registry create payload

swagger:model registries.registryCreatePayload

func (*RegistriesRegistryCreatePayload) ContextValidate

func (m *RegistriesRegistryCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this registries registry create payload based on the context it is used

func (*RegistriesRegistryCreatePayload) MarshalBinary

func (m *RegistriesRegistryCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegistriesRegistryCreatePayload) UnmarshalBinary

func (m *RegistriesRegistryCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegistriesRegistryCreatePayload) Validate

Validate validates this registries registry create payload

type RegistriesRegistryUpdatePayload

type RegistriesRegistryUpdatePayload struct {

	// authentication
	// Example: false
	// Required: true
	Authentication *bool `json:"authentication"`

	// base URL
	// Example: registry.mydomain.tld:2375
	BaseURL string `json:"baseURL,omitempty"`

	// ecr
	Ecr *PortainerEcrData `json:"ecr,omitempty"`

	// github
	Github *PortainereeGithubRegistryData `json:"github,omitempty"`

	// name
	// Example: my-registry
	// Required: true
	Name *string `json:"name"`

	// password
	// Example: registry_password
	Password string `json:"password,omitempty"`

	// quay
	Quay *PortainerQuayRegistryData `json:"quay,omitempty"`

	// registry accesses
	RegistryAccesses PortainerRegistryAccesses `json:"registryAccesses,omitempty"`

	// url
	// Example: registry.mydomain.tld:2375/feed
	// Required: true
	URL *string `json:"url"`

	// username
	// Example: registry_user
	Username string `json:"username,omitempty"`
}

RegistriesRegistryUpdatePayload registries registry update payload

swagger:model registries.registryUpdatePayload

func (*RegistriesRegistryUpdatePayload) ContextValidate

func (m *RegistriesRegistryUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this registries registry update payload based on the context it is used

func (*RegistriesRegistryUpdatePayload) MarshalBinary

func (m *RegistriesRegistryUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegistriesRegistryUpdatePayload) UnmarshalBinary

func (m *RegistriesRegistryUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegistriesRegistryUpdatePayload) Validate

Validate validates this registries registry update payload

type ReleaseChart

type ReleaseChart struct {

	// Files are miscellaneous files in a chart archive,
	// e.g. README, LICENSE, etc.
	Files []*ReleaseFile `json:"files"`

	// Lock is the contents of Chart.lock.
	Lock *ReleaseLock `json:"lock,omitempty"`

	// Metadata is the contents of the Chartfile.
	Metadata *ReleaseMetadata `json:"metadata,omitempty"`

	// Schema is an optional JSON schema for imposing structure on Values
	Schema []int64 `json:"schema"`

	// Templates for this chart.
	Templates []*ReleaseFile `json:"templates"`

	// Values are default config for this chart.
	Values map[string]interface{} `json:"values,omitempty"`
}

ReleaseChart release chart

swagger:model release.Chart

func (*ReleaseChart) ContextValidate

func (m *ReleaseChart) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this release chart based on the context it is used

func (*ReleaseChart) MarshalBinary

func (m *ReleaseChart) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseChart) UnmarshalBinary

func (m *ReleaseChart) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseChart) Validate

func (m *ReleaseChart) Validate(formats strfmt.Registry) error

Validate validates this release chart

type ReleaseDependency

type ReleaseDependency struct {

	// Alias usable alias to be used for the chart
	Alias string `json:"alias,omitempty"`

	// A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled )
	Condition string `json:"condition,omitempty"`

	// Enabled bool determines if chart should be loaded
	Enabled bool `json:"enabled,omitempty"`

	// ImportValues holds the mapping of source values to parent key to be imported. Each item can be a
	// string or pair of child/parent sublist items.
	ImportValues []interface{} `json:"import-values"`

	// Name is the name of the dependency.
	//
	// This must mach the name in the dependency's Chart.yaml.
	Name string `json:"name,omitempty"`

	// The URL to the repository.
	//
	// Appending `index.yaml` to this string should result in a URL that can be
	// used to fetch the repository index.
	Repository string `json:"repository,omitempty"`

	// Tags can be used to group charts for enabling/disabling together
	Tags []string `json:"tags"`

	// Version is the version (range) of this chart.
	//
	// A lock file will always produce a single version, while a dependency
	// may contain a semantic version range.
	Version string `json:"version,omitempty"`
}

ReleaseDependency release dependency

swagger:model release.Dependency

func (*ReleaseDependency) ContextValidate

func (m *ReleaseDependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this release dependency based on context it is used

func (*ReleaseDependency) MarshalBinary

func (m *ReleaseDependency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseDependency) UnmarshalBinary

func (m *ReleaseDependency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseDependency) Validate

func (m *ReleaseDependency) Validate(formats strfmt.Registry) error

Validate validates this release dependency

type ReleaseFile

type ReleaseFile struct {

	// Data is the template as byte data.
	Data []int64 `json:"data"`

	// Name is the path-like name of the template.
	Name string `json:"name,omitempty"`
}

ReleaseFile release file

swagger:model release.File

func (*ReleaseFile) ContextValidate

func (m *ReleaseFile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this release file based on context it is used

func (*ReleaseFile) MarshalBinary

func (m *ReleaseFile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseFile) UnmarshalBinary

func (m *ReleaseFile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseFile) Validate

func (m *ReleaseFile) Validate(formats strfmt.Registry) error

Validate validates this release file

type ReleaseHook

type ReleaseHook struct {

	// DeletePolicies are the policies that indicate when to delete the hook
	DeletePolicies []string `json:"delete_policies"`

	// Events are the events that this hook fires on.
	Events []string `json:"events"`

	// Kind is the Kubernetes kind.
	Kind string `json:"kind,omitempty"`

	// LastRun indicates the date/time this was last run.
	LastRun *ReleaseHookExecution `json:"last_run,omitempty"`

	// Manifest is the manifest contents.
	Manifest string `json:"manifest,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// Path is the chart-relative path to the template.
	Path string `json:"path,omitempty"`

	// Weight indicates the sort order for execution among similar Hook type
	Weight int64 `json:"weight,omitempty"`
}

ReleaseHook release hook

swagger:model release.Hook

func (*ReleaseHook) ContextValidate

func (m *ReleaseHook) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this release hook based on the context it is used

func (*ReleaseHook) MarshalBinary

func (m *ReleaseHook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseHook) UnmarshalBinary

func (m *ReleaseHook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseHook) Validate

func (m *ReleaseHook) Validate(formats strfmt.Registry) error

Validate validates this release hook

type ReleaseHookExecution

type ReleaseHookExecution struct {

	// CompletedAt indicates the date/time this hook was completed.
	CompletedAt string `json:"completed_at,omitempty"`

	// Phase indicates whether the hook completed successfully
	Phase string `json:"phase,omitempty"`

	// StartedAt indicates the date/time this hook was started
	StartedAt string `json:"started_at,omitempty"`
}

ReleaseHookExecution release hook execution

swagger:model release.HookExecution

func (*ReleaseHookExecution) ContextValidate

func (m *ReleaseHookExecution) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this release hook execution based on context it is used

func (*ReleaseHookExecution) MarshalBinary

func (m *ReleaseHookExecution) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseHookExecution) UnmarshalBinary

func (m *ReleaseHookExecution) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseHookExecution) Validate

func (m *ReleaseHookExecution) Validate(formats strfmt.Registry) error

Validate validates this release hook execution

type ReleaseInfo

type ReleaseInfo struct {

	// Deleted tracks when this object was deleted.
	Deleted string `json:"deleted,omitempty"`

	// Description is human-friendly "log entry" about this release.
	Description string `json:"description,omitempty"`

	// FirstDeployed is when the release was first deployed.
	FirstDeployed string `json:"first_deployed,omitempty"`

	// LastDeployed is when the release was last deployed.
	LastDeployed string `json:"last_deployed,omitempty"`

	// Contains the rendered templates/NOTES.txt if available
	Notes string `json:"notes,omitempty"`

	// Resources is the list of resources that are part of the release
	Resources []*UnstructuredUnstructured `json:"resources"`

	// Status is the current state of the release
	Status string `json:"status,omitempty"`
}

ReleaseInfo release info

swagger:model release.Info

func (*ReleaseInfo) ContextValidate

func (m *ReleaseInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this release info based on the context it is used

func (*ReleaseInfo) MarshalBinary

func (m *ReleaseInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseInfo) UnmarshalBinary

func (m *ReleaseInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseInfo) Validate

func (m *ReleaseInfo) Validate(formats strfmt.Registry) error

Validate validates this release info

type ReleaseLock

type ReleaseLock struct {

	// Dependencies is the list of dependencies that this lock file has locked.
	Dependencies []*ReleaseDependency `json:"dependencies"`

	// Digest is a hash of the dependencies in Chart.yaml.
	Digest string `json:"digest,omitempty"`

	// Generated is the date the lock file was last generated.
	Generated string `json:"generated,omitempty"`
}

ReleaseLock release lock

swagger:model release.Lock

func (*ReleaseLock) ContextValidate

func (m *ReleaseLock) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this release lock based on the context it is used

func (*ReleaseLock) MarshalBinary

func (m *ReleaseLock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseLock) UnmarshalBinary

func (m *ReleaseLock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseLock) Validate

func (m *ReleaseLock) Validate(formats strfmt.Registry) error

Validate validates this release lock

type ReleaseMaintainer

type ReleaseMaintainer struct {

	// Email is an optional email address to contact the named maintainer
	Email string `json:"email,omitempty"`

	// Name is a user name or organization name
	Name string `json:"name,omitempty"`

	// URL is an optional URL to an address for the named maintainer
	URL string `json:"url,omitempty"`
}

ReleaseMaintainer release maintainer

swagger:model release.Maintainer

func (*ReleaseMaintainer) ContextValidate

func (m *ReleaseMaintainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this release maintainer based on context it is used

func (*ReleaseMaintainer) MarshalBinary

func (m *ReleaseMaintainer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseMaintainer) UnmarshalBinary

func (m *ReleaseMaintainer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseMaintainer) Validate

func (m *ReleaseMaintainer) Validate(formats strfmt.Registry) error

Validate validates this release maintainer

type ReleaseMetadata

type ReleaseMetadata struct {

	// Annotations are additional mappings uninterpreted by Helm,
	// made available for inspection by other applications.
	Annotations map[string]string `json:"annotations,omitempty"`

	// The API Version of this chart. Required.
	APIVersion string `json:"apiVersion,omitempty"`

	// The version of the application enclosed inside of this chart.
	AppVersion string `json:"appVersion,omitempty"`

	// The condition to check to enable chart
	Condition string `json:"condition,omitempty"`

	// Dependencies are a list of dependencies for a chart.
	Dependencies []*ReleaseDependency `json:"dependencies"`

	// Whether or not this chart is deprecated
	Deprecated bool `json:"deprecated,omitempty"`

	// A one-sentence description of the chart
	Description string `json:"description,omitempty"`

	// The URL to a relevant project page, git repo, or contact person
	Home string `json:"home,omitempty"`

	// The URL to an icon file.
	Icon string `json:"icon,omitempty"`

	// A list of string keywords
	Keywords []string `json:"keywords"`

	// KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
	KubeVersion string `json:"kubeVersion,omitempty"`

	// A list of name and URL/email address combinations for the maintainer(s)
	Maintainers []*ReleaseMaintainer `json:"maintainers"`

	// The name of the chart. Required.
	Name string `json:"name,omitempty"`

	// Source is the URL to the source code of this chart
	Sources []string `json:"sources"`

	// The tags to check to enable chart
	Tags string `json:"tags,omitempty"`

	// Specifies the chart type: application or library
	Type string `json:"type,omitempty"`

	// A SemVer 2 conformant version string of the chart. Required.
	Version string `json:"version,omitempty"`
}

ReleaseMetadata release metadata

swagger:model release.Metadata

func (*ReleaseMetadata) ContextValidate

func (m *ReleaseMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this release metadata based on the context it is used

func (*ReleaseMetadata) MarshalBinary

func (m *ReleaseMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseMetadata) UnmarshalBinary

func (m *ReleaseMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseMetadata) Validate

func (m *ReleaseMetadata) Validate(formats strfmt.Registry) error

Validate validates this release metadata

type ReleaseRelease

type ReleaseRelease struct {

	// AppVersion is the app version of the release.
	AppVersion string `json:"appVersion,omitempty"`

	// Chart is the chart that was released.
	Chart *ReleaseChart `json:"chart,omitempty"`

	// Config is the set of extra Values added to the chart.
	// These values override the default values inside of the chart.
	Config map[string]interface{} `json:"config,omitempty"`

	// Hooks are all of the hooks declared for this release.
	Hooks []*ReleaseHook `json:"hooks"`

	// Info provides information about a release
	Info *ReleaseInfo `json:"info,omitempty"`

	// Manifest is the string representation of the rendered template.
	Manifest string `json:"manifest,omitempty"`

	// Name is the name of the release
	Name string `json:"name,omitempty"`

	// Namespace is the kubernetes namespace of the release.
	Namespace string `json:"namespace,omitempty"`

	// Values are the values used to deploy the chart.
	Values *ReleaseValues `json:"values,omitempty"`

	// Version is an int which represents the revision of the release.
	Version int64 `json:"version,omitempty"`
}

ReleaseRelease release release

swagger:model release.Release

func (*ReleaseRelease) ContextValidate

func (m *ReleaseRelease) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this release release based on the context it is used

func (*ReleaseRelease) MarshalBinary

func (m *ReleaseRelease) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseRelease) UnmarshalBinary

func (m *ReleaseRelease) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseRelease) Validate

func (m *ReleaseRelease) Validate(formats strfmt.Registry) error

Validate validates this release release

type ReleaseReleaseElement

type ReleaseReleaseElement struct {

	// app version
	AppVersion string `json:"appVersion,omitempty"`

	// chart
	Chart string `json:"chart,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// revision
	Revision string `json:"revision,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// updated
	Updated string `json:"updated,omitempty"`
}

ReleaseReleaseElement release release element

swagger:model release.ReleaseElement

func (*ReleaseReleaseElement) ContextValidate

func (m *ReleaseReleaseElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this release release element based on context it is used

func (*ReleaseReleaseElement) MarshalBinary

func (m *ReleaseReleaseElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseReleaseElement) UnmarshalBinary

func (m *ReleaseReleaseElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseReleaseElement) Validate

func (m *ReleaseReleaseElement) Validate(formats strfmt.Registry) error

Validate validates this release release element

type ReleaseValues

type ReleaseValues struct {

	// computed values
	ComputedValues string `json:"computedValues,omitempty"`

	// user supplied values
	UserSuppliedValues string `json:"userSuppliedValues,omitempty"`
}

ReleaseValues release values

swagger:model release.Values

func (*ReleaseValues) ContextValidate

func (m *ReleaseValues) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this release values based on context it is used

func (*ReleaseValues) MarshalBinary

func (m *ReleaseValues) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReleaseValues) UnmarshalBinary

func (m *ReleaseValues) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReleaseValues) Validate

func (m *ReleaseValues) Validate(formats strfmt.Registry) error

Validate validates this release values

type ResourceQuantity

type ResourceQuantity struct {

	// format
	Format string `json:"Format,omitempty"`
}

ResourceQuantity resource quantity

swagger:model resource.Quantity

func (*ResourceQuantity) ContextValidate

func (m *ResourceQuantity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource quantity based on context it is used

func (*ResourceQuantity) MarshalBinary

func (m *ResourceQuantity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceQuantity) UnmarshalBinary

func (m *ResourceQuantity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceQuantity) Validate

func (m *ResourceQuantity) Validate(formats strfmt.Registry) error

Validate validates this resource quantity

type ResourcecontrolsResourceControlCreatePayload

type ResourcecontrolsResourceControlCreatePayload struct {

	// Permit access to resource only to admins
	// Example: true
	AdministratorsOnly bool `json:"administratorsOnly,omitempty"`

	// Permit access to the associated resource to any user
	// Example: true
	Public bool `json:"public,omitempty"`

	// resource ID
	// Example: 617c5f22bb9b023d6daab7cba43a57576f83492867bc767d1c59416b065e5f08
	// Required: true
	ResourceID *string `json:"resourceID"`

	// List of Docker resources that will inherit this access control
	// Example: ["617c5f22bb9b023d6daab7cba43a57576f83492867bc767d1c59416b065e5f08"]
	SubResourceIDs []string `json:"subResourceIDs"`

	// List of team identifiers with access to the associated resource
	// Example: [56,7]
	Teams []int64 `json:"teams"`

	// Type of Resource. Valid values are: 1 - container, 2 - service
	// 3 - volume, 4 - network, 5 - secret, 6 - stack, 7 - config, 8 - custom template, 9 - azure-container-group
	// Example: 1
	// Required: true
	// Enum: [1,2,3,4,5,6,7,8,9]
	Type *int64 `json:"type"`

	// List of user identifiers with access to the associated resource
	// Example: [1,4]
	Users []int64 `json:"users"`
}

ResourcecontrolsResourceControlCreatePayload resourcecontrols resource control create payload

swagger:model resourcecontrols.resourceControlCreatePayload

func (*ResourcecontrolsResourceControlCreatePayload) ContextValidate

ContextValidate validates this resourcecontrols resource control create payload based on context it is used

func (*ResourcecontrolsResourceControlCreatePayload) MarshalBinary

MarshalBinary interface implementation

func (*ResourcecontrolsResourceControlCreatePayload) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResourcecontrolsResourceControlCreatePayload) Validate

Validate validates this resourcecontrols resource control create payload

type ResourcecontrolsResourceControlUpdatePayload

type ResourcecontrolsResourceControlUpdatePayload struct {

	// Permit access to resource only to admins
	// Example: true
	AdministratorsOnly bool `json:"administratorsOnly,omitempty"`

	// Permit access to the associated resource to any user
	// Example: true
	Public bool `json:"public,omitempty"`

	// List of team identifiers with access to the associated resource
	// Example: [7]
	Teams []int64 `json:"teams"`

	// List of user identifiers with access to the associated resource
	// Example: [4]
	Users []int64 `json:"users"`
}

ResourcecontrolsResourceControlUpdatePayload resourcecontrols resource control update payload

swagger:model resourcecontrols.resourceControlUpdatePayload

func (*ResourcecontrolsResourceControlUpdatePayload) ContextValidate

ContextValidate validates this resourcecontrols resource control update payload based on context it is used

func (*ResourcecontrolsResourceControlUpdatePayload) MarshalBinary

MarshalBinary interface implementation

func (*ResourcecontrolsResourceControlUpdatePayload) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ResourcecontrolsResourceControlUpdatePayload) Validate

Validate validates this resourcecontrols resource control update payload

type SettingsCertificate

type SettingsCertificate struct {

	// authority key Id
	AuthorityKeyID string `json:"AuthorityKeyId,omitempty"`

	// c r l distribution points
	CRLDistributionPoints []string `json:"CRLDistributionPoints"`

	// extended key usages
	ExtendedKeyUsages []string `json:"ExtendedKeyUsages"`

	// is certificate authority
	IsCertificateAuthority bool `json:"IsCertificateAuthority,omitempty"`

	// issuer
	Issuer *SettingsName `json:"Issuer,omitempty"`

	// issuing certificate u r ls
	IssuingCertificateURLs []string `json:"IssuingCertificateURLs"`

	// key usages
	KeyUsages []string `json:"KeyUsages"`

	// o c s p servers
	OCSPServers []string `json:"OCSPServers"`

	// policies
	Policies []string `json:"Policies"`

	// public key
	PublicKey *SettingsPublicKey `json:"PublicKey,omitempty"`

	// s h a1 fingerprint
	SHA1Fingerprint string `json:"SHA1Fingerprint,omitempty"`

	// s h a256 fingerprint
	SHA256Fingerprint string `json:"SHA256Fingerprint,omitempty"`

	// serial number
	SerialNumber string `json:"SerialNumber,omitempty"`

	// signature algorithm
	SignatureAlgorithm string `json:"SignatureAlgorithm,omitempty"`

	// subject
	Subject *SettingsName `json:"Subject,omitempty"`

	// subject alt DNS names
	SubjectAltDNSNames []string `json:"SubjectAltDNSNames"`

	// subject alt email addresses
	SubjectAltEmailAddresses []string `json:"SubjectAltEmailAddresses"`

	// subject alt Ip addresses
	SubjectAltIPAddresses []string `json:"SubjectAltIpAddresses"`

	// subject alt u r is
	SubjectAltURIs []string `json:"SubjectAltURIs"`

	// subject key Id
	SubjectKeyID string `json:"SubjectKeyId,omitempty"`

	// valid not after
	ValidNotAfter string `json:"ValidNotAfter,omitempty"`

	// valid not before
	ValidNotBefore string `json:"ValidNotBefore,omitempty"`

	// version
	Version int64 `json:"Version,omitempty"`
}

SettingsCertificate settings certificate

swagger:model settings.Certificate

func (*SettingsCertificate) ContextValidate

func (m *SettingsCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this settings certificate based on the context it is used

func (*SettingsCertificate) MarshalBinary

func (m *SettingsCertificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsCertificate) UnmarshalBinary

func (m *SettingsCertificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsCertificate) Validate

func (m *SettingsCertificate) Validate(formats strfmt.Registry) error

Validate validates this settings certificate

type SettingsDefaultRegistryUpdatePayload

type SettingsDefaultRegistryUpdatePayload struct {

	// hide
	// Example: false
	Hide bool `json:"Hide,omitempty"`
}

SettingsDefaultRegistryUpdatePayload settings default registry update payload

swagger:model settings.defaultRegistryUpdatePayload

func (*SettingsDefaultRegistryUpdatePayload) ContextValidate

func (m *SettingsDefaultRegistryUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this settings default registry update payload based on context it is used

func (*SettingsDefaultRegistryUpdatePayload) MarshalBinary

func (m *SettingsDefaultRegistryUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsDefaultRegistryUpdatePayload) UnmarshalBinary

func (m *SettingsDefaultRegistryUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsDefaultRegistryUpdatePayload) Validate

Validate validates this settings default registry update payload

type SettingsName

type SettingsName struct {

	// country
	Country []string `json:"country"`

	// locality
	Locality []string `json:"locality"`

	// serial number
	SerialNumber string `json:"serialNumber,omitempty"`

	// street address
	StreetAddress []string `json:"streetAddress"`
}

SettingsName settings name

swagger:model settings.Name

func (*SettingsName) ContextValidate

func (m *SettingsName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this settings name based on context it is used

func (*SettingsName) MarshalBinary

func (m *SettingsName) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsName) UnmarshalBinary

func (m *SettingsName) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsName) Validate

func (m *SettingsName) Validate(formats strfmt.Registry) error

Validate validates this settings name

type SettingsPublicKey

type SettingsPublicKey struct {

	// algorithm
	Algorithm string `json:"Algorithm,omitempty"`

	// exponent
	Exponent string `json:"Exponent,omitempty"`

	// modulus
	Modulus string `json:"Modulus,omitempty"`

	// size
	Size int64 `json:"Size,omitempty"`

	// value
	Value string `json:"Value,omitempty"`
}

SettingsPublicKey settings public key

swagger:model settings.PublicKey

func (*SettingsPublicKey) ContextValidate

func (m *SettingsPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this settings public key based on context it is used

func (*SettingsPublicKey) MarshalBinary

func (m *SettingsPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsPublicKey) UnmarshalBinary

func (m *SettingsPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsPublicKey) Validate

func (m *SettingsPublicKey) Validate(formats strfmt.Registry) error

Validate validates this settings public key

type SettingsPublicSettingsResponse

type SettingsPublicSettingsResponse struct {

	// Active authentication method for the Portainer instance. Valid values are: 1 for internal, 2 for LDAP, or 3 for oauth
	// Example: 1
	AuthenticationMethod int64 `json:"AuthenticationMethod,omitempty"`

	// The content in plaintext used to display in the login page. Will hide when value is empty string
	// Example: notice or agreement
	CustomLoginBanner string `json:"CustomLoginBanner,omitempty"`

	// DisableKubeShell will disable the kube shell feature for non-admin users
	// Example: false
	DisableKubeShell bool `json:"DisableKubeShell,omitempty"`

	// DisableKubeconfigDownload will disable the download of kubeconfig files for non-admin users
	// Example: false
	DisableKubeconfigDownload bool `json:"DisableKubeconfigDownload,omitempty"`

	// Whether edge compute features are enabled
	// Example: true
	EnableEdgeComputeFeatures bool `json:"EnableEdgeComputeFeatures,omitempty"`

	// Whether telemetry is enabled
	// Example: true
	EnableTelemetry bool `json:"EnableTelemetry,omitempty"`

	// Supported feature flags
	Features map[string]bool `json:"Features,omitempty"`

	// Deployment options for encouraging deployment as code
	GlobalDeploymentOptions *PortainereeGlobalDeploymentOptions `json:"GlobalDeploymentOptions,omitempty"`

	// URL to a logo that will be displayed on the login page as well as on top of the sidebar. Will use default Portainer logo when value is empty string
	// Example: https://mycompany.mydomain.tld/logo.png
	LogoURL string `json:"LogoURL,omitempty"`

	// Whether portainer internal auth view will be hidden
	// Example: true
	OAuthHideInternalAuth bool `json:"OAuthHideInternalAuth,omitempty"`

	// The URL used for oauth login
	// Example: https://gitlab.com/oauth
	OAuthLoginURI string `json:"OAuthLoginURI,omitempty"`

	// The URL used for oauth logout
	// Example: https://gitlab.com/oauth/logout
	OAuthLogoutURI string `json:"OAuthLogoutURI,omitempty"`

	// The minimum required length for a password of any user when using internal auth mode
	// Example: 1
	RequiredPasswordLength int64 `json:"RequiredPasswordLength,omitempty"`

	// Whether team sync is enabled
	// Example: true
	TeamSync bool `json:"TeamSync,omitempty"`

	// The display name of the app
	// Example: My Company
	Whitelabel string `json:"Whitelabel,omitempty"`

	// default registry
	DefaultRegistry *SettingsPublicSettingsResponseDefaultRegistry `json:"defaultRegistry,omitempty"`

	// edge
	Edge *SettingsPublicSettingsResponseEdge `json:"edge,omitempty"`

	// Whether AMT is enabled
	IsAMTEnabled bool `json:"isAMTEnabled,omitempty"`

	// The expiry of a Kubeconfig
	// Example: 24h
	KubeconfigExpiry *string `json:"kubeconfigExpiry,omitempty"`
}

SettingsPublicSettingsResponse settings public settings response

swagger:model settings.publicSettingsResponse

func (*SettingsPublicSettingsResponse) ContextValidate

func (m *SettingsPublicSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this settings public settings response based on the context it is used

func (*SettingsPublicSettingsResponse) MarshalBinary

func (m *SettingsPublicSettingsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsPublicSettingsResponse) UnmarshalBinary

func (m *SettingsPublicSettingsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsPublicSettingsResponse) Validate

func (m *SettingsPublicSettingsResponse) Validate(formats strfmt.Registry) error

Validate validates this settings public settings response

type SettingsPublicSettingsResponseDefaultRegistry

type SettingsPublicSettingsResponseDefaultRegistry struct {

	// hide
	// Example: false
	Hide bool `json:"Hide,omitempty"`
}

SettingsPublicSettingsResponseDefaultRegistry settings public settings response default registry

swagger:model SettingsPublicSettingsResponseDefaultRegistry

func (*SettingsPublicSettingsResponseDefaultRegistry) ContextValidate

ContextValidate validates this settings public settings response default registry based on context it is used

func (*SettingsPublicSettingsResponseDefaultRegistry) MarshalBinary

MarshalBinary interface implementation

func (*SettingsPublicSettingsResponseDefaultRegistry) UnmarshalBinary

UnmarshalBinary interface implementation

func (*SettingsPublicSettingsResponseDefaultRegistry) Validate

Validate validates this settings public settings response default registry

type SettingsPublicSettingsResponseEdge

type SettingsPublicSettingsResponseEdge struct {

	// The command list interval for edge agent - used in edge async mode [seconds]
	// Example: 60
	CommandInterval int64 `json:"CommandInterval,omitempty"`

	// The ping interval for edge agent - used in edge async mode [seconds]
	// Example: 60
	PingInterval int64 `json:"PingInterval,omitempty"`

	// The snapshot interval for edge agent - used in edge async mode [seconds]
	// Example: 60
	SnapshotInterval int64 `json:"SnapshotInterval,omitempty"`

	// The check in interval for edge agent (in seconds) - used in non async mode [seconds]
	// Example: 60
	CheckinInterval int64 `json:"checkinInterval,omitempty"`

	// mtls
	Mtls *PortainereeMTLSSettings `json:"mtls,omitempty"`
}

SettingsPublicSettingsResponseEdge settings public settings response edge

swagger:model SettingsPublicSettingsResponseEdge

func (*SettingsPublicSettingsResponseEdge) ContextValidate

func (m *SettingsPublicSettingsResponseEdge) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this settings public settings response edge based on the context it is used

func (*SettingsPublicSettingsResponseEdge) MarshalBinary

func (m *SettingsPublicSettingsResponseEdge) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsPublicSettingsResponseEdge) UnmarshalBinary

func (m *SettingsPublicSettingsResponseEdge) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsPublicSettingsResponseEdge) Validate

Validate validates this settings public settings response edge

type SettingsSettingsCACertResponse

type SettingsSettingsCACertResponse struct {

	// MTLSCACertificate is the X.509 Certificate of the MTLS CA Certificate
	MTLSCACertificate *SslCertificate `json:"MTLSCACertificate,omitempty"`
}

SettingsSettingsCACertResponse settings settings c a cert response

swagger:model settings.settingsCACertResponse

func (*SettingsSettingsCACertResponse) ContextValidate

func (m *SettingsSettingsCACertResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this settings settings c a cert response based on the context it is used

func (*SettingsSettingsCACertResponse) MarshalBinary

func (m *SettingsSettingsCACertResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsSettingsCACertResponse) UnmarshalBinary

func (m *SettingsSettingsCACertResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsSettingsCACertResponse) Validate

func (m *SettingsSettingsCACertResponse) Validate(formats strfmt.Registry) error

Validate validates this settings settings c a cert response

type SettingsSettingsCertResponse

type SettingsSettingsCertResponse struct {

	// MTLSCertificate is the X.509 Certificate of the MTLS Certificate
	MTLSCertificate *SslCertificate `json:"MTLSCertificate,omitempty"`
}

SettingsSettingsCertResponse settings settings cert response

swagger:model settings.settingsCertResponse

func (*SettingsSettingsCertResponse) ContextValidate

func (m *SettingsSettingsCertResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this settings settings cert response based on the context it is used

func (*SettingsSettingsCertResponse) MarshalBinary

func (m *SettingsSettingsCertResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsSettingsCertResponse) UnmarshalBinary

func (m *SettingsSettingsCertResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsSettingsCertResponse) Validate

func (m *SettingsSettingsCertResponse) Validate(formats strfmt.Registry) error

Validate validates this settings settings cert response

type SettingsSettingsExperimentalInspectResponse

type SettingsSettingsExperimentalInspectResponse struct {

	// experimental features
	ExperimentalFeatures *PortainereeExperimentalFeatures `json:"experimentalFeatures,omitempty"`
}

SettingsSettingsExperimentalInspectResponse settings settings experimental inspect response

swagger:model settings.settingsExperimentalInspectResponse

func (*SettingsSettingsExperimentalInspectResponse) ContextValidate

ContextValidate validate this settings settings experimental inspect response based on the context it is used

func (*SettingsSettingsExperimentalInspectResponse) MarshalBinary

func (m *SettingsSettingsExperimentalInspectResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsSettingsExperimentalInspectResponse) UnmarshalBinary

func (m *SettingsSettingsExperimentalInspectResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsSettingsExperimentalInspectResponse) Validate

Validate validates this settings settings experimental inspect response

type SettingsSettingsExperimentalUpdatePayload

type SettingsSettingsExperimentalUpdatePayload struct {

	// OpenAI integration
	// Example: true
	// Required: true
	OpenAIIntegration *bool `json:"openAIIntegration"`
}

SettingsSettingsExperimentalUpdatePayload settings settings experimental update payload

swagger:model settings.settingsExperimentalUpdatePayload

func (*SettingsSettingsExperimentalUpdatePayload) ContextValidate

ContextValidate validates this settings settings experimental update payload based on context it is used

func (*SettingsSettingsExperimentalUpdatePayload) MarshalBinary

func (m *SettingsSettingsExperimentalUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsSettingsExperimentalUpdatePayload) UnmarshalBinary

func (m *SettingsSettingsExperimentalUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsSettingsExperimentalUpdatePayload) Validate

Validate validates this settings settings experimental update payload

type SettingsSettingsUpdatePayload

type SettingsSettingsUpdatePayload struct {

	// EdgePortainerURL is the URL that is exposed to edge agents
	EdgePortainerURL string `json:"EdgePortainerURL,omitempty"`

	// Active authentication method for the Portainer instance. Valid values are: 1 for internal, 2 for LDAP, or 3 for oauth
	// Example: 1
	AuthenticationMethod int64 `json:"authenticationMethod,omitempty"`

	// A list of label name & value that will be used to hide containers when querying containers
	BlackListedLabels []*PortainerPair `json:"blackListedLabels"`

	// The content in plaintext used to display in the login page. Will hide when value is empty string
	// Example: notice or agreement
	CustomLoginBanner string `json:"customLoginBanner,omitempty"`

	// Whether to disable kube roles sync for all built-in roles
	// Example: false
	DisableKubeRolesSync bool `json:"disableKubeRolesSync,omitempty"`

	// Whether to disable kubeshell access for non-admin users
	// Example: false
	DisableKubeShell bool `json:"disableKubeShell,omitempty"`

	// Whether to disable kubeconfig download for non-admin users
	// Example: false
	DisableKubeconfigDownload bool `json:"disableKubeconfigDownload,omitempty"`

	// edge
	Edge *SettingsSettingsUpdatePayloadEdge `json:"edge,omitempty"`

	// The default check in interval for edge agent (in seconds)
	// Example: 5
	EdgeAgentCheckinInterval int64 `json:"edgeAgentCheckinInterval,omitempty"`

	// Whether edge compute features are enabled
	// Example: true
	EnableEdgeComputeFeatures bool `json:"enableEdgeComputeFeatures,omitempty"`

	// Whether telemetry is enabled
	// Example: false
	EnableTelemetry bool `json:"enableTelemetry,omitempty"`

	// EnforceEdgeID makes Portainer store the Edge ID instead of accepting anyone
	// Example: false
	EnforceEdgeID bool `json:"enforceEdgeID,omitempty"`

	// Deployment options for encouraging deployment as code
	GlobalDeploymentOptions *PortainereeGlobalDeploymentOptions `json:"globalDeploymentOptions,omitempty"`

	// Helm repository URL
	// Example: https://charts.bitnami.com/bitnami
	HelmRepositoryURL string `json:"helmRepositoryURL,omitempty"`

	// internal auth settings
	InternalAuthSettings *PortainerInternalAuthSettings `json:"internalAuthSettings,omitempty"`

	// The expiry of a Kubeconfig
	// Example: 24h
	KubeconfigExpiry *string `json:"kubeconfigExpiry,omitempty"`

	// Kubec	tl Shell Image Name/Tag
	// Example: portainer/kubectl-shell:latest
	KubectlShellImage string `json:"kubectlShellImage,omitempty"`

	// ldapsettings
	Ldapsettings *PortainereeLDAPSettings `json:"ldapsettings,omitempty"`

	// URL to a logo that will be displayed on the login page as well as on top of the sidebar. Will use default Portainer logo when value is empty string
	// Example: https://mycompany.mydomain.tld/logo.png
	LogoURL string `json:"logoURL,omitempty"`

	// oauth settings
	OauthSettings *PortainereeOAuthSettings `json:"oauthSettings,omitempty"`

	// The interval in which environment(endpoint) snapshots are created
	// Example: 5m
	SnapshotInterval string `json:"snapshotInterval,omitempty"`

	// URL to the templates that will be displayed in the UI when navigating to App Templates
	// Example: https://raw.githubusercontent.com/portainer/templates/master/templates.json
	TemplatesURL string `json:"templatesURL,omitempty"`

	// TrustOnFirstConnect makes Portainer accepting edge agent connection by default
	// Example: false
	TrustOnFirstConnect bool `json:"trustOnFirstConnect,omitempty"`

	// The duration of a user session
	// Example: 5m
	UserSessionTimeout string `json:"userSessionTimeout,omitempty"`
}

SettingsSettingsUpdatePayload settings settings update payload

swagger:model settings.settingsUpdatePayload

func (*SettingsSettingsUpdatePayload) ContextValidate

func (m *SettingsSettingsUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this settings settings update payload based on the context it is used

func (*SettingsSettingsUpdatePayload) MarshalBinary

func (m *SettingsSettingsUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsSettingsUpdatePayload) UnmarshalBinary

func (m *SettingsSettingsUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsSettingsUpdatePayload) Validate

func (m *SettingsSettingsUpdatePayload) Validate(formats strfmt.Registry) error

Validate validates this settings settings update payload

type SettingsSettingsUpdatePayloadEdge

type SettingsSettingsUpdatePayloadEdge struct {

	// The command list interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	CommandInterval int64 `json:"CommandInterval,omitempty"`

	// The ping interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	PingInterval int64 `json:"PingInterval,omitempty"`

	// The snapshot interval for edge agent - used in edge async mode (in seconds)
	// Example: 5
	SnapshotInterval int64 `json:"SnapshotInterval,omitempty"`

	// AsyncMode enables edge agent to run in async mode by default
	AsyncMode bool `json:"asyncMode,omitempty"`

	// mtls
	Mtls *SettingsmTLSPayload `json:"mtls,omitempty"`

	// The address where the tunneling server can be reached by Edge agents
	TunnelServerAddress string `json:"tunnelServerAddress,omitempty"`
}

SettingsSettingsUpdatePayloadEdge settings settings update payload edge

swagger:model SettingsSettingsUpdatePayloadEdge

func (*SettingsSettingsUpdatePayloadEdge) ContextValidate

func (m *SettingsSettingsUpdatePayloadEdge) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this settings settings update payload edge based on the context it is used

func (*SettingsSettingsUpdatePayloadEdge) MarshalBinary

func (m *SettingsSettingsUpdatePayloadEdge) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsSettingsUpdatePayloadEdge) UnmarshalBinary

func (m *SettingsSettingsUpdatePayloadEdge) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsSettingsUpdatePayloadEdge) Validate

Validate validates this settings settings update payload edge

type SettingsmTLSPayload

type SettingsmTLSPayload struct {

	// ca cert
	CaCert string `json:"caCert,omitempty"`

	// cert
	Cert string `json:"cert,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// use separate cert
	UseSeparateCert bool `json:"useSeparateCert,omitempty"`
}

SettingsmTLSPayload settings m TLS payload

swagger:model settings.mTLSPayload

func (*SettingsmTLSPayload) ContextValidate

func (m *SettingsmTLSPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this settings m TLS payload based on context it is used

func (*SettingsmTLSPayload) MarshalBinary

func (m *SettingsmTLSPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SettingsmTLSPayload) UnmarshalBinary

func (m *SettingsmTLSPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SettingsmTLSPayload) Validate

func (m *SettingsmTLSPayload) Validate(formats strfmt.Registry) error

Validate validates this settings m TLS payload

type SshtestSSHTestResult

type SshtestSSHTestResult struct {

	// address
	Address string `json:"address,omitempty"`

	// error
	Error string `json:"error,omitempty"`
}

SshtestSSHTestResult sshtest SSH test result

swagger:model sshtest.SSHTestResult

func (*SshtestSSHTestResult) ContextValidate

func (m *SshtestSSHTestResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sshtest SSH test result based on context it is used

func (*SshtestSSHTestResult) MarshalBinary

func (m *SshtestSSHTestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SshtestSSHTestResult) UnmarshalBinary

func (m *SshtestSSHTestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SshtestSSHTestResult) Validate

func (m *SshtestSSHTestResult) Validate(formats strfmt.Registry) error

Validate validates this sshtest SSH test result

type SslCertificate

type SslCertificate struct {

	// authority key Id
	AuthorityKeyID string `json:"AuthorityKeyId,omitempty"`

	// c r l distribution points
	CRLDistributionPoints []string `json:"CRLDistributionPoints"`

	// extended key usages
	ExtendedKeyUsages []string `json:"ExtendedKeyUsages"`

	// is certificate authority
	IsCertificateAuthority bool `json:"IsCertificateAuthority,omitempty"`

	// issuer
	Issuer *SslName `json:"Issuer,omitempty"`

	// issuing certificate u r ls
	IssuingCertificateURLs []string `json:"IssuingCertificateURLs"`

	// key usages
	KeyUsages []string `json:"KeyUsages"`

	// o c s p servers
	OCSPServers []string `json:"OCSPServers"`

	// policies
	Policies []string `json:"Policies"`

	// public key
	PublicKey *SslPublicKey `json:"PublicKey,omitempty"`

	// s h a1 fingerprint
	SHA1Fingerprint string `json:"SHA1Fingerprint,omitempty"`

	// s h a256 fingerprint
	SHA256Fingerprint string `json:"SHA256Fingerprint,omitempty"`

	// serial number
	SerialNumber string `json:"SerialNumber,omitempty"`

	// signature algorithm
	SignatureAlgorithm string `json:"SignatureAlgorithm,omitempty"`

	// subject
	Subject *SslName `json:"Subject,omitempty"`

	// subject alt DNS names
	SubjectAltDNSNames []string `json:"SubjectAltDNSNames"`

	// subject alt email addresses
	SubjectAltEmailAddresses []string `json:"SubjectAltEmailAddresses"`

	// subject alt Ip addresses
	SubjectAltIPAddresses []string `json:"SubjectAltIpAddresses"`

	// subject alt u r is
	SubjectAltURIs []string `json:"SubjectAltURIs"`

	// subject key Id
	SubjectKeyID string `json:"SubjectKeyId,omitempty"`

	// valid not after
	ValidNotAfter string `json:"ValidNotAfter,omitempty"`

	// valid not before
	ValidNotBefore string `json:"ValidNotBefore,omitempty"`

	// version
	Version int64 `json:"Version,omitempty"`
}

SslCertificate ssl certificate

swagger:model ssl.Certificate

func (*SslCertificate) ContextValidate

func (m *SslCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ssl certificate based on the context it is used

func (*SslCertificate) MarshalBinary

func (m *SslCertificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SslCertificate) UnmarshalBinary

func (m *SslCertificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SslCertificate) Validate

func (m *SslCertificate) Validate(formats strfmt.Registry) error

Validate validates this ssl certificate

type SslName

type SslName struct {

	// country
	Country []string `json:"country"`

	// locality
	Locality []string `json:"locality"`

	// serial number
	SerialNumber string `json:"serialNumber,omitempty"`

	// street address
	StreetAddress []string `json:"streetAddress"`
}

SslName ssl name

swagger:model ssl.Name

func (*SslName) ContextValidate

func (m *SslName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ssl name based on context it is used

func (*SslName) MarshalBinary

func (m *SslName) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SslName) UnmarshalBinary

func (m *SslName) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SslName) Validate

func (m *SslName) Validate(formats strfmt.Registry) error

Validate validates this ssl name

type SslPublicKey

type SslPublicKey struct {

	// algorithm
	Algorithm string `json:"Algorithm,omitempty"`

	// exponent
	Exponent string `json:"Exponent,omitempty"`

	// modulus
	Modulus string `json:"Modulus,omitempty"`

	// size
	Size int64 `json:"Size,omitempty"`

	// value
	Value string `json:"Value,omitempty"`
}

SslPublicKey ssl public key

swagger:model ssl.PublicKey

func (*SslPublicKey) ContextValidate

func (m *SslPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ssl public key based on context it is used

func (*SslPublicKey) MarshalBinary

func (m *SslPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SslPublicKey) UnmarshalBinary

func (m *SslPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SslPublicKey) Validate

func (m *SslPublicKey) Validate(formats strfmt.Registry) error

Validate validates this ssl public key

type SslSslUpdatePayload

type SslSslUpdatePayload struct {

	// SSL Certificates
	Cert string `json:"cert,omitempty"`

	// SSL Client Certificates
	ClientCert string `json:"clientCert,omitempty"`

	// httpenabled
	Httpenabled bool `json:"httpenabled,omitempty"`

	// key
	Key string `json:"key,omitempty"`
}

SslSslUpdatePayload ssl ssl update payload

swagger:model ssl.sslUpdatePayload

func (*SslSslUpdatePayload) ContextValidate

func (m *SslSslUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ssl ssl update payload based on context it is used

func (*SslSslUpdatePayload) MarshalBinary

func (m *SslSslUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SslSslUpdatePayload) UnmarshalBinary

func (m *SslSslUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SslSslUpdatePayload) Validate

func (m *SslSslUpdatePayload) Validate(formats strfmt.Registry) error

Validate validates this ssl ssl update payload

type StacksComposeStackFromFileContentPayload

type StacksComposeStackFromFileContentPayload struct {

	// A list of environment variables used during stack deployment
	Env []*PortainerPair `json:"env"`

	// Whether the stack is from a app template
	// Example: false
	FromAppTemplate bool `json:"fromAppTemplate,omitempty"`

	// Name of the stack
	// Example: myStack
	// Required: true
	Name *string `json:"name"`

	// Content of the Stack file
	// Example: version: 3\n services:\n web:\n image:nginx
	// Required: true
	StackFileContent *string `json:"stackFileContent"`

	// A UUID to identify a webhook. The stack will be force updated and pull the latest image when the webhook was invoked.
	// Example: c11fdf23-183e-428a-9bb6-16db01032174
	Webhook string `json:"webhook,omitempty"`
}

StacksComposeStackFromFileContentPayload stacks compose stack from file content payload

swagger:model stacks.composeStackFromFileContentPayload

func (*StacksComposeStackFromFileContentPayload) ContextValidate

ContextValidate validate this stacks compose stack from file content payload based on the context it is used

func (*StacksComposeStackFromFileContentPayload) MarshalBinary

func (m *StacksComposeStackFromFileContentPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksComposeStackFromFileContentPayload) UnmarshalBinary

func (m *StacksComposeStackFromFileContentPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksComposeStackFromFileContentPayload) Validate

Validate validates this stacks compose stack from file content payload

type StacksComposeStackFromGitRepositoryPayload

type StacksComposeStackFromGitRepositoryPayload struct {

	// Applicable when deploying with multiple stack files
	// Example: ["[nz.compose.yml"," uat.compose.yml]"]
	AdditionalFiles []string `json:"additionalFiles"`

	// Optional GitOps update configuration
	AutoUpdate *PortainerAutoUpdateSettings `json:"autoUpdate,omitempty"`

	// Path to the Stack file inside the Git repository
	// Example: docker-compose.yml
	ComposeFile *string `json:"composeFile,omitempty"`

	// A list of environment variables used during stack deployment
	Env []*PortainerPair `json:"env"`

	// Local filesystem path
	// Example: /tmp
	FilesystemPath string `json:"filesystemPath,omitempty"`

	// Whether the stack is from a app template
	// Example: false
	FromAppTemplate bool `json:"fromAppTemplate,omitempty"`

	// Name of the stack
	// Example: myStack
	// Required: true
	Name *string `json:"name"`

	// Use basic authentication to clone the Git repository
	// Example: true
	RepositoryAuthentication bool `json:"repositoryAuthentication,omitempty"`

	// GitCredentialID used to identify the bound git credential. Required when RepositoryAuthentication
	// is true and RepositoryUsername/RepositoryPassword are not provided
	// Example: 0
	RepositoryGitCredentialID int64 `json:"repositoryGitCredentialID,omitempty"`

	// Password used in basic authentication. Required when RepositoryAuthentication is true
	// and RepositoryGitCredentialID is 0
	// Example: myGitPassword
	RepositoryPassword string `json:"repositoryPassword,omitempty"`

	// Reference name of a Git repository hosting the Stack file
	// Example: refs/heads/master
	RepositoryReferenceName string `json:"repositoryReferenceName,omitempty"`

	// URL of a Git repository hosting the Stack file
	// Example: https://github.com/openfaas/faas
	// Required: true
	RepositoryURL *string `json:"repositoryURL"`

	// Username used in basic authentication. Required when RepositoryAuthentication is true
	// and RepositoryGitCredentialID is 0
	// Example: myGitUsername
	RepositoryUsername string `json:"repositoryUsername,omitempty"`

	// Whether the stack supports relative path volume
	// Example: false
	SupportRelativePath bool `json:"supportRelativePath,omitempty"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`
}

StacksComposeStackFromGitRepositoryPayload stacks compose stack from git repository payload

swagger:model stacks.composeStackFromGitRepositoryPayload

func (*StacksComposeStackFromGitRepositoryPayload) ContextValidate

ContextValidate validate this stacks compose stack from git repository payload based on the context it is used

func (*StacksComposeStackFromGitRepositoryPayload) MarshalBinary

func (m *StacksComposeStackFromGitRepositoryPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksComposeStackFromGitRepositoryPayload) UnmarshalBinary

func (m *StacksComposeStackFromGitRepositoryPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksComposeStackFromGitRepositoryPayload) Validate

Validate validates this stacks compose stack from git repository payload

type StacksKubernetesGitDeploymentPayload

type StacksKubernetesGitDeploymentPayload struct {

	// additional files
	AdditionalFiles []string `json:"additionalFiles"`

	// auto update
	AutoUpdate *PortainerAutoUpdateSettings `json:"autoUpdate,omitempty"`

	// compose format
	ComposeFormat bool `json:"composeFormat,omitempty"`

	// manifest file
	ManifestFile string `json:"manifestFile,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// repository authentication
	RepositoryAuthentication bool `json:"repositoryAuthentication,omitempty"`

	// repository git credential ID
	RepositoryGitCredentialID int64 `json:"repositoryGitCredentialID,omitempty"`

	// repository password
	RepositoryPassword string `json:"repositoryPassword,omitempty"`

	// repository reference name
	RepositoryReferenceName string `json:"repositoryReferenceName,omitempty"`

	// repository URL
	RepositoryURL string `json:"repositoryURL,omitempty"`

	// repository username
	RepositoryUsername string `json:"repositoryUsername,omitempty"`

	// stack name
	StackName string `json:"stackName,omitempty"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`
}

StacksKubernetesGitDeploymentPayload stacks kubernetes git deployment payload

swagger:model stacks.kubernetesGitDeploymentPayload

func (*StacksKubernetesGitDeploymentPayload) ContextValidate

func (m *StacksKubernetesGitDeploymentPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stacks kubernetes git deployment payload based on the context it is used

func (*StacksKubernetesGitDeploymentPayload) MarshalBinary

func (m *StacksKubernetesGitDeploymentPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksKubernetesGitDeploymentPayload) UnmarshalBinary

func (m *StacksKubernetesGitDeploymentPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksKubernetesGitDeploymentPayload) Validate

Validate validates this stacks kubernetes git deployment payload

type StacksKubernetesManifestURLDeploymentPayload

type StacksKubernetesManifestURLDeploymentPayload struct {

	// compose format
	ComposeFormat bool `json:"composeFormat,omitempty"`

	// manifest URL
	ManifestURL string `json:"manifestURL,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// stack name
	StackName string `json:"stackName,omitempty"`
}

StacksKubernetesManifestURLDeploymentPayload stacks kubernetes manifest URL deployment payload

swagger:model stacks.kubernetesManifestURLDeploymentPayload

func (*StacksKubernetesManifestURLDeploymentPayload) ContextValidate

ContextValidate validates this stacks kubernetes manifest URL deployment payload based on context it is used

func (*StacksKubernetesManifestURLDeploymentPayload) MarshalBinary

MarshalBinary interface implementation

func (*StacksKubernetesManifestURLDeploymentPayload) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StacksKubernetesManifestURLDeploymentPayload) Validate

Validate validates this stacks kubernetes manifest URL deployment payload

type StacksKubernetesStringDeploymentPayload

type StacksKubernetesStringDeploymentPayload struct {

	// compose format
	ComposeFormat bool `json:"composeFormat,omitempty"`

	// Whether the stack is from a app template
	// Example: false
	FromAppTemplate bool `json:"fromAppTemplate,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// stack file content
	StackFileContent string `json:"stackFileContent,omitempty"`

	// stack name
	StackName string `json:"stackName,omitempty"`
}

StacksKubernetesStringDeploymentPayload stacks kubernetes string deployment payload

swagger:model stacks.kubernetesStringDeploymentPayload

func (*StacksKubernetesStringDeploymentPayload) ContextValidate

ContextValidate validates this stacks kubernetes string deployment payload based on context it is used

func (*StacksKubernetesStringDeploymentPayload) MarshalBinary

func (m *StacksKubernetesStringDeploymentPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksKubernetesStringDeploymentPayload) UnmarshalBinary

func (m *StacksKubernetesStringDeploymentPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksKubernetesStringDeploymentPayload) Validate

Validate validates this stacks kubernetes string deployment payload

type StacksStackFileResponse

type StacksStackFileResponse struct {

	// Content of the Stack file
	// Example: version: 3\n services:\n web:\n image:nginx
	StackFileContent string `json:"StackFileContent,omitempty"`
}

StacksStackFileResponse stacks stack file response

swagger:model stacks.stackFileResponse

func (*StacksStackFileResponse) ContextValidate

func (m *StacksStackFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stacks stack file response based on context it is used

func (*StacksStackFileResponse) MarshalBinary

func (m *StacksStackFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksStackFileResponse) UnmarshalBinary

func (m *StacksStackFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksStackFileResponse) Validate

func (m *StacksStackFileResponse) Validate(formats strfmt.Registry) error

Validate validates this stacks stack file response

type StacksStackGitRedployPayload

type StacksStackGitRedployPayload struct {

	// env
	Env []*PortainerPair `json:"env"`

	// prune
	// Example: false
	Prune bool `json:"prune,omitempty"`

	// Force a pulling to current image with the original tag though the image is already the latest
	// Example: false
	PullImage bool `json:"pullImage,omitempty"`

	// repository authentication
	RepositoryAuthentication bool `json:"repositoryAuthentication,omitempty"`

	// repository git credential ID
	RepositoryGitCredentialID int64 `json:"repositoryGitCredentialID,omitempty"`

	// repository password
	RepositoryPassword string `json:"repositoryPassword,omitempty"`

	// repository reference name
	RepositoryReferenceName string `json:"repositoryReferenceName,omitempty"`

	// repository username
	RepositoryUsername string `json:"repositoryUsername,omitempty"`

	// stack name
	StackName string `json:"stackName,omitempty"`
}

StacksStackGitRedployPayload stacks stack git redploy payload

swagger:model stacks.stackGitRedployPayload

func (*StacksStackGitRedployPayload) ContextValidate

func (m *StacksStackGitRedployPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stacks stack git redploy payload based on the context it is used

func (*StacksStackGitRedployPayload) MarshalBinary

func (m *StacksStackGitRedployPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksStackGitRedployPayload) UnmarshalBinary

func (m *StacksStackGitRedployPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksStackGitRedployPayload) Validate

func (m *StacksStackGitRedployPayload) Validate(formats strfmt.Registry) error

Validate validates this stacks stack git redploy payload

type StacksStackGitUpdatePayload

type StacksStackGitUpdatePayload struct {

	// auto update
	AutoUpdate *PortainerAutoUpdateSettings `json:"autoUpdate,omitempty"`

	// env
	Env []*PortainerPair `json:"env"`

	// prune
	Prune bool `json:"prune,omitempty"`

	// repository authentication
	RepositoryAuthentication bool `json:"repositoryAuthentication,omitempty"`

	// repository git credential ID
	RepositoryGitCredentialID int64 `json:"repositoryGitCredentialID,omitempty"`

	// repository password
	RepositoryPassword string `json:"repositoryPassword,omitempty"`

	// repository reference name
	RepositoryReferenceName string `json:"repositoryReferenceName,omitempty"`

	// repository username
	RepositoryUsername string `json:"repositoryUsername,omitempty"`

	// tlsskip verify
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`
}

StacksStackGitUpdatePayload stacks stack git update payload

swagger:model stacks.stackGitUpdatePayload

func (*StacksStackGitUpdatePayload) ContextValidate

func (m *StacksStackGitUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stacks stack git update payload based on the context it is used

func (*StacksStackGitUpdatePayload) MarshalBinary

func (m *StacksStackGitUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksStackGitUpdatePayload) UnmarshalBinary

func (m *StacksStackGitUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksStackGitUpdatePayload) Validate

func (m *StacksStackGitUpdatePayload) Validate(formats strfmt.Registry) error

Validate validates this stacks stack git update payload

type StacksStackMigratePayload

type StacksStackMigratePayload struct {

	// endpoint ID
	// Example: 2
	// Required: true
	EndpointID *int64 `json:"endpointID"`

	// name
	// Example: new-stack
	Name string `json:"name,omitempty"`

	// swarm ID
	// Example: jpofkc0i9uo9wtx1zesuk649w
	SwarmID string `json:"swarmID,omitempty"`
}

StacksStackMigratePayload stacks stack migrate payload

swagger:model stacks.stackMigratePayload

func (*StacksStackMigratePayload) ContextValidate

func (m *StacksStackMigratePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stacks stack migrate payload based on context it is used

func (*StacksStackMigratePayload) MarshalBinary

func (m *StacksStackMigratePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksStackMigratePayload) UnmarshalBinary

func (m *StacksStackMigratePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksStackMigratePayload) Validate

func (m *StacksStackMigratePayload) Validate(formats strfmt.Registry) error

Validate validates this stacks stack migrate payload

type StacksSwarmStackFromFileContentPayload

type StacksSwarmStackFromFileContentPayload struct {

	// A list of environment variables used during stack deployment
	Env []*PortainerPair `json:"env"`

	// Whether the stack is from a app template
	// Example: false
	FromAppTemplate bool `json:"fromAppTemplate,omitempty"`

	// Name of the stack
	// Example: myStack
	// Required: true
	Name *string `json:"name"`

	// Content of the Stack file
	// Example: version: 3\n services:\n web:\n image:nginx
	// Required: true
	StackFileContent *string `json:"stackFileContent"`

	// Swarm cluster identifier
	// Example: jpofkc0i9uo9wtx1zesuk649w
	// Required: true
	SwarmID *string `json:"swarmID"`

	// A UUID to identify a webhook. The stack will be force updated and pull the latest image when the webhook was invoked.
	// Example: c11fdf23-183e-428a-9bb6-16db01032174
	Webhook string `json:"webhook,omitempty"`
}

StacksSwarmStackFromFileContentPayload stacks swarm stack from file content payload

swagger:model stacks.swarmStackFromFileContentPayload

func (*StacksSwarmStackFromFileContentPayload) ContextValidate

ContextValidate validate this stacks swarm stack from file content payload based on the context it is used

func (*StacksSwarmStackFromFileContentPayload) MarshalBinary

func (m *StacksSwarmStackFromFileContentPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksSwarmStackFromFileContentPayload) UnmarshalBinary

func (m *StacksSwarmStackFromFileContentPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksSwarmStackFromFileContentPayload) Validate

Validate validates this stacks swarm stack from file content payload

type StacksSwarmStackFromGitRepositoryPayload

type StacksSwarmStackFromGitRepositoryPayload struct {

	// Applicable when deploying with multiple stack files
	// Example: ["[nz.compose.yml"," uat.compose.yml]"]
	AdditionalFiles []string `json:"additionalFiles"`

	// Optional GitOps update configuration
	AutoUpdate *PortainerAutoUpdateSettings `json:"autoUpdate,omitempty"`

	// Path to the Stack file inside the Git repository
	// Example: docker-compose.yml
	ComposeFile *string `json:"composeFile,omitempty"`

	// A list of environment variables used during stack deployment
	Env []*PortainerPair `json:"env"`

	// Network filesystem path
	// Example: /tmp
	FilesystemPath string `json:"filesystemPath,omitempty"`

	// Whether the stack is from a app template
	// Example: false
	FromAppTemplate bool `json:"fromAppTemplate,omitempty"`

	// Name of the stack
	// Example: myStack
	// Required: true
	Name *string `json:"name"`

	// Use basic authentication to clone the Git repository
	// Example: true
	RepositoryAuthentication bool `json:"repositoryAuthentication,omitempty"`

	// GitCredentialID used to identify the bound git credential. Required when RepositoryAuthentication
	// is true and RepositoryUsername/RepositoryPassword are not provided
	// Example: 0
	RepositoryGitCredentialID int64 `json:"repositoryGitCredentialID,omitempty"`

	// Password used in basic authentication. Required when RepositoryAuthentication is true
	// and RepositoryGitCredentialID is 0
	// Example: myGitPassword
	RepositoryPassword string `json:"repositoryPassword,omitempty"`

	// Reference name of a Git repository hosting the Stack file
	// Example: refs/heads/master
	RepositoryReferenceName string `json:"repositoryReferenceName,omitempty"`

	// URL of a Git repository hosting the Stack file
	// Example: https://github.com/openfaas/faas
	// Required: true
	RepositoryURL *string `json:"repositoryURL"`

	// Username used in basic authentication. Required when RepositoryAuthentication is true
	// and RepositoryGitCredentialID is 0
	// Example: myGitUsername
	RepositoryUsername string `json:"repositoryUsername,omitempty"`

	// Whether the stack suppors relative path volume
	// Example: false
	SupportRelativePath bool `json:"supportRelativePath,omitempty"`

	// Swarm cluster identifier
	// Example: jpofkc0i9uo9wtx1zesuk649w
	// Required: true
	SwarmID *string `json:"swarmID"`

	// TLSSkipVerify skips SSL verification when cloning the Git repository
	// Example: false
	TlsskipVerify bool `json:"tlsskipVerify,omitempty"`
}

StacksSwarmStackFromGitRepositoryPayload stacks swarm stack from git repository payload

swagger:model stacks.swarmStackFromGitRepositoryPayload

func (*StacksSwarmStackFromGitRepositoryPayload) ContextValidate

ContextValidate validate this stacks swarm stack from git repository payload based on the context it is used

func (*StacksSwarmStackFromGitRepositoryPayload) MarshalBinary

func (m *StacksSwarmStackFromGitRepositoryPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksSwarmStackFromGitRepositoryPayload) UnmarshalBinary

func (m *StacksSwarmStackFromGitRepositoryPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksSwarmStackFromGitRepositoryPayload) Validate

Validate validates this stacks swarm stack from git repository payload

type StacksUpdateStackPayload

type StacksUpdateStackPayload struct {

	// A list of environment(endpoint) variables used during stack deployment
	Env []*PortainerPair `json:"env"`

	// Prune services that are no longer referenced (only available for Swarm stacks)
	// Example: true
	Prune bool `json:"prune,omitempty"`

	// Force a pulling to current image with the original tag though the image is already the latest
	// Example: false
	PullImage bool `json:"pullImage,omitempty"`

	// RollbackTo specifies the stack file version to rollback to (only support to rollback to the last version currently)
	RollbackTo int64 `json:"rollbackTo,omitempty"`

	// New content of the Stack file
	// Example: version: 3\n services:\n web:\n image:nginx
	StackFileContent string `json:"stackFileContent,omitempty"`

	// A UUID to identify a webhook. The stack will be force updated and pull the latest image when the webhook was invoked.
	// Example: c11fdf23-183e-428a-9bb6-16db01032174
	Webhook string `json:"webhook,omitempty"`
}

StacksUpdateStackPayload stacks update stack payload

swagger:model stacks.updateStackPayload

func (*StacksUpdateStackPayload) ContextValidate

func (m *StacksUpdateStackPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stacks update stack payload based on the context it is used

func (*StacksUpdateStackPayload) MarshalBinary

func (m *StacksUpdateStackPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StacksUpdateStackPayload) UnmarshalBinary

func (m *StacksUpdateStackPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StacksUpdateStackPayload) Validate

func (m *StacksUpdateStackPayload) Validate(formats strfmt.Registry) error

Validate validates this stacks update stack payload

type SupportDebugLogPayload

type SupportDebugLogPayload struct {

	// debug log enabled
	DebugLogEnabled bool `json:"debugLogEnabled,omitempty"`
}

SupportDebugLogPayload support debug log payload

swagger:model support.debugLogPayload

func (*SupportDebugLogPayload) ContextValidate

func (m *SupportDebugLogPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this support debug log payload based on context it is used

func (*SupportDebugLogPayload) MarshalBinary

func (m *SupportDebugLogPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SupportDebugLogPayload) UnmarshalBinary

func (m *SupportDebugLogPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SupportDebugLogPayload) Validate

func (m *SupportDebugLogPayload) Validate(formats strfmt.Registry) error

Validate validates this support debug log payload

type SwarmServiceUpdateResponse

type SwarmServiceUpdateResponse struct {

	// Optional warning messages
	Warnings []string `json:"Warnings"`
}

SwarmServiceUpdateResponse swarm service update response

swagger:model swarm.ServiceUpdateResponse

func (*SwarmServiceUpdateResponse) ContextValidate

func (m *SwarmServiceUpdateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this swarm service update response based on context it is used

func (*SwarmServiceUpdateResponse) MarshalBinary

func (m *SwarmServiceUpdateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SwarmServiceUpdateResponse) UnmarshalBinary

func (m *SwarmServiceUpdateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SwarmServiceUpdateResponse) Validate

func (m *SwarmServiceUpdateResponse) Validate(formats strfmt.Registry) error

Validate validates this swarm service update response

type TagsTagCreatePayload

type TagsTagCreatePayload struct {

	// name
	// Example: org/acme
	// Required: true
	Name *string `json:"name"`
}

TagsTagCreatePayload tags tag create payload

swagger:model tags.tagCreatePayload

func (*TagsTagCreatePayload) ContextValidate

func (m *TagsTagCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tags tag create payload based on context it is used

func (*TagsTagCreatePayload) MarshalBinary

func (m *TagsTagCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagsTagCreatePayload) UnmarshalBinary

func (m *TagsTagCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagsTagCreatePayload) Validate

func (m *TagsTagCreatePayload) Validate(formats strfmt.Registry) error

Validate validates this tags tag create payload

type TeammembershipsTeamMembershipCreatePayload

type TeammembershipsTeamMembershipCreatePayload struct {

	// Role for the user inside the team (1 for leader and 2 for regular member)
	// Example: 1
	// Required: true
	// Enum: [1,2]
	Role *int64 `json:"role"`

	// Team identifier
	// Example: 1
	// Required: true
	TeamID *int64 `json:"teamID"`

	// User identifier
	// Example: 1
	// Required: true
	UserID *int64 `json:"userID"`
}

TeammembershipsTeamMembershipCreatePayload teammemberships team membership create payload

swagger:model teammemberships.teamMembershipCreatePayload

func (*TeammembershipsTeamMembershipCreatePayload) ContextValidate

ContextValidate validates this teammemberships team membership create payload based on context it is used

func (*TeammembershipsTeamMembershipCreatePayload) MarshalBinary

func (m *TeammembershipsTeamMembershipCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TeammembershipsTeamMembershipCreatePayload) UnmarshalBinary

func (m *TeammembershipsTeamMembershipCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TeammembershipsTeamMembershipCreatePayload) Validate

Validate validates this teammemberships team membership create payload

type TeammembershipsTeamMembershipUpdatePayload

type TeammembershipsTeamMembershipUpdatePayload struct {

	// Role for the user inside the team (1 for leader and 2 for regular member)
	// Example: 1
	// Required: true
	// Enum: [1,2]
	Role *int64 `json:"role"`

	// Team identifier
	// Example: 1
	// Required: true
	TeamID *int64 `json:"teamID"`

	// User identifier
	// Example: 1
	// Required: true
	UserID *int64 `json:"userID"`
}

TeammembershipsTeamMembershipUpdatePayload teammemberships team membership update payload

swagger:model teammemberships.teamMembershipUpdatePayload

func (*TeammembershipsTeamMembershipUpdatePayload) ContextValidate

ContextValidate validates this teammemberships team membership update payload based on context it is used

func (*TeammembershipsTeamMembershipUpdatePayload) MarshalBinary

func (m *TeammembershipsTeamMembershipUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TeammembershipsTeamMembershipUpdatePayload) UnmarshalBinary

func (m *TeammembershipsTeamMembershipUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TeammembershipsTeamMembershipUpdatePayload) Validate

Validate validates this teammemberships team membership update payload

type TeamsTeamCreatePayload

type TeamsTeamCreatePayload struct {

	// Name
	// Example: developers
	// Required: true
	Name *string `json:"name"`

	// TeamLeaders
	// Example: [3,5]
	TeamLeaders []int64 `json:"teamLeaders"`
}

TeamsTeamCreatePayload teams team create payload

swagger:model teams.teamCreatePayload

func (*TeamsTeamCreatePayload) ContextValidate

func (m *TeamsTeamCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this teams team create payload based on context it is used

func (*TeamsTeamCreatePayload) MarshalBinary

func (m *TeamsTeamCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TeamsTeamCreatePayload) UnmarshalBinary

func (m *TeamsTeamCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TeamsTeamCreatePayload) Validate

func (m *TeamsTeamCreatePayload) Validate(formats strfmt.Registry) error

Validate validates this teams team create payload

type TeamsTeamUpdatePayload

type TeamsTeamUpdatePayload struct {

	// Name
	// Example: developers
	Name string `json:"name,omitempty"`
}

TeamsTeamUpdatePayload teams team update payload

swagger:model teams.teamUpdatePayload

func (*TeamsTeamUpdatePayload) ContextValidate

func (m *TeamsTeamUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this teams team update payload based on context it is used

func (*TeamsTeamUpdatePayload) MarshalBinary

func (m *TeamsTeamUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TeamsTeamUpdatePayload) UnmarshalBinary

func (m *TeamsTeamUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TeamsTeamUpdatePayload) Validate

func (m *TeamsTeamUpdatePayload) Validate(formats strfmt.Registry) error

Validate validates this teams team update payload

type TemplatesFileResponse

type TemplatesFileResponse struct {

	// The requested file content
	// Example: version:2
	FileContent string `json:"fileContent,omitempty"`
}

TemplatesFileResponse templates file response

swagger:model templates.fileResponse

func (*TemplatesFileResponse) ContextValidate

func (m *TemplatesFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this templates file response based on context it is used

func (*TemplatesFileResponse) MarshalBinary

func (m *TemplatesFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TemplatesFileResponse) UnmarshalBinary

func (m *TemplatesFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TemplatesFileResponse) Validate

func (m *TemplatesFileResponse) Validate(formats strfmt.Registry) error

Validate validates this templates file response

type TemplatesListResponse

type TemplatesListResponse struct {

	// templates
	Templates []*PortainerTemplate `json:"templates"`

	// version
	Version string `json:"version,omitempty"`
}

TemplatesListResponse templates list response

swagger:model templates.listResponse

func (*TemplatesListResponse) ContextValidate

func (m *TemplatesListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this templates list response based on the context it is used

func (*TemplatesListResponse) MarshalBinary

func (m *TemplatesListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TemplatesListResponse) UnmarshalBinary

func (m *TemplatesListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TemplatesListResponse) Validate

func (m *TemplatesListResponse) Validate(formats strfmt.Registry) error

Validate validates this templates list response

type TypesEndpointUpdateScheduleRelation

type TypesEndpointUpdateScheduleRelation struct {

	// EdgeStack Identifier
	EdgeStackID int64 `json:"edgeStackId,omitempty"`

	// environment Id
	EnvironmentID int64 `json:"environmentId,omitempty"`

	// schedule Id
	ScheduleID int64 `json:"scheduleId,omitempty"`

	// target version
	TargetVersion string `json:"targetVersion,omitempty"`
}

TypesEndpointUpdateScheduleRelation types endpoint update schedule relation

swagger:model types.EndpointUpdateScheduleRelation

func (*TypesEndpointUpdateScheduleRelation) ContextValidate

func (m *TypesEndpointUpdateScheduleRelation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this types endpoint update schedule relation based on context it is used

func (*TypesEndpointUpdateScheduleRelation) MarshalBinary

func (m *TypesEndpointUpdateScheduleRelation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TypesEndpointUpdateScheduleRelation) UnmarshalBinary

func (m *TypesEndpointUpdateScheduleRelation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TypesEndpointUpdateScheduleRelation) Validate

Validate validates this types endpoint update schedule relation

type TypesEnvironmentMetadata

type TypesEnvironmentMetadata struct {

	// custom template content
	CustomTemplateContent string `json:"customTemplateContent,omitempty"`

	// CustomTemplate Identifier
	CustomTemplateID int64 `json:"customTemplateID,omitempty"`

	// Environment(Endpoint) group identifier
	GroupID int64 `json:"groupId,omitempty"`

	// stack name
	StackName string `json:"stackName,omitempty"`

	// tag ids
	TagIds []int64 `json:"tagIds"`
}

TypesEnvironmentMetadata types environment metadata

swagger:model types.EnvironmentMetadata

func (*TypesEnvironmentMetadata) ContextValidate

func (m *TypesEnvironmentMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this types environment metadata based on context it is used

func (*TypesEnvironmentMetadata) MarshalBinary

func (m *TypesEnvironmentMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TypesEnvironmentMetadata) UnmarshalBinary

func (m *TypesEnvironmentMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TypesEnvironmentMetadata) Validate

func (m *TypesEnvironmentMetadata) Validate(formats strfmt.Registry) error

Validate validates this types environment metadata

type TypesMountPoint

type TypesMountPoint struct {

	// Destination is the path relative to the container root (`/`) where the
	// Source is mounted inside the container.
	Destination string `json:"destination,omitempty"`

	// Driver is the volume driver used to create the volume (if it is a volume).
	Driver string `json:"driver,omitempty"`

	// Mode is a comma separated list of options supplied by the user when
	// creating the bind/volume mount.
	//
	// The default is platform-specific (`"z"` on Linux, empty on Windows).
	Mode string `json:"mode,omitempty"`

	// Name is the name reference to the underlying data defined by `Source`
	// e.g., the volume name.
	Name string `json:"name,omitempty"`

	// Propagation describes how mounts are propagated from the host into the
	// mount point, and vice-versa. Refer to the Linux kernel documentation
	// for details:
	// https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt
	//
	// This field is not used on Windows.
	Propagation string `json:"propagation,omitempty"`

	// RW indicates whether the mount is mounted writable (read-write).
	Rw bool `json:"rw,omitempty"`

	// Source is the source location of the mount.
	//
	// For volumes, this contains the storage location of the volume (within
	// `/var/lib/docker/volumes/`). For bind-mounts, and `npipe`, this contains
	// the source (host) part of the bind-mount. For `tmpfs` mount points, this
	// field is empty.
	Source string `json:"source,omitempty"`

	// Type is the type of mount, see `Type<foo>` definitions in
	// github.com/docker/docker/api/types/mount.Type
	Type string `json:"type,omitempty"`
}

TypesMountPoint types mount point

swagger:model types.MountPoint

func (*TypesMountPoint) ContextValidate

func (m *TypesMountPoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this types mount point based on context it is used

func (*TypesMountPoint) MarshalBinary

func (m *TypesMountPoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TypesMountPoint) UnmarshalBinary

func (m *TypesMountPoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TypesMountPoint) Validate

func (m *TypesMountPoint) Validate(formats strfmt.Registry) error

Validate validates this types mount point

type TypesPort

type TypesPort struct {

	// Host IP address that the container's port is mapped to
	IP string `json:"IP,omitempty"`

	// Port on the container
	// Required: true
	PrivatePort int64 `json:"PrivatePort,omitempty"`

	// Port exposed on the host
	PublicPort int64 `json:"PublicPort,omitempty"`

	// type
	// Required: true
	Type string `json:"Type,omitempty"`
}

TypesPort types port

swagger:model types.Port

func (*TypesPort) ContextValidate

func (m *TypesPort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this types port based on context it is used

func (*TypesPort) MarshalBinary

func (m *TypesPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TypesPort) UnmarshalBinary

func (m *TypesPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TypesPort) Validate

func (m *TypesPort) Validate(formats strfmt.Registry) error

Validate validates this types port

type TypesSummaryNetworkSettings

type TypesSummaryNetworkSettings struct {

	// networks
	Networks map[string]NetworkEndpointSettings `json:"networks,omitempty"`
}

TypesSummaryNetworkSettings types summary network settings

swagger:model types.SummaryNetworkSettings

func (*TypesSummaryNetworkSettings) ContextValidate

func (m *TypesSummaryNetworkSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this types summary network settings based on the context it is used

func (*TypesSummaryNetworkSettings) MarshalBinary

func (m *TypesSummaryNetworkSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TypesSummaryNetworkSettings) UnmarshalBinary

func (m *TypesSummaryNetworkSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TypesSummaryNetworkSettings) Validate

func (m *TypesSummaryNetworkSettings) Validate(formats strfmt.Registry) error

Validate validates this types summary network settings

type TypesUpdateSchedule

type TypesUpdateSchedule struct {

	// Name of the agent image, does not include the registry
	// Example: portainer/agent:latest
	AgentImage string `json:"agentImage,omitempty"`

	// Created timestamp
	// Example: 1564897200
	Created int64 `json:"created,omitempty"`

	// Created by user id
	// Example: 1
	CreatedBy int64 `json:"createdBy,omitempty"`

	// EdgeGroups to be updated
	//
	// There is some duplication here with EdgeStack.EdgeGroups
	// EdgeStack.EdgeGroup should have only one group which a temporary group, used only for the update
	// This field is saved only to show which groups the user chose when creating the schedule
	// Example: [1]
	EdgeGroupIds []int64 `json:"edgeGroupIds"`

	// EdgeStack Identifier
	// Example: 1
	EdgeStackID int64 `json:"edgeStackId,omitempty"`

	// Deprecated - use Environment.Agent.PreviousVersion instead
	EnvironmentsPreviousVersions map[string]string `json:"environmentsPreviousVersions,omitempty"`

	// EdgeUpdateSchedule Identifier
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// Name of the schedule
	// Example: Update Schedule
	Name string `json:"name,omitempty"`

	// ID of registry
	// Example: 1
	RegistryID int64 `json:"registryId,omitempty"`

	// Type of the update (1 - update, 2 - rollback)
	// Example: 1
	// Enum: [1,2]
	Type int64 `json:"type,omitempty"`

	// Name of the updater image, does not include the registry but must include a tag
	// Example: portainer/portainer-updater:latest
	UpdaterImage string `json:"updaterImage,omitempty"`

	// Deprecated
	// Example: 1.0.0
	Version string `json:"version,omitempty"`
}

TypesUpdateSchedule types update schedule

swagger:model types.UpdateSchedule

func (*TypesUpdateSchedule) ContextValidate

func (m *TypesUpdateSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this types update schedule based on context it is used

func (*TypesUpdateSchedule) MarshalBinary

func (m *TypesUpdateSchedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TypesUpdateSchedule) UnmarshalBinary

func (m *TypesUpdateSchedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TypesUpdateSchedule) Validate

func (m *TypesUpdateSchedule) Validate(formats strfmt.Registry) error

Validate validates this types update schedule

type UnstructuredUnstructured

type UnstructuredUnstructured struct {

	// Object is a JSON compatible map with string, float, int, bool, []interface{}, or
	// map[string]interface{}
	// children.
	Object interface{} `json:"object,omitempty"`
}

UnstructuredUnstructured unstructured unstructured

swagger:model unstructured.Unstructured

func (*UnstructuredUnstructured) ContextValidate

func (m *UnstructuredUnstructured) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unstructured unstructured based on context it is used

func (*UnstructuredUnstructured) MarshalBinary

func (m *UnstructuredUnstructured) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnstructuredUnstructured) UnmarshalBinary

func (m *UnstructuredUnstructured) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnstructuredUnstructured) Validate

func (m *UnstructuredUnstructured) Validate(formats strfmt.Registry) error

Validate validates this unstructured unstructured

type UseractivityLogsListResponse

type UseractivityLogsListResponse struct {

	// logs
	Logs []*PortainereeUserActivityLog `json:"logs"`

	// total count
	TotalCount int64 `json:"totalCount,omitempty"`
}

UseractivityLogsListResponse useractivity logs list response

swagger:model useractivity.logsListResponse

func (*UseractivityLogsListResponse) ContextValidate

func (m *UseractivityLogsListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this useractivity logs list response based on the context it is used

func (*UseractivityLogsListResponse) MarshalBinary

func (m *UseractivityLogsListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UseractivityLogsListResponse) UnmarshalBinary

func (m *UseractivityLogsListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UseractivityLogsListResponse) Validate

func (m *UseractivityLogsListResponse) Validate(formats strfmt.Registry) error

Validate validates this useractivity logs list response

type UsersAccessTokenResponse

type UsersAccessTokenResponse struct {

	// api key
	APIKey *PortainerAPIKey `json:"apiKey,omitempty"`

	// raw API key
	RawAPIKey string `json:"rawAPIKey,omitempty"`
}

UsersAccessTokenResponse users access token response

swagger:model users.accessTokenResponse

func (*UsersAccessTokenResponse) ContextValidate

func (m *UsersAccessTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users access token response based on the context it is used

func (*UsersAccessTokenResponse) MarshalBinary

func (m *UsersAccessTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersAccessTokenResponse) UnmarshalBinary

func (m *UsersAccessTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersAccessTokenResponse) Validate

func (m *UsersAccessTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this users access token response

type UsersAddHelmRepoURLPayload

type UsersAddHelmRepoURLPayload struct {

	// url
	URL string `json:"url,omitempty"`
}

UsersAddHelmRepoURLPayload users add helm repo Url payload

swagger:model users.addHelmRepoUrlPayload

func (*UsersAddHelmRepoURLPayload) ContextValidate

func (m *UsersAddHelmRepoURLPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this users add helm repo Url payload based on context it is used

func (*UsersAddHelmRepoURLPayload) MarshalBinary

func (m *UsersAddHelmRepoURLPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersAddHelmRepoURLPayload) UnmarshalBinary

func (m *UsersAddHelmRepoURLPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersAddHelmRepoURLPayload) Validate

func (m *UsersAddHelmRepoURLPayload) Validate(formats strfmt.Registry) error

Validate validates this users add helm repo Url payload

type UsersAdminInitPayload

type UsersAdminInitPayload struct {

	// Password for the admin user
	// Example: admin-password
	// Required: true
	Password *string `json:"password"`

	// Username for the admin user
	// Example: admin
	// Required: true
	Username *string `json:"username"`
}

UsersAdminInitPayload users admin init payload

swagger:model users.adminInitPayload

func (*UsersAdminInitPayload) ContextValidate

func (m *UsersAdminInitPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this users admin init payload based on context it is used

func (*UsersAdminInitPayload) MarshalBinary

func (m *UsersAdminInitPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersAdminInitPayload) UnmarshalBinary

func (m *UsersAdminInitPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersAdminInitPayload) Validate

func (m *UsersAdminInitPayload) Validate(formats strfmt.Registry) error

Validate validates this users admin init payload

type UsersCurrentUserEndpointAuthResponse

type UsersCurrentUserEndpointAuthResponse struct {

	// authorizations
	Authorizations PortainerAuthorizations `json:"Authorizations,omitempty"`
}

UsersCurrentUserEndpointAuthResponse users current user endpoint auth response

swagger:model users.CurrentUserEndpointAuthResponse

func (*UsersCurrentUserEndpointAuthResponse) ContextValidate

func (m *UsersCurrentUserEndpointAuthResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users current user endpoint auth response based on the context it is used

func (*UsersCurrentUserEndpointAuthResponse) MarshalBinary

func (m *UsersCurrentUserEndpointAuthResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersCurrentUserEndpointAuthResponse) UnmarshalBinary

func (m *UsersCurrentUserEndpointAuthResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersCurrentUserEndpointAuthResponse) Validate

Validate validates this users current user endpoint auth response

type UsersGitCredentialResponse

type UsersGitCredentialResponse struct {

	// git credential
	GitCredential *PortainereeGitCredential `json:"gitCredential,omitempty"`
}

UsersGitCredentialResponse users git credential response

swagger:model users.gitCredentialResponse

func (*UsersGitCredentialResponse) ContextValidate

func (m *UsersGitCredentialResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users git credential response based on the context it is used

func (*UsersGitCredentialResponse) MarshalBinary

func (m *UsersGitCredentialResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersGitCredentialResponse) UnmarshalBinary

func (m *UsersGitCredentialResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersGitCredentialResponse) Validate

func (m *UsersGitCredentialResponse) Validate(formats strfmt.Registry) error

Validate validates this users git credential response

type UsersHelmUserRepositoryResponse

type UsersHelmUserRepositoryResponse struct {

	// global repository
	GlobalRepository string `json:"GlobalRepository,omitempty"`

	// user repositories
	UserRepositories []*PortainerHelmUserRepository `json:"UserRepositories"`
}

UsersHelmUserRepositoryResponse users helm user repository response

swagger:model users.helmUserRepositoryResponse

func (*UsersHelmUserRepositoryResponse) ContextValidate

func (m *UsersHelmUserRepositoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users helm user repository response based on the context it is used

func (*UsersHelmUserRepositoryResponse) MarshalBinary

func (m *UsersHelmUserRepositoryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersHelmUserRepositoryResponse) UnmarshalBinary

func (m *UsersHelmUserRepositoryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersHelmUserRepositoryResponse) Validate

Validate validates this users helm user repository response

type UsersNamespaceMapping

type UsersNamespaceMapping map[string]map[string]PortainerAuthorizations

UsersNamespaceMapping users namespace mapping

swagger:model users.namespaceMapping

func (UsersNamespaceMapping) ContextValidate

func (m UsersNamespaceMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users namespace mapping based on the context it is used

func (UsersNamespaceMapping) Validate

func (m UsersNamespaceMapping) Validate(formats strfmt.Registry) error

Validate validates this users namespace mapping

type UsersThemePayload

type UsersThemePayload struct {

	// Color represents the color theme of the UI
	// Example: dark
	// Enum: ["dark","light","highcontrast","auto"]
	Color string `json:"color,omitempty"`

	// SubtleUpgradeButton indicates if the upgrade banner should be displayed in a subtle way
	// Example: false
	SubtleUpgradeButton bool `json:"subtleUpgradeButton,omitempty"`
}

UsersThemePayload users theme payload

swagger:model users.themePayload

func (*UsersThemePayload) ContextValidate

func (m *UsersThemePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this users theme payload based on context it is used

func (*UsersThemePayload) MarshalBinary

func (m *UsersThemePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersThemePayload) UnmarshalBinary

func (m *UsersThemePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersThemePayload) Validate

func (m *UsersThemePayload) Validate(formats strfmt.Registry) error

Validate validates this users theme payload

type UsersUserAccessTokenCreatePayload

type UsersUserAccessTokenCreatePayload struct {

	// description
	// Example: github-api-key
	// Required: true
	Description *string `json:"description"`

	// password
	// Example: password
	// Required: true
	Password *string `json:"password"`
}

UsersUserAccessTokenCreatePayload users user access token create payload

swagger:model users.userAccessTokenCreatePayload

func (*UsersUserAccessTokenCreatePayload) ContextValidate

func (m *UsersUserAccessTokenCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this users user access token create payload based on context it is used

func (*UsersUserAccessTokenCreatePayload) MarshalBinary

func (m *UsersUserAccessTokenCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersUserAccessTokenCreatePayload) UnmarshalBinary

func (m *UsersUserAccessTokenCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersUserAccessTokenCreatePayload) Validate

Validate validates this users user access token create payload

type UsersUserCreatePayload

type UsersUserCreatePayload struct {

	// password
	// Example: cg9Wgky3
	// Required: true
	Password *string `json:"password"`

	// User role
	// 1 = administrator account
	// 2 = regular account
	// Example: 1
	// Required: true
	// Enum: [1,2]
	Role *int64 `json:"role"`

	// username
	// Example: bob
	// Required: true
	Username *string `json:"username"`
}

UsersUserCreatePayload users user create payload

swagger:model users.userCreatePayload

func (*UsersUserCreatePayload) ContextValidate

func (m *UsersUserCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this users user create payload based on context it is used

func (*UsersUserCreatePayload) MarshalBinary

func (m *UsersUserCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersUserCreatePayload) UnmarshalBinary

func (m *UsersUserCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersUserCreatePayload) Validate

func (m *UsersUserCreatePayload) Validate(formats strfmt.Registry) error

Validate validates this users user create payload

type UsersUserGitCredentialCreatePayload

type UsersUserGitCredentialCreatePayload struct {

	// name
	// Example: my-credential
	// Required: true
	Name *string `json:"name"`

	// password
	// Required: true
	Password *string `json:"password"`

	// username
	// Required: true
	Username *string `json:"username"`
}

UsersUserGitCredentialCreatePayload users user git credential create payload

swagger:model users.userGitCredentialCreatePayload

func (*UsersUserGitCredentialCreatePayload) ContextValidate

func (m *UsersUserGitCredentialCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this users user git credential create payload based on context it is used

func (*UsersUserGitCredentialCreatePayload) MarshalBinary

func (m *UsersUserGitCredentialCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersUserGitCredentialCreatePayload) UnmarshalBinary

func (m *UsersUserGitCredentialCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersUserGitCredentialCreatePayload) Validate

Validate validates this users user git credential create payload

type UsersUserUpdateOpenAIConfigPayload

type UsersUserUpdateOpenAIConfigPayload struct {

	// ApiKey is the OpenAI API key that will be used to interact with the OpenAI API.
	// Example: sk-1234567890
	// Required: true
	APIKey *string `json:"apiKey"`
}

UsersUserUpdateOpenAIConfigPayload users user update open a i config payload

swagger:model users.userUpdateOpenAIConfigPayload

func (*UsersUserUpdateOpenAIConfigPayload) ContextValidate

func (m *UsersUserUpdateOpenAIConfigPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this users user update open a i config payload based on context it is used

func (*UsersUserUpdateOpenAIConfigPayload) MarshalBinary

func (m *UsersUserUpdateOpenAIConfigPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersUserUpdateOpenAIConfigPayload) UnmarshalBinary

func (m *UsersUserUpdateOpenAIConfigPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersUserUpdateOpenAIConfigPayload) Validate

Validate validates this users user update open a i config payload

type UsersUserUpdatePasswordPayload

type UsersUserUpdatePasswordPayload struct {

	// New Password
	// Example: new_passwd
	// Required: true
	NewPassword *string `json:"newPassword"`

	// Current Password
	// Example: passwd
	// Required: true
	Password *string `json:"password"`
}

UsersUserUpdatePasswordPayload users user update password payload

swagger:model users.userUpdatePasswordPayload

func (*UsersUserUpdatePasswordPayload) ContextValidate

func (m *UsersUserUpdatePasswordPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this users user update password payload based on context it is used

func (*UsersUserUpdatePasswordPayload) MarshalBinary

func (m *UsersUserUpdatePasswordPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersUserUpdatePasswordPayload) UnmarshalBinary

func (m *UsersUserUpdatePasswordPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersUserUpdatePasswordPayload) Validate

func (m *UsersUserUpdatePasswordPayload) Validate(formats strfmt.Registry) error

Validate validates this users user update password payload

type UsersUserUpdatePayload

type UsersUserUpdatePayload struct {

	// new password
	// Example: asfj2emv
	// Required: true
	NewPassword *string `json:"newPassword"`

	// password
	// Example: cg9Wgky3
	// Required: true
	Password *string `json:"password"`

	// User role
	// 1 = administrator account
	// 2 = regular account
	// 3 = edge administrator account
	// Example: 2
	// Required: true
	// Enum: [1,2,3]
	Role *int64 `json:"role"`

	// theme
	Theme *UsersThemePayload `json:"theme,omitempty"`

	// use cache
	// Example: true
	// Required: true
	UseCache *bool `json:"useCache"`

	// username
	// Example: bob
	// Required: true
	Username *string `json:"username"`
}

UsersUserUpdatePayload users user update payload

swagger:model users.userUpdatePayload

func (*UsersUserUpdatePayload) ContextValidate

func (m *UsersUserUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this users user update payload based on the context it is used

func (*UsersUserUpdatePayload) MarshalBinary

func (m *UsersUserUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsersUserUpdatePayload) UnmarshalBinary

func (m *UsersUserUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsersUserUpdatePayload) Validate

func (m *UsersUserUpdatePayload) Validate(formats strfmt.Registry) error

Validate validates this users user update payload

type V1AppArmorProfile

type V1AppArmorProfile struct {

	// localhostProfile indicates a profile loaded on the node that should be used.
	// The profile must be preconfigured on the node to work.
	// Must match the loaded name of the profile.
	// Must be set if and only if type is "Localhost".
	// +optional
	LocalhostProfile string `json:"localhostProfile,omitempty"`

	// type indicates which kind of AppArmor profile will be applied.
	// Valid options are:
	//   Localhost - a profile pre-loaded on the node.
	//   RuntimeDefault - the container runtime's default profile.
	//   Unconfined - no AppArmor enforcement.
	// +unionDiscriminator
	Type string `json:"type,omitempty"`
}

V1AppArmorProfile v1 app armor profile

swagger:model v1.AppArmorProfile

func (*V1AppArmorProfile) ContextValidate

func (m *V1AppArmorProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 app armor profile based on context it is used

func (*V1AppArmorProfile) MarshalBinary

func (m *V1AppArmorProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1AppArmorProfile) UnmarshalBinary

func (m *V1AppArmorProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1AppArmorProfile) Validate

func (m *V1AppArmorProfile) Validate(formats strfmt.Registry) error

Validate validates this v1 app armor profile

type V1CSIPersistentVolumeSource

type V1CSIPersistentVolumeSource struct {

	// controllerExpandSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// ControllerExpandVolume call.
	// This field is optional, and may be empty if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	ControllerExpandSecretRef *V1SecretReference `json:"controllerExpandSecretRef,omitempty"`

	// controllerPublishSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// ControllerPublishVolume and ControllerUnpublishVolume calls.
	// This field is optional, and may be empty if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	ControllerPublishSecretRef *V1SecretReference `json:"controllerPublishSecretRef,omitempty"`

	// driver is the name of the driver to use for this volume.
	// Required.
	Driver string `json:"driver,omitempty"`

	// fsType to mount. Must be a filesystem type supported by the host operating system.
	// Ex. "ext4", "xfs", "ntfs".
	// +optional
	FsType string `json:"fsType,omitempty"`

	// nodeExpandSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// NodeExpandVolume call.
	// This field is optional, may be omitted if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	NodeExpandSecretRef *V1SecretReference `json:"nodeExpandSecretRef,omitempty"`

	// nodePublishSecretRef is a reference to the secret object containing
	// sensitive information to pass to the CSI driver to complete the CSI
	// NodePublishVolume and NodeUnpublishVolume calls.
	// This field is optional, and may be empty if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	NodePublishSecretRef *V1SecretReference `json:"nodePublishSecretRef,omitempty"`

	// nodeStageSecretRef is a reference to the secret object containing sensitive
	// information to pass to the CSI driver to complete the CSI NodeStageVolume
	// and NodeStageVolume and NodeUnstageVolume calls.
	// This field is optional, and may be empty if no secret is required. If the
	// secret object contains more than one secret, all secrets are passed.
	// +optional
	NodeStageSecretRef *V1SecretReference `json:"nodeStageSecretRef,omitempty"`

	// readOnly value to pass to ControllerPublishVolumeRequest.
	// Defaults to false (read/write).
	// +optional
	ReadOnly bool `json:"readOnly,omitempty"`

	// volumeAttributes of the volume to publish.
	// +optional
	VolumeAttributes map[string]string `json:"volumeAttributes,omitempty"`

	// volumeHandle is the unique volume name returned by the CSI volume
	// plugin’s CreateVolume to refer to the volume on all subsequent calls.
	// Required.
	VolumeHandle string `json:"volumeHandle,omitempty"`
}

V1CSIPersistentVolumeSource v1 c s i persistent volume source

swagger:model v1.CSIPersistentVolumeSource

func (*V1CSIPersistentVolumeSource) ContextValidate

func (m *V1CSIPersistentVolumeSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 c s i persistent volume source based on the context it is used

func (*V1CSIPersistentVolumeSource) MarshalBinary

func (m *V1CSIPersistentVolumeSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1CSIPersistentVolumeSource) UnmarshalBinary

func (m *V1CSIPersistentVolumeSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1CSIPersistentVolumeSource) Validate

func (m *V1CSIPersistentVolumeSource) Validate(formats strfmt.Registry) error

Validate validates this v1 c s i persistent volume source

type V1Capabilities

type V1Capabilities struct {

	// Added capabilities
	// +optional
	// +listType=atomic
	Add []string `json:"add"`

	// Removed capabilities
	// +optional
	// +listType=atomic
	Drop []string `json:"drop"`
}

V1Capabilities v1 capabilities

swagger:model v1.Capabilities

func (*V1Capabilities) ContextValidate

func (m *V1Capabilities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 capabilities based on context it is used

func (*V1Capabilities) MarshalBinary

func (m *V1Capabilities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Capabilities) UnmarshalBinary

func (m *V1Capabilities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Capabilities) Validate

func (m *V1Capabilities) Validate(formats strfmt.Registry) error

Validate validates this v1 capabilities

type V1ClientIPConfig

type V1ClientIPConfig struct {

	// timeoutSeconds specifies the seconds of ClientIP type session sticky time.
	// The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP".
	// Default value is 10800(for 3 hours).
	// +optional
	TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"`
}

V1ClientIPConfig v1 client IP config

swagger:model v1.ClientIPConfig

func (*V1ClientIPConfig) ContextValidate

func (m *V1ClientIPConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 client IP config based on context it is used

func (*V1ClientIPConfig) MarshalBinary

func (m *V1ClientIPConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ClientIPConfig) UnmarshalBinary

func (m *V1ClientIPConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ClientIPConfig) Validate

func (m *V1ClientIPConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 client IP config

type V1Condition

type V1Condition struct {

	// lastTransitionTime is the last time the condition transitioned from one status to another.
	// This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	LastTransitionTime string `json:"lastTransitionTime,omitempty"`

	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=32768
	Message string `json:"message,omitempty"`

	// observedGeneration represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	// +optional
	// +kubebuilder:validation:Minimum=0
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// reason contains a programmatic identifier indicating the reason for the condition's last transition.
	// Producers of specific condition types may define expected values and meanings for this field,
	// and whether the values are considered a guaranteed API.
	// The value should be a CamelCase string.
	// This field may not be empty.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=1024
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
	Reason string `json:"reason,omitempty"`

	// status of the condition, one of True, False, Unknown.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=True;False;Unknown
	Status string `json:"status,omitempty"`

	// type of condition in CamelCase or in foo.example.com/CamelCase.
	// ---
	// Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
	// useful (see .node.status.conditions), the ability to deconflict is important.
	// The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
	// +kubebuilder:validation:MaxLength=316
	Type string `json:"type,omitempty"`
}

V1Condition v1 condition

swagger:model v1.Condition

func (*V1Condition) ContextValidate

func (m *V1Condition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 condition based on context it is used

func (*V1Condition) MarshalBinary

func (m *V1Condition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Condition) UnmarshalBinary

func (m *V1Condition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Condition) Validate

func (m *V1Condition) Validate(formats strfmt.Registry) error

Validate validates this v1 condition

type V1ConfigMapEnvSource

type V1ConfigMapEnvSource struct {

	// Name of the referent.
	// This field is effectively required, but due to backwards compatibility is
	// allowed to be empty. Instances of this type with an empty value here are
	// almost certainly wrong.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	// +default=""
	// +kubebuilder:default=""
	// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
	Name string `json:"name,omitempty"`

	// Specify whether the ConfigMap must be defined
	// +optional
	Optional bool `json:"optional,omitempty"`
}

V1ConfigMapEnvSource v1 config map env source

swagger:model v1.ConfigMapEnvSource

func (*V1ConfigMapEnvSource) ContextValidate

func (m *V1ConfigMapEnvSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 config map env source based on context it is used

func (*V1ConfigMapEnvSource) MarshalBinary

func (m *V1ConfigMapEnvSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ConfigMapEnvSource) UnmarshalBinary

func (m *V1ConfigMapEnvSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ConfigMapEnvSource) Validate

func (m *V1ConfigMapEnvSource) Validate(formats strfmt.Registry) error

Validate validates this v1 config map env source

type V1ConfigMapKeySelector

type V1ConfigMapKeySelector struct {

	// The key to select.
	Key string `json:"key,omitempty"`

	// Name of the referent.
	// This field is effectively required, but due to backwards compatibility is
	// allowed to be empty. Instances of this type with an empty value here are
	// almost certainly wrong.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	// +default=""
	// +kubebuilder:default=""
	// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
	Name string `json:"name,omitempty"`

	// Specify whether the ConfigMap or its key must be defined
	// +optional
	Optional bool `json:"optional,omitempty"`
}

V1ConfigMapKeySelector v1 config map key selector

swagger:model v1.ConfigMapKeySelector

func (*V1ConfigMapKeySelector) ContextValidate

func (m *V1ConfigMapKeySelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 config map key selector based on context it is used

func (*V1ConfigMapKeySelector) MarshalBinary

func (m *V1ConfigMapKeySelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ConfigMapKeySelector) UnmarshalBinary

func (m *V1ConfigMapKeySelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ConfigMapKeySelector) Validate

func (m *V1ConfigMapKeySelector) Validate(formats strfmt.Registry) error

Validate validates this v1 config map key selector

type V1Container

type V1Container struct {

	// Arguments to the entrypoint.
	// The container image's CMD is used if this is not provided.
	// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
	// cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
	// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
	// produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
	// of whether the variable exists or not. Cannot be updated.
	// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	// +optional
	// +listType=atomic
	Args []string `json:"args"`

	// Entrypoint array. Not executed within a shell.
	// The container image's ENTRYPOINT is used if this is not provided.
	// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
	// cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
	// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
	// produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
	// of whether the variable exists or not. Cannot be updated.
	// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
	// +optional
	// +listType=atomic
	Command []string `json:"command"`

	// List of environment variables to set in the container.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=name
	Env []*V1EnvVar `json:"env"`

	// List of sources to populate environment variables in the container.
	// The keys defined within a source must be a C_IDENTIFIER. All invalid keys
	// will be reported as an event when the container is starting. When a key exists in multiple
	// sources, the value associated with the last source will take precedence.
	// Values defined by an Env with a duplicate key will take precedence.
	// Cannot be updated.
	// +optional
	// +listType=atomic
	EnvFrom []*V1EnvFromSource `json:"envFrom"`

	// Container image name.
	// More info: https://kubernetes.io/docs/concepts/containers/images
	// This field is optional to allow higher level config management to default or override
	// container images in workload controllers like Deployments and StatefulSets.
	// +optional
	Image string `json:"image,omitempty"`

	// Image pull policy.
	// One of Always, Never, IfNotPresent.
	// Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
	// +optional
	ImagePullPolicy string `json:"imagePullPolicy,omitempty"`

	// Actions that the management system should take in response to container lifecycle events.
	// Cannot be updated.
	// +optional
	Lifecycle *V1Lifecycle `json:"lifecycle,omitempty"`

	// Periodic probe of container liveness.
	// Container will be restarted if the probe fails.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	LivenessProbe *V1Probe `json:"livenessProbe,omitempty"`

	// Name of the container specified as a DNS_LABEL.
	// Each container in a pod must have a unique name (DNS_LABEL).
	// Cannot be updated.
	Name string `json:"name,omitempty"`

	// List of ports to expose from the container. Not specifying a port here
	// DOES NOT prevent that port from being exposed. Any port which is
	// listening on the default "0.0.0.0" address inside a container will be
	// accessible from the network.
	// Modifying this array with strategic merge patch may corrupt the data.
	// For more information See https://github.com/kubernetes/kubernetes/issues/108255.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=containerPort
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=containerPort
	// +listMapKey=protocol
	Ports []*V1ContainerPort `json:"ports"`

	// Periodic probe of container service readiness.
	// Container will be removed from service endpoints if the probe fails.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	ReadinessProbe *V1Probe `json:"readinessProbe,omitempty"`

	// Resources resize policy for the container.
	// +featureGate=InPlacePodVerticalScaling
	// +optional
	// +listType=atomic
	ResizePolicy []*V1ContainerResizePolicy `json:"resizePolicy"`

	// Compute Resources required by this container.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// +optional
	Resources *V1ResourceRequirements `json:"resources,omitempty"`

	// RestartPolicy defines the restart behavior of individual containers in a pod.
	// This field may only be set for init containers, and the only allowed value is "Always".
	// For non-init containers or when this field is not specified,
	// the restart behavior is defined by the Pod's restart policy and the container type.
	// Setting the RestartPolicy as "Always" for the init container will have the following effect:
	// this init container will be continually restarted on
	// exit until all regular containers have terminated. Once all regular
	// containers have completed, all init containers with restartPolicy "Always"
	// will be shut down. This lifecycle differs from normal init containers and
	// is often referred to as a "sidecar" container. Although this init
	// container still starts in the init container sequence, it does not wait
	// for the container to complete before proceeding to the next init
	// container. Instead, the next init container starts immediately after this
	// init container is started, or after any startupProbe has successfully
	// completed.
	// +featureGate=SidecarContainers
	// +optional
	RestartPolicy string `json:"restartPolicy,omitempty"`

	// SecurityContext defines the security options the container should be run with.
	// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.
	// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
	// +optional
	SecurityContext *V1SecurityContext `json:"securityContext,omitempty"`

	// StartupProbe indicates that the Pod has successfully initialized.
	// If specified, no other probes are executed until this completes successfully.
	// If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.
	// This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,
	// when it might take a long time to load data or warm a cache, than during steady-state operation.
	// This cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	StartupProbe *V1Probe `json:"startupProbe,omitempty"`

	// Whether this container should allocate a buffer for stdin in the container runtime. If this
	// is not set, reads from stdin in the container will always result in EOF.
	// Default is false.
	// +optional
	Stdin bool `json:"stdin,omitempty"`

	// Whether the container runtime should close the stdin channel after it has been opened by
	// a single attach. When stdin is true the stdin stream will remain open across multiple attach
	// sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
	// first client attaches to stdin, and then remains open and accepts data until the client disconnects,
	// at which time stdin is closed and remains closed until the container is restarted. If this
	// flag is false, a container processes that reads from stdin will never receive an EOF.
	// Default is false
	// +optional
	StdinOnce bool `json:"stdinOnce,omitempty"`

	// Optional: Path at which the file to which the container's termination message
	// will be written is mounted into the container's filesystem.
	// Message written is intended to be brief final status, such as an assertion failure message.
	// Will be truncated by the node if greater than 4096 bytes. The total message length across
	// all containers will be limited to 12kb.
	// Defaults to /dev/termination-log.
	// Cannot be updated.
	// +optional
	TerminationMessagePath string `json:"terminationMessagePath,omitempty"`

	// Indicate how the termination message should be populated. File will use the contents of
	// terminationMessagePath to populate the container status message on both success and failure.
	// FallbackToLogsOnError will use the last chunk of container log output if the termination
	// message file is empty and the container exited with an error.
	// The log output is limited to 2048 bytes or 80 lines, whichever is smaller.
	// Defaults to File.
	// Cannot be updated.
	// +optional
	TerminationMessagePolicy string `json:"terminationMessagePolicy,omitempty"`

	// Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
	// Default is false.
	// +optional
	Tty bool `json:"tty,omitempty"`

	// volumeDevices is the list of block devices to be used by the container.
	// +patchMergeKey=devicePath
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=devicePath
	// +optional
	VolumeDevices []*V1VolumeDevice `json:"volumeDevices"`

	// Pod volumes to mount into the container's filesystem.
	// Cannot be updated.
	// +optional
	// +patchMergeKey=mountPath
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=mountPath
	VolumeMounts []*V1VolumeMount `json:"volumeMounts"`

	// Container's working directory.
	// If not specified, the container runtime's default will be used, which
	// might be configured in the container image.
	// Cannot be updated.
	// +optional
	WorkingDir string `json:"workingDir,omitempty"`
}

V1Container v1 container

swagger:model v1.Container

func (*V1Container) ContextValidate

func (m *V1Container) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 container based on the context it is used

func (*V1Container) MarshalBinary

func (m *V1Container) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Container) UnmarshalBinary

func (m *V1Container) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Container) Validate

func (m *V1Container) Validate(formats strfmt.Registry) error

Validate validates this v1 container

type V1ContainerPort

type V1ContainerPort struct {

	// Number of port to expose on the pod's IP address.
	// This must be a valid port number, 0 < x < 65536.
	ContainerPort int64 `json:"containerPort,omitempty"`

	// What host IP to bind the external port to.
	// +optional
	HostIP string `json:"hostIP,omitempty"`

	// Number of port to expose on the host.
	// If specified, this must be a valid port number, 0 < x < 65536.
	// If HostNetwork is specified, this must match ContainerPort.
	// Most containers do not need this.
	// +optional
	HostPort int64 `json:"hostPort,omitempty"`

	// If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
	// named port in a pod must have a unique name. Name for the port that can be
	// referred to by services.
	// +optional
	Name string `json:"name,omitempty"`

	// Protocol for port. Must be UDP, TCP, or SCTP.
	// Defaults to "TCP".
	// +optional
	// +default="TCP"
	Protocol string `json:"protocol,omitempty"`
}

V1ContainerPort v1 container port

swagger:model v1.ContainerPort

func (*V1ContainerPort) ContextValidate

func (m *V1ContainerPort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 container port based on context it is used

func (*V1ContainerPort) MarshalBinary

func (m *V1ContainerPort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ContainerPort) UnmarshalBinary

func (m *V1ContainerPort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ContainerPort) Validate

func (m *V1ContainerPort) Validate(formats strfmt.Registry) error

Validate validates this v1 container port

type V1ContainerResizePolicy

type V1ContainerResizePolicy struct {

	// Name of the resource to which this resource resize policy applies.
	// Supported values: cpu, memory.
	ResourceName string `json:"resourceName,omitempty"`

	// Restart policy to apply when specified resource is resized.
	// If not specified, it defaults to NotRequired.
	RestartPolicy string `json:"restartPolicy,omitempty"`
}

V1ContainerResizePolicy v1 container resize policy

swagger:model v1.ContainerResizePolicy

func (*V1ContainerResizePolicy) ContextValidate

func (m *V1ContainerResizePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 container resize policy based on context it is used

func (*V1ContainerResizePolicy) MarshalBinary

func (m *V1ContainerResizePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ContainerResizePolicy) UnmarshalBinary

func (m *V1ContainerResizePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ContainerResizePolicy) Validate

func (m *V1ContainerResizePolicy) Validate(formats strfmt.Registry) error

Validate validates this v1 container resize policy

type V1Descriptor added in v2.31.0

type V1Descriptor struct {

	// Annotations contains arbitrary metadata relating to the targeted content.
	Annotations map[string]string `json:"annotations,omitempty"`

	// ArtifactType is the IANA media type of this artifact.
	ArtifactType string `json:"artifactType,omitempty"`

	// Data is an embedding of the targeted content. This is encoded as a base64
	// string when marshalled to JSON (automatically, by encoding/json). If
	// present, Data can be used directly to avoid fetching the targeted content.
	Data []int64 `json:"data"`

	// Digest is the digest of the targeted content.
	Digest string `json:"digest,omitempty"`

	// MediaType is the media type of the object this schema refers to.
	MediaType string `json:"mediaType,omitempty"`

	// Platform describes the platform which the image in the manifest runs on.
	//
	// This should only be used when referring to a manifest.
	Platform *V1Platform `json:"platform,omitempty"`

	// Size specifies the size in bytes of the blob.
	Size int64 `json:"size,omitempty"`

	// URLs specifies a list of URLs from which this object MAY be downloaded
	Urls []string `json:"urls"`
}

V1Descriptor v1 descriptor

swagger:model v1.Descriptor

func (*V1Descriptor) ContextValidate added in v2.31.0

func (m *V1Descriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 descriptor based on the context it is used

func (*V1Descriptor) MarshalBinary added in v2.31.0

func (m *V1Descriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Descriptor) UnmarshalBinary added in v2.31.0

func (m *V1Descriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Descriptor) Validate added in v2.31.0

func (m *V1Descriptor) Validate(formats strfmt.Registry) error

Validate validates this v1 descriptor

type V1Duration

type V1Duration struct {

	// time duration
	TimeDuration int64 `json:"time.Duration,omitempty"`
}

V1Duration v1 duration

swagger:model v1.Duration

func (*V1Duration) ContextValidate

func (m *V1Duration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 duration based on context it is used

func (*V1Duration) MarshalBinary

func (m *V1Duration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Duration) UnmarshalBinary

func (m *V1Duration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Duration) Validate

func (m *V1Duration) Validate(formats strfmt.Registry) error

Validate validates this v1 duration

type V1EnvFromSource

type V1EnvFromSource struct {

	// The ConfigMap to select from
	// +optional
	ConfigMapRef *V1ConfigMapEnvSource `json:"configMapRef,omitempty"`

	// An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
	// +optional
	Prefix string `json:"prefix,omitempty"`

	// The Secret to select from
	// +optional
	SecretRef *V1SecretEnvSource `json:"secretRef,omitempty"`
}

V1EnvFromSource v1 env from source

swagger:model v1.EnvFromSource

func (*V1EnvFromSource) ContextValidate

func (m *V1EnvFromSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 env from source based on the context it is used

func (*V1EnvFromSource) MarshalBinary

func (m *V1EnvFromSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1EnvFromSource) UnmarshalBinary

func (m *V1EnvFromSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1EnvFromSource) Validate

func (m *V1EnvFromSource) Validate(formats strfmt.Registry) error

Validate validates this v1 env from source

type V1EnvVar

type V1EnvVar struct {

	// Name of the environment variable. Must be a C_IDENTIFIER.
	Name string `json:"name,omitempty"`

	// Variable references $(VAR_NAME) are expanded
	// using the previously defined environment variables in the container and
	// any service environment variables. If a variable cannot be resolved,
	// the reference in the input string will be unchanged. Double $$ are reduced
	// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
	// "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
	// Escaped references will never be expanded, regardless of whether the variable
	// exists or not.
	// Defaults to "".
	// +optional
	Value string `json:"value,omitempty"`

	// Source for the environment variable's value. Cannot be used if value is not empty.
	// +optional
	ValueFrom *V1EnvVarSource `json:"valueFrom,omitempty"`
}

V1EnvVar v1 env var

swagger:model v1.EnvVar

func (*V1EnvVar) ContextValidate

func (m *V1EnvVar) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 env var based on the context it is used

func (*V1EnvVar) MarshalBinary

func (m *V1EnvVar) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1EnvVar) UnmarshalBinary

func (m *V1EnvVar) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1EnvVar) Validate

func (m *V1EnvVar) Validate(formats strfmt.Registry) error

Validate validates this v1 env var

type V1EnvVarSource

type V1EnvVarSource struct {

	// Selects a key of a ConfigMap.
	// +optional
	ConfigMapKeyRef *V1ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`

	// Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
	// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
	// +optional
	FieldRef *V1ObjectFieldSelector `json:"fieldRef,omitempty"`

	// Selects a resource of the container: only resources limits and requests
	// (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
	// +optional
	ResourceFieldRef *V1ResourceFieldSelector `json:"resourceFieldRef,omitempty"`

	// Selects a key of a secret in the pod's namespace
	// +optional
	SecretKeyRef *V1SecretKeySelector `json:"secretKeyRef,omitempty"`
}

V1EnvVarSource v1 env var source

swagger:model v1.EnvVarSource

func (*V1EnvVarSource) ContextValidate

func (m *V1EnvVarSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 env var source based on the context it is used

func (*V1EnvVarSource) MarshalBinary

func (m *V1EnvVarSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1EnvVarSource) UnmarshalBinary

func (m *V1EnvVarSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1EnvVarSource) Validate

func (m *V1EnvVarSource) Validate(formats strfmt.Registry) error

Validate validates this v1 env var source

type V1ExecAction

type V1ExecAction struct {

	// Command is the command line to execute inside the container, the working directory for the
	// command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
	// not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
	// a shell, you need to explicitly call out to that shell.
	// Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
	// +optional
	// +listType=atomic
	Command []string `json:"command"`
}

V1ExecAction v1 exec action

swagger:model v1.ExecAction

func (*V1ExecAction) ContextValidate

func (m *V1ExecAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 exec action based on context it is used

func (*V1ExecAction) MarshalBinary

func (m *V1ExecAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ExecAction) UnmarshalBinary

func (m *V1ExecAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ExecAction) Validate

func (m *V1ExecAction) Validate(formats strfmt.Registry) error

Validate validates this v1 exec action

type V1FieldsV1

type V1FieldsV1 interface{}

V1FieldsV1 v1 fields v1

swagger:model v1.FieldsV1

type V1GRPCAction

type V1GRPCAction struct {

	// Port number of the gRPC service. Number must be in the range 1 to 65535.
	Port int64 `json:"port,omitempty"`

	// Service is the name of the service to place in the gRPC HealthCheckRequest
	// (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
	//
	// If this is not specified, the default behavior is defined by gRPC.
	// +optional
	// +default=""
	Service string `json:"service,omitempty"`
}

V1GRPCAction v1 g RPC action

swagger:model v1.GRPCAction

func (*V1GRPCAction) ContextValidate

func (m *V1GRPCAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 g RPC action based on context it is used

func (*V1GRPCAction) MarshalBinary

func (m *V1GRPCAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1GRPCAction) UnmarshalBinary

func (m *V1GRPCAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1GRPCAction) Validate

func (m *V1GRPCAction) Validate(formats strfmt.Registry) error

Validate validates this v1 g RPC action

type V1HTTPGetAction

type V1HTTPGetAction struct {

	// Host name to connect to, defaults to the pod IP. You probably want to set
	// "Host" in httpHeaders instead.
	// +optional
	Host string `json:"host,omitempty"`

	// Custom headers to set in the request. HTTP allows repeated headers.
	// +optional
	// +listType=atomic
	HTTPHeaders []*V1HTTPHeader `json:"httpHeaders"`

	// Path to access on the HTTP server.
	// +optional
	Path string `json:"path,omitempty"`

	// Name or number of the port to access on the container.
	// Number must be in the range 1 to 65535.
	// Name must be an IANA_SVC_NAME.
	Port *IntstrIntOrString `json:"port,omitempty"`

	// Scheme to use for connecting to the host.
	// Defaults to HTTP.
	// +optional
	Scheme string `json:"scheme,omitempty"`
}

V1HTTPGetAction v1 HTTP get action

swagger:model v1.HTTPGetAction

func (*V1HTTPGetAction) ContextValidate

func (m *V1HTTPGetAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 HTTP get action based on the context it is used

func (*V1HTTPGetAction) MarshalBinary

func (m *V1HTTPGetAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1HTTPGetAction) UnmarshalBinary

func (m *V1HTTPGetAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1HTTPGetAction) Validate

func (m *V1HTTPGetAction) Validate(formats strfmt.Registry) error

Validate validates this v1 HTTP get action

type V1HTTPHeader

type V1HTTPHeader struct {

	// The header field name.
	// This will be canonicalized upon output, so case-variant names will be understood as the same header.
	Name string `json:"name,omitempty"`

	// The header field value
	Value string `json:"value,omitempty"`
}

V1HTTPHeader v1 HTTP header

swagger:model v1.HTTPHeader

func (*V1HTTPHeader) ContextValidate

func (m *V1HTTPHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 HTTP header based on context it is used

func (*V1HTTPHeader) MarshalBinary

func (m *V1HTTPHeader) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1HTTPHeader) UnmarshalBinary

func (m *V1HTTPHeader) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1HTTPHeader) Validate

func (m *V1HTTPHeader) Validate(formats strfmt.Registry) error

Validate validates this v1 HTTP header

type V1LabelSelector

type V1LabelSelector struct {

	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	// +optional
	// +listType=atomic
	MatchExpressions []*V1LabelSelectorRequirement `json:"matchExpressions"`

	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is "key", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	// +optional
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

V1LabelSelector v1 label selector

swagger:model v1.LabelSelector

func (*V1LabelSelector) ContextValidate

func (m *V1LabelSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 label selector based on the context it is used

func (*V1LabelSelector) MarshalBinary

func (m *V1LabelSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LabelSelector) UnmarshalBinary

func (m *V1LabelSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LabelSelector) Validate

func (m *V1LabelSelector) Validate(formats strfmt.Registry) error

Validate validates this v1 label selector

type V1LabelSelectorRequirement

type V1LabelSelectorRequirement struct {

	// key is the label key that the selector applies to.
	Key string `json:"key,omitempty"`

	// operator represents a key's relationship to a set of values.
	// Valid operators are In, NotIn, Exists and DoesNotExist.
	Operator string `json:"operator,omitempty"`

	// values is an array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. This array is replaced during a strategic
	// merge patch.
	// +optional
	// +listType=atomic
	Values []string `json:"values"`
}

V1LabelSelectorRequirement v1 label selector requirement

swagger:model v1.LabelSelectorRequirement

func (*V1LabelSelectorRequirement) ContextValidate

func (m *V1LabelSelectorRequirement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 label selector requirement based on context it is used

func (*V1LabelSelectorRequirement) MarshalBinary

func (m *V1LabelSelectorRequirement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LabelSelectorRequirement) UnmarshalBinary

func (m *V1LabelSelectorRequirement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LabelSelectorRequirement) Validate

func (m *V1LabelSelectorRequirement) Validate(formats strfmt.Registry) error

Validate validates this v1 label selector requirement

type V1Lifecycle

type V1Lifecycle struct {

	// PostStart is called immediately after a container is created. If the handler fails,
	// the container is terminated and restarted according to its restart policy.
	// Other management of the container blocks until the hook completes.
	// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
	// +optional
	PostStart *V1LifecycleHandler `json:"postStart,omitempty"`

	// PreStop is called immediately before a container is terminated due to an
	// API request or management event such as liveness/startup probe failure,
	// preemption, resource contention, etc. The handler is not called if the
	// container crashes or exits. The Pod's termination grace period countdown begins before the
	// PreStop hook is executed. Regardless of the outcome of the handler, the
	// container will eventually terminate within the Pod's termination grace
	// period (unless delayed by finalizers). Other management of the container blocks until the hook completes
	// or until the termination grace period is reached.
	// More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
	// +optional
	PreStop *V1LifecycleHandler `json:"preStop,omitempty"`
}

V1Lifecycle v1 lifecycle

swagger:model v1.Lifecycle

func (*V1Lifecycle) ContextValidate

func (m *V1Lifecycle) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 lifecycle based on the context it is used

func (*V1Lifecycle) MarshalBinary

func (m *V1Lifecycle) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Lifecycle) UnmarshalBinary

func (m *V1Lifecycle) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Lifecycle) Validate

func (m *V1Lifecycle) Validate(formats strfmt.Registry) error

Validate validates this v1 lifecycle

type V1LifecycleHandler

type V1LifecycleHandler struct {

	// Exec specifies a command to execute in the container.
	// +optional
	Exec *V1ExecAction `json:"exec,omitempty"`

	// HTTPGet specifies an HTTP GET request to perform.
	// +optional
	HTTPGet *V1HTTPGetAction `json:"httpGet,omitempty"`

	// Sleep represents a duration that the container should sleep.
	// +featureGate=PodLifecycleSleepAction
	// +optional
	Sleep *V1SleepAction `json:"sleep,omitempty"`

	// Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept
	// for backward compatibility. There is no validation of this field and
	// lifecycle hooks will fail at runtime when it is specified.
	// +optional
	TCPSocket *V1TCPSocketAction `json:"tcpSocket,omitempty"`
}

V1LifecycleHandler v1 lifecycle handler

swagger:model v1.LifecycleHandler

func (*V1LifecycleHandler) ContextValidate

func (m *V1LifecycleHandler) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 lifecycle handler based on the context it is used

func (*V1LifecycleHandler) MarshalBinary

func (m *V1LifecycleHandler) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LifecycleHandler) UnmarshalBinary

func (m *V1LifecycleHandler) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LifecycleHandler) Validate

func (m *V1LifecycleHandler) Validate(formats strfmt.Registry) error

Validate validates this v1 lifecycle handler

type V1LoadBalancerIngress

type V1LoadBalancerIngress struct {

	// Hostname is set for load-balancer ingress points that are DNS based
	// (typically AWS load-balancers)
	// +optional
	Hostname string `json:"hostname,omitempty"`

	// IP is set for load-balancer ingress points that are IP based
	// (typically GCE or OpenStack load-balancers)
	// +optional
	IP string `json:"ip,omitempty"`

	// IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified.
	// Setting this to "VIP" indicates that traffic is delivered to the node with
	// the destination set to the load-balancer's IP and port.
	// Setting this to "Proxy" indicates that traffic is delivered to the node or pod with
	// the destination set to the node's IP and node port or the pod's IP and port.
	// Service implementations may use this information to adjust traffic routing.
	// +optional
	IPMode string `json:"ipMode,omitempty"`

	// Ports is a list of records of service ports
	// If used, every port defined in the service should have an entry in it
	// +listType=atomic
	// +optional
	Ports []*V1PortStatus `json:"ports"`
}

V1LoadBalancerIngress v1 load balancer ingress

swagger:model v1.LoadBalancerIngress

func (*V1LoadBalancerIngress) ContextValidate

func (m *V1LoadBalancerIngress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 load balancer ingress based on the context it is used

func (*V1LoadBalancerIngress) MarshalBinary

func (m *V1LoadBalancerIngress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LoadBalancerIngress) UnmarshalBinary

func (m *V1LoadBalancerIngress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LoadBalancerIngress) Validate

func (m *V1LoadBalancerIngress) Validate(formats strfmt.Registry) error

Validate validates this v1 load balancer ingress

type V1LoadBalancerStatus

type V1LoadBalancerStatus struct {

	// Ingress is a list containing ingress points for the load-balancer.
	// Traffic intended for the service should be sent to these ingress points.
	// +optional
	// +listType=atomic
	Ingress []*V1LoadBalancerIngress `json:"ingress"`
}

V1LoadBalancerStatus v1 load balancer status

swagger:model v1.LoadBalancerStatus

func (*V1LoadBalancerStatus) ContextValidate

func (m *V1LoadBalancerStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 load balancer status based on the context it is used

func (*V1LoadBalancerStatus) MarshalBinary

func (m *V1LoadBalancerStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1LoadBalancerStatus) UnmarshalBinary

func (m *V1LoadBalancerStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1LoadBalancerStatus) Validate

func (m *V1LoadBalancerStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 load balancer status

type V1ManagedFieldsEntry

type V1ManagedFieldsEntry struct {

	// APIVersion defines the version of this resource that this field set
	// applies to. The format is "group/version" just like the top-level
	// APIVersion field. It is necessary to track the version of a field
	// set because it cannot be automatically converted.
	APIVersion string `json:"apiVersion,omitempty"`

	// FieldsType is the discriminator for the different fields format and version.
	// There is currently only one possible value: "FieldsV1"
	FieldsType string `json:"fieldsType,omitempty"`

	// FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
	// +optional
	FieldsV1 V1FieldsV1 `json:"fieldsV1,omitempty"`

	// Manager is an identifier of the workflow managing these fields.
	Manager string `json:"manager,omitempty"`

	// Operation is the type of operation which lead to this ManagedFieldsEntry being created.
	// The only valid values for this field are 'Apply' and 'Update'.
	Operation string `json:"operation,omitempty"`

	// Subresource is the name of the subresource used to update that object, or
	// empty string if the object was updated through the main resource. The
	// value of this field is used to distinguish between managers, even if they
	// share the same name. For example, a status update will be distinct from a
	// regular update using the same manager name.
	// Note that the APIVersion field is not related to the Subresource field and
	// it always corresponds to the version of the main resource.
	Subresource string `json:"subresource,omitempty"`

	// Time is the timestamp of when the ManagedFields entry was added. The
	// timestamp will also be updated if a field is added, the manager
	// changes any of the owned fields value or removes a field. The
	// timestamp does not update when a field is removed from the entry
	// because another manager took it over.
	// +optional
	Time string `json:"time,omitempty"`
}

V1ManagedFieldsEntry v1 managed fields entry

swagger:model v1.ManagedFieldsEntry

func (*V1ManagedFieldsEntry) ContextValidate

func (m *V1ManagedFieldsEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 managed fields entry based on context it is used

func (*V1ManagedFieldsEntry) MarshalBinary

func (m *V1ManagedFieldsEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ManagedFieldsEntry) UnmarshalBinary

func (m *V1ManagedFieldsEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ManagedFieldsEntry) Validate

func (m *V1ManagedFieldsEntry) Validate(formats strfmt.Registry) error

Validate validates this v1 managed fields entry

type V1NamespaceCondition

type V1NamespaceCondition struct {

	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime string `json:"lastTransitionTime,omitempty"`

	// Human-readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty"`

	// Unique, one-word, CamelCase reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty"`

	// Status of the condition, one of True, False, Unknown.
	Status string `json:"status,omitempty"`

	// Type of namespace controller condition.
	Type string `json:"type,omitempty"`
}

V1NamespaceCondition v1 namespace condition

swagger:model v1.NamespaceCondition

func (*V1NamespaceCondition) ContextValidate

func (m *V1NamespaceCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 namespace condition based on context it is used

func (*V1NamespaceCondition) MarshalBinary

func (m *V1NamespaceCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NamespaceCondition) UnmarshalBinary

func (m *V1NamespaceCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NamespaceCondition) Validate

func (m *V1NamespaceCondition) Validate(formats strfmt.Registry) error

Validate validates this v1 namespace condition

type V1NamespaceStatus

type V1NamespaceStatus struct {

	// Represents the latest available observations of a namespace's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []*V1NamespaceCondition `json:"conditions"`

	// Phase is the current lifecycle phase of the namespace.
	// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
	// +optional
	Phase string `json:"phase,omitempty"`
}

V1NamespaceStatus v1 namespace status

swagger:model v1.NamespaceStatus

func (*V1NamespaceStatus) ContextValidate

func (m *V1NamespaceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 namespace status based on the context it is used

func (*V1NamespaceStatus) MarshalBinary

func (m *V1NamespaceStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1NamespaceStatus) UnmarshalBinary

func (m *V1NamespaceStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1NamespaceStatus) Validate

func (m *V1NamespaceStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 namespace status

type V1ObjectFieldSelector

type V1ObjectFieldSelector struct {

	// Version of the schema the FieldPath is written in terms of, defaults to "v1".
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// Path of the field to select in the specified API version.
	FieldPath string `json:"fieldPath,omitempty"`
}

V1ObjectFieldSelector v1 object field selector

swagger:model v1.ObjectFieldSelector

func (*V1ObjectFieldSelector) ContextValidate

func (m *V1ObjectFieldSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 object field selector based on context it is used

func (*V1ObjectFieldSelector) MarshalBinary

func (m *V1ObjectFieldSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ObjectFieldSelector) UnmarshalBinary

func (m *V1ObjectFieldSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ObjectFieldSelector) Validate

func (m *V1ObjectFieldSelector) Validate(formats strfmt.Registry) error

Validate validates this v1 object field selector

type V1ObjectReference

type V1ObjectReference struct {

	// API version of the referent.
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// If referring to a piece of an object instead of an entire object, this string
	// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
	// For example, if the object reference is to a container within a pod, this would take on a value like:
	// "spec.containers{name}" (where "name" refers to the name of the container that triggered
	// the event) or if no container name is specified "spec.containers[2]" (container with
	// index 2 in this pod). This syntax is chosen only to have some well-defined way of
	// referencing a part of an object.
	// TODO: this design is not final and this field is subject to change in the future.
	// +optional
	FieldPath string `json:"fieldPath,omitempty"`

	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// Specific resourceVersion to which this reference is made, if any.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
	// +optional
	UID string `json:"uid,omitempty"`
}

V1ObjectReference v1 object reference

swagger:model v1.ObjectReference

func (*V1ObjectReference) ContextValidate

func (m *V1ObjectReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 object reference based on context it is used

func (*V1ObjectReference) MarshalBinary

func (m *V1ObjectReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ObjectReference) UnmarshalBinary

func (m *V1ObjectReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ObjectReference) Validate

func (m *V1ObjectReference) Validate(formats strfmt.Registry) error

Validate validates this v1 object reference

type V1OwnerReference

type V1OwnerReference struct {

	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty"`

	// If true, AND if the owner has the "foregroundDeletion" finalizer, then
	// the owner cannot be deleted from the key-value store until this
	// reference is removed.
	// See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion
	// for how the garbage collector interacts with this field and enforces the foreground deletion.
	// Defaults to false.
	// To set this field, a user needs "delete" permission of the owner,
	// otherwise 422 (Unprocessable Entity) will be returned.
	// +optional
	BlockOwnerDeletion bool `json:"blockOwnerDeletion,omitempty"`

	// If true, this reference points to the managing controller.
	// +optional
	Controller bool `json:"controller,omitempty"`

	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
	Name string `json:"name,omitempty"`

	// UID of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	UID string `json:"uid,omitempty"`
}

V1OwnerReference v1 owner reference

swagger:model v1.OwnerReference

func (*V1OwnerReference) ContextValidate

func (m *V1OwnerReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 owner reference based on context it is used

func (*V1OwnerReference) MarshalBinary

func (m *V1OwnerReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OwnerReference) UnmarshalBinary

func (m *V1OwnerReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OwnerReference) Validate

func (m *V1OwnerReference) Validate(formats strfmt.Registry) error

Validate validates this v1 owner reference

type V1Platform added in v2.31.0

type V1Platform struct {

	// Architecture field specifies the CPU architecture, for example
	// `amd64` or `ppc64le`.
	Architecture string `json:"architecture,omitempty"`

	// OS specifies the operating system, for example `linux` or `windows`.
	Os string `json:"os,omitempty"`

	// OSFeatures is an optional field specifying an array of strings,
	// each listing a required OS feature (for example on Windows `win32k`).
	OsFeatures []string `json:"os.features"`

	// OSVersion is an optional field specifying the operating system
	// version, for example on Windows `10.0.14393.1066`.
	OsVersion string `json:"os.version,omitempty"`

	// Variant is an optional field specifying a variant of the CPU, for
	// example `v7` to specify ARMv7 when architecture is `arm`.
	Variant string `json:"variant,omitempty"`
}

V1Platform v1 platform

swagger:model v1.Platform

func (*V1Platform) ContextValidate added in v2.31.0

func (m *V1Platform) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 platform based on context it is used

func (*V1Platform) MarshalBinary added in v2.31.0

func (m *V1Platform) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Platform) UnmarshalBinary added in v2.31.0

func (m *V1Platform) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Platform) Validate added in v2.31.0

func (m *V1Platform) Validate(formats strfmt.Registry) error

Validate validates this v1 platform

type V1PortStatus

type V1PortStatus struct {

	// Error is to record the problem with the service port
	// The format of the error shall comply with the following rules:
	// - built-in error values shall be specified in this file and those shall use
	//   CamelCase names
	// - cloud provider specific error values must have names that comply with the
	//   format foo.example.com/CamelCase.
	// ---
	// The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
	// +optional
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
	// +kubebuilder:validation:MaxLength=316
	Error string `json:"error,omitempty"`

	// Port is the port number of the service port of which status is recorded here
	Port int64 `json:"port,omitempty"`

	// Protocol is the protocol of the service port of which status is recorded here
	// The supported values are: "TCP", "UDP", "SCTP"
	Protocol string `json:"protocol,omitempty"`
}

V1PortStatus v1 port status

swagger:model v1.PortStatus

func (*V1PortStatus) ContextValidate

func (m *V1PortStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 port status based on context it is used

func (*V1PortStatus) MarshalBinary

func (m *V1PortStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1PortStatus) UnmarshalBinary

func (m *V1PortStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1PortStatus) Validate

func (m *V1PortStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 port status

type V1Probe

type V1Probe struct {

	// Exec specifies a command to execute in the container.
	// +optional
	Exec *V1ExecAction `json:"exec,omitempty"`

	// Minimum consecutive failures for the probe to be considered failed after having succeeded.
	// Defaults to 3. Minimum value is 1.
	// +optional
	FailureThreshold int64 `json:"failureThreshold,omitempty"`

	// GRPC specifies a GRPC HealthCheckRequest.
	// +optional
	Grpc *V1GRPCAction `json:"grpc,omitempty"`

	// HTTPGet specifies an HTTP GET request to perform.
	// +optional
	HTTPGet *V1HTTPGetAction `json:"httpGet,omitempty"`

	// Number of seconds after the container has started before liveness probes are initiated.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	InitialDelaySeconds int64 `json:"initialDelaySeconds,omitempty"`

	// How often (in seconds) to perform the probe.
	// Default to 10 seconds. Minimum value is 1.
	// +optional
	PeriodSeconds int64 `json:"periodSeconds,omitempty"`

	// Minimum consecutive successes for the probe to be considered successful after having failed.
	// Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
	// +optional
	SuccessThreshold int64 `json:"successThreshold,omitempty"`

	// TCPSocket specifies a connection to a TCP port.
	// +optional
	TCPSocket *V1TCPSocketAction `json:"tcpSocket,omitempty"`

	// Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
	// The grace period is the duration in seconds after the processes running in the pod are sent
	// a termination signal and the time when the processes are forcibly halted with a kill signal.
	// Set this value longer than the expected cleanup time for your process.
	// If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
	// value overrides the value provided by the pod spec.
	// Value must be non-negative integer. The value zero indicates stop immediately via
	// the kill signal (no opportunity to shut down).
	// This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
	// Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
	// +optional
	TerminationGracePeriodSeconds int64 `json:"terminationGracePeriodSeconds,omitempty"`

	// Number of seconds after which the probe times out.
	// Defaults to 1 second. Minimum value is 1.
	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
	// +optional
	TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"`
}

V1Probe v1 probe

swagger:model v1.Probe

func (*V1Probe) ContextValidate

func (m *V1Probe) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 probe based on the context it is used

func (*V1Probe) MarshalBinary

func (m *V1Probe) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Probe) UnmarshalBinary

func (m *V1Probe) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Probe) Validate

func (m *V1Probe) Validate(formats strfmt.Registry) error

Validate validates this v1 probe

type V1ResourceClaim

type V1ResourceClaim struct {

	// Name must match the name of one entry in pod.spec.resourceClaims of
	// the Pod where this field is used. It makes that resource available
	// inside a container.
	Name string `json:"name,omitempty"`

	// Request is the name chosen for a request in the referenced claim.
	// If empty, everything from the claim is made available, otherwise
	// only the result of this request.
	//
	// +optional
	Request string `json:"request,omitempty"`
}

V1ResourceClaim v1 resource claim

swagger:model v1.ResourceClaim

func (*V1ResourceClaim) ContextValidate

func (m *V1ResourceClaim) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 resource claim based on context it is used

func (*V1ResourceClaim) MarshalBinary

func (m *V1ResourceClaim) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ResourceClaim) UnmarshalBinary

func (m *V1ResourceClaim) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ResourceClaim) Validate

func (m *V1ResourceClaim) Validate(formats strfmt.Registry) error

Validate validates this v1 resource claim

type V1ResourceFieldSelector

type V1ResourceFieldSelector struct {

	// Container name: required for volumes, optional for env vars
	// +optional
	ContainerName string `json:"containerName,omitempty"`

	// Specifies the output format of the exposed resources, defaults to "1"
	// +optional
	Divisor *ResourceQuantity `json:"divisor,omitempty"`

	// Required: resource to select
	Resource string `json:"resource,omitempty"`
}

V1ResourceFieldSelector v1 resource field selector

swagger:model v1.ResourceFieldSelector

func (*V1ResourceFieldSelector) ContextValidate

func (m *V1ResourceFieldSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 resource field selector based on the context it is used

func (*V1ResourceFieldSelector) MarshalBinary

func (m *V1ResourceFieldSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ResourceFieldSelector) UnmarshalBinary

func (m *V1ResourceFieldSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ResourceFieldSelector) Validate

func (m *V1ResourceFieldSelector) Validate(formats strfmt.Registry) error

Validate validates this v1 resource field selector

type V1ResourceList

type V1ResourceList map[string]ResourceQuantity

V1ResourceList v1 resource list

swagger:model v1.ResourceList

func (V1ResourceList) ContextValidate

func (m V1ResourceList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 resource list based on the context it is used

func (V1ResourceList) Validate

func (m V1ResourceList) Validate(formats strfmt.Registry) error

Validate validates this v1 resource list

type V1ResourceQuota

type V1ResourceQuota struct {

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	//
	// Populated by the system.
	// Read-only.
	// Null for lists.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	CreationTimestamp string `json:"creationTimestamp,omitempty"`

	// Number of seconds allowed for this object to gracefully terminate before
	// it will be removed from the system. Only set when deletionTimestamp is also set.
	// May only be shortened.
	// Read-only.
	// +optional
	DeletionGracePeriodSeconds int64 `json:"deletionGracePeriodSeconds,omitempty"`

	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field, once the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is set, this value may not be unset or be set further into the
	// future, although it may be shortened or the resource may be deleted prior to this time.
	// For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
	// by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
	// the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
	// remove the pod from the API. In the presence of network partitions, this object may still
	// exist after this timestamp, until an administrator or automated process can determine the
	// resource is fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	DeletionTimestamp string `json:"deletionTimestamp,omitempty"`

	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	// Finalizers may be processed and removed in any order.  Order is NOT enforced
	// because it introduces significant risk of stuck finalizers.
	// finalizers is a shared field, any actor with permission can reorder it.
	// If the finalizer list is processed in order, then this can lead to a situation
	// in which the component responsible for the first finalizer in the list is
	// waiting for a signal (field value, external system, or other) produced by a
	// component responsible for a finalizer later in the list, resulting in a deadlock.
	// Without enforced ordering finalizers are free to order amongst themselves and
	// are not vulnerable to ordering changes in the list.
	// +optional
	// +patchStrategy=merge
	// +listType=set
	Finalizers []string `json:"finalizers"`

	// GenerateName is an optional prefix, used by the server, to generate a unique
	// name ONLY IF the Name field has not been provided.
	// If this field is used, the name returned to the client will be different
	// than the name passed. This value will also be combined with a unique suffix.
	// The provided value has the same validation rules as the Name field,
	// and may be truncated by the length of the suffix required to make the value
	// unique on the server.
	//
	// If this field is specified and the generated name exists, the server will return a 409.
	//
	// Applied only if Name is not specified.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	// +optional
	GenerateName string `json:"generateName,omitempty"`

	// A sequence number representing a specific generation of the desired state.
	// Populated by the system. Read-only.
	// +optional
	Generation int64 `json:"generation,omitempty"`

	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// ManagedFields maps workflow-id and version to the set of fields
	// that are managed by that workflow. This is mostly for internal
	// housekeeping, and users typically shouldn't need to set or
	// understand this field. A workflow can be the user's name, a
	// controller's name, or the name of a specific apply path like
	// "ci-cd". The set of fields is always in the version that the
	// workflow used when modifying the object.
	//
	// +optional
	// +listType=atomic
	ManagedFields []*V1ManagedFieldsEntry `json:"managedFields"`

	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace defines the space within which each name must be unique. An empty namespace is
	// equivalent to the "default" namespace, but "default" is the canonical representation.
	// Not all objects are required to be scoped to a namespace - the value of this field for
	// those objects will be empty.
	//
	// Must be a DNS_LABEL.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	// There cannot be more than one managing controller.
	// +optional
	// +patchMergeKey=uid
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=uid
	OwnerReferences []*V1OwnerReference `json:"ownerReferences"`

	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
	// +optional
	SelfLink string `json:"selfLink,omitempty"`

	// Spec defines the desired quota.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *V1ResourceQuotaSpec `json:"spec,omitempty"`

	// Status defines the actual enforced quota and its current usage.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *V1ResourceQuotaStatus `json:"status,omitempty"`

	// UID is the unique in time and space value for this object. It is typically generated by
	// the server on successful creation of a resource and is not allowed to change on PUT
	// operations.
	//
	// Populated by the system.
	// Read-only.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	// +optional
	UID string `json:"uid,omitempty"`
}

V1ResourceQuota v1 resource quota

swagger:model v1.ResourceQuota

func (*V1ResourceQuota) ContextValidate

func (m *V1ResourceQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 resource quota based on the context it is used

func (*V1ResourceQuota) MarshalBinary

func (m *V1ResourceQuota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ResourceQuota) UnmarshalBinary

func (m *V1ResourceQuota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ResourceQuota) Validate

func (m *V1ResourceQuota) Validate(formats strfmt.Registry) error

Validate validates this v1 resource quota

type V1ResourceQuotaSpec

type V1ResourceQuotaSpec struct {

	// hard is the set of desired hard limits for each named resource.
	// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
	// +optional
	Hard V1ResourceList `json:"hard,omitempty"`

	// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota
	// but expressed using ScopeSelectorOperator in combination with possible values.
	// For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
	// +optional
	ScopeSelector *V1ScopeSelector `json:"scopeSelector,omitempty"`

	// A collection of filters that must match each object tracked by a quota.
	// If not specified, the quota matches all objects.
	// +optional
	// +listType=atomic
	Scopes []string `json:"scopes"`
}

V1ResourceQuotaSpec v1 resource quota spec

swagger:model v1.ResourceQuotaSpec

func (*V1ResourceQuotaSpec) ContextValidate

func (m *V1ResourceQuotaSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 resource quota spec based on the context it is used

func (*V1ResourceQuotaSpec) MarshalBinary

func (m *V1ResourceQuotaSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ResourceQuotaSpec) UnmarshalBinary

func (m *V1ResourceQuotaSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ResourceQuotaSpec) Validate

func (m *V1ResourceQuotaSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 resource quota spec

type V1ResourceQuotaStatus

type V1ResourceQuotaStatus struct {

	// Hard is the set of enforced hard limits for each named resource.
	// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
	// +optional
	Hard V1ResourceList `json:"hard,omitempty"`

	// Used is the current observed total usage of the resource in the namespace.
	// +optional
	Used V1ResourceList `json:"used,omitempty"`
}

V1ResourceQuotaStatus v1 resource quota status

swagger:model v1.ResourceQuotaStatus

func (*V1ResourceQuotaStatus) ContextValidate

func (m *V1ResourceQuotaStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 resource quota status based on the context it is used

func (*V1ResourceQuotaStatus) MarshalBinary

func (m *V1ResourceQuotaStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ResourceQuotaStatus) UnmarshalBinary

func (m *V1ResourceQuotaStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ResourceQuotaStatus) Validate

func (m *V1ResourceQuotaStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 resource quota status

type V1ResourceRequirements

type V1ResourceRequirements struct {

	// Claims lists the names of resources, defined in spec.resourceClaims,
	// that are used by this container.
	//
	// This is an alpha field and requires enabling the
	// DynamicResourceAllocation feature gate.
	//
	// This field is immutable. It can only be set for containers.
	//
	// +listType=map
	// +listMapKey=name
	// +featureGate=DynamicResourceAllocation
	// +optional
	Claims []*V1ResourceClaim `json:"claims"`

	// Limits describes the maximum amount of compute resources allowed.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// +optional
	Limits V1ResourceList `json:"limits,omitempty"`

	// Requests describes the minimum amount of compute resources required.
	// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
	// otherwise to an implementation-defined value. Requests cannot exceed Limits.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	// +optional
	Requests V1ResourceList `json:"requests,omitempty"`
}

V1ResourceRequirements v1 resource requirements

swagger:model v1.ResourceRequirements

func (*V1ResourceRequirements) ContextValidate

func (m *V1ResourceRequirements) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 resource requirements based on the context it is used

func (*V1ResourceRequirements) MarshalBinary

func (m *V1ResourceRequirements) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ResourceRequirements) UnmarshalBinary

func (m *V1ResourceRequirements) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ResourceRequirements) Validate

func (m *V1ResourceRequirements) Validate(formats strfmt.Registry) error

Validate validates this v1 resource requirements

type V1RoleRef

type V1RoleRef struct {

	// APIGroup is the group for the resource being referenced
	APIGroup string `json:"apiGroup,omitempty"`

	// Kind is the type of resource being referenced
	Kind string `json:"kind,omitempty"`

	// Name is the name of resource being referenced
	Name string `json:"name,omitempty"`
}

V1RoleRef v1 role ref

swagger:model v1.RoleRef

func (*V1RoleRef) ContextValidate

func (m *V1RoleRef) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 role ref based on context it is used

func (*V1RoleRef) MarshalBinary

func (m *V1RoleRef) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1RoleRef) UnmarshalBinary

func (m *V1RoleRef) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1RoleRef) Validate

func (m *V1RoleRef) Validate(formats strfmt.Registry) error

Validate validates this v1 role ref

type V1SELinuxOptions

type V1SELinuxOptions struct {

	// Level is SELinux level label that applies to the container.
	// +optional
	Level string `json:"level,omitempty"`

	// Role is a SELinux role label that applies to the container.
	// +optional
	Role string `json:"role,omitempty"`

	// Type is a SELinux type label that applies to the container.
	// +optional
	Type string `json:"type,omitempty"`

	// User is a SELinux user label that applies to the container.
	// +optional
	User string `json:"user,omitempty"`
}

V1SELinuxOptions v1 s e linux options

swagger:model v1.SELinuxOptions

func (*V1SELinuxOptions) ContextValidate

func (m *V1SELinuxOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 s e linux options based on context it is used

func (*V1SELinuxOptions) MarshalBinary

func (m *V1SELinuxOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SELinuxOptions) UnmarshalBinary

func (m *V1SELinuxOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SELinuxOptions) Validate

func (m *V1SELinuxOptions) Validate(formats strfmt.Registry) error

Validate validates this v1 s e linux options

type V1ScopeSelector

type V1ScopeSelector struct {

	// A list of scope selector requirements by scope of the resources.
	// +optional
	// +listType=atomic
	MatchExpressions []*V1ScopedResourceSelectorRequirement `json:"matchExpressions"`
}

V1ScopeSelector v1 scope selector

swagger:model v1.ScopeSelector

func (*V1ScopeSelector) ContextValidate

func (m *V1ScopeSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 scope selector based on the context it is used

func (*V1ScopeSelector) MarshalBinary

func (m *V1ScopeSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ScopeSelector) UnmarshalBinary

func (m *V1ScopeSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ScopeSelector) Validate

func (m *V1ScopeSelector) Validate(formats strfmt.Registry) error

Validate validates this v1 scope selector

type V1ScopedResourceSelectorRequirement

type V1ScopedResourceSelectorRequirement struct {

	// Represents a scope's relationship to a set of values.
	// Valid operators are In, NotIn, Exists, DoesNotExist.
	Operator string `json:"operator,omitempty"`

	// The name of the scope that the selector applies to.
	ScopeName string `json:"scopeName,omitempty"`

	// An array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty.
	// This array is replaced during a strategic merge patch.
	// +optional
	// +listType=atomic
	Values []string `json:"values"`
}

V1ScopedResourceSelectorRequirement v1 scoped resource selector requirement

swagger:model v1.ScopedResourceSelectorRequirement

func (*V1ScopedResourceSelectorRequirement) ContextValidate

func (m *V1ScopedResourceSelectorRequirement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 scoped resource selector requirement based on context it is used

func (*V1ScopedResourceSelectorRequirement) MarshalBinary

func (m *V1ScopedResourceSelectorRequirement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ScopedResourceSelectorRequirement) UnmarshalBinary

func (m *V1ScopedResourceSelectorRequirement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ScopedResourceSelectorRequirement) Validate

Validate validates this v1 scoped resource selector requirement

type V1SeccompProfile

type V1SeccompProfile struct {

	// localhostProfile indicates a profile defined in a file on the node should be used.
	// The profile must be preconfigured on the node to work.
	// Must be a descending path, relative to the kubelet's configured seccomp profile location.
	// Must be set if type is "Localhost". Must NOT be set for any other type.
	// +optional
	LocalhostProfile string `json:"localhostProfile,omitempty"`

	// type indicates which kind of seccomp profile will be applied.
	// Valid options are:
	//
	// Localhost - a profile defined in a file on the node should be used.
	// RuntimeDefault - the container runtime default profile should be used.
	// Unconfined - no profile should be applied.
	// +unionDiscriminator
	Type string `json:"type,omitempty"`
}

V1SeccompProfile v1 seccomp profile

swagger:model v1.SeccompProfile

func (*V1SeccompProfile) ContextValidate

func (m *V1SeccompProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 seccomp profile based on context it is used

func (*V1SeccompProfile) MarshalBinary

func (m *V1SeccompProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SeccompProfile) UnmarshalBinary

func (m *V1SeccompProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SeccompProfile) Validate

func (m *V1SeccompProfile) Validate(formats strfmt.Registry) error

Validate validates this v1 seccomp profile

type V1SecretEnvSource

type V1SecretEnvSource struct {

	// Name of the referent.
	// This field is effectively required, but due to backwards compatibility is
	// allowed to be empty. Instances of this type with an empty value here are
	// almost certainly wrong.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	// +default=""
	// +kubebuilder:default=""
	// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
	Name string `json:"name,omitempty"`

	// Specify whether the Secret must be defined
	// +optional
	Optional bool `json:"optional,omitempty"`
}

V1SecretEnvSource v1 secret env source

swagger:model v1.SecretEnvSource

func (*V1SecretEnvSource) ContextValidate

func (m *V1SecretEnvSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 secret env source based on context it is used

func (*V1SecretEnvSource) MarshalBinary

func (m *V1SecretEnvSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SecretEnvSource) UnmarshalBinary

func (m *V1SecretEnvSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SecretEnvSource) Validate

func (m *V1SecretEnvSource) Validate(formats strfmt.Registry) error

Validate validates this v1 secret env source

type V1SecretKeySelector

type V1SecretKeySelector struct {

	// The key of the secret to select from.  Must be a valid secret key.
	Key string `json:"key,omitempty"`

	// Name of the referent.
	// This field is effectively required, but due to backwards compatibility is
	// allowed to be empty. Instances of this type with an empty value here are
	// almost certainly wrong.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	// +default=""
	// +kubebuilder:default=""
	// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
	Name string `json:"name,omitempty"`

	// Specify whether the Secret or its key must be defined
	// +optional
	Optional bool `json:"optional,omitempty"`
}

V1SecretKeySelector v1 secret key selector

swagger:model v1.SecretKeySelector

func (*V1SecretKeySelector) ContextValidate

func (m *V1SecretKeySelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 secret key selector based on context it is used

func (*V1SecretKeySelector) MarshalBinary

func (m *V1SecretKeySelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SecretKeySelector) UnmarshalBinary

func (m *V1SecretKeySelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SecretKeySelector) Validate

func (m *V1SecretKeySelector) Validate(formats strfmt.Registry) error

Validate validates this v1 secret key selector

type V1SecretReference

type V1SecretReference struct {

	// name is unique within a namespace to reference a secret resource.
	// +optional
	Name string `json:"name,omitempty"`

	// namespace defines the space within which the secret name must be unique.
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

V1SecretReference v1 secret reference

swagger:model v1.SecretReference

func (*V1SecretReference) ContextValidate

func (m *V1SecretReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 secret reference based on context it is used

func (*V1SecretReference) MarshalBinary

func (m *V1SecretReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SecretReference) UnmarshalBinary

func (m *V1SecretReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SecretReference) Validate

func (m *V1SecretReference) Validate(formats strfmt.Registry) error

Validate validates this v1 secret reference

type V1SecurityContext

type V1SecurityContext struct {

	// AllowPrivilegeEscalation controls whether a process can gain more
	// privileges than its parent process. This bool directly controls if
	// the no_new_privs flag will be set on the container process.
	// AllowPrivilegeEscalation is true always when the container is:
	// 1) run as Privileged
	// 2) has CAP_SYS_ADMIN
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	AllowPrivilegeEscalation bool `json:"allowPrivilegeEscalation,omitempty"`

	// appArmorProfile is the AppArmor options to use by this container. If set, this profile
	// overrides the pod's appArmorProfile.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	AppArmorProfile *V1AppArmorProfile `json:"appArmorProfile,omitempty"`

	// The capabilities to add/drop when running containers.
	// Defaults to the default set of capabilities granted by the container runtime.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	Capabilities *V1Capabilities `json:"capabilities,omitempty"`

	// Run container in privileged mode.
	// Processes in privileged containers are essentially equivalent to root on the host.
	// Defaults to false.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	Privileged bool `json:"privileged,omitempty"`

	// procMount denotes the type of proc mount to use for the containers.
	// The default value is Default which uses the container runtime defaults for
	// readonly paths and masked paths.
	// This requires the ProcMountType feature flag to be enabled.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	ProcMount string `json:"procMount,omitempty"`

	// Whether this container has a read-only root filesystem.
	// Default is false.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty"`

	// The GID to run the entrypoint of the container process.
	// Uses runtime default if unset.
	// May also be set in PodSecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	RunAsGroup int64 `json:"runAsGroup,omitempty"`

	// Indicates that the container must run as a non-root user.
	// If true, the Kubelet will validate the image at runtime to ensure that it
	// does not run as UID 0 (root) and fail to start the container if it does.
	// If unset or false, no such validation will be performed.
	// May also be set in PodSecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// +optional
	RunAsNonRoot bool `json:"runAsNonRoot,omitempty"`

	// The UID to run the entrypoint of the container process.
	// Defaults to user specified in image metadata if unspecified.
	// May also be set in PodSecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	RunAsUser int64 `json:"runAsUser,omitempty"`

	// The SELinux context to be applied to the container.
	// If unspecified, the container runtime will allocate a random SELinux context for each
	// container.  May also be set in PodSecurityContext.  If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	SeLinuxOptions *V1SELinuxOptions `json:"seLinuxOptions,omitempty"`

	// The seccomp options to use by this container. If seccomp options are
	// provided at both the pod & container level, the container options
	// override the pod options.
	// Note that this field cannot be set when spec.os.name is windows.
	// +optional
	SeccompProfile *V1SeccompProfile `json:"seccompProfile,omitempty"`

	// The Windows specific settings applied to all containers.
	// If unspecified, the options from the PodSecurityContext will be used.
	// If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
	// Note that this field cannot be set when spec.os.name is linux.
	// +optional
	WindowsOptions *V1WindowsSecurityContextOptions `json:"windowsOptions,omitempty"`
}

V1SecurityContext v1 security context

swagger:model v1.SecurityContext

func (*V1SecurityContext) ContextValidate

func (m *V1SecurityContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 security context based on the context it is used

func (*V1SecurityContext) MarshalBinary

func (m *V1SecurityContext) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SecurityContext) UnmarshalBinary

func (m *V1SecurityContext) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SecurityContext) Validate

func (m *V1SecurityContext) Validate(formats strfmt.Registry) error

Validate validates this v1 security context

type V1Service

type V1Service struct {

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	//
	// Populated by the system.
	// Read-only.
	// Null for lists.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	CreationTimestamp string `json:"creationTimestamp,omitempty"`

	// Number of seconds allowed for this object to gracefully terminate before
	// it will be removed from the system. Only set when deletionTimestamp is also set.
	// May only be shortened.
	// Read-only.
	// +optional
	DeletionGracePeriodSeconds int64 `json:"deletionGracePeriodSeconds,omitempty"`

	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field, once the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is set, this value may not be unset or be set further into the
	// future, although it may be shortened or the resource may be deleted prior to this time.
	// For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
	// by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
	// the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
	// remove the pod from the API. In the presence of network partitions, this object may still
	// exist after this timestamp, until an administrator or automated process can determine the
	// resource is fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	DeletionTimestamp string `json:"deletionTimestamp,omitempty"`

	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	// Finalizers may be processed and removed in any order.  Order is NOT enforced
	// because it introduces significant risk of stuck finalizers.
	// finalizers is a shared field, any actor with permission can reorder it.
	// If the finalizer list is processed in order, then this can lead to a situation
	// in which the component responsible for the first finalizer in the list is
	// waiting for a signal (field value, external system, or other) produced by a
	// component responsible for a finalizer later in the list, resulting in a deadlock.
	// Without enforced ordering finalizers are free to order amongst themselves and
	// are not vulnerable to ordering changes in the list.
	// +optional
	// +patchStrategy=merge
	// +listType=set
	Finalizers []string `json:"finalizers"`

	// GenerateName is an optional prefix, used by the server, to generate a unique
	// name ONLY IF the Name field has not been provided.
	// If this field is used, the name returned to the client will be different
	// than the name passed. This value will also be combined with a unique suffix.
	// The provided value has the same validation rules as the Name field,
	// and may be truncated by the length of the suffix required to make the value
	// unique on the server.
	//
	// If this field is specified and the generated name exists, the server will return a 409.
	//
	// Applied only if Name is not specified.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	// +optional
	GenerateName string `json:"generateName,omitempty"`

	// A sequence number representing a specific generation of the desired state.
	// Populated by the system. Read-only.
	// +optional
	Generation int64 `json:"generation,omitempty"`

	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// ManagedFields maps workflow-id and version to the set of fields
	// that are managed by that workflow. This is mostly for internal
	// housekeeping, and users typically shouldn't need to set or
	// understand this field. A workflow can be the user's name, a
	// controller's name, or the name of a specific apply path like
	// "ci-cd". The set of fields is always in the version that the
	// workflow used when modifying the object.
	//
	// +optional
	// +listType=atomic
	ManagedFields []*V1ManagedFieldsEntry `json:"managedFields"`

	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace defines the space within which each name must be unique. An empty namespace is
	// equivalent to the "default" namespace, but "default" is the canonical representation.
	// Not all objects are required to be scoped to a namespace - the value of this field for
	// those objects will be empty.
	//
	// Must be a DNS_LABEL.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	// There cannot be more than one managing controller.
	// +optional
	// +patchMergeKey=uid
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=uid
	OwnerReferences []*V1OwnerReference `json:"ownerReferences"`

	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
	// +optional
	SelfLink string `json:"selfLink,omitempty"`

	// Spec defines the behavior of a service.
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Spec *V1ServiceSpec `json:"spec,omitempty"`

	// Most recently observed status of the service.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status *V1ServiceStatus `json:"status,omitempty"`

	// UID is the unique in time and space value for this object. It is typically generated by
	// the server on successful creation of a resource and is not allowed to change on PUT
	// operations.
	//
	// Populated by the system.
	// Read-only.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	// +optional
	UID string `json:"uid,omitempty"`
}

V1Service v1 service

swagger:model v1.Service

func (*V1Service) ContextValidate

func (m *V1Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service based on the context it is used

func (*V1Service) MarshalBinary

func (m *V1Service) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Service) UnmarshalBinary

func (m *V1Service) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Service) Validate

func (m *V1Service) Validate(formats strfmt.Registry) error

Validate validates this v1 service

type V1ServicePort

type V1ServicePort struct {

	// The application protocol for this port.
	// This is used as a hint for implementations to offer richer behavior for protocols that they understand.
	// This field follows standard Kubernetes label syntax.
	// Valid values are either:
	//
	// * Un-prefixed protocol names - reserved for IANA standard service names (as per
	// RFC-6335 and https://www.iana.org/assignments/service-names).
	//
	// * Kubernetes-defined prefixed names:
	//   * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-
	//   * 'kubernetes.io/ws'  - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
	//   * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
	//
	// * Other protocols should use implementation-defined prefixed names such as
	// mycompany.com/my-custom-protocol.
	// +optional
	AppProtocol string `json:"appProtocol,omitempty"`

	// The name of this port within the service. This must be a DNS_LABEL.
	// All ports within a ServiceSpec must have unique names. When considering
	// the endpoints for a Service, this must match the 'name' field in the
	// EndpointPort.
	// Optional if only one ServicePort is defined on this service.
	// +optional
	Name string `json:"name,omitempty"`

	// The port on each node on which this service is exposed when type is
	// NodePort or LoadBalancer.  Usually assigned by the system. If a value is
	// specified, in-range, and not in use it will be used, otherwise the
	// operation will fail.  If not specified, a port will be allocated if this
	// Service requires one.  If this field is specified when creating a
	// Service which does not need it, creation will fail. This field will be
	// wiped when updating a Service to no longer need it (e.g. changing type
	// from NodePort to ClusterIP).
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
	// +optional
	NodePort int64 `json:"nodePort,omitempty"`

	// The port that will be exposed by this service.
	Port int64 `json:"port,omitempty"`

	// The IP protocol for this port. Supports "TCP", "UDP", and "SCTP".
	// Default is TCP.
	// +default="TCP"
	// +optional
	Protocol string `json:"protocol,omitempty"`

	// Number or name of the port to access on the pods targeted by the service.
	// Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
	// If this is a string, it will be looked up as a named port in the
	// target Pod's container ports. If this is not specified, the value
	// of the 'port' field is used (an identity map).
	// This field is ignored for services with clusterIP=None, and should be
	// omitted or set equal to the 'port' field.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service
	// +optional
	TargetPort *IntstrIntOrString `json:"targetPort,omitempty"`
}

V1ServicePort v1 service port

swagger:model v1.ServicePort

func (*V1ServicePort) ContextValidate

func (m *V1ServicePort) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service port based on the context it is used

func (*V1ServicePort) MarshalBinary

func (m *V1ServicePort) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServicePort) UnmarshalBinary

func (m *V1ServicePort) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServicePort) Validate

func (m *V1ServicePort) Validate(formats strfmt.Registry) error

Validate validates this v1 service port

type V1ServiceSpec

type V1ServiceSpec struct {

	// allocateLoadBalancerNodePorts defines if NodePorts will be automatically
	// allocated for services with type LoadBalancer.  Default is "true". It
	// may be set to "false" if the cluster load-balancer does not rely on
	// NodePorts.  If the caller requests specific NodePorts (by specifying a
	// value), those requests will be respected, regardless of this field.
	// This field may only be set for services with type LoadBalancer and will
	// be cleared if the type is changed to any other type.
	// +optional
	AllocateLoadBalancerNodePorts bool `json:"allocateLoadBalancerNodePorts,omitempty"`

	// clusterIP is the IP address of the service and is usually assigned
	// randomly. If an address is specified manually, is in-range (as per
	// system configuration), and is not in use, it will be allocated to the
	// service; otherwise creation of the service will fail. This field may not
	// be changed through updates unless the type field is also being changed
	// to ExternalName (which requires this field to be blank) or the type
	// field is being changed from ExternalName (in which case this field may
	// optionally be specified, as describe above).  Valid values are "None",
	// empty string (""), or a valid IP address. Setting this to "None" makes a
	// "headless service" (no virtual IP), which is useful when direct endpoint
	// connections are preferred and proxying is not required.  Only applies to
	// types ClusterIP, NodePort, and LoadBalancer. If this field is specified
	// when creating a Service of type ExternalName, creation will fail. This
	// field will be wiped when updating a Service to type ExternalName.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +optional
	ClusterIP string `json:"clusterIP,omitempty"`

	// ClusterIPs is a list of IP addresses assigned to this service, and are
	// usually assigned randomly.  If an address is specified manually, is
	// in-range (as per system configuration), and is not in use, it will be
	// allocated to the service; otherwise creation of the service will fail.
	// This field may not be changed through updates unless the type field is
	// also being changed to ExternalName (which requires this field to be
	// empty) or the type field is being changed from ExternalName (in which
	// case this field may optionally be specified, as describe above).  Valid
	// values are "None", empty string (""), or a valid IP address.  Setting
	// this to "None" makes a "headless service" (no virtual IP), which is
	// useful when direct endpoint connections are preferred and proxying is
	// not required.  Only applies to types ClusterIP, NodePort, and
	// LoadBalancer. If this field is specified when creating a Service of type
	// ExternalName, creation will fail. This field will be wiped when updating
	// a Service to type ExternalName.  If this field is not specified, it will
	// be initialized from the clusterIP field.  If this field is specified,
	// clients must ensure that clusterIPs[0] and clusterIP have the same
	// value.
	//
	// This field may hold a maximum of two entries (dual-stack IPs, in either order).
	// These IPs must correspond to the values of the ipFamilies field. Both
	// clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +listType=atomic
	// +optional
	ClusterIPs []string `json:"clusterIPs"`

	// externalIPs is a list of IP addresses for which nodes in the cluster
	// will also accept traffic for this service.  These IPs are not managed by
	// Kubernetes.  The user is responsible for ensuring that traffic arrives
	// at a node with this IP.  A common example is external load-balancers
	// that are not part of the Kubernetes system.
	// +optional
	// +listType=atomic
	ExternalIPs []string `json:"externalIPs"`

	// externalName is the external reference that discovery mechanisms will
	// return as an alias for this service (e.g. a DNS CNAME record). No
	// proxying will be involved.  Must be a lowercase RFC-1123 hostname
	// (https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName".
	// +optional
	ExternalName string `json:"externalName,omitempty"`

	// externalTrafficPolicy describes how nodes distribute service traffic they
	// receive on one of the Service's "externally-facing" addresses (NodePorts,
	// ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure
	// the service in a way that assumes that external load balancers will take care
	// of balancing the service traffic between nodes, and so each node will deliver
	// traffic only to the node-local endpoints of the service, without masquerading
	// the client source IP. (Traffic mistakenly sent to a node with no endpoints will
	// be dropped.) The default value, "Cluster", uses the standard behavior of
	// routing to all endpoints evenly (possibly modified by topology and other
	// features). Note that traffic sent to an External IP or LoadBalancer IP from
	// within the cluster will always get "Cluster" semantics, but clients sending to
	// a NodePort from within the cluster may need to take traffic policy into account
	// when picking a node.
	// +optional
	ExternalTrafficPolicy string `json:"externalTrafficPolicy,omitempty"`

	// healthCheckNodePort specifies the healthcheck nodePort for the service.
	// This only applies when type is set to LoadBalancer and
	// externalTrafficPolicy is set to Local. If a value is specified, is
	// in-range, and is not in use, it will be used.  If not specified, a value
	// will be automatically allocated.  External systems (e.g. load-balancers)
	// can use this port to determine if a given node holds endpoints for this
	// service or not.  If this field is specified when creating a Service
	// which does not need it, creation will fail. This field will be wiped
	// when updating a Service to no longer need it (e.g. changing type).
	// This field cannot be updated once set.
	// +optional
	HealthCheckNodePort int64 `json:"healthCheckNodePort,omitempty"`

	// InternalTrafficPolicy describes how nodes distribute service traffic they
	// receive on the ClusterIP. If set to "Local", the proxy will assume that pods
	// only want to talk to endpoints of the service on the same node as the pod,
	// dropping the traffic if there are no local endpoints. The default value,
	// "Cluster", uses the standard behavior of routing to all endpoints evenly
	// (possibly modified by topology and other features).
	// +optional
	InternalTrafficPolicy string `json:"internalTrafficPolicy,omitempty"`

	// IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this
	// service. This field is usually assigned automatically based on cluster
	// configuration and the ipFamilyPolicy field. If this field is specified
	// manually, the requested family is available in the cluster,
	// and ipFamilyPolicy allows it, it will be used; otherwise creation of
	// the service will fail. This field is conditionally mutable: it allows
	// for adding or removing a secondary IP family, but it does not allow
	// changing the primary IP family of the Service. Valid values are "IPv4"
	// and "IPv6".  This field only applies to Services of types ClusterIP,
	// NodePort, and LoadBalancer, and does apply to "headless" services.
	// This field will be wiped when updating a Service to type ExternalName.
	//
	// This field may hold a maximum of two entries (dual-stack families, in
	// either order).  These families must correspond to the values of the
	// clusterIPs field, if specified. Both clusterIPs and ipFamilies are
	// governed by the ipFamilyPolicy field.
	// +listType=atomic
	// +optional
	IPFamilies []string `json:"ipFamilies"`

	// IPFamilyPolicy represents the dual-stack-ness requested or required by
	// this Service. If there is no value provided, then this field will be set
	// to SingleStack. Services can be "SingleStack" (a single IP family),
	// "PreferDualStack" (two IP families on dual-stack configured clusters or
	// a single IP family on single-stack clusters), or "RequireDualStack"
	// (two IP families on dual-stack configured clusters, otherwise fail). The
	// ipFamilies and clusterIPs fields depend on the value of this field. This
	// field will be wiped when updating a service to type ExternalName.
	// +optional
	IPFamilyPolicy string `json:"ipFamilyPolicy,omitempty"`

	// loadBalancerClass is the class of the load balancer implementation this Service belongs to.
	// If specified, the value of this field must be a label-style identifier, with an optional prefix,
	// e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users.
	// This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load
	// balancer implementation is used, today this is typically done through the cloud provider integration,
	// but should apply for any default implementation. If set, it is assumed that a load balancer
	// implementation is watching for Services with a matching class. Any default load balancer
	// implementation (e.g. cloud providers) should ignore Services that set this field.
	// This field can only be set when creating or updating a Service to type 'LoadBalancer'.
	// Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.
	// +optional
	LoadBalancerClass string `json:"loadBalancerClass,omitempty"`

	// Only applies to Service Type: LoadBalancer.
	// This feature depends on whether the underlying cloud-provider supports specifying
	// the loadBalancerIP when a load balancer is created.
	// This field will be ignored if the cloud-provider does not support the feature.
	// Deprecated: This field was under-specified and its meaning varies across implementations.
	// Using it is non-portable and it may not support dual-stack.
	// Users are encouraged to use implementation-specific annotations when available.
	// +optional
	LoadBalancerIP string `json:"loadBalancerIP,omitempty"`

	// If specified and supported by the platform, this will restrict traffic through the cloud-provider
	// load-balancer will be restricted to the specified client IPs. This field will be ignored if the
	// cloud-provider does not support the feature."
	// More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
	// +optional
	// +listType=atomic
	LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges"`

	// The list of ports that are exposed by this service.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +patchMergeKey=port
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=port
	// +listMapKey=protocol
	Ports []*V1ServicePort `json:"ports"`

	// publishNotReadyAddresses indicates that any agent which deals with endpoints for this
	// Service should disregard any indications of ready/not-ready.
	// The primary use case for setting this field is for a StatefulSet's Headless Service to
	// propagate SRV DNS records for its Pods for the purpose of peer discovery.
	// The Kubernetes controllers that generate Endpoints and EndpointSlice resources for
	// Services interpret this to mean that all endpoints are considered "ready" even if the
	// Pods themselves are not. Agents which consume only Kubernetes generated endpoints
	// through the Endpoints or EndpointSlice resources can safely assume this behavior.
	// +optional
	PublishNotReadyAddresses bool `json:"publishNotReadyAddresses,omitempty"`

	// Route service traffic to pods with label keys and values matching this
	// selector. If empty or not present, the service is assumed to have an
	// external process managing its endpoints, which Kubernetes will not
	// modify. Only applies to types ClusterIP, NodePort, and LoadBalancer.
	// Ignored if type is ExternalName.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/
	// +optional
	// +mapType=atomic
	Selector map[string]string `json:"selector,omitempty"`

	// Supports "ClientIP" and "None". Used to maintain session affinity.
	// Enable client IP based session affinity.
	// Must be ClientIP or None.
	// Defaults to None.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
	// +optional
	SessionAffinity string `json:"sessionAffinity,omitempty"`

	// sessionAffinityConfig contains the configurations of session affinity.
	// +optional
	SessionAffinityConfig *V1SessionAffinityConfig `json:"sessionAffinityConfig,omitempty"`

	// TrafficDistribution offers a way to express preferences for how traffic is
	// distributed to Service endpoints. Implementations can use this field as a
	// hint, but are not required to guarantee strict adherence. If the field is
	// not set, the implementation will apply its default routing strategy. If set
	// to "PreferClose", implementations should prioritize endpoints that are
	// topologically close (e.g., same zone).
	// This is a beta field and requires enabling ServiceTrafficDistribution feature.
	// +featureGate=ServiceTrafficDistribution
	// +optional
	TrafficDistribution string `json:"trafficDistribution,omitempty"`

	// type determines how the Service is exposed. Defaults to ClusterIP. Valid
	// options are ExternalName, ClusterIP, NodePort, and LoadBalancer.
	// "ClusterIP" allocates a cluster-internal IP address for load-balancing
	// to endpoints. Endpoints are determined by the selector or if that is not
	// specified, by manual construction of an Endpoints object or
	// EndpointSlice objects. If clusterIP is "None", no virtual IP is
	// allocated and the endpoints are published as a set of endpoints rather
	// than a virtual IP.
	// "NodePort" builds on ClusterIP and allocates a port on every node which
	// routes to the same endpoints as the clusterIP.
	// "LoadBalancer" builds on NodePort and creates an external load-balancer
	// (if supported in the current cloud) which routes to the same endpoints
	// as the clusterIP.
	// "ExternalName" aliases this service to the specified externalName.
	// Several other fields do not apply to ExternalName services.
	// More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
	// +optional
	Type string `json:"type,omitempty"`
}

V1ServiceSpec v1 service spec

swagger:model v1.ServiceSpec

func (*V1ServiceSpec) ContextValidate

func (m *V1ServiceSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service spec based on the context it is used

func (*V1ServiceSpec) MarshalBinary

func (m *V1ServiceSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceSpec) UnmarshalBinary

func (m *V1ServiceSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceSpec) Validate

func (m *V1ServiceSpec) Validate(formats strfmt.Registry) error

Validate validates this v1 service spec

type V1ServiceStatus

type V1ServiceStatus struct {

	// Current service state
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []*V1Condition `json:"conditions"`

	// LoadBalancer contains the current status of the load-balancer,
	// if one is present.
	// +optional
	LoadBalancer *V1LoadBalancerStatus `json:"loadBalancer,omitempty"`
}

V1ServiceStatus v1 service status

swagger:model v1.ServiceStatus

func (*V1ServiceStatus) ContextValidate

func (m *V1ServiceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 service status based on the context it is used

func (*V1ServiceStatus) MarshalBinary

func (m *V1ServiceStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ServiceStatus) UnmarshalBinary

func (m *V1ServiceStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ServiceStatus) Validate

func (m *V1ServiceStatus) Validate(formats strfmt.Registry) error

Validate validates this v1 service status

type V1SessionAffinityConfig

type V1SessionAffinityConfig struct {

	// clientIP contains the configurations of Client IP based session affinity.
	// +optional
	ClientIP *V1ClientIPConfig `json:"clientIP,omitempty"`
}

V1SessionAffinityConfig v1 session affinity config

swagger:model v1.SessionAffinityConfig

func (*V1SessionAffinityConfig) ContextValidate

func (m *V1SessionAffinityConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 session affinity config based on the context it is used

func (*V1SessionAffinityConfig) MarshalBinary

func (m *V1SessionAffinityConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SessionAffinityConfig) UnmarshalBinary

func (m *V1SessionAffinityConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SessionAffinityConfig) Validate

func (m *V1SessionAffinityConfig) Validate(formats strfmt.Registry) error

Validate validates this v1 session affinity config

type V1SleepAction

type V1SleepAction struct {

	// Seconds is the number of seconds to sleep.
	Seconds int64 `json:"seconds,omitempty"`
}

V1SleepAction v1 sleep action

swagger:model v1.SleepAction

func (*V1SleepAction) ContextValidate

func (m *V1SleepAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 sleep action based on context it is used

func (*V1SleepAction) MarshalBinary

func (m *V1SleepAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1SleepAction) UnmarshalBinary

func (m *V1SleepAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1SleepAction) Validate

func (m *V1SleepAction) Validate(formats strfmt.Registry) error

Validate validates this v1 sleep action

type V1Subject

type V1Subject struct {

	// APIGroup holds the API group of the referenced subject.
	// Defaults to "" for ServiceAccount subjects.
	// Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
	// +optional
	APIGroup string `json:"apiGroup,omitempty"`

	// Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
	// If the Authorizer does not recognized the kind value, the Authorizer should report an error.
	Kind string `json:"kind,omitempty"`

	// Name of the object being referenced.
	Name string `json:"name,omitempty"`

	// Namespace of the referenced object.  If the object kind is non-namespace, such as "User" or "Group", and this value is not empty
	// the Authorizer should report an error.
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

V1Subject v1 subject

swagger:model v1.Subject

func (*V1Subject) ContextValidate

func (m *V1Subject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 subject based on context it is used

func (*V1Subject) MarshalBinary

func (m *V1Subject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Subject) UnmarshalBinary

func (m *V1Subject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Subject) Validate

func (m *V1Subject) Validate(formats strfmt.Registry) error

Validate validates this v1 subject

type V1TCPSocketAction

type V1TCPSocketAction struct {

	// Optional: Host name to connect to, defaults to the pod IP.
	// +optional
	Host string `json:"host,omitempty"`

	// Number or name of the port to access on the container.
	// Number must be in the range 1 to 65535.
	// Name must be an IANA_SVC_NAME.
	Port *IntstrIntOrString `json:"port,omitempty"`
}

V1TCPSocketAction v1 TCP socket action

swagger:model v1.TCPSocketAction

func (*V1TCPSocketAction) ContextValidate

func (m *V1TCPSocketAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 TCP socket action based on the context it is used

func (*V1TCPSocketAction) MarshalBinary

func (m *V1TCPSocketAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1TCPSocketAction) UnmarshalBinary

func (m *V1TCPSocketAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1TCPSocketAction) Validate

func (m *V1TCPSocketAction) Validate(formats strfmt.Registry) error

Validate validates this v1 TCP socket action

type V1VolumeDevice

type V1VolumeDevice struct {

	// devicePath is the path inside of the container that the device will be mapped to.
	DevicePath string `json:"devicePath,omitempty"`

	// name must match the name of a persistentVolumeClaim in the pod
	Name string `json:"name,omitempty"`
}

V1VolumeDevice v1 volume device

swagger:model v1.VolumeDevice

func (*V1VolumeDevice) ContextValidate

func (m *V1VolumeDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 volume device based on context it is used

func (*V1VolumeDevice) MarshalBinary

func (m *V1VolumeDevice) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VolumeDevice) UnmarshalBinary

func (m *V1VolumeDevice) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VolumeDevice) Validate

func (m *V1VolumeDevice) Validate(formats strfmt.Registry) error

Validate validates this v1 volume device

type V1VolumeMount

type V1VolumeMount struct {

	// Path within the container at which the volume should be mounted.  Must
	// not contain ':'.
	MountPath string `json:"mountPath,omitempty"`

	// mountPropagation determines how mounts are propagated from the host
	// to container and the other way around.
	// When not set, MountPropagationNone is used.
	// This field is beta in 1.10.
	// When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
	// (which defaults to None).
	// +optional
	MountPropagation string `json:"mountPropagation,omitempty"`

	// This must match the Name of a Volume.
	Name string `json:"name,omitempty"`

	// Mounted read-only if true, read-write otherwise (false or unspecified).
	// Defaults to false.
	// +optional
	ReadOnly bool `json:"readOnly,omitempty"`

	// RecursiveReadOnly specifies whether read-only mounts should be handled
	// recursively.
	//
	// If ReadOnly is false, this field has no meaning and must be unspecified.
	//
	// If ReadOnly is true, and this field is set to Disabled, the mount is not made
	// recursively read-only.  If this field is set to IfPossible, the mount is made
	// recursively read-only, if it is supported by the container runtime.  If this
	// field is set to Enabled, the mount is made recursively read-only if it is
	// supported by the container runtime, otherwise the pod will not be started and
	// an error will be generated to indicate the reason.
	//
	// If this field is set to IfPossible or Enabled, MountPropagation must be set to
	// None (or be unspecified, which defaults to None).
	//
	// If this field is not specified, it is treated as an equivalent of Disabled.
	//
	// +featureGate=RecursiveReadOnlyMounts
	// +optional
	RecursiveReadOnly string `json:"recursiveReadOnly,omitempty"`

	// Path within the volume from which the container's volume should be mounted.
	// Defaults to "" (volume's root).
	// +optional
	SubPath string `json:"subPath,omitempty"`

	// Expanded path within the volume from which the container's volume should be mounted.
	// Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
	// Defaults to "" (volume's root).
	// SubPathExpr and SubPath are mutually exclusive.
	// +optional
	SubPathExpr string `json:"subPathExpr,omitempty"`
}

V1VolumeMount v1 volume mount

swagger:model v1.VolumeMount

func (*V1VolumeMount) ContextValidate

func (m *V1VolumeMount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 volume mount based on context it is used

func (*V1VolumeMount) MarshalBinary

func (m *V1VolumeMount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1VolumeMount) UnmarshalBinary

func (m *V1VolumeMount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1VolumeMount) Validate

func (m *V1VolumeMount) Validate(formats strfmt.Registry) error

Validate validates this v1 volume mount

type V1WindowsSecurityContextOptions

type V1WindowsSecurityContextOptions struct {

	// GMSACredentialSpec is where the GMSA admission webhook
	// (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
	// GMSA credential spec named by the GMSACredentialSpecName field.
	// +optional
	GmsaCredentialSpec string `json:"gmsaCredentialSpec,omitempty"`

	// GMSACredentialSpecName is the name of the GMSA credential spec to use.
	// +optional
	GmsaCredentialSpecName string `json:"gmsaCredentialSpecName,omitempty"`

	// HostProcess determines if a container should be run as a 'Host Process' container.
	// All of a Pod's containers must have the same effective HostProcess value
	// (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).
	// In addition, if HostProcess is true then HostNetwork must also be set to true.
	// +optional
	HostProcess bool `json:"hostProcess,omitempty"`

	// The UserName in Windows to run the entrypoint of the container process.
	// Defaults to the user specified in image metadata if unspecified.
	// May also be set in PodSecurityContext. If set in both SecurityContext and
	// PodSecurityContext, the value specified in SecurityContext takes precedence.
	// +optional
	RunAsUserName string `json:"runAsUserName,omitempty"`
}

V1WindowsSecurityContextOptions v1 windows security context options

swagger:model v1.WindowsSecurityContextOptions

func (*V1WindowsSecurityContextOptions) ContextValidate

func (m *V1WindowsSecurityContextOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 windows security context options based on context it is used

func (*V1WindowsSecurityContextOptions) MarshalBinary

func (m *V1WindowsSecurityContextOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1WindowsSecurityContextOptions) UnmarshalBinary

func (m *V1WindowsSecurityContextOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1WindowsSecurityContextOptions) Validate

Validate validates this v1 windows security context options

type V1beta1ContainerMetrics

type V1beta1ContainerMetrics struct {

	// Container name corresponding to the one from pod.spec.containers.
	Name string `json:"name,omitempty"`

	// The memory usage is the memory working set.
	Usage V1ResourceList `json:"usage,omitempty"`
}

V1beta1ContainerMetrics v1beta1 container metrics

swagger:model v1beta1.ContainerMetrics

func (*V1beta1ContainerMetrics) ContextValidate

func (m *V1beta1ContainerMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1beta1 container metrics based on the context it is used

func (*V1beta1ContainerMetrics) MarshalBinary

func (m *V1beta1ContainerMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1beta1ContainerMetrics) UnmarshalBinary

func (m *V1beta1ContainerMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1beta1ContainerMetrics) Validate

func (m *V1beta1ContainerMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1beta1 container metrics

type V1beta1NodeMetrics

type V1beta1NodeMetrics struct {

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	//
	// Populated by the system.
	// Read-only.
	// Null for lists.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	CreationTimestamp string `json:"creationTimestamp,omitempty"`

	// Number of seconds allowed for this object to gracefully terminate before
	// it will be removed from the system. Only set when deletionTimestamp is also set.
	// May only be shortened.
	// Read-only.
	// +optional
	DeletionGracePeriodSeconds int64 `json:"deletionGracePeriodSeconds,omitempty"`

	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field, once the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is set, this value may not be unset or be set further into the
	// future, although it may be shortened or the resource may be deleted prior to this time.
	// For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
	// by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
	// the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
	// remove the pod from the API. In the presence of network partitions, this object may still
	// exist after this timestamp, until an administrator or automated process can determine the
	// resource is fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	DeletionTimestamp string `json:"deletionTimestamp,omitempty"`

	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	// Finalizers may be processed and removed in any order.  Order is NOT enforced
	// because it introduces significant risk of stuck finalizers.
	// finalizers is a shared field, any actor with permission can reorder it.
	// If the finalizer list is processed in order, then this can lead to a situation
	// in which the component responsible for the first finalizer in the list is
	// waiting for a signal (field value, external system, or other) produced by a
	// component responsible for a finalizer later in the list, resulting in a deadlock.
	// Without enforced ordering finalizers are free to order amongst themselves and
	// are not vulnerable to ordering changes in the list.
	// +optional
	// +patchStrategy=merge
	// +listType=set
	Finalizers []string `json:"finalizers"`

	// GenerateName is an optional prefix, used by the server, to generate a unique
	// name ONLY IF the Name field has not been provided.
	// If this field is used, the name returned to the client will be different
	// than the name passed. This value will also be combined with a unique suffix.
	// The provided value has the same validation rules as the Name field,
	// and may be truncated by the length of the suffix required to make the value
	// unique on the server.
	//
	// If this field is specified and the generated name exists, the server will return a 409.
	//
	// Applied only if Name is not specified.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	// +optional
	GenerateName string `json:"generateName,omitempty"`

	// A sequence number representing a specific generation of the desired state.
	// Populated by the system. Read-only.
	// +optional
	Generation int64 `json:"generation,omitempty"`

	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// ManagedFields maps workflow-id and version to the set of fields
	// that are managed by that workflow. This is mostly for internal
	// housekeeping, and users typically shouldn't need to set or
	// understand this field. A workflow can be the user's name, a
	// controller's name, or the name of a specific apply path like
	// "ci-cd". The set of fields is always in the version that the
	// workflow used when modifying the object.
	//
	// +optional
	// +listType=atomic
	ManagedFields []*V1ManagedFieldsEntry `json:"managedFields"`

	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace defines the space within which each name must be unique. An empty namespace is
	// equivalent to the "default" namespace, but "default" is the canonical representation.
	// Not all objects are required to be scoped to a namespace - the value of this field for
	// those objects will be empty.
	//
	// Must be a DNS_LABEL.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	// There cannot be more than one managing controller.
	// +optional
	// +patchMergeKey=uid
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=uid
	OwnerReferences []*V1OwnerReference `json:"ownerReferences"`

	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
	// +optional
	SelfLink string `json:"selfLink,omitempty"`

	// The following fields define time interval from which metrics were
	// collected from the interval [Timestamp-Window, Timestamp].
	Timestamp string `json:"timestamp,omitempty"`

	// UID is the unique in time and space value for this object. It is typically generated by
	// the server on successful creation of a resource and is not allowed to change on PUT
	// operations.
	//
	// Populated by the system.
	// Read-only.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	// +optional
	UID string `json:"uid,omitempty"`

	// The memory usage is the memory working set.
	Usage V1ResourceList `json:"usage,omitempty"`

	// window
	Window *V1Duration `json:"window,omitempty"`
}

V1beta1NodeMetrics v1beta1 node metrics

swagger:model v1beta1.NodeMetrics

func (*V1beta1NodeMetrics) ContextValidate

func (m *V1beta1NodeMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1beta1 node metrics based on the context it is used

func (*V1beta1NodeMetrics) MarshalBinary

func (m *V1beta1NodeMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1beta1NodeMetrics) UnmarshalBinary

func (m *V1beta1NodeMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1beta1NodeMetrics) Validate

func (m *V1beta1NodeMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1beta1 node metrics

type V1beta1NodeMetricsList

type V1beta1NodeMetricsList struct {

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// continue may be set if the user set a limit on the number of items returned, and indicates that
	// the server has more data available. The value is opaque and may be used to issue another request
	// to the endpoint that served this list to retrieve the next set of available objects. Continuing a
	// consistent list may not be possible if the server configuration has changed or more than a few
	// minutes have passed. The resourceVersion field returned when using this continue value will be
	// identical to the value in the first response, unless you have received this token from an error
	// message.
	Continue string `json:"continue,omitempty"`

	// List of node metrics.
	Items []*V1beta1NodeMetrics `json:"items"`

	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// remainingItemCount is the number of subsequent items in the list which are not included in this
	// list response. If the list request contained label or field selectors, then the number of
	// remaining items is unknown and the field will be left unset and omitted during serialization.
	// If the list is complete (either because it is not chunking or because this is the last chunk),
	// then there are no more remaining items and this field will be left unset and omitted during
	// serialization.
	// Servers older than v1.15 do not set this field.
	// The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
	// should not rely on the remainingItemCount to be set or to be exact.
	// +optional
	RemainingItemCount int64 `json:"remainingItemCount,omitempty"`

	// String that identifies the server's internal version of this object that
	// can be used by clients to determine when objects have changed.
	// Value must be treated as opaque by clients and passed unmodified back to the server.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
	// +optional
	SelfLink string `json:"selfLink,omitempty"`
}

V1beta1NodeMetricsList v1beta1 node metrics list

swagger:model v1beta1.NodeMetricsList

func (*V1beta1NodeMetricsList) ContextValidate

func (m *V1beta1NodeMetricsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1beta1 node metrics list based on the context it is used

func (*V1beta1NodeMetricsList) MarshalBinary

func (m *V1beta1NodeMetricsList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1beta1NodeMetricsList) UnmarshalBinary

func (m *V1beta1NodeMetricsList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1beta1NodeMetricsList) Validate

func (m *V1beta1NodeMetricsList) Validate(formats strfmt.Registry) error

Validate validates this v1beta1 node metrics list

type V1beta1PodMetrics

type V1beta1PodMetrics struct {

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// Metrics for all containers are collected within the same time window.
	// +listType=atomic
	Containers []*V1beta1ContainerMetrics `json:"containers"`

	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	//
	// Populated by the system.
	// Read-only.
	// Null for lists.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	CreationTimestamp string `json:"creationTimestamp,omitempty"`

	// Number of seconds allowed for this object to gracefully terminate before
	// it will be removed from the system. Only set when deletionTimestamp is also set.
	// May only be shortened.
	// Read-only.
	// +optional
	DeletionGracePeriodSeconds int64 `json:"deletionGracePeriodSeconds,omitempty"`

	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field, once the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is set, this value may not be unset or be set further into the
	// future, although it may be shortened or the resource may be deleted prior to this time.
	// For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
	// by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
	// the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
	// remove the pod from the API. In the presence of network partitions, this object may still
	// exist after this timestamp, until an administrator or automated process can determine the
	// resource is fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	DeletionTimestamp string `json:"deletionTimestamp,omitempty"`

	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	// Finalizers may be processed and removed in any order.  Order is NOT enforced
	// because it introduces significant risk of stuck finalizers.
	// finalizers is a shared field, any actor with permission can reorder it.
	// If the finalizer list is processed in order, then this can lead to a situation
	// in which the component responsible for the first finalizer in the list is
	// waiting for a signal (field value, external system, or other) produced by a
	// component responsible for a finalizer later in the list, resulting in a deadlock.
	// Without enforced ordering finalizers are free to order amongst themselves and
	// are not vulnerable to ordering changes in the list.
	// +optional
	// +patchStrategy=merge
	// +listType=set
	Finalizers []string `json:"finalizers"`

	// GenerateName is an optional prefix, used by the server, to generate a unique
	// name ONLY IF the Name field has not been provided.
	// If this field is used, the name returned to the client will be different
	// than the name passed. This value will also be combined with a unique suffix.
	// The provided value has the same validation rules as the Name field,
	// and may be truncated by the length of the suffix required to make the value
	// unique on the server.
	//
	// If this field is specified and the generated name exists, the server will return a 409.
	//
	// Applied only if Name is not specified.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	// +optional
	GenerateName string `json:"generateName,omitempty"`

	// A sequence number representing a specific generation of the desired state.
	// Populated by the system. Read-only.
	// +optional
	Generation int64 `json:"generation,omitempty"`

	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// ManagedFields maps workflow-id and version to the set of fields
	// that are managed by that workflow. This is mostly for internal
	// housekeeping, and users typically shouldn't need to set or
	// understand this field. A workflow can be the user's name, a
	// controller's name, or the name of a specific apply path like
	// "ci-cd". The set of fields is always in the version that the
	// workflow used when modifying the object.
	//
	// +optional
	// +listType=atomic
	ManagedFields []*V1ManagedFieldsEntry `json:"managedFields"`

	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace defines the space within which each name must be unique. An empty namespace is
	// equivalent to the "default" namespace, but "default" is the canonical representation.
	// Not all objects are required to be scoped to a namespace - the value of this field for
	// those objects will be empty.
	//
	// Must be a DNS_LABEL.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	// There cannot be more than one managing controller.
	// +optional
	// +patchMergeKey=uid
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=uid
	OwnerReferences []*V1OwnerReference `json:"ownerReferences"`

	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
	// +optional
	SelfLink string `json:"selfLink,omitempty"`

	// The following fields define time interval from which metrics were
	// collected from the interval [Timestamp-Window, Timestamp].
	Timestamp string `json:"timestamp,omitempty"`

	// UID is the unique in time and space value for this object. It is typically generated by
	// the server on successful creation of a resource and is not allowed to change on PUT
	// operations.
	//
	// Populated by the system.
	// Read-only.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	// +optional
	UID string `json:"uid,omitempty"`

	// window
	Window *V1Duration `json:"window,omitempty"`
}

V1beta1PodMetrics v1beta1 pod metrics

swagger:model v1beta1.PodMetrics

func (*V1beta1PodMetrics) ContextValidate

func (m *V1beta1PodMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1beta1 pod metrics based on the context it is used

func (*V1beta1PodMetrics) MarshalBinary

func (m *V1beta1PodMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1beta1PodMetrics) UnmarshalBinary

func (m *V1beta1PodMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1beta1PodMetrics) Validate

func (m *V1beta1PodMetrics) Validate(formats strfmt.Registry) error

Validate validates this v1beta1 pod metrics

type V1beta1PodMetricsList

type V1beta1PodMetricsList struct {

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// continue may be set if the user set a limit on the number of items returned, and indicates that
	// the server has more data available. The value is opaque and may be used to issue another request
	// to the endpoint that served this list to retrieve the next set of available objects. Continuing a
	// consistent list may not be possible if the server configuration has changed or more than a few
	// minutes have passed. The resourceVersion field returned when using this continue value will be
	// identical to the value in the first response, unless you have received this token from an error
	// message.
	Continue string `json:"continue,omitempty"`

	// List of pod metrics.
	Items []*V1beta1PodMetrics `json:"items"`

	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// remainingItemCount is the number of subsequent items in the list which are not included in this
	// list response. If the list request contained label or field selectors, then the number of
	// remaining items is unknown and the field will be left unset and omitted during serialization.
	// If the list is complete (either because it is not chunking or because this is the last chunk),
	// then there are no more remaining items and this field will be left unset and omitted during
	// serialization.
	// Servers older than v1.15 do not set this field.
	// The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
	// should not rely on the remainingItemCount to be set or to be exact.
	// +optional
	RemainingItemCount int64 `json:"remainingItemCount,omitempty"`

	// String that identifies the server's internal version of this object that
	// can be used by clients to determine when objects have changed.
	// Value must be treated as opaque by clients and passed unmodified back to the server.
	// Populated by the system.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
	// +optional
	SelfLink string `json:"selfLink,omitempty"`
}

V1beta1PodMetricsList v1beta1 pod metrics list

swagger:model v1beta1.PodMetricsList

func (*V1beta1PodMetricsList) ContextValidate

func (m *V1beta1PodMetricsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1beta1 pod metrics list based on the context it is used

func (*V1beta1PodMetricsList) MarshalBinary

func (m *V1beta1PodMetricsList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1beta1PodMetricsList) UnmarshalBinary

func (m *V1beta1PodMetricsList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1beta1PodMetricsList) Validate

func (m *V1beta1PodMetricsList) Validate(formats strfmt.Registry) error

Validate validates this v1beta1 pod metrics list

type V2ContainerResourceMetricSource

type V2ContainerResourceMetricSource struct {

	// container is the name of the container in the pods of the scaling target
	Container string `json:"container,omitempty"`

	// name is the name of the resource in question.
	Name string `json:"name,omitempty"`

	// target specifies the target value for the given metric
	Target *V2MetricTarget `json:"target,omitempty"`
}

V2ContainerResourceMetricSource v2 container resource metric source

swagger:model v2.ContainerResourceMetricSource

func (*V2ContainerResourceMetricSource) ContextValidate

func (m *V2ContainerResourceMetricSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 container resource metric source based on the context it is used

func (*V2ContainerResourceMetricSource) MarshalBinary

func (m *V2ContainerResourceMetricSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2ContainerResourceMetricSource) UnmarshalBinary

func (m *V2ContainerResourceMetricSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2ContainerResourceMetricSource) Validate

Validate validates this v2 container resource metric source

type V2ContainerResourceMetricStatus

type V2ContainerResourceMetricStatus struct {

	// container is the name of the container in the pods of the scaling target
	Container string `json:"container,omitempty"`

	// current contains the current value for the given metric
	Current *V2MetricValueStatus `json:"current,omitempty"`

	// name is the name of the resource in question.
	Name string `json:"name,omitempty"`
}

V2ContainerResourceMetricStatus v2 container resource metric status

swagger:model v2.ContainerResourceMetricStatus

func (*V2ContainerResourceMetricStatus) ContextValidate

func (m *V2ContainerResourceMetricStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 container resource metric status based on the context it is used

func (*V2ContainerResourceMetricStatus) MarshalBinary

func (m *V2ContainerResourceMetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2ContainerResourceMetricStatus) UnmarshalBinary

func (m *V2ContainerResourceMetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2ContainerResourceMetricStatus) Validate

Validate validates this v2 container resource metric status

type V2CrossVersionObjectReference

type V2CrossVersionObjectReference struct {

	// apiVersion is the API version of the referent
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	Name string `json:"name,omitempty"`
}

V2CrossVersionObjectReference v2 cross version object reference

swagger:model v2.CrossVersionObjectReference

func (*V2CrossVersionObjectReference) ContextValidate

func (m *V2CrossVersionObjectReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v2 cross version object reference based on context it is used

func (*V2CrossVersionObjectReference) MarshalBinary

func (m *V2CrossVersionObjectReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2CrossVersionObjectReference) UnmarshalBinary

func (m *V2CrossVersionObjectReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2CrossVersionObjectReference) Validate

func (m *V2CrossVersionObjectReference) Validate(formats strfmt.Registry) error

Validate validates this v2 cross version object reference

type V2ExternalMetricSource

type V2ExternalMetricSource struct {

	// metric identifies the target metric by name and selector
	Metric *V2MetricIdentifier `json:"metric,omitempty"`

	// target specifies the target value for the given metric
	Target *V2MetricTarget `json:"target,omitempty"`
}

V2ExternalMetricSource v2 external metric source

swagger:model v2.ExternalMetricSource

func (*V2ExternalMetricSource) ContextValidate

func (m *V2ExternalMetricSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 external metric source based on the context it is used

func (*V2ExternalMetricSource) MarshalBinary

func (m *V2ExternalMetricSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2ExternalMetricSource) UnmarshalBinary

func (m *V2ExternalMetricSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2ExternalMetricSource) Validate

func (m *V2ExternalMetricSource) Validate(formats strfmt.Registry) error

Validate validates this v2 external metric source

type V2ExternalMetricStatus

type V2ExternalMetricStatus struct {

	// current contains the current value for the given metric
	Current *V2MetricValueStatus `json:"current,omitempty"`

	// metric identifies the target metric by name and selector
	Metric *V2MetricIdentifier `json:"metric,omitempty"`
}

V2ExternalMetricStatus v2 external metric status

swagger:model v2.ExternalMetricStatus

func (*V2ExternalMetricStatus) ContextValidate

func (m *V2ExternalMetricStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 external metric status based on the context it is used

func (*V2ExternalMetricStatus) MarshalBinary

func (m *V2ExternalMetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2ExternalMetricStatus) UnmarshalBinary

func (m *V2ExternalMetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2ExternalMetricStatus) Validate

func (m *V2ExternalMetricStatus) Validate(formats strfmt.Registry) error

Validate validates this v2 external metric status

type V2HPAScalingPolicy

type V2HPAScalingPolicy struct {

	// periodSeconds specifies the window of time for which the policy should hold true.
	// PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
	PeriodSeconds int64 `json:"periodSeconds,omitempty"`

	// type is used to specify the scaling policy.
	Type string `json:"type,omitempty"`

	// value contains the amount of change which is permitted by the policy.
	// It must be greater than zero
	Value int64 `json:"value,omitempty"`
}

V2HPAScalingPolicy v2 h p a scaling policy

swagger:model v2.HPAScalingPolicy

func (*V2HPAScalingPolicy) ContextValidate

func (m *V2HPAScalingPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v2 h p a scaling policy based on context it is used

func (*V2HPAScalingPolicy) MarshalBinary

func (m *V2HPAScalingPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2HPAScalingPolicy) UnmarshalBinary

func (m *V2HPAScalingPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2HPAScalingPolicy) Validate

func (m *V2HPAScalingPolicy) Validate(formats strfmt.Registry) error

Validate validates this v2 h p a scaling policy

type V2HPAScalingRules

type V2HPAScalingRules struct {

	// policies is a list of potential scaling polices which can be used during scaling.
	// At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
	// +listType=atomic
	// +optional
	Policies []*V2HPAScalingPolicy `json:"policies"`

	// selectPolicy is used to specify which policy should be used.
	// If not set, the default value Max is used.
	// +optional
	SelectPolicy string `json:"selectPolicy,omitempty"`

	// stabilizationWindowSeconds is the number of seconds for which past recommendations should be
	// considered while scaling up or scaling down.
	// StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
	// If not set, use the default values:
	// - For scale up: 0 (i.e. no stabilization is done).
	// - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
	// +optional
	StabilizationWindowSeconds int64 `json:"stabilizationWindowSeconds,omitempty"`
}

V2HPAScalingRules v2 h p a scaling rules

swagger:model v2.HPAScalingRules

func (*V2HPAScalingRules) ContextValidate

func (m *V2HPAScalingRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 h p a scaling rules based on the context it is used

func (*V2HPAScalingRules) MarshalBinary

func (m *V2HPAScalingRules) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2HPAScalingRules) UnmarshalBinary

func (m *V2HPAScalingRules) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2HPAScalingRules) Validate

func (m *V2HPAScalingRules) Validate(formats strfmt.Registry) error

Validate validates this v2 h p a scaling rules

type V2HorizontalPodAutoscaler

type V2HorizontalPodAutoscaler struct {

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	//
	// Populated by the system.
	// Read-only.
	// Null for lists.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	CreationTimestamp string `json:"creationTimestamp,omitempty"`

	// Number of seconds allowed for this object to gracefully terminate before
	// it will be removed from the system. Only set when deletionTimestamp is also set.
	// May only be shortened.
	// Read-only.
	// +optional
	DeletionGracePeriodSeconds int64 `json:"deletionGracePeriodSeconds,omitempty"`

	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field, once the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is set, this value may not be unset or be set further into the
	// future, although it may be shortened or the resource may be deleted prior to this time.
	// For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
	// by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
	// the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
	// remove the pod from the API. In the presence of network partitions, this object may still
	// exist after this timestamp, until an administrator or automated process can determine the
	// resource is fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	DeletionTimestamp string `json:"deletionTimestamp,omitempty"`

	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	// Finalizers may be processed and removed in any order.  Order is NOT enforced
	// because it introduces significant risk of stuck finalizers.
	// finalizers is a shared field, any actor with permission can reorder it.
	// If the finalizer list is processed in order, then this can lead to a situation
	// in which the component responsible for the first finalizer in the list is
	// waiting for a signal (field value, external system, or other) produced by a
	// component responsible for a finalizer later in the list, resulting in a deadlock.
	// Without enforced ordering finalizers are free to order amongst themselves and
	// are not vulnerable to ordering changes in the list.
	// +optional
	// +patchStrategy=merge
	// +listType=set
	Finalizers []string `json:"finalizers"`

	// GenerateName is an optional prefix, used by the server, to generate a unique
	// name ONLY IF the Name field has not been provided.
	// If this field is used, the name returned to the client will be different
	// than the name passed. This value will also be combined with a unique suffix.
	// The provided value has the same validation rules as the Name field,
	// and may be truncated by the length of the suffix required to make the value
	// unique on the server.
	//
	// If this field is specified and the generated name exists, the server will return a 409.
	//
	// Applied only if Name is not specified.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	// +optional
	GenerateName string `json:"generateName,omitempty"`

	// A sequence number representing a specific generation of the desired state.
	// Populated by the system. Read-only.
	// +optional
	Generation int64 `json:"generation,omitempty"`

	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// ManagedFields maps workflow-id and version to the set of fields
	// that are managed by that workflow. This is mostly for internal
	// housekeeping, and users typically shouldn't need to set or
	// understand this field. A workflow can be the user's name, a
	// controller's name, or the name of a specific apply path like
	// "ci-cd". The set of fields is always in the version that the
	// workflow used when modifying the object.
	//
	// +optional
	// +listType=atomic
	ManagedFields []*V1ManagedFieldsEntry `json:"managedFields"`

	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace defines the space within which each name must be unique. An empty namespace is
	// equivalent to the "default" namespace, but "default" is the canonical representation.
	// Not all objects are required to be scoped to a namespace - the value of this field for
	// those objects will be empty.
	//
	// Must be a DNS_LABEL.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	// There cannot be more than one managing controller.
	// +optional
	// +patchMergeKey=uid
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=uid
	OwnerReferences []*V1OwnerReference `json:"ownerReferences"`

	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
	// +optional
	SelfLink string `json:"selfLink,omitempty"`

	// spec is the specification for the behaviour of the autoscaler.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	// +optional
	Spec *V2HorizontalPodAutoscalerSpec `json:"spec,omitempty"`

	// status is the current information about the autoscaler.
	// +optional
	Status *V2HorizontalPodAutoscalerStatus `json:"status,omitempty"`

	// UID is the unique in time and space value for this object. It is typically generated by
	// the server on successful creation of a resource and is not allowed to change on PUT
	// operations.
	//
	// Populated by the system.
	// Read-only.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
	// +optional
	UID string `json:"uid,omitempty"`
}

V2HorizontalPodAutoscaler v2 horizontal pod autoscaler

swagger:model v2.HorizontalPodAutoscaler

func (*V2HorizontalPodAutoscaler) ContextValidate

func (m *V2HorizontalPodAutoscaler) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 horizontal pod autoscaler based on the context it is used

func (*V2HorizontalPodAutoscaler) MarshalBinary

func (m *V2HorizontalPodAutoscaler) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2HorizontalPodAutoscaler) UnmarshalBinary

func (m *V2HorizontalPodAutoscaler) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2HorizontalPodAutoscaler) Validate

func (m *V2HorizontalPodAutoscaler) Validate(formats strfmt.Registry) error

Validate validates this v2 horizontal pod autoscaler

type V2HorizontalPodAutoscalerBehavior

type V2HorizontalPodAutoscalerBehavior struct {

	// scaleDown is scaling policy for scaling Down.
	// If not set, the default value is to allow to scale down to minReplicas pods, with a
	// 300 second stabilization window (i.e., the highest recommendation for
	// the last 300sec is used).
	// +optional
	ScaleDown *V2HPAScalingRules `json:"scaleDown,omitempty"`

	// scaleUp is scaling policy for scaling Up.
	// If not set, the default value is the higher of:
	//   * increase no more than 4 pods per 60 seconds
	//   * double the number of pods per 60 seconds
	// No stabilization is used.
	// +optional
	ScaleUp *V2HPAScalingRules `json:"scaleUp,omitempty"`
}

V2HorizontalPodAutoscalerBehavior v2 horizontal pod autoscaler behavior

swagger:model v2.HorizontalPodAutoscalerBehavior

func (*V2HorizontalPodAutoscalerBehavior) ContextValidate

func (m *V2HorizontalPodAutoscalerBehavior) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 horizontal pod autoscaler behavior based on the context it is used

func (*V2HorizontalPodAutoscalerBehavior) MarshalBinary

func (m *V2HorizontalPodAutoscalerBehavior) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2HorizontalPodAutoscalerBehavior) UnmarshalBinary

func (m *V2HorizontalPodAutoscalerBehavior) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2HorizontalPodAutoscalerBehavior) Validate

Validate validates this v2 horizontal pod autoscaler behavior

type V2HorizontalPodAutoscalerCondition

type V2HorizontalPodAutoscalerCondition struct {

	// lastTransitionTime is the last time the condition transitioned from
	// one status to another
	// +optional
	LastTransitionTime string `json:"lastTransitionTime,omitempty"`

	// message is a human-readable explanation containing details about
	// the transition
	// +optional
	Message string `json:"message,omitempty"`

	// reason is the reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty"`

	// status is the status of the condition (True, False, Unknown)
	Status string `json:"status,omitempty"`

	// type describes the current condition
	Type string `json:"type,omitempty"`
}

V2HorizontalPodAutoscalerCondition v2 horizontal pod autoscaler condition

swagger:model v2.HorizontalPodAutoscalerCondition

func (*V2HorizontalPodAutoscalerCondition) ContextValidate

func (m *V2HorizontalPodAutoscalerCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v2 horizontal pod autoscaler condition based on context it is used

func (*V2HorizontalPodAutoscalerCondition) MarshalBinary

func (m *V2HorizontalPodAutoscalerCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2HorizontalPodAutoscalerCondition) UnmarshalBinary

func (m *V2HorizontalPodAutoscalerCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2HorizontalPodAutoscalerCondition) Validate

Validate validates this v2 horizontal pod autoscaler condition

type V2HorizontalPodAutoscalerSpec

type V2HorizontalPodAutoscalerSpec struct {

	// behavior configures the scaling behavior of the target
	// in both Up and Down directions (scaleUp and scaleDown fields respectively).
	// If not set, the default HPAScalingRules for scale up and scale down are used.
	// +optional
	Behavior *V2HorizontalPodAutoscalerBehavior `json:"behavior,omitempty"`

	// maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up.
	// It cannot be less that minReplicas.
	MaxReplicas int64 `json:"maxReplicas,omitempty"`

	// metrics contains the specifications for which to use to calculate the
	// desired replica count (the maximum replica count across all metrics will
	// be used).  The desired replica count is calculated multiplying the
	// ratio between the target value and the current value by the current
	// number of pods.  Ergo, metrics used must decrease as the pod count is
	// increased, and vice-versa.  See the individual metric source types for
	// more information about how each type of metric must respond.
	// If not set, the default metric will be set to 80% average CPU utilization.
	// +listType=atomic
	// +optional
	Metrics []*V2MetricSpec `json:"metrics"`

	// minReplicas is the lower limit for the number of replicas to which the autoscaler
	// can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the
	// alpha feature gate HPAScaleToZero is enabled and at least one Object or External
	// metric is configured.  Scaling is active as long as at least one metric value is
	// available.
	// +optional
	MinReplicas int64 `json:"minReplicas,omitempty"`

	// scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
	// should be collected, as well as to actually change the replica count.
	ScaleTargetRef *V2CrossVersionObjectReference `json:"scaleTargetRef,omitempty"`
}

V2HorizontalPodAutoscalerSpec v2 horizontal pod autoscaler spec

swagger:model v2.HorizontalPodAutoscalerSpec

func (*V2HorizontalPodAutoscalerSpec) ContextValidate

func (m *V2HorizontalPodAutoscalerSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 horizontal pod autoscaler spec based on the context it is used

func (*V2HorizontalPodAutoscalerSpec) MarshalBinary

func (m *V2HorizontalPodAutoscalerSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2HorizontalPodAutoscalerSpec) UnmarshalBinary

func (m *V2HorizontalPodAutoscalerSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2HorizontalPodAutoscalerSpec) Validate

func (m *V2HorizontalPodAutoscalerSpec) Validate(formats strfmt.Registry) error

Validate validates this v2 horizontal pod autoscaler spec

type V2HorizontalPodAutoscalerStatus

type V2HorizontalPodAutoscalerStatus struct {

	// conditions is the set of conditions required for this autoscaler to scale its target,
	// and indicates whether or not those conditions are met.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	// +optional
	Conditions []*V2HorizontalPodAutoscalerCondition `json:"conditions"`

	// currentMetrics is the last read state of the metrics used by this autoscaler.
	// +listType=atomic
	// +optional
	CurrentMetrics []*V2MetricStatus `json:"currentMetrics"`

	// currentReplicas is current number of replicas of pods managed by this autoscaler,
	// as last seen by the autoscaler.
	// +optional
	CurrentReplicas int64 `json:"currentReplicas,omitempty"`

	// desiredReplicas is the desired number of replicas of pods managed by this autoscaler,
	// as last calculated by the autoscaler.
	DesiredReplicas int64 `json:"desiredReplicas,omitempty"`

	// lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods,
	// used by the autoscaler to control how often the number of pods is changed.
	// +optional
	LastScaleTime string `json:"lastScaleTime,omitempty"`

	// observedGeneration is the most recent generation observed by this autoscaler.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

V2HorizontalPodAutoscalerStatus v2 horizontal pod autoscaler status

swagger:model v2.HorizontalPodAutoscalerStatus

func (*V2HorizontalPodAutoscalerStatus) ContextValidate

func (m *V2HorizontalPodAutoscalerStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 horizontal pod autoscaler status based on the context it is used

func (*V2HorizontalPodAutoscalerStatus) MarshalBinary

func (m *V2HorizontalPodAutoscalerStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2HorizontalPodAutoscalerStatus) UnmarshalBinary

func (m *V2HorizontalPodAutoscalerStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2HorizontalPodAutoscalerStatus) Validate

Validate validates this v2 horizontal pod autoscaler status

type V2MetricIdentifier

type V2MetricIdentifier struct {

	// name is the name of the given metric
	Name string `json:"name,omitempty"`

	// selector is the string-encoded form of a standard kubernetes label selector for the given metric
	// When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
	// When unset, just the metricName will be used to gather metrics.
	// +optional
	Selector *V1LabelSelector `json:"selector,omitempty"`
}

V2MetricIdentifier v2 metric identifier

swagger:model v2.MetricIdentifier

func (*V2MetricIdentifier) ContextValidate

func (m *V2MetricIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 metric identifier based on the context it is used

func (*V2MetricIdentifier) MarshalBinary

func (m *V2MetricIdentifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2MetricIdentifier) UnmarshalBinary

func (m *V2MetricIdentifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2MetricIdentifier) Validate

func (m *V2MetricIdentifier) Validate(formats strfmt.Registry) error

Validate validates this v2 metric identifier

type V2MetricSpec

type V2MetricSpec struct {

	// containerResource refers to a resource metric (such as those specified in
	// requests and limits) known to Kubernetes describing a single container in
	// each pod of the current scale target (e.g. CPU or memory). Such metrics are
	// built in to Kubernetes, and have special scaling options on top of those
	// available to normal per-pod metrics using the "pods" source.
	// +optional
	ContainerResource *V2ContainerResourceMetricSource `json:"containerResource,omitempty"`

	// external refers to a global metric that is not associated
	// with any Kubernetes object. It allows autoscaling based on information
	// coming from components running outside of cluster
	// (for example length of queue in cloud messaging service, or
	// QPS from loadbalancer running outside of cluster).
	// +optional
	External *V2ExternalMetricSource `json:"external,omitempty"`

	// object refers to a metric describing a single kubernetes object
	// (for example, hits-per-second on an Ingress object).
	// +optional
	Object *V2ObjectMetricSource `json:"object,omitempty"`

	// pods refers to a metric describing each pod in the current scale target
	// (for example, transactions-processed-per-second).  The values will be
	// averaged together before being compared to the target value.
	// +optional
	Pods *V2PodsMetricSource `json:"pods,omitempty"`

	// resource refers to a resource metric (such as those specified in
	// requests and limits) known to Kubernetes describing each pod in the
	// current scale target (e.g. CPU or memory). Such metrics are built in to
	// Kubernetes, and have special scaling options on top of those available
	// to normal per-pod metrics using the "pods" source.
	// +optional
	Resource *V2ResourceMetricSource `json:"resource,omitempty"`

	// type is the type of metric source.  It should be one of "ContainerResource", "External",
	// "Object", "Pods" or "Resource", each mapping to a matching field in the object.
	Type string `json:"type,omitempty"`
}

V2MetricSpec v2 metric spec

swagger:model v2.MetricSpec

func (*V2MetricSpec) ContextValidate

func (m *V2MetricSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 metric spec based on the context it is used

func (*V2MetricSpec) MarshalBinary

func (m *V2MetricSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2MetricSpec) UnmarshalBinary

func (m *V2MetricSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2MetricSpec) Validate

func (m *V2MetricSpec) Validate(formats strfmt.Registry) error

Validate validates this v2 metric spec

type V2MetricStatus

type V2MetricStatus struct {

	// container resource refers to a resource metric (such as those specified in
	// requests and limits) known to Kubernetes describing a single container in each pod in the
	// current scale target (e.g. CPU or memory). Such metrics are built in to
	// Kubernetes, and have special scaling options on top of those available
	// to normal per-pod metrics using the "pods" source.
	// +optional
	ContainerResource *V2ContainerResourceMetricStatus `json:"containerResource,omitempty"`

	// external refers to a global metric that is not associated
	// with any Kubernetes object. It allows autoscaling based on information
	// coming from components running outside of cluster
	// (for example length of queue in cloud messaging service, or
	// QPS from loadbalancer running outside of cluster).
	// +optional
	External *V2ExternalMetricStatus `json:"external,omitempty"`

	// object refers to a metric describing a single kubernetes object
	// (for example, hits-per-second on an Ingress object).
	// +optional
	Object *V2ObjectMetricStatus `json:"object,omitempty"`

	// pods refers to a metric describing each pod in the current scale target
	// (for example, transactions-processed-per-second).  The values will be
	// averaged together before being compared to the target value.
	// +optional
	Pods *V2PodsMetricStatus `json:"pods,omitempty"`

	// resource refers to a resource metric (such as those specified in
	// requests and limits) known to Kubernetes describing each pod in the
	// current scale target (e.g. CPU or memory). Such metrics are built in to
	// Kubernetes, and have special scaling options on top of those available
	// to normal per-pod metrics using the "pods" source.
	// +optional
	Resource *V2ResourceMetricStatus `json:"resource,omitempty"`

	// type is the type of metric source.  It will be one of "ContainerResource", "External",
	// "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
	Type string `json:"type,omitempty"`
}

V2MetricStatus v2 metric status

swagger:model v2.MetricStatus

func (*V2MetricStatus) ContextValidate

func (m *V2MetricStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 metric status based on the context it is used

func (*V2MetricStatus) MarshalBinary

func (m *V2MetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2MetricStatus) UnmarshalBinary

func (m *V2MetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2MetricStatus) Validate

func (m *V2MetricStatus) Validate(formats strfmt.Registry) error

Validate validates this v2 metric status

type V2MetricTarget

type V2MetricTarget struct {

	// averageUtilization is the target value of the average of the
	// resource metric across all relevant pods, represented as a percentage of
	// the requested value of the resource for the pods.
	// Currently only valid for Resource metric source type
	// +optional
	AverageUtilization int64 `json:"averageUtilization,omitempty"`

	// averageValue is the target value of the average of the
	// metric across all relevant pods (as a quantity)
	// +optional
	AverageValue *ResourceQuantity `json:"averageValue,omitempty"`

	// type represents whether the metric type is Utilization, Value, or AverageValue
	Type string `json:"type,omitempty"`

	// value is the target value of the metric (as a quantity).
	// +optional
	Value *ResourceQuantity `json:"value,omitempty"`
}

V2MetricTarget v2 metric target

swagger:model v2.MetricTarget

func (*V2MetricTarget) ContextValidate

func (m *V2MetricTarget) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 metric target based on the context it is used

func (*V2MetricTarget) MarshalBinary

func (m *V2MetricTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2MetricTarget) UnmarshalBinary

func (m *V2MetricTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2MetricTarget) Validate

func (m *V2MetricTarget) Validate(formats strfmt.Registry) error

Validate validates this v2 metric target

type V2MetricValueStatus

type V2MetricValueStatus struct {

	// currentAverageUtilization is the current value of the average of the
	// resource metric across all relevant pods, represented as a percentage of
	// the requested value of the resource for the pods.
	// +optional
	AverageUtilization int64 `json:"averageUtilization,omitempty"`

	// averageValue is the current value of the average of the
	// metric across all relevant pods (as a quantity)
	// +optional
	AverageValue *ResourceQuantity `json:"averageValue,omitempty"`

	// value is the current value of the metric (as a quantity).
	// +optional
	Value *ResourceQuantity `json:"value,omitempty"`
}

V2MetricValueStatus v2 metric value status

swagger:model v2.MetricValueStatus

func (*V2MetricValueStatus) ContextValidate

func (m *V2MetricValueStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 metric value status based on the context it is used

func (*V2MetricValueStatus) MarshalBinary

func (m *V2MetricValueStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2MetricValueStatus) UnmarshalBinary

func (m *V2MetricValueStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2MetricValueStatus) Validate

func (m *V2MetricValueStatus) Validate(formats strfmt.Registry) error

Validate validates this v2 metric value status

type V2ObjectMetricSource

type V2ObjectMetricSource struct {

	// describedObject specifies the descriptions of a object,such as kind,name apiVersion
	DescribedObject *V2CrossVersionObjectReference `json:"describedObject,omitempty"`

	// metric identifies the target metric by name and selector
	Metric *V2MetricIdentifier `json:"metric,omitempty"`

	// target specifies the target value for the given metric
	Target *V2MetricTarget `json:"target,omitempty"`
}

V2ObjectMetricSource v2 object metric source

swagger:model v2.ObjectMetricSource

func (*V2ObjectMetricSource) ContextValidate

func (m *V2ObjectMetricSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 object metric source based on the context it is used

func (*V2ObjectMetricSource) MarshalBinary

func (m *V2ObjectMetricSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2ObjectMetricSource) UnmarshalBinary

func (m *V2ObjectMetricSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2ObjectMetricSource) Validate

func (m *V2ObjectMetricSource) Validate(formats strfmt.Registry) error

Validate validates this v2 object metric source

type V2ObjectMetricStatus

type V2ObjectMetricStatus struct {

	// current contains the current value for the given metric
	Current *V2MetricValueStatus `json:"current,omitempty"`

	// DescribedObject specifies the descriptions of a object,such as kind,name apiVersion
	DescribedObject *V2CrossVersionObjectReference `json:"describedObject,omitempty"`

	// metric identifies the target metric by name and selector
	Metric *V2MetricIdentifier `json:"metric,omitempty"`
}

V2ObjectMetricStatus v2 object metric status

swagger:model v2.ObjectMetricStatus

func (*V2ObjectMetricStatus) ContextValidate

func (m *V2ObjectMetricStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 object metric status based on the context it is used

func (*V2ObjectMetricStatus) MarshalBinary

func (m *V2ObjectMetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2ObjectMetricStatus) UnmarshalBinary

func (m *V2ObjectMetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2ObjectMetricStatus) Validate

func (m *V2ObjectMetricStatus) Validate(formats strfmt.Registry) error

Validate validates this v2 object metric status

type V2PodsMetricSource

type V2PodsMetricSource struct {

	// metric identifies the target metric by name and selector
	Metric *V2MetricIdentifier `json:"metric,omitempty"`

	// target specifies the target value for the given metric
	Target *V2MetricTarget `json:"target,omitempty"`
}

V2PodsMetricSource v2 pods metric source

swagger:model v2.PodsMetricSource

func (*V2PodsMetricSource) ContextValidate

func (m *V2PodsMetricSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 pods metric source based on the context it is used

func (*V2PodsMetricSource) MarshalBinary

func (m *V2PodsMetricSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2PodsMetricSource) UnmarshalBinary

func (m *V2PodsMetricSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2PodsMetricSource) Validate

func (m *V2PodsMetricSource) Validate(formats strfmt.Registry) error

Validate validates this v2 pods metric source

type V2PodsMetricStatus

type V2PodsMetricStatus struct {

	// current contains the current value for the given metric
	Current *V2MetricValueStatus `json:"current,omitempty"`

	// metric identifies the target metric by name and selector
	Metric *V2MetricIdentifier `json:"metric,omitempty"`
}

V2PodsMetricStatus v2 pods metric status

swagger:model v2.PodsMetricStatus

func (*V2PodsMetricStatus) ContextValidate

func (m *V2PodsMetricStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 pods metric status based on the context it is used

func (*V2PodsMetricStatus) MarshalBinary

func (m *V2PodsMetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2PodsMetricStatus) UnmarshalBinary

func (m *V2PodsMetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2PodsMetricStatus) Validate

func (m *V2PodsMetricStatus) Validate(formats strfmt.Registry) error

Validate validates this v2 pods metric status

type V2ResourceMetricSource

type V2ResourceMetricSource struct {

	// name is the name of the resource in question.
	Name string `json:"name,omitempty"`

	// target specifies the target value for the given metric
	Target *V2MetricTarget `json:"target,omitempty"`
}

V2ResourceMetricSource v2 resource metric source

swagger:model v2.ResourceMetricSource

func (*V2ResourceMetricSource) ContextValidate

func (m *V2ResourceMetricSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 resource metric source based on the context it is used

func (*V2ResourceMetricSource) MarshalBinary

func (m *V2ResourceMetricSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2ResourceMetricSource) UnmarshalBinary

func (m *V2ResourceMetricSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2ResourceMetricSource) Validate

func (m *V2ResourceMetricSource) Validate(formats strfmt.Registry) error

Validate validates this v2 resource metric source

type V2ResourceMetricStatus

type V2ResourceMetricStatus struct {

	// current contains the current value for the given metric
	Current *V2MetricValueStatus `json:"current,omitempty"`

	// name is the name of the resource in question.
	Name string `json:"name,omitempty"`
}

V2ResourceMetricStatus v2 resource metric status

swagger:model v2.ResourceMetricStatus

func (*V2ResourceMetricStatus) ContextValidate

func (m *V2ResourceMetricStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v2 resource metric status based on the context it is used

func (*V2ResourceMetricStatus) MarshalBinary

func (m *V2ResourceMetricStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V2ResourceMetricStatus) UnmarshalBinary

func (m *V2ResourceMetricStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V2ResourceMetricStatus) Validate

func (m *V2ResourceMetricStatus) Validate(formats strfmt.Registry) error

Validate validates this v2 resource metric status

type WebhooksWebhookCreatePayload

type WebhooksWebhookCreatePayload struct {

	// Environment(Endpoint) identifier. Reference the environment(endpoint) that will be used for deployment
	// Example: 1
	EndpointID int64 `json:"endpointID,omitempty"`

	// Registry Identifier
	// Example: 1
	RegistryID int64 `json:"registryID,omitempty"`

	// resource ID
	ResourceID string `json:"resourceID,omitempty"`

	// Type of webhook (1 - service, 2 - container)
	WebhookType int64 `json:"webhookType,omitempty"`
}

WebhooksWebhookCreatePayload webhooks webhook create payload

swagger:model webhooks.webhookCreatePayload

func (*WebhooksWebhookCreatePayload) ContextValidate

func (m *WebhooksWebhookCreatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this webhooks webhook create payload based on context it is used

func (*WebhooksWebhookCreatePayload) MarshalBinary

func (m *WebhooksWebhookCreatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WebhooksWebhookCreatePayload) UnmarshalBinary

func (m *WebhooksWebhookCreatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WebhooksWebhookCreatePayload) Validate

func (m *WebhooksWebhookCreatePayload) Validate(formats strfmt.Registry) error

Validate validates this webhooks webhook create payload

type WebhooksWebhookReassignPayload

type WebhooksWebhookReassignPayload struct {

	// resource ID
	ResourceID string `json:"resourceID,omitempty"`

	// Type of webhook (1 - service, 2 - container)
	WebhookType int64 `json:"webhookType,omitempty"`
}

WebhooksWebhookReassignPayload webhooks webhook reassign payload

swagger:model webhooks.webhookReassignPayload

func (*WebhooksWebhookReassignPayload) ContextValidate

func (m *WebhooksWebhookReassignPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this webhooks webhook reassign payload based on context it is used

func (*WebhooksWebhookReassignPayload) MarshalBinary

func (m *WebhooksWebhookReassignPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WebhooksWebhookReassignPayload) UnmarshalBinary

func (m *WebhooksWebhookReassignPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WebhooksWebhookReassignPayload) Validate

func (m *WebhooksWebhookReassignPayload) Validate(formats strfmt.Registry) error

Validate validates this webhooks webhook reassign payload

type WebhooksWebhookUpdatePayload

type WebhooksWebhookUpdatePayload struct {

	// Registry Identifier
	RegistryID int64 `json:"registryID,omitempty"`
}

WebhooksWebhookUpdatePayload webhooks webhook update payload

swagger:model webhooks.webhookUpdatePayload

func (*WebhooksWebhookUpdatePayload) ContextValidate

func (m *WebhooksWebhookUpdatePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this webhooks webhook update payload based on context it is used

func (*WebhooksWebhookUpdatePayload) MarshalBinary

func (m *WebhooksWebhookUpdatePayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WebhooksWebhookUpdatePayload) UnmarshalBinary

func (m *WebhooksWebhookUpdatePayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WebhooksWebhookUpdatePayload) Validate

func (m *WebhooksWebhookUpdatePayload) Validate(formats strfmt.Registry) error

Validate validates this webhooks webhook update payload

Source Files

Jump to

Keyboard shortcuts

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