models

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateKubernetesProfileInput

type CreateKubernetesProfileInput struct {
	Name                    string                           `json:"name"`
	ProfileSubType          string                           `json:"profileSubType"`
	AdditionalSettings      []KeyValueInput                  `json:"additionalSettings"`
	OnlyDefinedApplications bool                             `json:"onlyDefinedApplications,omitempty"`
	Authentication          ReusableTokenAuthenticationInput `json:"authentication,omitempty"`
}

type KeyValue

type KeyValue struct {
	ID    string `json:"id"`
	Key   string `json:"key"`
	Value string `json:"value"`
}

type KeyValueInput

type KeyValueInput struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type KeyValueUpdateInput

type KeyValueUpdateInput struct {
	ID    string `json:"id"`
	Key   string `json:"key"`
	Value string `json:"value"`
}

type KubernetesProfile

type KubernetesProfile struct {
	ID                      string                      `json:"id"`
	Name                    string                      `json:"name"`
	ProfileType             string                      `json:"profileType"`
	ProfileSubType          string                      `json:"profileSubType"`
	Authentication          ReusableTokenAuthentication `json:"authentication,omitempty"`
	AdditionalSettings      []KeyValue                  `json:"additionalSettings"`
	OnlyDefinedApplications bool                        `json:"onlyDefinedApplications,omitempty"`
}

KubernetesProfile represents the profile object as it is returned from mgmt

type KubernetesProfileUpdateInput

type KubernetesProfileUpdateInput struct {
	Name                     string                           `json:"name,omitempty"`
	ProfileSubType           string                           `json:"profileSubType,omitempty"`
	AddAdditionalSettings    []KeyValueInput                  `json:"addAdditionalSettings,omitempty"`
	UpdateAdditionalSettings []KeyValueUpdateInput            `json:"updateAdditionalSettings,omitempty"`
	RemoveAdditionalSettings []string                         `json:"removeAdditionalSettings,omitempty"`
	OnlyDefinedApplications  bool                             `json:"onlyDefinedApplications"`
	Authentication           ReusableTokenAuthenticationInput `json:"authentication,omitempty"`
}

type ReusableTokenAuthentication

type ReusableTokenAuthentication struct {
	Token             string `json:"token"`
	MaxNumberOfAgents int    `json:"maxNumberOfAgents"`
}

type ReusableTokenAuthenticationInput

type ReusableTokenAuthenticationInput struct {
	MaxNumberOfAgents int `json:"maxNumberOfAgents"`
}

Jump to

Keyboard shortcuts

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