Documentation
¶
Index ¶
- type ComponentType
- type HTTPConfigInput
- type HTTPMethod
- type IntentInput
- func (v *IntentInput) GetClientName() *string
- func (v *IntentInput) GetNamespace() *string
- func (v *IntentInput) GetResources() []*HTTPConfigInput
- func (v *IntentInput) GetServerName() *string
- func (v *IntentInput) GetServerNamespace() *string
- func (v *IntentInput) GetTopics() []*KafkaConfigInput
- func (v *IntentInput) GetType() *IntentType
- type IntentType
- type IntentsOperatorConfigurationInput
- type KafkaConfigInput
- type KafkaOperation
- type KafkaServerConfigInput
- type KafkaTopicInput
- type KafkaTopicPattern
- type ReportAppliedKubernetesIntentsResponse
- type ReportComponentStatusResponse
- type ReportIntentsOperatorConfigurationResponse
- type ReportKafkaServerConfigResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentType ¶
type ComponentType string
const ( ComponentTypeIntentsOperator ComponentType = "INTENTS_OPERATOR" ComponentTypeCredentialsOperator ComponentType = "CREDENTIALS_OPERATOR" ComponentTypeNetworkMapper ComponentType = "NETWORK_MAPPER" )
type HTTPConfigInput ¶
type HTTPConfigInput struct { Path *string `json:"path"` Method *HTTPMethod `json:"method"` }
func (*HTTPConfigInput) GetMethod ¶
func (v *HTTPConfigInput) GetMethod() *HTTPMethod
GetMethod returns HTTPConfigInput.Method, 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" )
type IntentInput ¶
type IntentInput struct { Namespace *string `json:"namespace"` ClientName *string `json:"clientName"` ServerName *string `json:"serverName"` ServerNamespace *string `json:"serverNamespace"` Type *IntentType `json:"type"` Topics []*KafkaConfigInput `json:"topics"` Resources []*HTTPConfigInput `json:"resources"` }
func (*IntentInput) GetClientName ¶
func (v *IntentInput) GetClientName() *string
GetClientName returns IntentInput.ClientName, 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) GetResources ¶
func (v *IntentInput) GetResources() []*HTTPConfigInput
GetResources returns IntentInput.Resources, 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) GetServerNamespace ¶
func (v *IntentInput) GetServerNamespace() *string
GetServerNamespace returns IntentInput.ServerNamespace, 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 IntentType ¶
type IntentType string
const ( IntentTypeHttp IntentType = "HTTP" IntentTypeKafka IntentType = "KAFKA" )
type IntentsOperatorConfigurationInput ¶
type IntentsOperatorConfigurationInput struct { GlobalEnforcementEnabled bool `json:"globalEnforcementEnabled"` NetworkPolicyEnforcementEnabled bool `json:"networkPolicyEnforcementEnabled"` KafkaACLEnforcementEnabled bool `json:"kafkaACLEnforcementEnabled"` }
func (*IntentsOperatorConfigurationInput) GetGlobalEnforcementEnabled ¶
func (v *IntentsOperatorConfigurationInput) GetGlobalEnforcementEnabled() bool
GetGlobalEnforcementEnabled returns IntentsOperatorConfigurationInput.GlobalEnforcementEnabled, and is useful for accessing the field via an interface.
func (*IntentsOperatorConfigurationInput) GetKafkaACLEnforcementEnabled ¶
func (v *IntentsOperatorConfigurationInput) GetKafkaACLEnforcementEnabled() bool
GetKafkaACLEnforcementEnabled returns IntentsOperatorConfigurationInput.KafkaACLEnforcementEnabled, and is useful for accessing the field via an interface.
func (*IntentsOperatorConfigurationInput) GetNetworkPolicyEnforcementEnabled ¶
func (v *IntentsOperatorConfigurationInput) GetNetworkPolicyEnforcementEnabled() bool
GetNetworkPolicyEnforcementEnabled returns IntentsOperatorConfigurationInput.NetworkPolicyEnforcementEnabled, 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 KafkaServerConfigInput ¶
type KafkaServerConfigInput struct { Name string `json:"name"` Namespace string `json:"namespace"` Address string `json:"address"` Topics []KafkaTopicInput `json:"topics"` }
func (*KafkaServerConfigInput) GetAddress ¶
func (v *KafkaServerConfigInput) GetAddress() string
GetAddress returns KafkaServerConfigInput.Address, and is useful for accessing the field via an interface.
func (*KafkaServerConfigInput) GetName ¶
func (v *KafkaServerConfigInput) GetName() string
GetName returns KafkaServerConfigInput.Name, and is useful for accessing the field via an interface.
func (*KafkaServerConfigInput) GetNamespace ¶
func (v *KafkaServerConfigInput) GetNamespace() string
GetNamespace returns KafkaServerConfigInput.Namespace, and is useful for accessing the field via an interface.
func (*KafkaServerConfigInput) GetTopics ¶
func (v *KafkaServerConfigInput) GetTopics() []KafkaTopicInput
GetTopics returns KafkaServerConfigInput.Topics, and is useful for accessing the field via an interface.
type KafkaTopicInput ¶
type KafkaTopicInput struct { ClientIdentityRequired bool `json:"clientIdentityRequired"` IntentsRequired bool `json:"intentsRequired"` Pattern KafkaTopicPattern `json:"pattern"` Topic string `json:"topic"` }
func (*KafkaTopicInput) GetClientIdentityRequired ¶
func (v *KafkaTopicInput) GetClientIdentityRequired() bool
GetClientIdentityRequired returns KafkaTopicInput.ClientIdentityRequired, and is useful for accessing the field via an interface.
func (*KafkaTopicInput) GetIntentsRequired ¶
func (v *KafkaTopicInput) GetIntentsRequired() bool
GetIntentsRequired returns KafkaTopicInput.IntentsRequired, and is useful for accessing the field via an interface.
func (*KafkaTopicInput) GetPattern ¶
func (v *KafkaTopicInput) GetPattern() KafkaTopicPattern
GetPattern returns KafkaTopicInput.Pattern, and is useful for accessing the field via an interface.
func (*KafkaTopicInput) GetTopic ¶
func (v *KafkaTopicInput) GetTopic() string
GetTopic returns KafkaTopicInput.Topic, and is useful for accessing the field via an interface.
type KafkaTopicPattern ¶
type KafkaTopicPattern string
const ( KafkaTopicPatternLiteral KafkaTopicPattern = "LITERAL" KafkaTopicPatternPrefix KafkaTopicPattern = "PREFIX" )
type ReportAppliedKubernetesIntentsResponse ¶
type ReportAppliedKubernetesIntentsResponse struct {
ReportAppliedKubernetesIntents *bool `json:"reportAppliedKubernetesIntents"`
}
ReportAppliedKubernetesIntentsResponse is returned by ReportAppliedKubernetesIntents on success.
func ReportAppliedKubernetesIntents ¶
func ReportAppliedKubernetesIntents( ctx context.Context, client graphql.Client, namespace *string, intents []*IntentInput, ) (*ReportAppliedKubernetesIntentsResponse, error)
func (*ReportAppliedKubernetesIntentsResponse) GetReportAppliedKubernetesIntents ¶
func (v *ReportAppliedKubernetesIntentsResponse) GetReportAppliedKubernetesIntents() *bool
GetReportAppliedKubernetesIntents returns ReportAppliedKubernetesIntentsResponse.ReportAppliedKubernetesIntents, 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 ReportIntentsOperatorConfigurationResponse ¶
type ReportIntentsOperatorConfigurationResponse struct {
ReportIntentsOperatorConfiguration bool `json:"reportIntentsOperatorConfiguration"`
}
ReportIntentsOperatorConfigurationResponse is returned by ReportIntentsOperatorConfiguration on success.
func ReportIntentsOperatorConfiguration ¶
func ReportIntentsOperatorConfiguration( ctx context.Context, client graphql.Client, configuration IntentsOperatorConfigurationInput, ) (*ReportIntentsOperatorConfigurationResponse, error)
func (*ReportIntentsOperatorConfigurationResponse) GetReportIntentsOperatorConfiguration ¶
func (v *ReportIntentsOperatorConfigurationResponse) GetReportIntentsOperatorConfiguration() bool
GetReportIntentsOperatorConfiguration returns ReportIntentsOperatorConfigurationResponse.ReportIntentsOperatorConfiguration, and is useful for accessing the field via an interface.
type ReportKafkaServerConfigResponse ¶
type ReportKafkaServerConfigResponse struct {
ReportKafkaServerConfigs bool `json:"reportKafkaServerConfigs"`
}
ReportKafkaServerConfigResponse is returned by ReportKafkaServerConfig on success.
func ReportKafkaServerConfig ¶
func ReportKafkaServerConfig( ctx context.Context, client graphql.Client, namespace string, kafkaServerConfigs []KafkaServerConfigInput, ) (*ReportKafkaServerConfigResponse, error)
func (*ReportKafkaServerConfigResponse) GetReportKafkaServerConfigs ¶
func (v *ReportKafkaServerConfigResponse) GetReportKafkaServerConfigs() bool
GetReportKafkaServerConfigs returns ReportKafkaServerConfigResponse.ReportKafkaServerConfigs, and is useful for accessing the field via an interface.