Documentation ¶
Overview ¶
Package agentmodels provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.
Index ¶
- type Agent
- type AgentAuthResult
- type AgentConfig
- func (t AgentConfig) AsAgentConfigEndpoint() (AgentConfigEndpoint, error)
- func (t AgentConfig) AsAgentConfigIdentity() (AgentConfigIdentity, error)
- func (t AgentConfig) Discriminator() (string, error)
- func (t *AgentConfig) FromAgentConfigEndpoint(v AgentConfigEndpoint) error
- func (t *AgentConfig) FromAgentConfigIdentity(v AgentConfigIdentity) error
- func (t AgentConfig) MarshalJSON() ([]byte, error)
- func (t *AgentConfig) MergeAgentConfigEndpoint(v AgentConfigEndpoint) error
- func (t *AgentConfig) MergeAgentConfigIdentity(v AgentConfigIdentity) error
- func (t *AgentConfig) UnmarshalJSON(b []byte) error
- func (t AgentConfig) ValueByDiscriminator() (interface{}, error)
- type AgentConfigBundle
- type AgentConfigEndpoint
- type AgentConfigEndpointFields
- type AgentConfigIdentity
- type AgentConfigIdentityFields
- type AgentConfigName
- type AgentConfigRef
- type AgentConfigResponse
- type AgentInstance
- type AgentInstanceFields
- type AgentInstanceParameters
- type AgentInstanceRef
- type AgentInstanceRefFields
- type AgentInstanceResponse
- type AgentInstanceState
- type AgentResponse
- type CreateAgentConfigRequest
- func (t CreateAgentConfigRequest) AsAgentConfigEndpointFields() (AgentConfigEndpointFields, error)
- func (t CreateAgentConfigRequest) AsAgentConfigIdentityFields() (AgentConfigIdentityFields, error)
- func (t *CreateAgentConfigRequest) FromAgentConfigEndpointFields(v AgentConfigEndpointFields) error
- func (t *CreateAgentConfigRequest) FromAgentConfigIdentityFields(v AgentConfigIdentityFields) error
- func (t CreateAgentConfigRequest) MarshalJSON() ([]byte, error)
- func (t *CreateAgentConfigRequest) MergeAgentConfigEndpointFields(v AgentConfigEndpointFields) error
- func (t *CreateAgentConfigRequest) MergeAgentConfigIdentityFields(v AgentConfigIdentityFields) error
- func (t *CreateAgentConfigRequest) UnmarshalJSON(b []byte) error
- type CreateAgentRequest
- type DockerContainer
- type DockerImageSummary
- type DockerInfo
- type DockerNetworkResource
- type PullImageRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentAuthResult ¶
type AgentAuthResult struct {
AccessToken string `json:"accessToken"`
}
AgentAuthResult defines model for AgentAuthResult.
type AgentConfig ¶
type AgentConfig struct {
// contains filtered or unexported fields
}
AgentConfig defines model for AgentConfig.
func (AgentConfig) AsAgentConfigEndpoint ¶
func (t AgentConfig) AsAgentConfigEndpoint() (AgentConfigEndpoint, error)
AsAgentConfigEndpoint returns the union data inside the AgentConfig as a AgentConfigEndpoint
func (AgentConfig) AsAgentConfigIdentity ¶
func (t AgentConfig) AsAgentConfigIdentity() (AgentConfigIdentity, error)
AsAgentConfigIdentity returns the union data inside the AgentConfig as a AgentConfigIdentity
func (AgentConfig) Discriminator ¶
func (t AgentConfig) Discriminator() (string, error)
func (*AgentConfig) FromAgentConfigEndpoint ¶
func (t *AgentConfig) FromAgentConfigEndpoint(v AgentConfigEndpoint) error
FromAgentConfigEndpoint overwrites any union data inside the AgentConfig as the provided AgentConfigEndpoint
func (*AgentConfig) FromAgentConfigIdentity ¶
func (t *AgentConfig) FromAgentConfigIdentity(v AgentConfigIdentity) error
FromAgentConfigIdentity overwrites any union data inside the AgentConfig as the provided AgentConfigIdentity
func (AgentConfig) MarshalJSON ¶
func (t AgentConfig) MarshalJSON() ([]byte, error)
func (*AgentConfig) MergeAgentConfigEndpoint ¶
func (t *AgentConfig) MergeAgentConfigEndpoint(v AgentConfigEndpoint) error
MergeAgentConfigEndpoint performs a merge with any union data inside the AgentConfig, using the provided AgentConfigEndpoint
func (*AgentConfig) MergeAgentConfigIdentity ¶
func (t *AgentConfig) MergeAgentConfigIdentity(v AgentConfigIdentity) error
MergeAgentConfigIdentity performs a merge with any union data inside the AgentConfig, using the provided AgentConfigIdentity
func (*AgentConfig) UnmarshalJSON ¶
func (t *AgentConfig) UnmarshalJSON(b []byte) error
func (AgentConfig) ValueByDiscriminator ¶
func (t AgentConfig) ValueByDiscriminator() (interface{}, error)
type AgentConfigBundle ¶
type AgentConfigBundle struct { Endpoint *AgentConfigRef `json:"endpoint,omitempty"` EnvGuards []string `json:"envGuards"` Expires time.Time `json:"expires"` Id string `json:"id"` Identity *AgentConfigRef `json:"identity,omitempty"` }
AgentConfigBundle defines model for AgentConfigBundle.
type AgentConfigEndpoint ¶
type AgentConfigEndpoint = agentConfigEndpointComposed
AgentConfigEndpoint defines model for AgentConfigEndpoint.
type AgentConfigEndpointFields ¶
type AgentConfigEndpointFields struct { AllowedImageRepos []string `json:"allowedImageRepos"` JwtVerifyKeyIds []string `json:"jwtVerifyKeyIds,omitempty"` JwtVerifyKeyPolicyId string `json:"jwtVerifyKeyPolicyId"` TLSCertificateAutoEnroll bool `json:"tlsCertificateAutoEnroll"` TLSCertificateID string `json:"tlsCertificateId,omitempty"` TlsCertificatePolicyId string `json:"tlsCertificatePolicyId"` }
AgentConfigEndpointFields defines model for AgentConfigEndpointFields.
type AgentConfigIdentity ¶
type AgentConfigIdentity = agentConfigIdentityComposed
AgentConfigIdentity defines model for AgentConfigIdentity.
type AgentConfigIdentityFields ¶
type AgentConfigIdentityFields struct {
KeyCredentialCertificatePolicyId string `json:"keyCredentialCertificatePolicyId"`
}
AgentConfigIdentityFields defines model for AgentConfigIdentityFields.
type AgentConfigName ¶
type AgentConfigName string
AgentConfigName defines model for AgentConfigName.
const ( AgentConfigNameEndpoint AgentConfigName = "endpoint" AgentConfigNameIdentity AgentConfigName = "identity" )
Defines values for AgentConfigName.
type AgentConfigRef ¶
type AgentConfigRef struct { Name AgentConfigName `json:"name"` Updated time.Time `json:"updated"` Version string `json:"version"` }
AgentConfigRef defines model for AgentConfigRef.
type AgentConfigResponse ¶
type AgentConfigResponse = AgentConfig
AgentConfigResponse defines model for AgentConfigResponse.
type AgentInstance ¶
type AgentInstance = agentInstanceComposed
AgentInstance defines model for AgentInstance.
type AgentInstanceFields ¶
type AgentInstanceFields struct { JwtVerifyKeyId string `json:"jwtVerifyKeyId"` TlsCertificateId string `json:"tlsCertificateId"` TLSCertificateSignedByPublicCA bool `json:"tlsCertificateSignedByPublicCa"` }
AgentInstanceFields defines model for AgentInstanceFields.
type AgentInstanceParameters ¶
type AgentInstanceParameters struct { BuildId string `json:"buildId"` ConfigVersion string `json:"configVersion"` Endpoint string `json:"endpoint"` JwtVerifyKeyId string `json:"jwtVerifyKeyId"` State AgentInstanceState `json:"state"` TlsCertificateId string `json:"tlsCertificateId"` TLSCertificateSignedByPublicCA bool `json:"tlsCertificateSignedByPublicCa"` }
AgentInstanceParameters defines model for AgentInstanceParameters.
type AgentInstanceRef ¶
type AgentInstanceRef = agentInstanceRefComposed
AgentInstanceRef defines model for AgentInstanceRef.
type AgentInstanceRefFields ¶
type AgentInstanceRefFields struct { BuildId string `json:"buildId"` ConfigVersion string `json:"configVersion"` Endpoint string `json:"endpoint"` State AgentInstanceState `json:"state"` }
AgentInstanceRefFields defines model for AgentInstanceRefFields.
type AgentInstanceResponse ¶
type AgentInstanceResponse = AgentInstance
AgentInstanceResponse defines model for AgentInstanceResponse.
type AgentInstanceState ¶
type AgentInstanceState string
AgentInstanceState defines model for AgentInstanceState.
const ( AgentInstanceStateRunning AgentInstanceState = "running" AgentInstanceStateStopped AgentInstanceState = "stopped" )
Defines values for AgentInstanceState.
type CreateAgentConfigRequest ¶
type CreateAgentConfigRequest struct {
// contains filtered or unexported fields
}
CreateAgentConfigRequest defines model for CreateAgentConfigRequest.
func (CreateAgentConfigRequest) AsAgentConfigEndpointFields ¶
func (t CreateAgentConfigRequest) AsAgentConfigEndpointFields() (AgentConfigEndpointFields, error)
AsAgentConfigEndpointFields returns the union data inside the CreateAgentConfigRequest as a AgentConfigEndpointFields
func (CreateAgentConfigRequest) AsAgentConfigIdentityFields ¶
func (t CreateAgentConfigRequest) AsAgentConfigIdentityFields() (AgentConfigIdentityFields, error)
AsAgentConfigIdentityFields returns the union data inside the CreateAgentConfigRequest as a AgentConfigIdentityFields
func (*CreateAgentConfigRequest) FromAgentConfigEndpointFields ¶
func (t *CreateAgentConfigRequest) FromAgentConfigEndpointFields(v AgentConfigEndpointFields) error
FromAgentConfigEndpointFields overwrites any union data inside the CreateAgentConfigRequest as the provided AgentConfigEndpointFields
func (*CreateAgentConfigRequest) FromAgentConfigIdentityFields ¶
func (t *CreateAgentConfigRequest) FromAgentConfigIdentityFields(v AgentConfigIdentityFields) error
FromAgentConfigIdentityFields overwrites any union data inside the CreateAgentConfigRequest as the provided AgentConfigIdentityFields
func (CreateAgentConfigRequest) MarshalJSON ¶
func (t CreateAgentConfigRequest) MarshalJSON() ([]byte, error)
func (*CreateAgentConfigRequest) MergeAgentConfigEndpointFields ¶
func (t *CreateAgentConfigRequest) MergeAgentConfigEndpointFields(v AgentConfigEndpointFields) error
MergeAgentConfigEndpointFields performs a merge with any union data inside the CreateAgentConfigRequest, using the provided AgentConfigEndpointFields
func (*CreateAgentConfigRequest) MergeAgentConfigIdentityFields ¶
func (t *CreateAgentConfigRequest) MergeAgentConfigIdentityFields(v AgentConfigIdentityFields) error
MergeAgentConfigIdentityFields performs a merge with any union data inside the CreateAgentConfigRequest, using the provided AgentConfigIdentityFields
func (*CreateAgentConfigRequest) UnmarshalJSON ¶
func (t *CreateAgentConfigRequest) UnmarshalJSON(b []byte) error
type CreateAgentRequest ¶
type CreateAgentRequest struct { // AppId The Application ID (Client ID) of the agent AppId string `json:"appId,omitempty"` // DisplayName The display name of the agent application DisplayName string `json:"displayName,omitempty"` }
CreateAgentRequest defines model for CreateAgentRequest.
type DockerContainer ¶
DockerContainer defines model for DockerContainer.
type DockerImageSummary ¶
type DockerImageSummary = types.ImageSummary
DockerImageSummary defines model for DockerImageSummary.
type DockerNetworkResource ¶
type DockerNetworkResource = types.NetworkResource
DockerNetworkResource defines model for DockerNetworkResource.
type PullImageRequest ¶
type PullImageRequest struct { ImageRepo string `json:"imageRepo"` ImageTag string `json:"imageTag"` }
PullImageRequest defines model for PullImageRequest.