Documentation
¶
Index ¶
- Variables
- type BatchResourceResponse
- type CmCsRequestBean
- func (req *CmCsRequestBean) GetClusterId() int
- func (req *CmCsRequestBean) GetExternalCmList() []string
- func (req *CmCsRequestBean) GetExternalCsList() []string
- func (req *CmCsRequestBean) GetNamespace() string
- func (req *CmCsRequestBean) SetClusterId(clusterId int) *CmCsRequestBean
- func (req *CmCsRequestBean) SetExternalCmList(externalCmList ...string) *CmCsRequestBean
- func (req *CmCsRequestBean) SetExternalCsList(externalCsList ...string) *CmCsRequestBean
- func (req *CmCsRequestBean) SetNamespace(namespace string) *CmCsRequestBean
- type LogsDownloadBean
- type PodContainerList
- type ResourceGetResponse
- type ResourceRequestBean
- type RotatePodRequest
- type RotatePodResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ResourceNotFoundErr = "Unable to locate Kubernetes resource."
)
Functions ¶
This section is empty.
Types ¶
type BatchResourceResponse ¶
type BatchResourceResponse struct { ManifestResponse *k8s.ManifestResponse Err error }
type CmCsRequestBean ¶
type CmCsRequestBean struct {
// contains filtered or unexported fields
}
func (*CmCsRequestBean) GetClusterId ¶
func (req *CmCsRequestBean) GetClusterId() int
func (*CmCsRequestBean) GetExternalCmList ¶
func (req *CmCsRequestBean) GetExternalCmList() []string
func (*CmCsRequestBean) GetExternalCsList ¶
func (req *CmCsRequestBean) GetExternalCsList() []string
func (*CmCsRequestBean) GetNamespace ¶
func (req *CmCsRequestBean) GetNamespace() string
func (*CmCsRequestBean) SetClusterId ¶
func (req *CmCsRequestBean) SetClusterId(clusterId int) *CmCsRequestBean
func (*CmCsRequestBean) SetExternalCmList ¶
func (req *CmCsRequestBean) SetExternalCmList(externalCmList ...string) *CmCsRequestBean
func (*CmCsRequestBean) SetExternalCsList ¶
func (req *CmCsRequestBean) SetExternalCsList(externalCsList ...string) *CmCsRequestBean
func (*CmCsRequestBean) SetNamespace ¶
func (req *CmCsRequestBean) SetNamespace(namespace string) *CmCsRequestBean
type LogsDownloadBean ¶
type PodContainerList ¶
type ResourceGetResponse ¶
type ResourceGetResponse struct { ManifestResponse *k8s.ManifestResponse `json:"manifestResponse"` SecretViewAccess bool `json:"secretViewAccess"` // imp: only for resource browser, this is being used to check whether a user can see obscured secret values or not. }
type ResourceRequestBean ¶
type ResourceRequestBean struct { AppId string `json:"appId"` AppType int `json:"appType,omitempty"` // 0: DevtronApp, 1: HelmApp, 2:ArgoApp, 3 fluxApp DeploymentType int `json:"deploymentType,omitempty"` // 0: DevtronApp, 1: HelmApp AppIdentifier *helmBean.AppIdentifier `json:"-"` K8sRequest *k8s.K8sRequestBean `json:"k8sRequest"` DevtronAppIdentifier *bean.DevtronAppIdentifier `json:"-"` // For Devtron App Resources ClusterId int `json:"clusterId"` // clusterId is used when request is for direct cluster (not for helm release) ExternalArgoApplicationName string `json:"externalArgoApplicationName,omitempty"` ExternalFluxAppIdentifier *bean2.FluxAppIdentifier `json: "-"` }
func (*ResourceRequestBean) IsValidAppType ¶
func (r *ResourceRequestBean) IsValidAppType() bool
func (*ResourceRequestBean) IsValidDeploymentType ¶
func (r *ResourceRequestBean) IsValidDeploymentType() bool
type RotatePodRequest ¶
type RotatePodRequest struct { ClusterId int `json:"clusterId"` Resources []k8s.ResourceIdentifier `json:"resources"` }
type RotatePodResponse ¶
type RotatePodResponse struct { Responses []*bean.RotatePodResourceResponse `json:"responses"` ContainsError bool `json:"containsError"` }
Click to show internal directories.
Click to hide internal directories.