Documentation ¶
Index ¶
- Variables
- type APIClient
- type APIKey
- type APIResponse
- type Any
- type Artifact
- type BasicAuth
- type Configuration
- type Deployment
- type DeploymentCondition
- type DeploymentDefaults
- type DeploymentDefaultsMetadata
- type DeploymentDefaultsResourceApiService
- func (a *DeploymentDefaultsResourceApiService) GetDeploymentDefaultsUsingGET(ctx context.Context, namespace string) (DeploymentDefaults, *http.Response, error)
- func (a *DeploymentDefaultsResourceApiService) UpdateDeploymentDefaultsUsingPATCH(ctx context.Context, body DeploymentDefaults, namespace string) (DeploymentDefaults, *http.Response, error)
- type DeploymentMetadata
- type DeploymentResourceApiService
- func (a *DeploymentResourceApiService) CreateDeploymentUsingPOST(ctx context.Context, body Deployment, namespace string) (Deployment, *http.Response, error)
- func (a *DeploymentResourceApiService) DeleteDeploymentUsingDELETE(ctx context.Context, deploymentId string, namespace string) (Deployment, *http.Response, error)
- func (a *DeploymentResourceApiService) GetDeploymentUsingGET(ctx context.Context, deploymentId string, namespace string) (Deployment, *http.Response, error)
- func (a *DeploymentResourceApiService) GetDeploymentsUsingGET(ctx context.Context, namespace string, ...) (ResourceListOfDeployment, *http.Response, error)
- func (a *DeploymentResourceApiService) UpdateDeploymentUsingPATCH(ctx context.Context, body Deployment, deploymentId string, namespace string) (Deployment, *http.Response, error)
- type DeploymentRestoreStrategy
- type DeploymentSpec
- type DeploymentStatus
- type DeploymentStatusRunning
- type DeploymentTarget
- type DeploymentTargetMetadata
- type DeploymentTargetResourceApiService
- func (a *DeploymentTargetResourceApiService) CreateDeploymentTargetUsingPOST(ctx context.Context, deploymentTarget DeploymentTarget, namespace string) (DeploymentTarget, *http.Response, error)
- func (a *DeploymentTargetResourceApiService) DeleteDeploymentTargetUsingDELETE(ctx context.Context, name string, namespace string) (DeploymentTarget, *http.Response, error)
- func (a *DeploymentTargetResourceApiService) GetDeploymentTargetUsingGET(ctx context.Context, name string, namespace string) (DeploymentTarget, *http.Response, error)
- func (a *DeploymentTargetResourceApiService) GetDeploymentTargetsUsingGET(ctx context.Context, namespace string) (ResourceListOfDeploymentTarget, *http.Response, error)
- type DeploymentTargetSpec
- type DeploymentTemplate
- type DeploymentTemplateMetadata
- type DeploymentTemplateSpec
- type DeploymentUpgradeStrategy
- type EnvVar
- type Event
- type EventMetadata
- type EventResourceApiService
- type EventSpec
- type Failure
- type GenericSwaggerError
- type GetDeploymentsUsingGETOpts
- type GetEventsUsingGETOpts
- type GetJobsUsingGETOpts
- type GetSavepointsUsingGETOpts
- type Job
- type JobDeploymentTarget
- type JobMetadata
- type JobResourceApiService
- type JobSpec
- type JobStatus
- type JobStatusStarted
- type JsonNode
- type KubernetesOptions
- type KubernetesTarget
- type LocalObjectReference
- type Logging
- type ObjectNode
- type Pods
- type ResourceListMetadata
- type ResourceListOfDeployment
- type ResourceListOfDeploymentTarget
- type ResourceListOfEvent
- type ResourceListOfJob
- type ResourceListOfSavepoint
- type ResourceListOfSecretValue
- type ResourceQuota
- type ResourceQuotaQuantity
- type ResourceQuotaSpec
- type ResourceQuotaStatus
- type ResourceSpec
- type RevisionInformation
- type Savepoint
- type SavepointMetadata
- type SavepointResourceApiService
- func (a *SavepointResourceApiService) CreateSavepointUsingPOST(ctx context.Context, namespace string, savepointChange Savepoint) (Savepoint, *http.Response, error)
- func (a *SavepointResourceApiService) GetSavepointUsingGET(ctx context.Context, namespace string, savepointId string) (Savepoint, *http.Response, error)
- func (a *SavepointResourceApiService) GetSavepointsUsingGET(ctx context.Context, namespace string, ...) (ResourceListOfSavepoint, *http.Response, error)
- type SavepointSpec
- type SavepointStatus
- type SecretValue
- type SecretValueMetadata
- type SecretValueResourceApiService
- func (a *SecretValueResourceApiService) CreateSecretValueUsingPOST(ctx context.Context, namespace string, secretValue SecretValue) (SecretValue, *http.Response, error)
- func (a *SecretValueResourceApiService) DeleteSecretValueUsingDELETE(ctx context.Context, name string, namespace string) (SecretValue, *http.Response, error)
- func (a *SecretValueResourceApiService) GetSecretValueUsingGET(ctx context.Context, name string, namespace string) (SecretValue, *http.Response, error)
- func (a *SecretValueResourceApiService) GetSecretValuesUsingGET(ctx context.Context, namespace string) (ResourceListOfSecretValue, *http.Response, error)
- func (a *SecretValueResourceApiService) UpdateSecretValueUsingPATCH(ctx context.Context, body SecretValue, name string, namespace string) (SecretValue, *http.Response, error)
- type SecretValueSpec
- type StatusResourceApiService
- type SystemInformation
- type SystemInformationStatus
- type VolumeAndMount
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct { DeploymentDefaultsResourceApi *DeploymentDefaultsResourceApiService DeploymentResourceApi *DeploymentResourceApiService DeploymentTargetResourceApi *DeploymentTargetResourceApiService EventResourceApi *EventResourceApiService JobResourceApi *JobResourceApiService SavepointResourceApi *SavepointResourceApiService SecretValueResourceApi *SecretValueResourceApiService StatusResourceApi *StatusResourceApiService // contains filtered or unexported fields }
APIClient manages communication with the Application Manager API API v2.1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type Artifact ¶
type Artifact struct { Kind string `json:"kind"` JarUri string `json:"jarUri"` MainArgs string `json:"mainArgs,omitempty"` EntryClass string `json:"entryClass,omitempty"` FlinkVersion string `json:"flinkVersion,omitempty"` FlinkImageRegistry string `json:"flinkImageRegistry,omitempty"` FlinkImageRepository string `json:"flinkImageRepository,omitempty"` FlinkImageTag string `json:"flinkImageTag,omitempty"` }
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type Deployment ¶
type Deployment struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Metadata *DeploymentMetadata `json:"metadata,omitempty"` Spec *DeploymentSpec `json:"spec,omitempty"` Status *DeploymentStatus `json:"status,omitempty"` }
type DeploymentCondition ¶
type DeploymentCondition struct { LastTransitionTime *time.Time `json:"lastTransitionTime,omitempty"` LastUpdateTime *time.Time `json:"lastUpdateTime,omitempty"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` Status string `json:"status,omitempty"` Type_ string `json:"type,omitempty"` }
type DeploymentDefaults ¶
type DeploymentDefaults struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Metadata *DeploymentDefaultsMetadata `json:"metadata,omitempty"` Spec *DeploymentSpec `json:"spec,omitempty"` }
type DeploymentDefaultsMetadata ¶
type DeploymentDefaultsMetadata struct { Annotations map[string]string `json:"annotations,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Id string `json:"id,omitempty"` Labels map[string]string `json:"labels,omitempty"` ModifiedAt time.Time `json:"modifiedAt,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` ResourceVersion int32 `json:"resourceVersion,omitempty"` }
type DeploymentDefaultsResourceApiService ¶
type DeploymentDefaultsResourceApiService service
func (*DeploymentDefaultsResourceApiService) GetDeploymentDefaultsUsingGET ¶
func (a *DeploymentDefaultsResourceApiService) GetDeploymentDefaultsUsingGET(ctx context.Context, namespace string) (DeploymentDefaults, *http.Response, error)
DeploymentDefaultsResourceApiService Get deployment defaults
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param namespace namespace
@return DeploymentDefaults
func (*DeploymentDefaultsResourceApiService) UpdateDeploymentDefaultsUsingPATCH ¶
func (a *DeploymentDefaultsResourceApiService) UpdateDeploymentDefaultsUsingPATCH(ctx context.Context, body DeploymentDefaults, namespace string) (DeploymentDefaults, *http.Response, error)
DeploymentDefaultsResourceApiService Update a deployment defaults
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param namespace namespace
@return DeploymentDefaults
type DeploymentMetadata ¶
type DeploymentMetadata struct { Annotations map[string]string `json:"annotations,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Id string `json:"id,omitempty"` Labels map[string]string `json:"labels,omitempty"` ModifiedAt time.Time `json:"modifiedAt,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` ResourceVersion int32 `json:"resourceVersion,omitempty"` }
type DeploymentResourceApiService ¶
type DeploymentResourceApiService service
func (*DeploymentResourceApiService) CreateDeploymentUsingPOST ¶
func (a *DeploymentResourceApiService) CreateDeploymentUsingPOST(ctx context.Context, body Deployment, namespace string) (Deployment, *http.Response, error)
DeploymentResourceApiService Create a deployment
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param namespace namespace
@return Deployment
func (*DeploymentResourceApiService) DeleteDeploymentUsingDELETE ¶
func (a *DeploymentResourceApiService) DeleteDeploymentUsingDELETE(ctx context.Context, deploymentId string, namespace string) (Deployment, *http.Response, error)
DeploymentResourceApiService Delete deployment This operation expects the deployment to be in desired state CANCELLED
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deploymentId deploymentId
- @param namespace namespace
@return Deployment
func (*DeploymentResourceApiService) GetDeploymentUsingGET ¶
func (a *DeploymentResourceApiService) GetDeploymentUsingGET(ctx context.Context, deploymentId string, namespace string) (Deployment, *http.Response, error)
DeploymentResourceApiService Get a deployment by id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deploymentId deploymentId
- @param namespace namespace
@return Deployment
func (*DeploymentResourceApiService) GetDeploymentsUsingGET ¶
func (a *DeploymentResourceApiService) GetDeploymentsUsingGET(ctx context.Context, namespace string, localVarOptionals *GetDeploymentsUsingGETOpts) (ResourceListOfDeployment, *http.Response, error)
func (*DeploymentResourceApiService) UpdateDeploymentUsingPATCH ¶
func (a *DeploymentResourceApiService) UpdateDeploymentUsingPATCH(ctx context.Context, body Deployment, deploymentId string, namespace string) (Deployment, *http.Response, error)
DeploymentResourceApiService Update a deployment
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param deploymentId deploymentId
- @param namespace namespace
@return Deployment
type DeploymentSpec ¶
type DeploymentSpec struct { DeploymentTargetId string `json:"deploymentTargetId,omitempty"` MaxJobCreationAttempts int32 `json:"maxJobCreationAttempts,omitempty"` MaxSavepointCreationAttempts int32 `json:"maxSavepointCreationAttempts,omitempty"` RestoreStrategy *DeploymentRestoreStrategy `json:"restoreStrategy,omitempty"` State string `json:"state,omitempty"` Template *DeploymentTemplate `json:"template,omitempty"` UpgradeStrategy *DeploymentUpgradeStrategy `json:"upgradeStrategy,omitempty"` }
type DeploymentStatus ¶
type DeploymentStatus struct { Running *DeploymentStatusRunning `json:"running,omitempty"` State string `json:"state,omitempty"` }
type DeploymentStatusRunning ¶
type DeploymentStatusRunning struct { Conditions []DeploymentCondition `json:"conditions,omitempty"` JobId string `json:"jobId,omitempty"` TransitionTime *time.Time `json:"transitionTime,omitempty"` }
type DeploymentTarget ¶
type DeploymentTarget struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Metadata *DeploymentTargetMetadata `json:"metadata,omitempty"` Spec *DeploymentTargetSpec `json:"spec,omitempty"` }
type DeploymentTargetMetadata ¶
type DeploymentTargetMetadata struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` ModifiedAt time.Time `json:"modifiedAt,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Labels map[string]string `json:"labels,omitempty"` ResourceVersion int32 `json:"resourceVersion,omitempty"` }
type DeploymentTargetResourceApiService ¶
type DeploymentTargetResourceApiService service
func (*DeploymentTargetResourceApiService) CreateDeploymentTargetUsingPOST ¶
func (a *DeploymentTargetResourceApiService) CreateDeploymentTargetUsingPOST(ctx context.Context, deploymentTarget DeploymentTarget, namespace string) (DeploymentTarget, *http.Response, error)
DeploymentTargetResourceApiService Create a deployment target
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deploymentTarget deploymentTarget
- @param namespace namespace
@return DeploymentTarget
func (*DeploymentTargetResourceApiService) DeleteDeploymentTargetUsingDELETE ¶
func (a *DeploymentTargetResourceApiService) DeleteDeploymentTargetUsingDELETE(ctx context.Context, name string, namespace string) (DeploymentTarget, *http.Response, error)
DeploymentTargetResourceApiService Delete a deployment target
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param namespace namespace
@return DeploymentTarget
func (*DeploymentTargetResourceApiService) GetDeploymentTargetUsingGET ¶
func (a *DeploymentTargetResourceApiService) GetDeploymentTargetUsingGET(ctx context.Context, name string, namespace string) (DeploymentTarget, *http.Response, error)
DeploymentTargetResourceApiService Get a deployment target by name
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param namespace namespace
@return DeploymentTarget
func (*DeploymentTargetResourceApiService) GetDeploymentTargetsUsingGET ¶
func (a *DeploymentTargetResourceApiService) GetDeploymentTargetsUsingGET(ctx context.Context, namespace string) (ResourceListOfDeploymentTarget, *http.Response, error)
DeploymentTargetResourceApiService List all deployment targets
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param namespace namespace
@return ResourceListOfDeploymentTarget
type DeploymentTargetSpec ¶
type DeploymentTargetSpec struct {
Kubernetes *KubernetesTarget `json:"kubernetes"`
}
type DeploymentTemplate ¶
type DeploymentTemplate struct { Metadata *DeploymentTemplateMetadata `json:"metadata,omitempty"` Spec *DeploymentTemplateSpec `json:"spec,omitempty"` }
type DeploymentTemplateSpec ¶
type DeploymentTemplateSpec struct { Artifact *Artifact `json:"artifact,omitempty"` FlinkConfiguration map[string]string `json:"flinkConfiguration,omitempty"` Kubernetes *KubernetesOptions `json:"kubernetes,omitempty"` Logging *Logging `json:"logging,omitempty"` NumberOfTaskManagers int32 `json:"numberOfTaskManagers,omitempty"` Parallelism int32 `json:"parallelism,omitempty"` Resources map[string]ResourceSpec `json:"resources,omitempty"` }
type DeploymentUpgradeStrategy ¶
type DeploymentUpgradeStrategy struct {
Kind string `json:"kind,omitempty"`
}
type EnvVar ¶
type EnvVar struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` ValueFrom *core.EnvVarSource `json:"valueFrom,omitempty"` }
type Event ¶
type Event struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Metadata *EventMetadata `json:"metadata,omitempty"` Spec *EventSpec `json:"spec,omitempty"` }
type EventMetadata ¶
type EventMetadata struct { CreatedAt time.Time `json:"createdAt,omitempty"` DeploymentId string `json:"deploymentId,omitempty"` Id string `json:"id,omitempty"` JobId string `json:"jobId,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` ResourceVersion int32 `json:"resourceVersion,omitempty"` }
type EventResourceApiService ¶
type EventResourceApiService service
func (*EventResourceApiService) GetEventsUsingGET ¶
func (a *EventResourceApiService) GetEventsUsingGET(ctx context.Context, namespace string, localVarOptionals *GetEventsUsingGETOpts) (ResourceListOfEvent, *http.Response, error)
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type GetEventsUsingGETOpts ¶
type GetJobsUsingGETOpts ¶
type Job ¶
type Job struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Metadata *JobMetadata `json:"metadata,omitempty"` Spec *JobSpec `json:"spec,omitempty"` Status *JobStatus `json:"status,omitempty"` }
type JobDeploymentTarget ¶
type JobDeploymentTarget struct {
Kubernetes *KubernetesTarget `json:"kubernetes,omitempty"`
}
type JobMetadata ¶
type JobMetadata struct { Annotations map[string]string `json:"annotations,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeploymentId string `json:"deploymentId,omitempty"` DeploymentName string `json:"deploymentName,omitempty"` Id string `json:"id,omitempty"` ModifiedAt time.Time `json:"modifiedAt,omitempty"` Namespace string `json:"namespace,omitempty"` ResourceVersion int32 `json:"resourceVersion,omitempty"` TerminatedAt time.Time `json:"terminatedAt,omitempty"` }
type JobResourceApiService ¶
type JobResourceApiService service
func (*JobResourceApiService) GetJobUsingGET ¶
func (a *JobResourceApiService) GetJobUsingGET(ctx context.Context, jobId string, namespace string) (Job, *http.Response, error)
JobResourceApiService Get a job by id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param jobId jobId
- @param namespace namespace
@return Job
func (*JobResourceApiService) GetJobsUsingGET ¶
func (a *JobResourceApiService) GetJobsUsingGET(ctx context.Context, namespace string, localVarOptionals *GetJobsUsingGETOpts) (ResourceListOfJob, *http.Response, error)
type JobSpec ¶
type JobSpec struct { AllowNonRestoredState bool `json:"allowNonRestoredState,omitempty"` Artifact *Artifact `json:"artifact,omitempty"` DeploymentTarget *JobDeploymentTarget `json:"deploymentTarget,omitempty"` FlinkConfiguration map[string]string `json:"flinkConfiguration,omitempty"` Kubernetes *KubernetesOptions `json:"kubernetes,omitempty"` Logging *Logging `json:"logging,omitempty"` NumberOfTaskManagers int32 `json:"numberOfTaskManagers,omitempty"` Parallelism int32 `json:"parallelism,omitempty"` Resources map[string]ResourceSpec `json:"resources,omitempty"` SavepointLocation string `json:"savepointLocation,omitempty"` }
type JobStatus ¶
type JobStatus struct { Failure *Failure `json:"failure,omitempty"` Started *JobStatusStarted `json:"started,omitempty"` State string `json:"state,omitempty"` }
type JobStatusStarted ¶
type JobStatusStarted struct { FlinkJobId string `json:"flinkJobId,omitempty"` LastUpdateTime *time.Time `json:"lastUpdateTime,omitempty"` ObservedFlinkJobRestarts int32 `json:"observedFlinkJobRestarts,omitempty"` ObservedFlinkJobStatus string `json:"observedFlinkJobStatus,omitempty"` StartedAt time.Time `json:"startedAt,omitempty"` }
type JsonNode ¶
type JsonNode struct { Array bool `json:"array,omitempty"` BigDecimal bool `json:"bigDecimal,omitempty"` BigInteger bool `json:"bigInteger,omitempty"` Binary bool `json:"binary,omitempty"` Boolean bool `json:"boolean,omitempty"` ContainerNode bool `json:"containerNode,omitempty"` Double bool `json:"double,omitempty"` Empty bool `json:"empty,omitempty"` Float bool `json:"float,omitempty"` FloatingPointNumber bool `json:"floatingPointNumber,omitempty"` Int_ bool `json:"int,omitempty"` IntegralNumber bool `json:"integralNumber,omitempty"` Long bool `json:"long,omitempty"` MissingNode bool `json:"missingNode,omitempty"` NodeType string `json:"nodeType,omitempty"` Null bool `json:"null,omitempty"` Number bool `json:"number,omitempty"` Object bool `json:"object,omitempty"` Pojo bool `json:"pojo,omitempty"` Short bool `json:"short,omitempty"` Textual bool `json:"textual,omitempty"` ValueNode bool `json:"valueNode,omitempty"` }
type KubernetesOptions ¶
type KubernetesOptions struct {
Pods *Pods `json:"pods,omitempty"`
}
type KubernetesTarget ¶
type KubernetesTarget struct {
Namespace string `json:"namespace,omitempty"`
}
type LocalObjectReference ¶
type LocalObjectReference struct {
Name string `json:"name,omitempty"`
}
type ObjectNode ¶
type ObjectNode struct { Array bool `json:"array,omitempty"` BigDecimal bool `json:"bigDecimal,omitempty"` BigInteger bool `json:"bigInteger,omitempty"` Binary bool `json:"binary,omitempty"` Boolean bool `json:"boolean,omitempty"` ContainerNode bool `json:"containerNode,omitempty"` Double bool `json:"double,omitempty"` Empty bool `json:"empty,omitempty"` Float bool `json:"float,omitempty"` FloatingPointNumber bool `json:"floatingPointNumber,omitempty"` Int_ bool `json:"int,omitempty"` IntegralNumber bool `json:"integralNumber,omitempty"` Long bool `json:"long,omitempty"` MissingNode bool `json:"missingNode,omitempty"` NodeType string `json:"nodeType,omitempty"` Null bool `json:"null,omitempty"` Number bool `json:"number,omitempty"` Object bool `json:"object,omitempty"` Pojo bool `json:"pojo,omitempty"` Short bool `json:"short,omitempty"` Textual bool `json:"textual,omitempty"` ValueNode bool `json:"valueNode,omitempty"` }
type Pods ¶
type Pods struct { Affinity *core.Affinity `json:"affinity,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` EnvVars []EnvVar `json:"envVars,omitempty"` ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty"` Labels map[string]string `json:"labels,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` SecurityContext *core.SecurityContext `json:"securityContext,omitempty"` Tolerations []core.Toleration `json:"tolerations,omitempty"` VolumeMounts []VolumeAndMount `json:"volumeMounts,omitempty"` }
type ResourceListMetadata ¶
type ResourceListMetadata struct { }
type ResourceListOfDeployment ¶
type ResourceListOfDeployment struct { ApiVersion string `json:"apiVersion,omitempty"` Items []Deployment `json:"items,omitempty"` Kind string `json:"kind,omitempty"` Metadata *ResourceListMetadata `json:"metadata,omitempty"` }
type ResourceListOfDeploymentTarget ¶
type ResourceListOfDeploymentTarget struct { ApiVersion string `json:"apiVersion,omitempty"` Items []DeploymentTarget `json:"items,omitempty"` Kind string `json:"kind,omitempty"` Metadata *ResourceListMetadata `json:"metadata,omitempty"` }
type ResourceListOfEvent ¶
type ResourceListOfEvent struct { ApiVersion string `json:"apiVersion,omitempty"` Items []Event `json:"items,omitempty"` Kind string `json:"kind,omitempty"` Metadata *ResourceListMetadata `json:"metadata,omitempty"` }
type ResourceListOfJob ¶
type ResourceListOfJob struct { ApiVersion string `json:"apiVersion,omitempty"` Items []Job `json:"items,omitempty"` Kind string `json:"kind,omitempty"` Metadata *ResourceListMetadata `json:"metadata,omitempty"` }
type ResourceListOfSavepoint ¶
type ResourceListOfSavepoint struct { ApiVersion string `json:"apiVersion,omitempty"` Items []Savepoint `json:"items,omitempty"` Kind string `json:"kind,omitempty"` Metadata *ResourceListMetadata `json:"metadata,omitempty"` }
type ResourceListOfSecretValue ¶
type ResourceListOfSecretValue struct { ApiVersion string `json:"apiVersion,omitempty"` Items []SecretValue `json:"items,omitempty"` Kind string `json:"kind,omitempty"` Metadata *ResourceListMetadata `json:"metadata,omitempty"` }
type ResourceQuota ¶
type ResourceQuota struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Spec *ResourceQuotaSpec `json:"spec,omitempty"` Status *ResourceQuotaStatus `json:"status,omitempty"` }
type ResourceQuotaQuantity ¶
type ResourceQuotaQuantity struct {
Cpu float64 `json:"cpu,omitempty"`
}
type ResourceQuotaSpec ¶
type ResourceQuotaSpec struct { Limits *ResourceQuotaQuantity `json:"limits,omitempty"` ToleratedOveruse *ResourceQuotaQuantity `json:"toleratedOveruse,omitempty"` Type_ string `json:"type,omitempty"` }
type ResourceQuotaStatus ¶
type ResourceQuotaStatus struct {
Used *ResourceQuotaQuantity `json:"used,omitempty"`
}
type ResourceSpec ¶
type RevisionInformation ¶
type Savepoint ¶
type Savepoint struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Metadata *SavepointMetadata `json:"metadata,omitempty"` Spec *SavepointSpec `json:"spec,omitempty"` Status *SavepointStatus `json:"status,omitempty"` }
type SavepointMetadata ¶
type SavepointMetadata struct { Id string `json:"id,omitempty"` Namespace string `json:"namespace,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` ModifiedAt time.Time `json:"modifiedAt,omitempty"` DeploymentId string `json:"deploymentId,omitempty"` JobId string `json:"jobId,omitempty"` Origin string `json:"origin,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` ResourceVersion int32 `json:"resourceVersion,omitempty"` }
type SavepointResourceApiService ¶
type SavepointResourceApiService service
func (*SavepointResourceApiService) CreateSavepointUsingPOST ¶
func (a *SavepointResourceApiService) CreateSavepointUsingPOST(ctx context.Context, namespace string, savepointChange Savepoint) (Savepoint, *http.Response, error)
SavepointResourceApiService Create a new savepoint
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param namespace namespace
- @param savepointChange savepointChange
@return Savepoint
func (*SavepointResourceApiService) GetSavepointUsingGET ¶
func (a *SavepointResourceApiService) GetSavepointUsingGET(ctx context.Context, namespace string, savepointId string) (Savepoint, *http.Response, error)
SavepointResourceApiService Get a savepoint by id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param namespace namespace
- @param savepointId savepointId
@return Savepoint
func (*SavepointResourceApiService) GetSavepointsUsingGET ¶
func (a *SavepointResourceApiService) GetSavepointsUsingGET(ctx context.Context, namespace string, localVarOptionals *GetSavepointsUsingGETOpts) (ResourceListOfSavepoint, *http.Response, error)
type SavepointSpec ¶
type SavepointStatus ¶
type SecretValue ¶
type SecretValue struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Metadata *SecretValueMetadata `json:"metadata,omitempty"` Spec *SecretValueSpec `json:"spec,omitempty"` }
type SecretValueMetadata ¶
type SecretValueMetadata struct { Annotations map[string]string `json:"annotations,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Id string `json:"id,omitempty"` Labels map[string]string `json:"labels,omitempty"` ModifiedAt time.Time `json:"modifiedAt,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` ResourceVersion int32 `json:"resourceVersion,omitempty"` }
type SecretValueResourceApiService ¶
type SecretValueResourceApiService service
func (*SecretValueResourceApiService) CreateSecretValueUsingPOST ¶
func (a *SecretValueResourceApiService) CreateSecretValueUsingPOST(ctx context.Context, namespace string, secretValue SecretValue) (SecretValue, *http.Response, error)
SecretValueResourceApiService Create a secret value
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param namespace namespace
- @param secretValue secretValue
@return SecretValue
func (*SecretValueResourceApiService) DeleteSecretValueUsingDELETE ¶
func (a *SecretValueResourceApiService) DeleteSecretValueUsingDELETE(ctx context.Context, name string, namespace string) (SecretValue, *http.Response, error)
SecretValueResourceApiService Delete a secret value
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param namespace namespace
@return SecretValue
func (*SecretValueResourceApiService) GetSecretValueUsingGET ¶
func (a *SecretValueResourceApiService) GetSecretValueUsingGET(ctx context.Context, name string, namespace string) (SecretValue, *http.Response, error)
SecretValueResourceApiService Get a secret value by name
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param namespace namespace
@return SecretValue
func (*SecretValueResourceApiService) GetSecretValuesUsingGET ¶
func (a *SecretValueResourceApiService) GetSecretValuesUsingGET(ctx context.Context, namespace string) (ResourceListOfSecretValue, *http.Response, error)
SecretValueResourceApiService List all secrets values
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param namespace namespace
@return ResourceListOfSecretValue
func (*SecretValueResourceApiService) UpdateSecretValueUsingPATCH ¶
func (a *SecretValueResourceApiService) UpdateSecretValueUsingPATCH(ctx context.Context, body SecretValue, name string, namespace string) (SecretValue, *http.Response, error)
SecretValueResourceApiService Update a secret value
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param name name
- @param namespace namespace
@return SecretValue
type SecretValueSpec ¶
type SecretValueSpec struct {
Kind string `json:"kind,omitempty"`
}
type StatusResourceApiService ¶
type StatusResourceApiService service
func (*StatusResourceApiService) GetStatusUsingGET ¶
func (a *StatusResourceApiService) GetStatusUsingGET(ctx context.Context) (interface{}, *http.Response, error)
StatusResourceApiService Check that the server is running
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return interface{}
func (*StatusResourceApiService) GetSystemInfoUsingGET ¶
func (a *StatusResourceApiService) GetSystemInfoUsingGET(ctx context.Context) (SystemInformation, *http.Response, error)
StatusResourceApiService Get system's information
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return SystemInformation
type SystemInformation ¶
type SystemInformation struct { ApiVersion string `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Status *SystemInformationStatus `json:"status,omitempty"` }
type SystemInformationStatus ¶
type SystemInformationStatus struct { JvmVersion string `json:"jvmVersion,omitempty"` ResourceQuota *ResourceQuota `json:"resourceQuota,omitempty"` RevisionInformation *RevisionInformation `json:"revisionInformation,omitempty"` }
type VolumeAndMount ¶
type VolumeAndMount struct { Name string `json:"name,omitempty"` Volume *core.Volume `json:"volume,omitempty"` VolumeMount *core.VolumeMount `json:"volumeMount,omitempty"` }
Source Files ¶
- api_deployment_defaults_resource.go
- api_deployment_resource.go
- api_deployment_target_resource.go
- api_event_resource.go
- api_job_resource.go
- api_savepoint_resource.go
- api_secret_value_resource.go
- api_status_resource.go
- client.go
- configuration.go
- model_any.go
- model_artifact.go
- model_deployment.go
- model_deployment_condition.go
- model_deployment_defaults.go
- model_deployment_defaults_metadata.go
- model_deployment_metadata.go
- model_deployment_restore_strategy.go
- model_deployment_spec.go
- model_deployment_status.go
- model_deployment_status_running.go
- model_deployment_target.go
- model_deployment_target_metadata.go
- model_deployment_target_spec.go
- model_deployment_template.go
- model_deployment_template_metadata.go
- model_deployment_template_spec.go
- model_deployment_upgrade_strategy.go
- model_env_var.go
- model_event.go
- model_event_metadata.go
- model_event_spec.go
- model_failure.go
- model_job.go
- model_job_deployment_target.go
- model_job_metadata.go
- model_job_spec.go
- model_job_status.go
- model_job_status_started.go
- model_json_node.go
- model_kubernetes_options.go
- model_kubernetes_target.go
- model_local_object_reference.go
- model_logging.go
- model_object_node.go
- model_pods.go
- model_resource_list_metadata.go
- model_resource_list_of_deployment.go
- model_resource_list_of_deployment_target.go
- model_resource_list_of_event.go
- model_resource_list_of_job.go
- model_resource_list_of_savepoint.go
- model_resource_list_of_secret_value.go
- model_resource_quota.go
- model_resource_quota_quantity.go
- model_resource_quota_spec.go
- model_resource_quota_status.go
- model_resource_spec.go
- model_revision_information.go
- model_savepoint.go
- model_savepoint_metadata.go
- model_savepoint_spec.go
- model_savepoint_status.go
- model_secret_value.go
- model_secret_value_metadata.go
- model_secret_value_spec.go
- model_system_information.go
- model_system_information_status.go
- model_volume_and_mount.go
- response.go