Documentation
¶
Index ¶
- Constants
- type AzureKeyVaultPolicyInput
- type ClientIPConfig
- type CloudClient
- type CloudClientImpl
- func (c *CloudClientImpl) ReportCiliumClusterWideNetworkPolicies(ctx context.Context, policies []NetworkPolicyInput) error
- func (c *CloudClientImpl) ReportComponentStatus(ctx context.Context, component ComponentType) error
- func (c *CloudClientImpl) ReportDiscoveredIntents(ctx context.Context, intents []*DiscoveredIntentInput) error
- func (c *CloudClientImpl) ReportExternalTrafficDiscoveredIntents(ctx context.Context, intents []ExternalTrafficDiscoveredIntentInput) error
- func (c *CloudClientImpl) ReportIncomingTrafficDiscoveredIntents(ctx context.Context, intents []IncomingTrafficDiscoveredIntentInput) error
- func (c *CloudClientImpl) ReportK8sIngresses(ctx context.Context, namespace string, ingresses []K8sIngressInput) error
- func (c *CloudClientImpl) ReportK8sResourceEligibleForMetricsCollection(ctx context.Context, namespace string, ...) error
- func (c *CloudClientImpl) ReportK8sServices(ctx context.Context, namespace string, services []K8sServiceInput) error
- func (c *CloudClientImpl) ReportK8sWebhookServices(ctx context.Context, services []K8sWebhookServiceInput) error
- func (c *CloudClientImpl) ReportNamespaceLabels(ctx context.Context, namespace string, labels []LabelInput) error
- func (c *CloudClientImpl) ReportNetworkPolicies(ctx context.Context, namespace string, policies []NetworkPolicyInput) error
- func (c *CloudClientImpl) ReportTrafficLevels(ctx context.Context, trafficLevels []TrafficLevelInput) error
- func (c *CloudClientImpl) ReportWorkloadsMetadata(ctx context.Context, workloadsMetadata []ReportServiceMetadataInput) error
- type ComponentType
- type ConnectionsCount
- type DNSIPPairInput
- type DatabaseConfigInput
- type DatabaseOperation
- type DiscoveredIntentInput
- type EligibleForMetricsCollectionReason
- type ExternalTrafficDiscoveredIntentInput
- type ExternalTrafficIntentInput
- func (v *ExternalTrafficIntentInput) GetClientName() string
- func (v *ExternalTrafficIntentInput) GetConnectionsCount() nilable.Nilable[ConnectionsCount]
- func (v *ExternalTrafficIntentInput) GetNamespace() string
- func (v *ExternalTrafficIntentInput) GetTarget() DNSIPPairInput
- func (v *ExternalTrafficIntentInput) GetTtl() nilable.Nilable[time.Time]
- type HTTPConfigInput
- type HTTPMethod
- type IPFamily
- type IncomingInternetSourceInput
- type IncomingTrafficDiscoveredIntentInput
- type IncomingTrafficIntentInput
- type IntOrStringInput
- type IntentInput
- func (v *IntentInput) GetAwsActions() []*string
- func (v *IntentInput) GetAwsRole() *string
- func (v *IntentInput) GetAzureActions() []*string
- func (v *IntentInput) GetAzureDataActions() []*string
- func (v *IntentInput) GetAzureKeyVaultPolicy() *AzureKeyVaultPolicyInput
- func (v *IntentInput) GetAzureRoles() []*string
- func (v *IntentInput) GetClientName() *string
- func (v *IntentInput) GetClientNameResolvedUsingAnnotation() *bool
- func (v *IntentInput) GetClientResolutionData() *string
- func (v *IntentInput) GetClientWorkloadKind() *string
- func (v *IntentInput) GetConnectionsCount() *ConnectionsCount
- func (v *IntentInput) GetDatabaseResources() []*DatabaseConfigInput
- func (v *IntentInput) GetGcpPermissions() []*string
- func (v *IntentInput) GetInternet() *InternetConfigInput
- func (v *IntentInput) GetNamespace() *string
- func (v *IntentInput) GetResolutionData() *string
- func (v *IntentInput) GetResources() []*HTTPConfigInput
- func (v *IntentInput) GetServerAlias() *ServerAliasInput
- func (v *IntentInput) GetServerName() *string
- func (v *IntentInput) GetServerNameResolvedUsingAnnotation() *bool
- func (v *IntentInput) GetServerNamespace() *string
- func (v *IntentInput) GetServerResolutionData() *string
- func (v *IntentInput) GetServerWorkloadKind() *string
- func (v *IntentInput) GetStatus() *IntentStatusInput
- func (v *IntentInput) GetTopics() []*KafkaConfigInput
- func (v *IntentInput) GetType() *IntentType
- type IntentStatusInput
- type IntentType
- type InternetConfigInput
- type IpFamilyPolicy
- type IstioStatusInput
- type K8sIngressBackendInput
- type K8sIngressHttpPathInput
- type K8sIngressInput
- type K8sIngressResourceBackendInput
- type K8sIngressRuleInput
- type K8sIngressServiceBackendInput
- type K8sIngressTLSInput
- type K8sPortProtocol
- type K8sResourceEligibleForMetricsCollectionInput
- type K8sResourceIngressInput
- type K8sResourceIngressSpecInput
- func (v *K8sResourceIngressSpecInput) GetDefaultBackend() nilable.Nilable[K8sIngressBackendInput]
- func (v *K8sResourceIngressSpecInput) GetIngressClassName() nilable.Nilable[string]
- func (v *K8sResourceIngressSpecInput) GetRules() []K8sIngressRuleInput
- func (v *K8sResourceIngressSpecInput) GetTls() []K8sIngressTLSInput
- type K8sResourceIngressStatusInput
- type K8sResourceLoadBalancerIngressInput
- type K8sResourceServiceInput
- type K8sResourceServiceLoadBalancerIngressInput
- func (v *K8sResourceServiceLoadBalancerIngressInput) GetHostname() nilable.Nilable[string]
- func (v *K8sResourceServiceLoadBalancerIngressInput) GetIp() nilable.Nilable[string]
- func (v *K8sResourceServiceLoadBalancerIngressInput) GetIpMode() nilable.Nilable[LoadBalancerIPMode]
- func (v *K8sResourceServiceLoadBalancerIngressInput) GetPorts() []PortStatusInput
- type K8sResourceServiceLoadBalancerStatusInput
- type K8sResourceServiceSpecInput
- func (v *K8sResourceServiceSpecInput) GetAllocateLoadBalancerNodePorts() nilable.Nilable[bool]
- func (v *K8sResourceServiceSpecInput) GetClusterIP() nilable.Nilable[string]
- func (v *K8sResourceServiceSpecInput) GetClusterIPs() []string
- func (v *K8sResourceServiceSpecInput) GetExternalIPs() []string
- func (v *K8sResourceServiceSpecInput) GetExternalName() nilable.Nilable[string]
- func (v *K8sResourceServiceSpecInput) GetExternalTrafficPolicy() nilable.Nilable[ServiceExternalTrafficPolicy]
- func (v *K8sResourceServiceSpecInput) GetHealthCheckNodePort() nilable.Nilable[int]
- func (v *K8sResourceServiceSpecInput) GetInternalTrafficPolicy() nilable.Nilable[ServiceInternalTrafficPolicy]
- func (v *K8sResourceServiceSpecInput) GetIpFamilies() []IPFamily
- func (v *K8sResourceServiceSpecInput) GetIpFamilyPolicy() nilable.Nilable[IpFamilyPolicy]
- func (v *K8sResourceServiceSpecInput) GetLoadBalancerClass() nilable.Nilable[string]
- func (v *K8sResourceServiceSpecInput) GetLoadBalancerIP() nilable.Nilable[string]
- func (v *K8sResourceServiceSpecInput) GetLoadBalancerSourceRanges() []string
- func (v *K8sResourceServiceSpecInput) GetPorts() []K8sServicePort
- func (v *K8sResourceServiceSpecInput) GetPublishNotReadyAddresses() nilable.Nilable[bool]
- func (v *K8sResourceServiceSpecInput) GetSelector() []SelectorKeyValueInput
- func (v *K8sResourceServiceSpecInput) GetSessionAffinity() nilable.Nilable[SessionAffinity]
- func (v *K8sResourceServiceSpecInput) GetSessionAffinityConfig() nilable.Nilable[SessionAffinityConfig]
- func (v *K8sResourceServiceSpecInput) GetType() nilable.Nilable[K8sServiceType]
- type K8sResourceServiceStatusInput
- type K8sServiceInput
- type K8sServicePort
- func (v *K8sServicePort) GetAppProtocol() nilable.Nilable[string]
- func (v *K8sServicePort) GetName() nilable.Nilable[string]
- func (v *K8sServicePort) GetNodePort() nilable.Nilable[int]
- func (v *K8sServicePort) GetPort() int
- func (v *K8sServicePort) GetProtocol() nilable.Nilable[K8sPortProtocol]
- func (v *K8sServicePort) GetTargetPort() nilable.Nilable[IntOrStringInput]
- type K8sServiceType
- type K8sWebhookServiceInput
- type KafkaConfigInput
- type KafkaOperation
- type LabelInput
- type LoadBalancerIPMode
- type NamedPortInput
- type NetworkPolicyInput
- type PathType
- type PortStatusInput
- type ReportCiliumClusterWideNetworkPoliciesResponse
- type ReportComponentStatusResponse
- type ReportDiscoveredIntentsResponse
- type ReportExternalTrafficDiscoveredIntentsResponse
- type ReportIncomingTrafficDiscoveredIntentsResponse
- type ReportK8sIngressesResponse
- type ReportK8sResourceEligibleForMetricsCollectionResponse
- type ReportK8sServicesResponse
- type ReportK8sWebhookServicesResponse
- type ReportNamespaceLabelsResponse
- type ReportNetworkPoliciesResponse
- type ReportServiceMetadataInput
- type ReportTrafficLevelsResponse
- type ReportWorkloadsMetadataResponse
- type SelectorKeyValueInput
- type ServerAliasInput
- type ServiceBackendPortInput
- type ServiceExternalTrafficPolicy
- type ServiceIdentityInput
- type ServiceInternalTrafficPolicy
- type ServiceMetadataInput
- type SessionAffinity
- type SessionAffinityConfig
- type TrafficLevelInput
- func (v *TrafficLevelInput) GetClientName() string
- func (v *TrafficLevelInput) GetClientNamespace() string
- func (v *TrafficLevelInput) GetDataBytesPerSecond() int
- func (v *TrafficLevelInput) GetFlowsCountPerSecond() int
- func (v *TrafficLevelInput) GetServerName() string
- func (v *TrafficLevelInput) GetServerNamespace() string
- type WebhookType
Constants ¶
const ReportCiliumClusterWideNetworkPolicies_Operation = `` /* 154-byte string literal not displayed */
The query or mutation executed by ReportCiliumClusterWideNetworkPolicies.
const ReportComponentStatus_Operation = `
mutation ReportComponentStatus ($component: ComponentType!) {
reportIntegrationComponentStatus(component: $component)
}
`
The query or mutation executed by ReportComponentStatus.
const ReportDiscoveredIntents_Operation = `
mutation ReportDiscoveredIntents ($intents: [DiscoveredIntentInput!]!) {
reportDiscoveredIntents(intents: $intents)
}
`
The query or mutation executed by ReportDiscoveredIntents.
const ReportExternalTrafficDiscoveredIntents_Operation = `` /* 165-byte string literal not displayed */
The query or mutation executed by ReportExternalTrafficDiscoveredIntents.
const ReportIncomingTrafficDiscoveredIntents_Operation = `` /* 165-byte string literal not displayed */
The query or mutation executed by ReportIncomingTrafficDiscoveredIntents.
const ReportK8sIngresses_Operation = `` /* 154-byte string literal not displayed */
The query or mutation executed by ReportK8sIngresses.
const ReportK8sResourceEligibleForMetricsCollection_Operation = `` /* 300-byte string literal not displayed */
The query or mutation executed by ReportK8sResourceEligibleForMetricsCollection.
const ReportK8sServices_Operation = `` /* 149-byte string literal not displayed */
The query or mutation executed by ReportK8sServices.
const ReportK8sWebhookServices_Operation = `` /* 126-byte string literal not displayed */
The query or mutation executed by ReportK8sWebhookServices.
const ReportNamespaceLabels_Operation = `` /* 131-byte string literal not displayed */
The query or mutation executed by ReportNamespaceLabels.
const ReportNetworkPolicies_Operation = `` /* 181-byte string literal not displayed */
The query or mutation executed by ReportNetworkPolicies.
const ReportTrafficLevels_Operation = `` /* 126-byte string literal not displayed */
The query or mutation executed by ReportTrafficLevels.
const ReportWorkloadsMetadata_Operation = `` /* 145-byte string literal not displayed */
The query or mutation executed by ReportWorkloadsMetadata.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureKeyVaultPolicyInput ¶
type AzureKeyVaultPolicyInput struct {
CertificatePermissions []*string `json:"certificatePermissions"`
KeyPermissions []*string `json:"keyPermissions"`
SecretPermissions []*string `json:"secretPermissions"`
StoragePermissions []*string `json:"storagePermissions"`
}
func (*AzureKeyVaultPolicyInput) GetCertificatePermissions ¶
func (v *AzureKeyVaultPolicyInput) GetCertificatePermissions() []*string
GetCertificatePermissions returns AzureKeyVaultPolicyInput.CertificatePermissions, and is useful for accessing the field via an interface.
func (*AzureKeyVaultPolicyInput) GetKeyPermissions ¶
func (v *AzureKeyVaultPolicyInput) GetKeyPermissions() []*string
GetKeyPermissions returns AzureKeyVaultPolicyInput.KeyPermissions, and is useful for accessing the field via an interface.
func (*AzureKeyVaultPolicyInput) GetSecretPermissions ¶
func (v *AzureKeyVaultPolicyInput) GetSecretPermissions() []*string
GetSecretPermissions returns AzureKeyVaultPolicyInput.SecretPermissions, and is useful for accessing the field via an interface.
func (*AzureKeyVaultPolicyInput) GetStoragePermissions ¶
func (v *AzureKeyVaultPolicyInput) GetStoragePermissions() []*string
GetStoragePermissions returns AzureKeyVaultPolicyInput.StoragePermissions, and is useful for accessing the field via an interface.
type ClientIPConfig ¶
func (*ClientIPConfig) GetTimeoutSeconds ¶
func (v *ClientIPConfig) GetTimeoutSeconds() nilable.Nilable[int]
GetTimeoutSeconds returns ClientIPConfig.TimeoutSeconds, and is useful for accessing the field via an interface.
type CloudClient ¶
type CloudClient interface {
ReportDiscoveredIntents(ctx context.Context, intents []*DiscoveredIntentInput) error
ReportComponentStatus(ctx context.Context, component ComponentType) error
ReportExternalTrafficDiscoveredIntents(ctx context.Context, intents []ExternalTrafficDiscoveredIntentInput) error
ReportIncomingTrafficDiscoveredIntents(ctx context.Context, intents []IncomingTrafficDiscoveredIntentInput) error
ReportK8sServices(ctx context.Context, namespace string, services []K8sServiceInput) error
ReportK8sIngresses(ctx context.Context, namespace string, ingresses []K8sIngressInput) error
ReportTrafficLevels(ctx context.Context, trafficLevels []TrafficLevelInput) error
ReportNamespaceLabels(ctx context.Context, namespace string, labels []LabelInput) error
ReportWorkloadsMetadata(ctx context.Context, workloadsLabels []ReportServiceMetadataInput) error
ReportK8sResourceEligibleForMetricsCollection(ctx context.Context, namespace string, reason EligibleForMetricsCollectionReason, resources []K8sResourceEligibleForMetricsCollectionInput) error
ReportNetworkPolicies(ctx context.Context, namespace string, policies []NetworkPolicyInput) error
ReportCiliumClusterWideNetworkPolicies(ctx context.Context, policies []NetworkPolicyInput) error
ReportK8sWebhookServices(ctx context.Context, services []K8sWebhookServiceInput) error
}
type CloudClientImpl ¶
type CloudClientImpl struct {
// contains filtered or unexported fields
}
func (*CloudClientImpl) ReportCiliumClusterWideNetworkPolicies ¶
func (c *CloudClientImpl) ReportCiliumClusterWideNetworkPolicies( ctx context.Context, policies []NetworkPolicyInput, ) error
func (*CloudClientImpl) ReportComponentStatus ¶
func (c *CloudClientImpl) ReportComponentStatus(ctx context.Context, component ComponentType) error
func (*CloudClientImpl) ReportDiscoveredIntents ¶
func (c *CloudClientImpl) ReportDiscoveredIntents(ctx context.Context, intents []*DiscoveredIntentInput) error
func (*CloudClientImpl) ReportExternalTrafficDiscoveredIntents ¶
func (c *CloudClientImpl) ReportExternalTrafficDiscoveredIntents(ctx context.Context, intents []ExternalTrafficDiscoveredIntentInput) error
func (*CloudClientImpl) ReportIncomingTrafficDiscoveredIntents ¶
func (c *CloudClientImpl) ReportIncomingTrafficDiscoveredIntents(ctx context.Context, intents []IncomingTrafficDiscoveredIntentInput) error
func (*CloudClientImpl) ReportK8sIngresses ¶
func (c *CloudClientImpl) ReportK8sIngresses(ctx context.Context, namespace string, ingresses []K8sIngressInput) error
func (*CloudClientImpl) ReportK8sResourceEligibleForMetricsCollection ¶
func (c *CloudClientImpl) ReportK8sResourceEligibleForMetricsCollection(ctx context.Context, namespace string, reason EligibleForMetricsCollectionReason, resources []K8sResourceEligibleForMetricsCollectionInput) error
func (*CloudClientImpl) ReportK8sServices ¶
func (c *CloudClientImpl) ReportK8sServices(ctx context.Context, namespace string, services []K8sServiceInput) error
func (*CloudClientImpl) ReportK8sWebhookServices ¶
func (c *CloudClientImpl) ReportK8sWebhookServices(ctx context.Context, services []K8sWebhookServiceInput) error
func (*CloudClientImpl) ReportNamespaceLabels ¶
func (c *CloudClientImpl) ReportNamespaceLabels(ctx context.Context, namespace string, labels []LabelInput) error
func (*CloudClientImpl) ReportNetworkPolicies ¶
func (c *CloudClientImpl) ReportNetworkPolicies( ctx context.Context, namespace string, policies []NetworkPolicyInput, ) error
func (*CloudClientImpl) ReportTrafficLevels ¶
func (c *CloudClientImpl) ReportTrafficLevels( ctx context.Context, trafficLevels []TrafficLevelInput, ) error
func (*CloudClientImpl) ReportWorkloadsMetadata ¶
func (c *CloudClientImpl) ReportWorkloadsMetadata(ctx context.Context, workloadsMetadata []ReportServiceMetadataInput) error
type ComponentType ¶
type ComponentType string
const ( ComponentTypeIntentsOperator ComponentType = "INTENTS_OPERATOR" ComponentTypeCredentialsOperator ComponentType = "CREDENTIALS_OPERATOR" ComponentTypeNetworkMapper ComponentType = "NETWORK_MAPPER" )
type ConnectionsCount ¶
type ConnectionsCount struct {
Current *int `json:"current"`
Removed *int `json:"removed"`
Added *int `json:"added"`
}
func (*ConnectionsCount) GetAdded ¶
func (v *ConnectionsCount) GetAdded() *int
GetAdded returns ConnectionsCount.Added, and is useful for accessing the field via an interface.
func (*ConnectionsCount) GetCurrent ¶
func (v *ConnectionsCount) GetCurrent() *int
GetCurrent returns ConnectionsCount.Current, and is useful for accessing the field via an interface.
func (*ConnectionsCount) GetRemoved ¶
func (v *ConnectionsCount) GetRemoved() *int
GetRemoved returns ConnectionsCount.Removed, and is useful for accessing the field via an interface.
type DNSIPPairInput ¶
func (*DNSIPPairInput) GetDnsName ¶
func (v *DNSIPPairInput) GetDnsName() *string
GetDnsName returns DNSIPPairInput.DnsName, and is useful for accessing the field via an interface.
func (*DNSIPPairInput) GetIps ¶
func (v *DNSIPPairInput) GetIps() []*string
GetIps returns DNSIPPairInput.Ips, and is useful for accessing the field via an interface.
type DatabaseConfigInput ¶
type DatabaseConfigInput struct {
Dbname *string `json:"dbname"`
Table *string `json:"table"`
Operations []*DatabaseOperation `json:"operations"`
}
func (*DatabaseConfigInput) GetDbname ¶
func (v *DatabaseConfigInput) GetDbname() *string
GetDbname returns DatabaseConfigInput.Dbname, and is useful for accessing the field via an interface.
func (*DatabaseConfigInput) GetOperations ¶
func (v *DatabaseConfigInput) GetOperations() []*DatabaseOperation
GetOperations returns DatabaseConfigInput.Operations, and is useful for accessing the field via an interface.
func (*DatabaseConfigInput) GetTable ¶
func (v *DatabaseConfigInput) GetTable() *string
GetTable returns DatabaseConfigInput.Table, and is useful for accessing the field via an interface.
type DatabaseOperation ¶
type DatabaseOperation string
const ( DatabaseOperationAll DatabaseOperation = "ALL" DatabaseOperationSelect DatabaseOperation = "SELECT" DatabaseOperationInsert DatabaseOperation = "INSERT" DatabaseOperationUpdate DatabaseOperation = "UPDATE" DatabaseOperationDelete DatabaseOperation = "DELETE" )
type DiscoveredIntentInput ¶
type DiscoveredIntentInput struct {
DiscoveredAt *time.Time `json:"discoveredAt"`
Intent *IntentInput `json:"intent"`
}
func (*DiscoveredIntentInput) GetDiscoveredAt ¶
func (v *DiscoveredIntentInput) GetDiscoveredAt() *time.Time
GetDiscoveredAt returns DiscoveredIntentInput.DiscoveredAt, and is useful for accessing the field via an interface.
func (*DiscoveredIntentInput) GetIntent ¶
func (v *DiscoveredIntentInput) GetIntent() *IntentInput
GetIntent returns DiscoveredIntentInput.Intent, and is useful for accessing the field via an interface.
type EligibleForMetricsCollectionReason ¶
type EligibleForMetricsCollectionReason string
const ( EligibleForMetricsCollectionReasonPodAnnotations EligibleForMetricsCollectionReason = "POD_ANNOTATIONS" EligibleForMetricsCollectionReasonServiceAnnotations EligibleForMetricsCollectionReason = "SERVICE_ANNOTATIONS" )
type ExternalTrafficDiscoveredIntentInput ¶
type ExternalTrafficDiscoveredIntentInput struct {
DiscoveredAt time.Time `json:"discoveredAt"`
Intent ExternalTrafficIntentInput `json:"intent"`
}
func (*ExternalTrafficDiscoveredIntentInput) GetDiscoveredAt ¶
func (v *ExternalTrafficDiscoveredIntentInput) GetDiscoveredAt() time.Time
GetDiscoveredAt returns ExternalTrafficDiscoveredIntentInput.DiscoveredAt, and is useful for accessing the field via an interface.
func (*ExternalTrafficDiscoveredIntentInput) GetIntent ¶
func (v *ExternalTrafficDiscoveredIntentInput) GetIntent() ExternalTrafficIntentInput
GetIntent returns ExternalTrafficDiscoveredIntentInput.Intent, and is useful for accessing the field via an interface.
type ExternalTrafficIntentInput ¶
type ExternalTrafficIntentInput struct {
Namespace string `json:"namespace"`
ClientName string `json:"clientName"`
Target DNSIPPairInput `json:"target"`
ConnectionsCount nilable.Nilable[ConnectionsCount] `json:"connectionsCount"`
Ttl nilable.Nilable[time.Time] `json:"ttl"`
}
func (*ExternalTrafficIntentInput) GetClientName ¶
func (v *ExternalTrafficIntentInput) GetClientName() string
GetClientName returns ExternalTrafficIntentInput.ClientName, and is useful for accessing the field via an interface.
func (*ExternalTrafficIntentInput) GetConnectionsCount ¶
func (v *ExternalTrafficIntentInput) GetConnectionsCount() nilable.Nilable[ConnectionsCount]
GetConnectionsCount returns ExternalTrafficIntentInput.ConnectionsCount, and is useful for accessing the field via an interface.
func (*ExternalTrafficIntentInput) GetNamespace ¶
func (v *ExternalTrafficIntentInput) GetNamespace() string
GetNamespace returns ExternalTrafficIntentInput.Namespace, and is useful for accessing the field via an interface.
func (*ExternalTrafficIntentInput) GetTarget ¶
func (v *ExternalTrafficIntentInput) GetTarget() DNSIPPairInput
GetTarget returns ExternalTrafficIntentInput.Target, and is useful for accessing the field via an interface.
type HTTPConfigInput ¶
type HTTPConfigInput struct {
Path *string `json:"path"`
Methods []*HTTPMethod `json:"methods"`
}
func (*HTTPConfigInput) GetMethods ¶
func (v *HTTPConfigInput) GetMethods() []*HTTPMethod
GetMethods returns HTTPConfigInput.Methods, and is useful for accessing the field via an interface.
func (*HTTPConfigInput) GetPath ¶
func (v *HTTPConfigInput) GetPath() *string
GetPath returns HTTPConfigInput.Path, and is useful for accessing the field via an interface.
type HTTPMethod ¶
type HTTPMethod string
const ( HTTPMethodGet HTTPMethod = "GET" HTTPMethodPost HTTPMethod = "POST" HTTPMethodPut HTTPMethod = "PUT" HTTPMethodDelete HTTPMethod = "DELETE" HTTPMethodOptions HTTPMethod = "OPTIONS" HTTPMethodTrace HTTPMethod = "TRACE" HTTPMethodPatch HTTPMethod = "PATCH" HTTPMethodConnect HTTPMethod = "CONNECT" HTTPMethodAll HTTPMethod = "ALL" )
type IncomingInternetSourceInput ¶
type IncomingInternetSourceInput struct {
Ip string `json:"ip"`
}
func (*IncomingInternetSourceInput) GetIp ¶
func (v *IncomingInternetSourceInput) GetIp() string
GetIp returns IncomingInternetSourceInput.Ip, and is useful for accessing the field via an interface.
type IncomingTrafficDiscoveredIntentInput ¶
type IncomingTrafficDiscoveredIntentInput struct {
DiscoveredAt time.Time `json:"discoveredAt"`
Intent IncomingTrafficIntentInput `json:"intent"`
}
func (*IncomingTrafficDiscoveredIntentInput) GetDiscoveredAt ¶
func (v *IncomingTrafficDiscoveredIntentInput) GetDiscoveredAt() time.Time
GetDiscoveredAt returns IncomingTrafficDiscoveredIntentInput.DiscoveredAt, and is useful for accessing the field via an interface.
func (*IncomingTrafficDiscoveredIntentInput) GetIntent ¶
func (v *IncomingTrafficDiscoveredIntentInput) GetIntent() IncomingTrafficIntentInput
GetIntent returns IncomingTrafficDiscoveredIntentInput.Intent, and is useful for accessing the field via an interface.
type IncomingTrafficIntentInput ¶
type IncomingTrafficIntentInput struct {
ServerName string `json:"serverName"`
Namespace string `json:"namespace"`
Source IncomingInternetSourceInput `json:"source"`
ConnectionsCount nilable.Nilable[ConnectionsCount] `json:"connectionsCount"`
}
func (*IncomingTrafficIntentInput) GetConnectionsCount ¶
func (v *IncomingTrafficIntentInput) GetConnectionsCount() nilable.Nilable[ConnectionsCount]
GetConnectionsCount returns IncomingTrafficIntentInput.ConnectionsCount, and is useful for accessing the field via an interface.
func (*IncomingTrafficIntentInput) GetNamespace ¶
func (v *IncomingTrafficIntentInput) GetNamespace() string
GetNamespace returns IncomingTrafficIntentInput.Namespace, and is useful for accessing the field via an interface.
func (*IncomingTrafficIntentInput) GetServerName ¶
func (v *IncomingTrafficIntentInput) GetServerName() string
GetServerName returns IncomingTrafficIntentInput.ServerName, and is useful for accessing the field via an interface.
func (*IncomingTrafficIntentInput) GetSource ¶
func (v *IncomingTrafficIntentInput) GetSource() IncomingInternetSourceInput
GetSource returns IncomingTrafficIntentInput.Source, and is useful for accessing the field via an interface.
type IntOrStringInput ¶
type IntOrStringInput struct {
IsInt bool `json:"isInt"`
IntVal nilable.Nilable[int] `json:"intVal"`
StrVal nilable.Nilable[string] `json:"strVal"`
}
func (*IntOrStringInput) GetIntVal ¶
func (v *IntOrStringInput) GetIntVal() nilable.Nilable[int]
GetIntVal returns IntOrStringInput.IntVal, and is useful for accessing the field via an interface.
func (*IntOrStringInput) GetIsInt ¶
func (v *IntOrStringInput) GetIsInt() bool
GetIsInt returns IntOrStringInput.IsInt, and is useful for accessing the field via an interface.
type IntentInput ¶
type IntentInput struct {
Namespace *string `json:"namespace"`
ClientName *string `json:"clientName"`
ClientResolutionData *string `json:"clientResolutionData"`
ClientWorkloadKind *string `json:"clientWorkloadKind"`
ClientNameResolvedUsingAnnotation *bool `json:"clientNameResolvedUsingAnnotation"`
ServerName *string `json:"serverName"`
ServerResolutionData *string `json:"serverResolutionData"`
ServerWorkloadKind *string `json:"serverWorkloadKind"`
ServerNameResolvedUsingAnnotation *bool `json:"serverNameResolvedUsingAnnotation"`
ServerAlias *ServerAliasInput `json:"serverAlias"`
ServerNamespace *string `json:"serverNamespace"`
Type *IntentType `json:"type"`
Topics []*KafkaConfigInput `json:"topics"`
Resources []*HTTPConfigInput `json:"resources"`
DatabaseResources []*DatabaseConfigInput `json:"databaseResources"`
AwsRole *string `json:"awsRole"`
AwsActions []*string `json:"awsActions"`
AzureRoles []*string `json:"azureRoles"`
AzureActions []*string `json:"azureActions"`
AzureDataActions []*string `json:"azureDataActions"`
AzureKeyVaultPolicy *AzureKeyVaultPolicyInput `json:"azureKeyVaultPolicy"`
GcpPermissions []*string `json:"gcpPermissions"`
Internet *InternetConfigInput `json:"internet"`
Status *IntentStatusInput `json:"status"`
ResolutionData *string `json:"resolutionData"`
ConnectionsCount *ConnectionsCount `json:"connectionsCount"`
}
func (*IntentInput) GetAwsActions ¶
func (v *IntentInput) GetAwsActions() []*string
GetAwsActions returns IntentInput.AwsActions, and is useful for accessing the field via an interface.
func (*IntentInput) GetAwsRole ¶
func (v *IntentInput) GetAwsRole() *string
GetAwsRole returns IntentInput.AwsRole, and is useful for accessing the field via an interface.
func (*IntentInput) GetAzureActions ¶
func (v *IntentInput) GetAzureActions() []*string
GetAzureActions returns IntentInput.AzureActions, and is useful for accessing the field via an interface.
func (*IntentInput) GetAzureDataActions ¶
func (v *IntentInput) GetAzureDataActions() []*string
GetAzureDataActions returns IntentInput.AzureDataActions, and is useful for accessing the field via an interface.
func (*IntentInput) GetAzureKeyVaultPolicy ¶
func (v *IntentInput) GetAzureKeyVaultPolicy() *AzureKeyVaultPolicyInput
GetAzureKeyVaultPolicy returns IntentInput.AzureKeyVaultPolicy, and is useful for accessing the field via an interface.
func (*IntentInput) GetAzureRoles ¶
func (v *IntentInput) GetAzureRoles() []*string
GetAzureRoles returns IntentInput.AzureRoles, and is useful for accessing the field via an interface.
func (*IntentInput) GetClientName ¶
func (v *IntentInput) GetClientName() *string
GetClientName returns IntentInput.ClientName, and is useful for accessing the field via an interface.
func (*IntentInput) GetClientNameResolvedUsingAnnotation ¶
func (v *IntentInput) GetClientNameResolvedUsingAnnotation() *bool
GetClientNameResolvedUsingAnnotation returns IntentInput.ClientNameResolvedUsingAnnotation, and is useful for accessing the field via an interface.
func (*IntentInput) GetClientResolutionData ¶
func (v *IntentInput) GetClientResolutionData() *string
GetClientResolutionData returns IntentInput.ClientResolutionData, and is useful for accessing the field via an interface.
func (*IntentInput) GetClientWorkloadKind ¶
func (v *IntentInput) GetClientWorkloadKind() *string
GetClientWorkloadKind returns IntentInput.ClientWorkloadKind, and is useful for accessing the field via an interface.
func (*IntentInput) GetConnectionsCount ¶
func (v *IntentInput) GetConnectionsCount() *ConnectionsCount
GetConnectionsCount returns IntentInput.ConnectionsCount, and is useful for accessing the field via an interface.
func (*IntentInput) GetDatabaseResources ¶
func (v *IntentInput) GetDatabaseResources() []*DatabaseConfigInput
GetDatabaseResources returns IntentInput.DatabaseResources, and is useful for accessing the field via an interface.
func (*IntentInput) GetGcpPermissions ¶
func (v *IntentInput) GetGcpPermissions() []*string
GetGcpPermissions returns IntentInput.GcpPermissions, and is useful for accessing the field via an interface.
func (*IntentInput) GetInternet ¶
func (v *IntentInput) GetInternet() *InternetConfigInput
GetInternet returns IntentInput.Internet, and is useful for accessing the field via an interface.
func (*IntentInput) GetNamespace ¶
func (v *IntentInput) GetNamespace() *string
GetNamespace returns IntentInput.Namespace, and is useful for accessing the field via an interface.
func (*IntentInput) GetResolutionData ¶
func (v *IntentInput) GetResolutionData() *string
GetResolutionData returns IntentInput.ResolutionData, and is useful for accessing the field via an interface.
func (*IntentInput) GetResources ¶
func (v *IntentInput) GetResources() []*HTTPConfigInput
GetResources returns IntentInput.Resources, and is useful for accessing the field via an interface.
func (*IntentInput) GetServerAlias ¶
func (v *IntentInput) GetServerAlias() *ServerAliasInput
GetServerAlias returns IntentInput.ServerAlias, and is useful for accessing the field via an interface.
func (*IntentInput) GetServerName ¶
func (v *IntentInput) GetServerName() *string
GetServerName returns IntentInput.ServerName, and is useful for accessing the field via an interface.
func (*IntentInput) GetServerNameResolvedUsingAnnotation ¶
func (v *IntentInput) GetServerNameResolvedUsingAnnotation() *bool
GetServerNameResolvedUsingAnnotation returns IntentInput.ServerNameResolvedUsingAnnotation, and is useful for accessing the field via an interface.
func (*IntentInput) GetServerNamespace ¶
func (v *IntentInput) GetServerNamespace() *string
GetServerNamespace returns IntentInput.ServerNamespace, and is useful for accessing the field via an interface.
func (*IntentInput) GetServerResolutionData ¶
func (v *IntentInput) GetServerResolutionData() *string
GetServerResolutionData returns IntentInput.ServerResolutionData, and is useful for accessing the field via an interface.
func (*IntentInput) GetServerWorkloadKind ¶
func (v *IntentInput) GetServerWorkloadKind() *string
GetServerWorkloadKind returns IntentInput.ServerWorkloadKind, and is useful for accessing the field via an interface.
func (*IntentInput) GetStatus ¶
func (v *IntentInput) GetStatus() *IntentStatusInput
GetStatus returns IntentInput.Status, and is useful for accessing the field via an interface.
func (*IntentInput) GetTopics ¶
func (v *IntentInput) GetTopics() []*KafkaConfigInput
GetTopics returns IntentInput.Topics, and is useful for accessing the field via an interface.
func (*IntentInput) GetType ¶
func (v *IntentInput) GetType() *IntentType
GetType returns IntentInput.Type, and is useful for accessing the field via an interface.
type IntentStatusInput ¶
type IntentStatusInput struct {
IstioStatus *IstioStatusInput `json:"istioStatus"`
}
func (*IntentStatusInput) GetIstioStatus ¶
func (v *IntentStatusInput) GetIstioStatus() *IstioStatusInput
GetIstioStatus returns IntentStatusInput.IstioStatus, and is useful for accessing the field via an interface.
type IntentType ¶
type IntentType string
const ( IntentTypeKubernetes IntentType = "KUBERNETES" IntentTypeHttp IntentType = "HTTP" IntentTypeKafka IntentType = "KAFKA" IntentTypeDatabase IntentType = "DATABASE" IntentTypeAws IntentType = "AWS" IntentTypeGcp IntentType = "GCP" IntentTypeAzure IntentType = "AZURE" IntentTypeS3 IntentType = "S3" IntentTypeInternet IntentType = "INTERNET" )
type InternetConfigInput ¶
type InternetConfigInput struct {
Domains []*string `json:"domains"`
DiscoveredTarget *DNSIPPairInput `json:"discoveredTarget"`
Ips []*string `json:"ips"`
Ports []*int `json:"ports"`
}
func (*InternetConfigInput) GetDiscoveredTarget ¶
func (v *InternetConfigInput) GetDiscoveredTarget() *DNSIPPairInput
GetDiscoveredTarget returns InternetConfigInput.DiscoveredTarget, and is useful for accessing the field via an interface.
func (*InternetConfigInput) GetDomains ¶
func (v *InternetConfigInput) GetDomains() []*string
GetDomains returns InternetConfigInput.Domains, and is useful for accessing the field via an interface.
func (*InternetConfigInput) GetIps ¶
func (v *InternetConfigInput) GetIps() []*string
GetIps returns InternetConfigInput.Ips, and is useful for accessing the field via an interface.
func (*InternetConfigInput) GetPorts ¶
func (v *InternetConfigInput) GetPorts() []*int
GetPorts returns InternetConfigInput.Ports, and is useful for accessing the field via an interface.
type IpFamilyPolicy ¶
type IpFamilyPolicy string
const ( IpFamilyPolicySingleStack IpFamilyPolicy = "SINGLE_STACK" IpFamilyPolicyPreferDualStack IpFamilyPolicy = "PREFER_DUAL_STACK" IpFamilyPolicyRequireDualStack IpFamilyPolicy = "REQUIRE_DUAL_STACK" )
type IstioStatusInput ¶
type IstioStatusInput struct {
ServiceAccountName *string `json:"serviceAccountName"`
IsServerMissingSidecar *bool `json:"isServerMissingSidecar"`
IsClientMissingSidecar *bool `json:"isClientMissingSidecar"`
}
func (*IstioStatusInput) GetIsClientMissingSidecar ¶
func (v *IstioStatusInput) GetIsClientMissingSidecar() *bool
GetIsClientMissingSidecar returns IstioStatusInput.IsClientMissingSidecar, and is useful for accessing the field via an interface.
func (*IstioStatusInput) GetIsServerMissingSidecar ¶
func (v *IstioStatusInput) GetIsServerMissingSidecar() *bool
GetIsServerMissingSidecar returns IstioStatusInput.IsServerMissingSidecar, and is useful for accessing the field via an interface.
func (*IstioStatusInput) GetIsServiceAccountShared ¶
func (v *IstioStatusInput) GetIsServiceAccountShared() *bool
GetIsServiceAccountShared returns IstioStatusInput.IsServiceAccountShared, and is useful for accessing the field via an interface.
func (*IstioStatusInput) GetServiceAccountName ¶
func (v *IstioStatusInput) GetServiceAccountName() *string
GetServiceAccountName returns IstioStatusInput.ServiceAccountName, and is useful for accessing the field via an interface.
type K8sIngressBackendInput ¶
type K8sIngressBackendInput struct {
Service nilable.Nilable[K8sIngressServiceBackendInput] `json:"service"`
Resource nilable.Nilable[K8sIngressResourceBackendInput] `json:"resource"`
}
func (*K8sIngressBackendInput) GetResource ¶
func (v *K8sIngressBackendInput) GetResource() nilable.Nilable[K8sIngressResourceBackendInput]
GetResource returns K8sIngressBackendInput.Resource, and is useful for accessing the field via an interface.
func (*K8sIngressBackendInput) GetService ¶
func (v *K8sIngressBackendInput) GetService() nilable.Nilable[K8sIngressServiceBackendInput]
GetService returns K8sIngressBackendInput.Service, and is useful for accessing the field via an interface.
type K8sIngressHttpPathInput ¶
type K8sIngressHttpPathInput struct {
Path nilable.Nilable[string] `json:"path"`
PathType nilable.Nilable[PathType] `json:"pathType"`
Backend K8sIngressBackendInput `json:"backend"`
}
func (*K8sIngressHttpPathInput) GetBackend ¶
func (v *K8sIngressHttpPathInput) GetBackend() K8sIngressBackendInput
GetBackend returns K8sIngressHttpPathInput.Backend, and is useful for accessing the field via an interface.
func (*K8sIngressHttpPathInput) GetPath ¶
func (v *K8sIngressHttpPathInput) GetPath() nilable.Nilable[string]
GetPath returns K8sIngressHttpPathInput.Path, and is useful for accessing the field via an interface.
func (*K8sIngressHttpPathInput) GetPathType ¶
func (v *K8sIngressHttpPathInput) GetPathType() nilable.Nilable[PathType]
GetPathType returns K8sIngressHttpPathInput.PathType, and is useful for accessing the field via an interface.
type K8sIngressInput ¶
type K8sIngressInput struct {
Namespace string `json:"namespace"`
Name string `json:"name"`
Ingress K8sResourceIngressInput `json:"ingress"`
}
func (*K8sIngressInput) GetIngress ¶
func (v *K8sIngressInput) GetIngress() K8sResourceIngressInput
GetIngress returns K8sIngressInput.Ingress, and is useful for accessing the field via an interface.
func (*K8sIngressInput) GetName ¶
func (v *K8sIngressInput) GetName() string
GetName returns K8sIngressInput.Name, and is useful for accessing the field via an interface.
func (*K8sIngressInput) GetNamespace ¶
func (v *K8sIngressInput) GetNamespace() string
GetNamespace returns K8sIngressInput.Namespace, and is useful for accessing the field via an interface.
type K8sIngressResourceBackendInput ¶
type K8sIngressResourceBackendInput struct {
ApiGroup nilable.Nilable[string] `json:"apiGroup"`
Kind string `json:"kind"`
Name string `json:"name"`
}
func (*K8sIngressResourceBackendInput) GetApiGroup ¶
func (v *K8sIngressResourceBackendInput) GetApiGroup() nilable.Nilable[string]
GetApiGroup returns K8sIngressResourceBackendInput.ApiGroup, and is useful for accessing the field via an interface.
func (*K8sIngressResourceBackendInput) GetKind ¶
func (v *K8sIngressResourceBackendInput) GetKind() string
GetKind returns K8sIngressResourceBackendInput.Kind, and is useful for accessing the field via an interface.
func (*K8sIngressResourceBackendInput) GetName ¶
func (v *K8sIngressResourceBackendInput) GetName() string
GetName returns K8sIngressResourceBackendInput.Name, and is useful for accessing the field via an interface.
type K8sIngressRuleInput ¶
type K8sIngressRuleInput struct {
Host nilable.Nilable[string] `json:"host"`
HttpPaths []K8sIngressHttpPathInput `json:"httpPaths"`
}
func (*K8sIngressRuleInput) GetHost ¶
func (v *K8sIngressRuleInput) GetHost() nilable.Nilable[string]
GetHost returns K8sIngressRuleInput.Host, and is useful for accessing the field via an interface.
func (*K8sIngressRuleInput) GetHttpPaths ¶
func (v *K8sIngressRuleInput) GetHttpPaths() []K8sIngressHttpPathInput
GetHttpPaths returns K8sIngressRuleInput.HttpPaths, and is useful for accessing the field via an interface.
type K8sIngressServiceBackendInput ¶
type K8sIngressServiceBackendInput struct {
Name string `json:"name"`
Port ServiceBackendPortInput `json:"port"`
}
func (*K8sIngressServiceBackendInput) GetName ¶
func (v *K8sIngressServiceBackendInput) GetName() string
GetName returns K8sIngressServiceBackendInput.Name, and is useful for accessing the field via an interface.
func (*K8sIngressServiceBackendInput) GetPort ¶
func (v *K8sIngressServiceBackendInput) GetPort() ServiceBackendPortInput
GetPort returns K8sIngressServiceBackendInput.Port, and is useful for accessing the field via an interface.
type K8sIngressTLSInput ¶
type K8sIngressTLSInput struct {
Hosts []string `json:"hosts"`
SecretName nilable.Nilable[string] `json:"secretName"`
}
func (*K8sIngressTLSInput) GetHosts ¶
func (v *K8sIngressTLSInput) GetHosts() []string
GetHosts returns K8sIngressTLSInput.Hosts, and is useful for accessing the field via an interface.
func (*K8sIngressTLSInput) GetSecretName ¶
func (v *K8sIngressTLSInput) GetSecretName() nilable.Nilable[string]
GetSecretName returns K8sIngressTLSInput.SecretName, and is useful for accessing the field via an interface.
type K8sPortProtocol ¶
type K8sPortProtocol string
const ( K8sPortProtocolTcp K8sPortProtocol = "TCP" K8sPortProtocolUdp K8sPortProtocol = "UDP" K8sPortProtocolSctp K8sPortProtocol = "SCTP" )
type K8sResourceEligibleForMetricsCollectionInput ¶
type K8sResourceEligibleForMetricsCollectionInput struct {
Namespace string `json:"namespace"`
Name string `json:"name"`
Kind string `json:"kind"`
}
func (*K8sResourceEligibleForMetricsCollectionInput) GetKind ¶
func (v *K8sResourceEligibleForMetricsCollectionInput) GetKind() string
GetKind returns K8sResourceEligibleForMetricsCollectionInput.Kind, and is useful for accessing the field via an interface.
func (*K8sResourceEligibleForMetricsCollectionInput) GetName ¶
func (v *K8sResourceEligibleForMetricsCollectionInput) GetName() string
GetName returns K8sResourceEligibleForMetricsCollectionInput.Name, and is useful for accessing the field via an interface.
func (*K8sResourceEligibleForMetricsCollectionInput) GetNamespace ¶
func (v *K8sResourceEligibleForMetricsCollectionInput) GetNamespace() string
GetNamespace returns K8sResourceEligibleForMetricsCollectionInput.Namespace, and is useful for accessing the field via an interface.
type K8sResourceIngressInput ¶
type K8sResourceIngressInput struct {
Spec K8sResourceIngressSpecInput `json:"spec"`
Status nilable.Nilable[K8sResourceIngressStatusInput] `json:"status"`
}
func (*K8sResourceIngressInput) GetSpec ¶
func (v *K8sResourceIngressInput) GetSpec() K8sResourceIngressSpecInput
GetSpec returns K8sResourceIngressInput.Spec, and is useful for accessing the field via an interface.
func (*K8sResourceIngressInput) GetStatus ¶
func (v *K8sResourceIngressInput) GetStatus() nilable.Nilable[K8sResourceIngressStatusInput]
GetStatus returns K8sResourceIngressInput.Status, and is useful for accessing the field via an interface.
type K8sResourceIngressSpecInput ¶
type K8sResourceIngressSpecInput struct {
IngressClassName nilable.Nilable[string] `json:"ingressClassName"`
DefaultBackend nilable.Nilable[K8sIngressBackendInput] `json:"defaultBackend"`
Tls []K8sIngressTLSInput `json:"tls"`
Rules []K8sIngressRuleInput `json:"rules"`
}
func (*K8sResourceIngressSpecInput) GetDefaultBackend ¶
func (v *K8sResourceIngressSpecInput) GetDefaultBackend() nilable.Nilable[K8sIngressBackendInput]
GetDefaultBackend returns K8sResourceIngressSpecInput.DefaultBackend, and is useful for accessing the field via an interface.
func (*K8sResourceIngressSpecInput) GetIngressClassName ¶
func (v *K8sResourceIngressSpecInput) GetIngressClassName() nilable.Nilable[string]
GetIngressClassName returns K8sResourceIngressSpecInput.IngressClassName, and is useful for accessing the field via an interface.
func (*K8sResourceIngressSpecInput) GetRules ¶
func (v *K8sResourceIngressSpecInput) GetRules() []K8sIngressRuleInput
GetRules returns K8sResourceIngressSpecInput.Rules, and is useful for accessing the field via an interface.
func (*K8sResourceIngressSpecInput) GetTls ¶
func (v *K8sResourceIngressSpecInput) GetTls() []K8sIngressTLSInput
GetTls returns K8sResourceIngressSpecInput.Tls, and is useful for accessing the field via an interface.
type K8sResourceIngressStatusInput ¶
type K8sResourceIngressStatusInput struct {
LoadBalancer []K8sResourceLoadBalancerIngressInput `json:"loadBalancer"`
}
func (*K8sResourceIngressStatusInput) GetLoadBalancer ¶
func (v *K8sResourceIngressStatusInput) GetLoadBalancer() []K8sResourceLoadBalancerIngressInput
GetLoadBalancer returns K8sResourceIngressStatusInput.LoadBalancer, and is useful for accessing the field via an interface.
type K8sResourceLoadBalancerIngressInput ¶
type K8sResourceLoadBalancerIngressInput struct {
Ip nilable.Nilable[string] `json:"ip"`
Hostname nilable.Nilable[string] `json:"hostname"`
Ports []PortStatusInput `json:"ports"`
}
func (*K8sResourceLoadBalancerIngressInput) GetHostname ¶
func (v *K8sResourceLoadBalancerIngressInput) GetHostname() nilable.Nilable[string]
GetHostname returns K8sResourceLoadBalancerIngressInput.Hostname, and is useful for accessing the field via an interface.
func (*K8sResourceLoadBalancerIngressInput) GetIp ¶
func (v *K8sResourceLoadBalancerIngressInput) GetIp() nilable.Nilable[string]
GetIp returns K8sResourceLoadBalancerIngressInput.Ip, and is useful for accessing the field via an interface.
func (*K8sResourceLoadBalancerIngressInput) GetPorts ¶
func (v *K8sResourceLoadBalancerIngressInput) GetPorts() []PortStatusInput
GetPorts returns K8sResourceLoadBalancerIngressInput.Ports, and is useful for accessing the field via an interface.
type K8sResourceServiceInput ¶
type K8sResourceServiceInput struct {
Spec K8sResourceServiceSpecInput `json:"spec"`
Status nilable.Nilable[K8sResourceServiceStatusInput] `json:"status"`
TargetNamedPorts []NamedPortInput `json:"targetNamedPorts"`
}
func (*K8sResourceServiceInput) GetSpec ¶
func (v *K8sResourceServiceInput) GetSpec() K8sResourceServiceSpecInput
GetSpec returns K8sResourceServiceInput.Spec, and is useful for accessing the field via an interface.
func (*K8sResourceServiceInput) GetStatus ¶
func (v *K8sResourceServiceInput) GetStatus() nilable.Nilable[K8sResourceServiceStatusInput]
GetStatus returns K8sResourceServiceInput.Status, and is useful for accessing the field via an interface.
func (*K8sResourceServiceInput) GetTargetNamedPorts ¶
func (v *K8sResourceServiceInput) GetTargetNamedPorts() []NamedPortInput
GetTargetNamedPorts returns K8sResourceServiceInput.TargetNamedPorts, and is useful for accessing the field via an interface.
type K8sResourceServiceLoadBalancerIngressInput ¶
type K8sResourceServiceLoadBalancerIngressInput struct {
Ip nilable.Nilable[string] `json:"ip"`
Hostname nilable.Nilable[string] `json:"hostname"`
IpMode nilable.Nilable[LoadBalancerIPMode] `json:"ipMode"`
Ports []PortStatusInput `json:"ports"`
}
func (*K8sResourceServiceLoadBalancerIngressInput) GetHostname ¶
func (v *K8sResourceServiceLoadBalancerIngressInput) GetHostname() nilable.Nilable[string]
GetHostname returns K8sResourceServiceLoadBalancerIngressInput.Hostname, and is useful for accessing the field via an interface.
func (*K8sResourceServiceLoadBalancerIngressInput) GetIp ¶
func (v *K8sResourceServiceLoadBalancerIngressInput) GetIp() nilable.Nilable[string]
GetIp returns K8sResourceServiceLoadBalancerIngressInput.Ip, and is useful for accessing the field via an interface.
func (*K8sResourceServiceLoadBalancerIngressInput) GetIpMode ¶
func (v *K8sResourceServiceLoadBalancerIngressInput) GetIpMode() nilable.Nilable[LoadBalancerIPMode]
GetIpMode returns K8sResourceServiceLoadBalancerIngressInput.IpMode, and is useful for accessing the field via an interface.
func (*K8sResourceServiceLoadBalancerIngressInput) GetPorts ¶
func (v *K8sResourceServiceLoadBalancerIngressInput) GetPorts() []PortStatusInput
GetPorts returns K8sResourceServiceLoadBalancerIngressInput.Ports, and is useful for accessing the field via an interface.
type K8sResourceServiceLoadBalancerStatusInput ¶
type K8sResourceServiceLoadBalancerStatusInput struct {
Ingress []K8sResourceServiceLoadBalancerIngressInput `json:"ingress"`
}
func (*K8sResourceServiceLoadBalancerStatusInput) GetIngress ¶
func (v *K8sResourceServiceLoadBalancerStatusInput) GetIngress() []K8sResourceServiceLoadBalancerIngressInput
GetIngress returns K8sResourceServiceLoadBalancerStatusInput.Ingress, and is useful for accessing the field via an interface.
type K8sResourceServiceSpecInput ¶
type K8sResourceServiceSpecInput struct {
Ports []K8sServicePort `json:"ports"`
Selector []SelectorKeyValueInput `json:"selector"`
ClusterIP nilable.Nilable[string] `json:"clusterIP"`
ClusterIPs []string `json:"clusterIPs"`
Type nilable.Nilable[K8sServiceType] `json:"type"`
ExternalIPs []string `json:"externalIPs"`
SessionAffinity nilable.Nilable[SessionAffinity] `json:"sessionAffinity"`
LoadBalancerIP nilable.Nilable[string] `json:"loadBalancerIP"`
LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges"`
ExternalName nilable.Nilable[string] `json:"externalName"`
ExternalTrafficPolicy nilable.Nilable[ServiceExternalTrafficPolicy] `json:"externalTrafficPolicy"`
HealthCheckNodePort nilable.Nilable[int] `json:"healthCheckNodePort"`
PublishNotReadyAddresses nilable.Nilable[bool] `json:"publishNotReadyAddresses"`
SessionAffinityConfig nilable.Nilable[SessionAffinityConfig] `json:"sessionAffinityConfig"`
IpFamilies []IPFamily `json:"ipFamilies"`
IpFamilyPolicy nilable.Nilable[IpFamilyPolicy] `json:"ipFamilyPolicy"`
AllocateLoadBalancerNodePorts nilable.Nilable[bool] `json:"allocateLoadBalancerNodePorts"`
LoadBalancerClass nilable.Nilable[string] `json:"loadBalancerClass"`
InternalTrafficPolicy nilable.Nilable[ServiceInternalTrafficPolicy] `json:"internalTrafficPolicy"`
}
func (*K8sResourceServiceSpecInput) GetAllocateLoadBalancerNodePorts ¶
func (v *K8sResourceServiceSpecInput) GetAllocateLoadBalancerNodePorts() nilable.Nilable[bool]
GetAllocateLoadBalancerNodePorts returns K8sResourceServiceSpecInput.AllocateLoadBalancerNodePorts, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetClusterIP ¶
func (v *K8sResourceServiceSpecInput) GetClusterIP() nilable.Nilable[string]
GetClusterIP returns K8sResourceServiceSpecInput.ClusterIP, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetClusterIPs ¶
func (v *K8sResourceServiceSpecInput) GetClusterIPs() []string
GetClusterIPs returns K8sResourceServiceSpecInput.ClusterIPs, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetExternalIPs ¶
func (v *K8sResourceServiceSpecInput) GetExternalIPs() []string
GetExternalIPs returns K8sResourceServiceSpecInput.ExternalIPs, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetExternalName ¶
func (v *K8sResourceServiceSpecInput) GetExternalName() nilable.Nilable[string]
GetExternalName returns K8sResourceServiceSpecInput.ExternalName, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetExternalTrafficPolicy ¶
func (v *K8sResourceServiceSpecInput) GetExternalTrafficPolicy() nilable.Nilable[ServiceExternalTrafficPolicy]
GetExternalTrafficPolicy returns K8sResourceServiceSpecInput.ExternalTrafficPolicy, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetHealthCheckNodePort ¶
func (v *K8sResourceServiceSpecInput) GetHealthCheckNodePort() nilable.Nilable[int]
GetHealthCheckNodePort returns K8sResourceServiceSpecInput.HealthCheckNodePort, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetInternalTrafficPolicy ¶
func (v *K8sResourceServiceSpecInput) GetInternalTrafficPolicy() nilable.Nilable[ServiceInternalTrafficPolicy]
GetInternalTrafficPolicy returns K8sResourceServiceSpecInput.InternalTrafficPolicy, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetIpFamilies ¶
func (v *K8sResourceServiceSpecInput) GetIpFamilies() []IPFamily
GetIpFamilies returns K8sResourceServiceSpecInput.IpFamilies, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetIpFamilyPolicy ¶
func (v *K8sResourceServiceSpecInput) GetIpFamilyPolicy() nilable.Nilable[IpFamilyPolicy]
GetIpFamilyPolicy returns K8sResourceServiceSpecInput.IpFamilyPolicy, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetLoadBalancerClass ¶
func (v *K8sResourceServiceSpecInput) GetLoadBalancerClass() nilable.Nilable[string]
GetLoadBalancerClass returns K8sResourceServiceSpecInput.LoadBalancerClass, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetLoadBalancerIP ¶
func (v *K8sResourceServiceSpecInput) GetLoadBalancerIP() nilable.Nilable[string]
GetLoadBalancerIP returns K8sResourceServiceSpecInput.LoadBalancerIP, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetLoadBalancerSourceRanges ¶
func (v *K8sResourceServiceSpecInput) GetLoadBalancerSourceRanges() []string
GetLoadBalancerSourceRanges returns K8sResourceServiceSpecInput.LoadBalancerSourceRanges, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetPorts ¶
func (v *K8sResourceServiceSpecInput) GetPorts() []K8sServicePort
GetPorts returns K8sResourceServiceSpecInput.Ports, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetPublishNotReadyAddresses ¶
func (v *K8sResourceServiceSpecInput) GetPublishNotReadyAddresses() nilable.Nilable[bool]
GetPublishNotReadyAddresses returns K8sResourceServiceSpecInput.PublishNotReadyAddresses, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetSelector ¶
func (v *K8sResourceServiceSpecInput) GetSelector() []SelectorKeyValueInput
GetSelector returns K8sResourceServiceSpecInput.Selector, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetSessionAffinity ¶
func (v *K8sResourceServiceSpecInput) GetSessionAffinity() nilable.Nilable[SessionAffinity]
GetSessionAffinity returns K8sResourceServiceSpecInput.SessionAffinity, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetSessionAffinityConfig ¶
func (v *K8sResourceServiceSpecInput) GetSessionAffinityConfig() nilable.Nilable[SessionAffinityConfig]
GetSessionAffinityConfig returns K8sResourceServiceSpecInput.SessionAffinityConfig, and is useful for accessing the field via an interface.
func (*K8sResourceServiceSpecInput) GetType ¶
func (v *K8sResourceServiceSpecInput) GetType() nilable.Nilable[K8sServiceType]
GetType returns K8sResourceServiceSpecInput.Type, and is useful for accessing the field via an interface.
type K8sResourceServiceStatusInput ¶
type K8sResourceServiceStatusInput struct {
LoadBalancer nilable.Nilable[K8sResourceServiceLoadBalancerStatusInput] `json:"loadBalancer"`
}
func (*K8sResourceServiceStatusInput) GetLoadBalancer ¶
func (v *K8sResourceServiceStatusInput) GetLoadBalancer() nilable.Nilable[K8sResourceServiceLoadBalancerStatusInput]
GetLoadBalancer returns K8sResourceServiceStatusInput.LoadBalancer, and is useful for accessing the field via an interface.
type K8sServiceInput ¶
type K8sServiceInput struct {
Namespace string `json:"namespace"`
OtterizeServer string `json:"otterizeServer"`
ResourceName string `json:"resourceName"`
Service K8sResourceServiceInput `json:"service"`
}
func (*K8sServiceInput) GetNamespace ¶
func (v *K8sServiceInput) GetNamespace() string
GetNamespace returns K8sServiceInput.Namespace, and is useful for accessing the field via an interface.
func (*K8sServiceInput) GetOtterizeServer ¶
func (v *K8sServiceInput) GetOtterizeServer() string
GetOtterizeServer returns K8sServiceInput.OtterizeServer, and is useful for accessing the field via an interface.
func (*K8sServiceInput) GetResourceName ¶
func (v *K8sServiceInput) GetResourceName() string
GetResourceName returns K8sServiceInput.ResourceName, and is useful for accessing the field via an interface.
func (*K8sServiceInput) GetService ¶
func (v *K8sServiceInput) GetService() K8sResourceServiceInput
GetService returns K8sServiceInput.Service, and is useful for accessing the field via an interface.
type K8sServicePort ¶
type K8sServicePort struct {
Name nilable.Nilable[string] `json:"name"`
Protocol nilable.Nilable[K8sPortProtocol] `json:"protocol"`
AppProtocol nilable.Nilable[string] `json:"appProtocol"`
Port int `json:"port"`
TargetPort nilable.Nilable[IntOrStringInput] `json:"targetPort"`
NodePort nilable.Nilable[int] `json:"nodePort"`
}
func (*K8sServicePort) GetAppProtocol ¶
func (v *K8sServicePort) GetAppProtocol() nilable.Nilable[string]
GetAppProtocol returns K8sServicePort.AppProtocol, and is useful for accessing the field via an interface.
func (*K8sServicePort) GetName ¶
func (v *K8sServicePort) GetName() nilable.Nilable[string]
GetName returns K8sServicePort.Name, and is useful for accessing the field via an interface.
func (*K8sServicePort) GetNodePort ¶
func (v *K8sServicePort) GetNodePort() nilable.Nilable[int]
GetNodePort returns K8sServicePort.NodePort, and is useful for accessing the field via an interface.
func (*K8sServicePort) GetPort ¶
func (v *K8sServicePort) GetPort() int
GetPort returns K8sServicePort.Port, and is useful for accessing the field via an interface.
func (*K8sServicePort) GetProtocol ¶
func (v *K8sServicePort) GetProtocol() nilable.Nilable[K8sPortProtocol]
GetProtocol returns K8sServicePort.Protocol, and is useful for accessing the field via an interface.
func (*K8sServicePort) GetTargetPort ¶
func (v *K8sServicePort) GetTargetPort() nilable.Nilable[IntOrStringInput]
GetTargetPort returns K8sServicePort.TargetPort, and is useful for accessing the field via an interface.
type K8sServiceType ¶
type K8sServiceType string
const ( K8sServiceTypeClusterIp K8sServiceType = "CLUSTER_IP" K8sServiceTypeNodePort K8sServiceType = "NODE_PORT" K8sServiceTypeLoadBalancer K8sServiceType = "LOAD_BALANCER" K8sServiceTypeExternalName K8sServiceType = "EXTERNAL_NAME" )
type K8sWebhookServiceInput ¶
type K8sWebhookServiceInput struct {
Identity ServiceIdentityInput `json:"identity"`
WebhookName string `json:"webhookName"`
WebhookType WebhookType `json:"webhookType"`
}
func (*K8sWebhookServiceInput) GetIdentity ¶
func (v *K8sWebhookServiceInput) GetIdentity() ServiceIdentityInput
GetIdentity returns K8sWebhookServiceInput.Identity, and is useful for accessing the field via an interface.
func (*K8sWebhookServiceInput) GetWebhookName ¶
func (v *K8sWebhookServiceInput) GetWebhookName() string
GetWebhookName returns K8sWebhookServiceInput.WebhookName, and is useful for accessing the field via an interface.
func (*K8sWebhookServiceInput) GetWebhookType ¶
func (v *K8sWebhookServiceInput) GetWebhookType() WebhookType
GetWebhookType returns K8sWebhookServiceInput.WebhookType, and is useful for accessing the field via an interface.
type KafkaConfigInput ¶
type KafkaConfigInput struct {
Name *string `json:"name"`
Operations []*KafkaOperation `json:"operations"`
}
func (*KafkaConfigInput) GetName ¶
func (v *KafkaConfigInput) GetName() *string
GetName returns KafkaConfigInput.Name, and is useful for accessing the field via an interface.
func (*KafkaConfigInput) GetOperations ¶
func (v *KafkaConfigInput) GetOperations() []*KafkaOperation
GetOperations returns KafkaConfigInput.Operations, and is useful for accessing the field via an interface.
type KafkaOperation ¶
type KafkaOperation string
const ( KafkaOperationAll KafkaOperation = "ALL" KafkaOperationConsume KafkaOperation = "CONSUME" KafkaOperationProduce KafkaOperation = "PRODUCE" KafkaOperationCreate KafkaOperation = "CREATE" KafkaOperationAlter KafkaOperation = "ALTER" KafkaOperationDelete KafkaOperation = "DELETE" KafkaOperationDescribe KafkaOperation = "DESCRIBE" KafkaOperationClusterAction KafkaOperation = "CLUSTER_ACTION" KafkaOperationDescribeConfigs KafkaOperation = "DESCRIBE_CONFIGS" KafkaOperationAlterConfigs KafkaOperation = "ALTER_CONFIGS" KafkaOperationIdempotentWrite KafkaOperation = "IDEMPOTENT_WRITE" )
type LabelInput ¶
func (*LabelInput) GetKey ¶
func (v *LabelInput) GetKey() string
GetKey returns LabelInput.Key, and is useful for accessing the field via an interface.
type LoadBalancerIPMode ¶
type LoadBalancerIPMode string
const ( LoadBalancerIPModeVip LoadBalancerIPMode = "VIP" LoadBalancerIPModeProxy LoadBalancerIPMode = "PROXY" )
type NamedPortInput ¶
type NamedPortInput struct {
Name string `json:"name"`
Port int `json:"port"`
Protocol K8sPortProtocol `json:"protocol"`
}
func (*NamedPortInput) GetName ¶
func (v *NamedPortInput) GetName() string
GetName returns NamedPortInput.Name, and is useful for accessing the field via an interface.
func (*NamedPortInput) GetPort ¶
func (v *NamedPortInput) GetPort() int
GetPort returns NamedPortInput.Port, and is useful for accessing the field via an interface.
func (*NamedPortInput) GetProtocol ¶
func (v *NamedPortInput) GetProtocol() K8sPortProtocol
GetProtocol returns NamedPortInput.Protocol, and is useful for accessing the field via an interface.
type NetworkPolicyInput ¶
func (*NetworkPolicyInput) GetName ¶
func (v *NetworkPolicyInput) GetName() string
GetName returns NetworkPolicyInput.Name, and is useful for accessing the field via an interface.
func (*NetworkPolicyInput) GetYaml ¶
func (v *NetworkPolicyInput) GetYaml() string
GetYaml returns NetworkPolicyInput.Yaml, and is useful for accessing the field via an interface.
type PortStatusInput ¶
type PortStatusInput struct {
Port int `json:"port"`
Protocol K8sPortProtocol `json:"protocol"`
Error nilable.Nilable[string] `json:"error"`
}
func (*PortStatusInput) GetError ¶
func (v *PortStatusInput) GetError() nilable.Nilable[string]
GetError returns PortStatusInput.Error, and is useful for accessing the field via an interface.
func (*PortStatusInput) GetPort ¶
func (v *PortStatusInput) GetPort() int
GetPort returns PortStatusInput.Port, and is useful for accessing the field via an interface.
func (*PortStatusInput) GetProtocol ¶
func (v *PortStatusInput) GetProtocol() K8sPortProtocol
GetProtocol returns PortStatusInput.Protocol, and is useful for accessing the field via an interface.
type ReportCiliumClusterWideNetworkPoliciesResponse ¶
type ReportCiliumClusterWideNetworkPoliciesResponse struct {
ReportNetworkPolicies bool `json:"reportNetworkPolicies"`
}
ReportCiliumClusterWideNetworkPoliciesResponse is returned by ReportCiliumClusterWideNetworkPolicies on success.
func ReportCiliumClusterWideNetworkPolicies ¶
func ReportCiliumClusterWideNetworkPolicies( ctx_ context.Context, client_ graphql.Client, networkPolicies []NetworkPolicyInput, ) (*ReportCiliumClusterWideNetworkPoliciesResponse, error)
func (*ReportCiliumClusterWideNetworkPoliciesResponse) GetReportNetworkPolicies ¶
func (v *ReportCiliumClusterWideNetworkPoliciesResponse) GetReportNetworkPolicies() bool
GetReportNetworkPolicies returns ReportCiliumClusterWideNetworkPoliciesResponse.ReportNetworkPolicies, and is useful for accessing the field via an interface.
type ReportComponentStatusResponse ¶
type ReportComponentStatusResponse struct {
// Report integration components status
ReportIntegrationComponentStatus bool `json:"reportIntegrationComponentStatus"`
}
ReportComponentStatusResponse is returned by ReportComponentStatus on success.
func ReportComponentStatus ¶
func ReportComponentStatus( ctx_ context.Context, client_ graphql.Client, component ComponentType, ) (*ReportComponentStatusResponse, error)
func (*ReportComponentStatusResponse) GetReportIntegrationComponentStatus ¶
func (v *ReportComponentStatusResponse) GetReportIntegrationComponentStatus() bool
GetReportIntegrationComponentStatus returns ReportComponentStatusResponse.ReportIntegrationComponentStatus, and is useful for accessing the field via an interface.
type ReportDiscoveredIntentsResponse ¶
type ReportDiscoveredIntentsResponse struct {
ReportDiscoveredIntents *bool `json:"reportDiscoveredIntents"`
}
ReportDiscoveredIntentsResponse is returned by ReportDiscoveredIntents on success.
func ReportDiscoveredIntents ¶
func ReportDiscoveredIntents( ctx_ context.Context, client_ graphql.Client, intents []*DiscoveredIntentInput, ) (*ReportDiscoveredIntentsResponse, error)
func (*ReportDiscoveredIntentsResponse) GetReportDiscoveredIntents ¶
func (v *ReportDiscoveredIntentsResponse) GetReportDiscoveredIntents() *bool
GetReportDiscoveredIntents returns ReportDiscoveredIntentsResponse.ReportDiscoveredIntents, and is useful for accessing the field via an interface.
type ReportExternalTrafficDiscoveredIntentsResponse ¶
type ReportExternalTrafficDiscoveredIntentsResponse struct {
ReportExternalTrafficDiscoveredIntents bool `json:"reportExternalTrafficDiscoveredIntents"`
}
ReportExternalTrafficDiscoveredIntentsResponse is returned by ReportExternalTrafficDiscoveredIntents on success.
func ReportExternalTrafficDiscoveredIntents ¶
func ReportExternalTrafficDiscoveredIntents( ctx_ context.Context, client_ graphql.Client, intents []ExternalTrafficDiscoveredIntentInput, ) (*ReportExternalTrafficDiscoveredIntentsResponse, error)
func (*ReportExternalTrafficDiscoveredIntentsResponse) GetReportExternalTrafficDiscoveredIntents ¶
func (v *ReportExternalTrafficDiscoveredIntentsResponse) GetReportExternalTrafficDiscoveredIntents() bool
GetReportExternalTrafficDiscoveredIntents returns ReportExternalTrafficDiscoveredIntentsResponse.ReportExternalTrafficDiscoveredIntents, and is useful for accessing the field via an interface.
type ReportIncomingTrafficDiscoveredIntentsResponse ¶
type ReportIncomingTrafficDiscoveredIntentsResponse struct {
ReportIncomingTrafficDiscoveredIntents bool `json:"reportIncomingTrafficDiscoveredIntents"`
}
ReportIncomingTrafficDiscoveredIntentsResponse is returned by ReportIncomingTrafficDiscoveredIntents on success.
func ReportIncomingTrafficDiscoveredIntents ¶
func ReportIncomingTrafficDiscoveredIntents( ctx_ context.Context, client_ graphql.Client, intents []IncomingTrafficDiscoveredIntentInput, ) (*ReportIncomingTrafficDiscoveredIntentsResponse, error)
func (*ReportIncomingTrafficDiscoveredIntentsResponse) GetReportIncomingTrafficDiscoveredIntents ¶
func (v *ReportIncomingTrafficDiscoveredIntentsResponse) GetReportIncomingTrafficDiscoveredIntents() bool
GetReportIncomingTrafficDiscoveredIntents returns ReportIncomingTrafficDiscoveredIntentsResponse.ReportIncomingTrafficDiscoveredIntents, and is useful for accessing the field via an interface.
type ReportK8sIngressesResponse ¶
type ReportK8sIngressesResponse struct {
ReportK8sIngresses bool `json:"reportK8sIngresses"`
}
ReportK8sIngressesResponse is returned by ReportK8sIngresses on success.
func ReportK8sIngresses ¶
func ReportK8sIngresses( ctx_ context.Context, client_ graphql.Client, namespace string, ingresses []K8sIngressInput, ) (*ReportK8sIngressesResponse, error)
func (*ReportK8sIngressesResponse) GetReportK8sIngresses ¶
func (v *ReportK8sIngressesResponse) GetReportK8sIngresses() bool
GetReportK8sIngresses returns ReportK8sIngressesResponse.ReportK8sIngresses, and is useful for accessing the field via an interface.
type ReportK8sResourceEligibleForMetricsCollectionResponse ¶
type ReportK8sResourceEligibleForMetricsCollectionResponse struct {
ReportK8sResourceEligibleForMetricsCollection bool `json:"reportK8sResourceEligibleForMetricsCollection"`
}
ReportK8sResourceEligibleForMetricsCollectionResponse is returned by ReportK8sResourceEligibleForMetricsCollection on success.
func ReportK8sResourceEligibleForMetricsCollection ¶
func ReportK8sResourceEligibleForMetricsCollection( ctx_ context.Context, client_ graphql.Client, namespace string, reason EligibleForMetricsCollectionReason, resources []K8sResourceEligibleForMetricsCollectionInput, ) (*ReportK8sResourceEligibleForMetricsCollectionResponse, error)
func (*ReportK8sResourceEligibleForMetricsCollectionResponse) GetReportK8sResourceEligibleForMetricsCollection ¶
func (v *ReportK8sResourceEligibleForMetricsCollectionResponse) GetReportK8sResourceEligibleForMetricsCollection() bool
GetReportK8sResourceEligibleForMetricsCollection returns ReportK8sResourceEligibleForMetricsCollectionResponse.ReportK8sResourceEligibleForMetricsCollection, and is useful for accessing the field via an interface.
type ReportK8sServicesResponse ¶
type ReportK8sServicesResponse struct {
ReportK8sServices bool `json:"reportK8sServices"`
}
ReportK8sServicesResponse is returned by ReportK8sServices on success.
func ReportK8sServices ¶
func ReportK8sServices( ctx_ context.Context, client_ graphql.Client, namespace string, services []K8sServiceInput, ) (*ReportK8sServicesResponse, error)
func (*ReportK8sServicesResponse) GetReportK8sServices ¶
func (v *ReportK8sServicesResponse) GetReportK8sServices() bool
GetReportK8sServices returns ReportK8sServicesResponse.ReportK8sServices, and is useful for accessing the field via an interface.
type ReportK8sWebhookServicesResponse ¶
type ReportK8sWebhookServicesResponse struct {
ReportK8sWebhookServices bool `json:"reportK8sWebhookServices"`
}
ReportK8sWebhookServicesResponse is returned by ReportK8sWebhookServices on success.
func ReportK8sWebhookServices ¶
func ReportK8sWebhookServices( ctx_ context.Context, client_ graphql.Client, services []K8sWebhookServiceInput, ) (*ReportK8sWebhookServicesResponse, error)
func (*ReportK8sWebhookServicesResponse) GetReportK8sWebhookServices ¶
func (v *ReportK8sWebhookServicesResponse) GetReportK8sWebhookServices() bool
GetReportK8sWebhookServices returns ReportK8sWebhookServicesResponse.ReportK8sWebhookServices, and is useful for accessing the field via an interface.
type ReportNamespaceLabelsResponse ¶
type ReportNamespaceLabelsResponse struct {
ReportNamespaceLabels bool `json:"reportNamespaceLabels"`
}
ReportNamespaceLabelsResponse is returned by ReportNamespaceLabels on success.
func ReportNamespaceLabels ¶
func ReportNamespaceLabels( ctx_ context.Context, client_ graphql.Client, name string, labels []LabelInput, ) (*ReportNamespaceLabelsResponse, error)
func (*ReportNamespaceLabelsResponse) GetReportNamespaceLabels ¶
func (v *ReportNamespaceLabelsResponse) GetReportNamespaceLabels() bool
GetReportNamespaceLabels returns ReportNamespaceLabelsResponse.ReportNamespaceLabels, and is useful for accessing the field via an interface.
type ReportNetworkPoliciesResponse ¶
type ReportNetworkPoliciesResponse struct {
ReportNetworkPolicies bool `json:"reportNetworkPolicies"`
}
ReportNetworkPoliciesResponse is returned by ReportNetworkPolicies on success.
func ReportNetworkPolicies ¶
func ReportNetworkPolicies( ctx_ context.Context, client_ graphql.Client, namespace string, networkPolicies []NetworkPolicyInput, ) (*ReportNetworkPoliciesResponse, error)
func (*ReportNetworkPoliciesResponse) GetReportNetworkPolicies ¶
func (v *ReportNetworkPoliciesResponse) GetReportNetworkPolicies() bool
GetReportNetworkPolicies returns ReportNetworkPoliciesResponse.ReportNetworkPolicies, and is useful for accessing the field via an interface.
type ReportServiceMetadataInput ¶
type ReportServiceMetadataInput struct {
Identity ServiceIdentityInput `json:"identity"`
Metadata ServiceMetadataInput `json:"metadata"`
}
func (*ReportServiceMetadataInput) GetIdentity ¶
func (v *ReportServiceMetadataInput) GetIdentity() ServiceIdentityInput
GetIdentity returns ReportServiceMetadataInput.Identity, and is useful for accessing the field via an interface.
func (*ReportServiceMetadataInput) GetMetadata ¶
func (v *ReportServiceMetadataInput) GetMetadata() ServiceMetadataInput
GetMetadata returns ReportServiceMetadataInput.Metadata, and is useful for accessing the field via an interface.
type ReportTrafficLevelsResponse ¶
type ReportTrafficLevelsResponse struct {
// Update service
ReportTrafficLevels bool `json:"reportTrafficLevels"`
}
ReportTrafficLevelsResponse is returned by ReportTrafficLevels on success.
func ReportTrafficLevels ¶
func ReportTrafficLevels( ctx_ context.Context, client_ graphql.Client, trafficLevels []TrafficLevelInput, ) (*ReportTrafficLevelsResponse, error)
func (*ReportTrafficLevelsResponse) GetReportTrafficLevels ¶
func (v *ReportTrafficLevelsResponse) GetReportTrafficLevels() bool
GetReportTrafficLevels returns ReportTrafficLevelsResponse.ReportTrafficLevels, and is useful for accessing the field via an interface.
type ReportWorkloadsMetadataResponse ¶
type ReportWorkloadsMetadataResponse struct {
// update multiple service metadata from operator
ReportServicesMetadata bool `json:"reportServicesMetadata"`
}
ReportWorkloadsMetadataResponse is returned by ReportWorkloadsMetadata on success.
func ReportWorkloadsMetadata ¶
func ReportWorkloadsMetadata( ctx_ context.Context, client_ graphql.Client, workloadsLabels []ReportServiceMetadataInput, ) (*ReportWorkloadsMetadataResponse, error)
func (*ReportWorkloadsMetadataResponse) GetReportServicesMetadata ¶
func (v *ReportWorkloadsMetadataResponse) GetReportServicesMetadata() bool
GetReportServicesMetadata returns ReportWorkloadsMetadataResponse.ReportServicesMetadata, and is useful for accessing the field via an interface.
type SelectorKeyValueInput ¶
type SelectorKeyValueInput struct {
Key nilable.Nilable[string] `json:"key"`
Value nilable.Nilable[string] `json:"value"`
}
type ServerAliasInput ¶
func (*ServerAliasInput) GetKind ¶
func (v *ServerAliasInput) GetKind() *string
GetKind returns ServerAliasInput.Kind, and is useful for accessing the field via an interface.
func (*ServerAliasInput) GetName ¶
func (v *ServerAliasInput) GetName() *string
GetName returns ServerAliasInput.Name, and is useful for accessing the field via an interface.
type ServiceBackendPortInput ¶
type ServiceBackendPortInput struct {
Name nilable.Nilable[string] `json:"name"`
Number nilable.Nilable[int] `json:"number"`
}
type ServiceExternalTrafficPolicy ¶
type ServiceExternalTrafficPolicy string
const ( ServiceExternalTrafficPolicyCluster ServiceExternalTrafficPolicy = "CLUSTER" ServiceExternalTrafficPolicyLocal ServiceExternalTrafficPolicy = "LOCAL" )
type ServiceIdentityInput ¶
type ServiceIdentityInput struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Kind string `json:"kind"`
NameResolvedUsingAnnotation nilable.Nilable[bool] `json:"nameResolvedUsingAnnotation"`
}
func (*ServiceIdentityInput) GetKind ¶
func (v *ServiceIdentityInput) GetKind() string
GetKind returns ServiceIdentityInput.Kind, and is useful for accessing the field via an interface.
func (*ServiceIdentityInput) GetName ¶
func (v *ServiceIdentityInput) GetName() string
GetName returns ServiceIdentityInput.Name, and is useful for accessing the field via an interface.
func (*ServiceIdentityInput) GetNameResolvedUsingAnnotation ¶
func (v *ServiceIdentityInput) GetNameResolvedUsingAnnotation() nilable.Nilable[bool]
GetNameResolvedUsingAnnotation returns ServiceIdentityInput.NameResolvedUsingAnnotation, and is useful for accessing the field via an interface.
func (*ServiceIdentityInput) GetNamespace ¶
func (v *ServiceIdentityInput) GetNamespace() string
GetNamespace returns ServiceIdentityInput.Namespace, and is useful for accessing the field via an interface.
type ServiceInternalTrafficPolicy ¶
type ServiceInternalTrafficPolicy string
const ( ServiceInternalTrafficPolicyCluster ServiceInternalTrafficPolicy = "CLUSTER" ServiceInternalTrafficPolicyLocal ServiceInternalTrafficPolicy = "LOCAL" )
type ServiceMetadataInput ¶
type ServiceMetadataInput struct {
Tags []string `json:"tags"`
AwsRoles []string `json:"awsRoles"`
Labels []LabelInput `json:"labels"`
PodIps []string `json:"podIps"`
ServiceIps []string `json:"serviceIps"`
}
func (*ServiceMetadataInput) GetAwsRoles ¶
func (v *ServiceMetadataInput) GetAwsRoles() []string
GetAwsRoles returns ServiceMetadataInput.AwsRoles, and is useful for accessing the field via an interface.
func (*ServiceMetadataInput) GetLabels ¶
func (v *ServiceMetadataInput) GetLabels() []LabelInput
GetLabels returns ServiceMetadataInput.Labels, and is useful for accessing the field via an interface.
func (*ServiceMetadataInput) GetPodIps ¶
func (v *ServiceMetadataInput) GetPodIps() []string
GetPodIps returns ServiceMetadataInput.PodIps, and is useful for accessing the field via an interface.
func (*ServiceMetadataInput) GetServiceIps ¶
func (v *ServiceMetadataInput) GetServiceIps() []string
GetServiceIps returns ServiceMetadataInput.ServiceIps, and is useful for accessing the field via an interface.
func (*ServiceMetadataInput) GetTags ¶
func (v *ServiceMetadataInput) GetTags() []string
GetTags returns ServiceMetadataInput.Tags, and is useful for accessing the field via an interface.
type SessionAffinity ¶
type SessionAffinity string
const ( SessionAffinityClientIp SessionAffinity = "CLIENT_IP" SessionAffinityNone SessionAffinity = "NONE" )
type SessionAffinityConfig ¶
type SessionAffinityConfig struct {
ClientIP nilable.Nilable[ClientIPConfig] `json:"clientIP"`
}
func (*SessionAffinityConfig) GetClientIP ¶
func (v *SessionAffinityConfig) GetClientIP() nilable.Nilable[ClientIPConfig]
GetClientIP returns SessionAffinityConfig.ClientIP, and is useful for accessing the field via an interface.
type TrafficLevelInput ¶
type TrafficLevelInput struct {
ClientName string `json:"clientName"`
ClientNamespace string `json:"clientNamespace"`
ServerName string `json:"serverName"`
ServerNamespace string `json:"serverNamespace"`
DataBytesPerSecond int `json:"dataBytesPerSecond"`
FlowsCountPerSecond int `json:"flowsCountPerSecond"`
}
func (*TrafficLevelInput) GetClientName ¶
func (v *TrafficLevelInput) GetClientName() string
GetClientName returns TrafficLevelInput.ClientName, and is useful for accessing the field via an interface.
func (*TrafficLevelInput) GetClientNamespace ¶
func (v *TrafficLevelInput) GetClientNamespace() string
GetClientNamespace returns TrafficLevelInput.ClientNamespace, and is useful for accessing the field via an interface.
func (*TrafficLevelInput) GetDataBytesPerSecond ¶
func (v *TrafficLevelInput) GetDataBytesPerSecond() int
GetDataBytesPerSecond returns TrafficLevelInput.DataBytesPerSecond, and is useful for accessing the field via an interface.
func (*TrafficLevelInput) GetFlowsCountPerSecond ¶
func (v *TrafficLevelInput) GetFlowsCountPerSecond() int
GetFlowsCountPerSecond returns TrafficLevelInput.FlowsCountPerSecond, and is useful for accessing the field via an interface.
func (*TrafficLevelInput) GetServerName ¶
func (v *TrafficLevelInput) GetServerName() string
GetServerName returns TrafficLevelInput.ServerName, and is useful for accessing the field via an interface.
func (*TrafficLevelInput) GetServerNamespace ¶
func (v *TrafficLevelInput) GetServerNamespace() string
GetServerNamespace returns TrafficLevelInput.ServerNamespace, and is useful for accessing the field via an interface.
type WebhookType ¶
type WebhookType string
const ( WebhookTypeValidatingWebhook WebhookType = "VALIDATING_WEBHOOK" WebhookTypeMutatingWebhook WebhookType = "MUTATING_WEBHOOK" WebhookTypeConversionWebhook WebhookType = "CONVERSION_WEBHOOK" )