├── .github ├── CODEOWNERS └── workflows │ ├── go.yml │ ├── goreleaser.yml │ ├── lint.yaml │ └── project.yml ├── .gitignore ├── .golangci.yml ├── .goreleaser.yaml ├── .licenserc.yaml ├── AGENTS.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── cmd └── streamnative-mcp-server │ └── main.go ├── docs └── tools │ ├── functions_as_tools.md │ ├── kafka_admin_connect.md │ ├── kafka_admin_groups.md │ ├── kafka_admin_partitions.md │ ├── kafka_admin_schema_registry.md │ ├── kafka_admin_topics.md │ ├── kafka_client_consume.md │ ├── kafka_client_produce.md │ ├── pulsar_admin_broker_stats.md │ ├── pulsar_admin_brokers.md │ ├── pulsar_admin_clusters.md │ ├── pulsar_admin_functions.md │ ├── pulsar_admin_functions_worker.md │ ├── pulsar_admin_namespace_policy.md │ ├── pulsar_admin_namespaces.md │ ├── pulsar_admin_nsisolationpolicy.md │ ├── pulsar_admin_packages.md │ ├── pulsar_admin_resource_quotas.md │ ├── pulsar_admin_schemas.md │ ├── pulsar_admin_sinks.md │ ├── pulsar_admin_sources.md │ ├── pulsar_admin_subscriptions.md │ ├── pulsar_admin_tenants.md │ ├── pulsar_admin_topic_policy.md │ ├── pulsar_admin_topics.md │ ├── pulsar_client_consume.md │ ├── pulsar_client_produce.md │ └── streamnative_cloud.md ├── go.mod ├── go.sum ├── go.work ├── go.work.sum ├── pkg ├── auth │ ├── auth.go │ ├── authorization_tokenretriever.go │ ├── cache │ │ └── cache.go │ ├── client_credentials_flow.go │ ├── client_credentials_provider.go │ ├── config_tokenprovider.go │ ├── data_url.go │ ├── oidc_endpoint_provider.go │ └── store │ │ ├── keyring.go │ │ └── store.go ├── cmd │ └── mcp │ │ ├── mcp.go │ │ ├── server.go │ │ ├── sse.go │ │ └── stdio.go ├── common │ └── utils.go ├── config │ ├── apiclient.go │ ├── auth.go │ ├── config.go │ ├── external_kafka.go │ ├── external_pulsar.go │ └── options.go ├── kafka │ ├── connection.go │ └── kafkaconnect.go ├── log │ └── io.go ├── mcp │ ├── auth_utils.go │ ├── context.go │ ├── context_test.go │ ├── context_tools.go │ ├── context_utils.go │ ├── features.go │ ├── instructions.go │ ├── kafka_admin_connect_tools.go │ ├── kafka_admin_groups_tools.go │ ├── kafka_admin_partitions_tools.go │ ├── kafka_admin_sr_tools.go │ ├── kafka_admin_topics_tools.go │ ├── kafka_client_consume_tools.go │ ├── kafka_client_produce_tools.go │ ├── prompts.go │ ├── pulsar_admin_brokers_stats_tools.go │ ├── pulsar_admin_brokers_tools.go │ ├── pulsar_admin_cluster_tools.go │ ├── pulsar_admin_functions_tools.go │ ├── pulsar_admin_functions_worker_tools.go │ ├── pulsar_admin_namespace_policy_tools.go │ ├── pulsar_admin_namespace_tools.go │ ├── pulsar_admin_nsisolationpolicy_tools.go │ ├── pulsar_admin_packages_tools.go │ ├── pulsar_admin_resourcequotas_tools.go │ ├── pulsar_admin_schemas_tools.go │ ├── pulsar_admin_sinks_tools.go │ ├── pulsar_admin_sources_tools.go │ ├── pulsar_admin_subscription_tools.go │ ├── pulsar_admin_tenant_tools.go │ ├── pulsar_admin_topic_policy_tools.go │ ├── pulsar_admin_topic_tools.go │ ├── pulsar_client_consume_tools.go │ ├── pulsar_client_produce_tools.go │ ├── pulsar_functions_as_tools.go │ ├── streamnative_resources_log_tools.go │ └── streamnative_resources_tools.go ├── pftools │ ├── circuit_breaker.go │ ├── errors.go │ ├── invocation.go │ ├── manager.go │ ├── schema.go │ └── types.go ├── pulsar │ └── connection.go └── schema │ ├── avro.go │ ├── avro_core.go │ ├── avro_core_test.go │ ├── avro_test.go │ ├── boolean.go │ ├── boolean_test.go │ ├── common.go │ ├── common_test.go │ ├── converter.go │ ├── converter_test.go │ ├── json.go │ ├── json_test.go │ ├── number.go │ ├── number_test.go │ ├── string.go │ └── string_test.go └── sdk ├── sdk-apiserver ├── .gitignore ├── .openapi-generator-ignore ├── .openapi-generator │ ├── COMMIT │ ├── FILES │ ├── VERSION │ └── swagger.json-default.sha256 ├── .travis.yml ├── README.md ├── api │ └── openapi.yaml ├── api_apis.go ├── api_authorization_streamnative_io.go ├── api_authorization_streamnative_io_v1alpha1.go ├── api_billing_streamnative_io.go ├── api_billing_streamnative_io_v1alpha1.go ├── api_cloud_streamnative_io.go ├── api_cloud_streamnative_io_v1alpha1.go ├── api_cloud_streamnative_io_v1alpha2.go ├── api_compute_streamnative_io.go ├── api_compute_streamnative_io_v1alpha1.go ├── api_custom_objects.go ├── api_version.go ├── client.go ├── configuration.go ├── docs │ ├── ApisApi.md │ ├── AuthorizationStreamnativeIoApi.md │ ├── AuthorizationStreamnativeIoV1alpha1Api.md │ ├── BillingStreamnativeIoApi.md │ ├── BillingStreamnativeIoV1alpha1Api.md │ ├── CloudStreamnativeIoApi.md │ ├── CloudStreamnativeIoV1alpha1Api.md │ ├── CloudStreamnativeIoV1alpha2Api.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1CloudStorage.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Condition.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1IamAccount.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1IamAccountList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1IamAccountSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1IamAccountStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1PoolMemberReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1ResourceRule.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1RoleRef.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReview.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRulesReview.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRulesReviewSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRulesReviewStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectUserReview.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectUserReviewStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReview.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRulesReview.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRulesReviewSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRulesReviewStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1UserRef.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1CustomerPortalRequest.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1CustomerPortalRequestSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1CustomerPortalRequestStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1OfferItem.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1OfferItemPrice.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1OfferItemPriceRecurring.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1OfferReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntent.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PriceReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PrivateOffer.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PrivateOfferList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PrivateOfferSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1Product.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1ProductList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1ProductPrice.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1ProductReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1ProductSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1ProductStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1ProductStatusPrice.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PublicOffer.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PublicOfferList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PublicOfferSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntent.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripePaymentIntent.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripePriceRecurrence.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripePriceSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeSetupIntent.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeSubscriptionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1Subscription.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionIntent.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionIntentList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionIntentSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionIntentStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionItem.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SubscriptionStatusSubscriptionItem.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SugerEntitlementReview.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SugerEntitlementReviewSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SugerEntitlementReviewStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SugerProduct.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SugerProductSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SugerSubscriptionIntentSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SugerSubscriptionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1TestClock.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1TestClockList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1TestClockSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1TestClockStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1Tier.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1APIKey.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1APIKeyList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1APIKeySpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1APIKeyStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AutoScalingPolicy.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AwsPoolMemberSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AzureConnection.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AzurePoolMemberSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BookKeeper.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BookKeeperNodeResourceSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BookKeeperSetReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BookkeeperNodeResource.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Broker.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Chain.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1CloudConnection.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1CloudConnectionList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1CloudConnectionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1CloudConnectionStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1CloudEnvironment.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1CloudEnvironmentList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1CloudEnvironmentSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1CloudEnvironmentStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRole.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleBinding.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleBindingList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleBindingSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleBindingStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Condition.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ConditionGroup.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Config.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DNS.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DefaultNodeResource.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Domain.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptionKey.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ExecConfig.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ExecEnvVar.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1FailedCluster.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1FailedClusterRole.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1FailedRole.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1FailedRoleBinding.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudPoolMemberSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Gateway.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GatewayStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GenericPoolMemberSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1IdentityPool.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1IdentityPoolList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1IdentityPoolSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1IdentityPoolStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1InstalledCSV.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Invitation.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1LakehouseStorageConfig.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1MaintenanceWindow.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1MasterAuth.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Network.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OAuth2Config.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OIDCProvider.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OIDCProviderList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OIDCProviderSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OIDCProviderStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Organization.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationStripe.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Pool.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMember.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberConnectionOptionsSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewaySelector.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewaySpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberMonitoring.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecCatalog.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolOption.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolOptionList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolOptionLocation.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolOptionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolOptionStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolRef.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ProtocolsConfig.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarCluster.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarClusterComponentStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarClusterList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarClusterSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarClusterStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarGateway.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarGatewayList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarGatewaySpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarGatewayStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarInstance.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarInstanceAuth.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarInstanceList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarInstanceSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarInstanceStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarInstanceStatusAuth.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarInstanceStatusAuthOAuth2.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PulsarServiceEndpoint.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RBACStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RegionInfo.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Role.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleBinding.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleBindingCondition.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleBindingList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleBindingSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleBindingStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleDefinition.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleRef.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Secret.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SecretList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SecretReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistration.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ServiceAccount.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ServiceAccountBinding.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ServiceAccountBindingList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ServiceAccountBindingSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ServiceAccountBindingStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ServiceAccountList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ServiceAccountStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Srn.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1StripeSubscription.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1StripeSubscriptionList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1StripeSubscriptionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1StripeSubscriptionStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Subject.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SubscriptionItem.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SupportAccessOptionsSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Taint.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Toleration.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1User.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1UserList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1UserName.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1UserSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1UserStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1Window.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ZooKeeperSetReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2AWSSubscription.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2AWSSubscriptionList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2AWSSubscriptionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2AWSSubscriptionStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperResourceSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSet.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSetList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSetOption.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSetOptionList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSetOptionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSetOptionStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSetReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSetSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookKeeperSetStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2BookkeeperNodeResource.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2Condition.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2DefaultNodeResource.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2MonitorSet.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2MonitorSetList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2MonitorSetSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2MonitorSetStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2PoolMemberReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperResourceSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSet.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSetList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSetOption.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSetOptionList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSetOptionSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSetOptionStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSetReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSetSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2ZooKeeperSetStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1Artifact.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1Condition.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1Container.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1FlinkBlobStorage.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1FlinkDeployment.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1FlinkDeploymentList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1FlinkDeploymentSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1FlinkDeploymentStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1Logging.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1ObjectMeta.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1PodTemplate.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1PodTemplateSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1PoolMemberReference.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1PoolRef.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1ResourceSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1SecurityContext.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1UserMetadata.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1Volume.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpCustomResourceStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentDetails.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentDetailsTemplate.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentDetailsTemplateMetadata.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentDetailsTemplateSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentDetailsTemplateSpecKubernetesSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentKubernetesResources.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentRunningStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentStatusCondition.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentStatusDeploymentStatus.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentSystemMetadata.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentTemplate.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpDeploymentTemplateSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1VvpRestoreStrategy.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1Workspace.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1WorkspaceList.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1WorkspaceSpec.md │ ├── ComGithubStreamnativeCloudApiServerPkgApisComputeV1alpha1WorkspaceStatus.md │ ├── ComputeStreamnativeIoApi.md │ ├── ComputeStreamnativeIoV1alpha1Api.md │ ├── CustomObjectsApi.md │ ├── V1APIGroup.md │ ├── V1APIGroupList.md │ ├── V1APIResource.md │ ├── V1APIResourceList.md │ ├── V1Affinity.md │ ├── V1Condition.md │ ├── V1ConfigMapEnvSource.md │ ├── V1ConfigMapKeySelector.md │ ├── V1ConfigMapVolumeSource.md │ ├── V1DeleteOptions.md │ ├── V1EnvFromSource.md │ ├── V1EnvVar.md │ ├── V1EnvVarSource.md │ ├── V1ExecAction.md │ ├── V1GRPCAction.md │ ├── V1GroupVersionForDiscovery.md │ ├── V1HTTPGetAction.md │ ├── V1HTTPHeader.md │ ├── V1KeyToPath.md │ ├── V1LabelSelector.md │ ├── V1LabelSelectorRequirement.md │ ├── V1ListMeta.md │ ├── V1LocalObjectReference.md │ ├── V1ManagedFieldsEntry.md │ ├── V1NodeAffinity.md │ ├── V1NodeSelector.md │ ├── V1NodeSelectorRequirement.md │ ├── V1NodeSelectorTerm.md │ ├── V1ObjectFieldSelector.md │ ├── V1ObjectMeta.md │ ├── V1OwnerReference.md │ ├── V1PodAffinity.md │ ├── V1PodAffinityTerm.md │ ├── V1PodAntiAffinity.md │ ├── V1Preconditions.md │ ├── V1PreferredSchedulingTerm.md │ ├── V1Probe.md │ ├── V1ResourceFieldSelector.md │ ├── V1ResourceRequirements.md │ ├── V1SecretEnvSource.md │ ├── V1SecretKeySelector.md │ ├── V1SecretVolumeSource.md │ ├── V1ServerAddressByClientCIDR.md │ ├── V1Status.md │ ├── V1StatusCause.md │ ├── V1StatusDetails.md │ ├── V1TCPSocketAction.md │ ├── V1Toleration.md │ ├── V1VolumeMount.md │ ├── V1WatchEvent.md │ ├── V1WeightedPodAffinityTerm.md │ ├── VersionApi.md │ └── VersionInfo.md ├── git_push.sh ├── go.mod ├── go.sum ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_cloud_storage.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_condition.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_iam_account.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_iam_account_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_iam_account_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_iam_account_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_organization.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_pool_member_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_resource_rule.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_role_ref.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_self_subject_rbac_review.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_self_subject_rbac_review_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_self_subject_rbac_review_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_self_subject_rules_review.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_self_subject_rules_review_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_self_subject_rules_review_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_self_subject_user_review.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_self_subject_user_review_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_subject_role_review.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_subject_role_review_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_subject_role_review_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_subject_rules_review.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_subject_rules_review_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_subject_rules_review_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_authorization_v1alpha1_user_ref.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_customer_portal_request.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_customer_portal_request_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_customer_portal_request_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_offer_item.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_offer_item_price.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_offer_item_price_recurring.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_offer_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_payment_intent.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_payment_intent_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_payment_intent_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_payment_intent_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_price_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_private_offer.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_private_offer_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_private_offer_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_product.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_product_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_product_price.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_product_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_product_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_product_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_product_status_price.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_public_offer.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_public_offer_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_public_offer_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_setup_intent.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_setup_intent_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_setup_intent_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_setup_intent_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_setup_intent_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_stripe_customer_portal_request_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_stripe_customer_portal_request_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_stripe_payment_intent.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_stripe_price_recurrence.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_stripe_price_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_stripe_product_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_stripe_setup_intent.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_stripe_subscription_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_intent.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_intent_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_intent_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_intent_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_item.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_subscription_status_subscription_item.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_suger_entitlement_review.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_suger_entitlement_review_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_suger_entitlement_review_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_suger_product.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_suger_product_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_suger_subscription_intent_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_suger_subscription_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_test_clock.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_test_clock_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_test_clock_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_test_clock_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_billing_v1alpha1_tier.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_api_key.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_api_key_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_api_key_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_api_key_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_audit_log.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_auto_scaling_policy.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_aws_cloud_connection.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_aws_pool_member_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_azure_connection.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_azure_pool_member_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_billing_account_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_book_keeper.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_book_keeper_node_resource_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_book_keeper_set_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_bookkeeper_node_resource.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_broker.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_broker_node_resource_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_chain.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cloud_connection.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cloud_connection_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cloud_connection_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cloud_connection_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cloud_environment.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cloud_environment_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cloud_environment_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cloud_environment_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cluster_role.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cluster_role_binding.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cluster_role_binding_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cluster_role_binding_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cluster_role_binding_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cluster_role_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cluster_role_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_cluster_role_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_condition.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_condition_group.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_config.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_default_node_resource.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_dns.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_domain.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_domain_tls.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_encrypted_token.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_encryption_key.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_endpoint_access.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_exec_config.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_exec_env_var.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_failed_cluster.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_failed_cluster_role.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_failed_role.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_failed_role_binding.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_g_cloud_organization_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_g_cloud_pool_member_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_gateway.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_gateway_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_gcp_cloud_connection.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_generic_pool_member_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_identity_pool.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_identity_pool_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_identity_pool_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_identity_pool_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_installed_csv.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_invitation.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_lakehouse_storage_config.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_maintenance_window.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_master_auth.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_network.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_o_auth2_config.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_oidc_provider.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_oidc_provider_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_oidc_provider_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_oidc_provider_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_organization.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_organization_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_organization_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_organization_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_organization_stripe.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_organization_suger.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_connection_options_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_istio_gateway_selector.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_istio_gateway_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_istio_gateway_tls.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_istio_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_monitoring.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_pulsar_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_pulsar_spec_catalog.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_pulsar_spec_channel.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_member_tiered_storage_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_option.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_option_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_option_location.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_option_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_option_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_ref.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pool_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_private_service.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_private_service_id.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_protocols_config.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_cluster.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_cluster_component_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_cluster_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_cluster_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_cluster_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_gateway.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_gateway_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_gateway_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_gateway_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_instance.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_instance_auth.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_instance_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_instance_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_instance_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_instance_status_auth.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_instance_status_auth_o_auth2.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_pulsar_service_endpoint.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_rbac_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_region_info.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_binding.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_binding_condition.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_binding_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_binding_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_binding_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_definition.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_ref.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_role_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_secret.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_secret_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_secret_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_self_registration.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_self_registration_aws.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_self_registration_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_self_registration_suger.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_service_account.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_service_account_binding.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_service_account_binding_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_service_account_binding_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_service_account_binding_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_service_account_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_service_account_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_sharing_config.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_srn.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_stripe_subscription.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_stripe_subscription_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_stripe_subscription_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_stripe_subscription_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_subject.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_subscription_item.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_support_access_options_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_taint.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_toleration.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_user.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_user_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_user_name.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_user_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_user_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_window.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha1_zoo_keeper_set_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_aws_subscription.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_aws_subscription_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_aws_subscription_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_aws_subscription_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_resource_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set_option.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set_option_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set_option_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set_option_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_book_keeper_set_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_bookkeeper_node_resource.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_condition.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_default_node_resource.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_monitor_set.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_monitor_set_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_monitor_set_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_monitor_set_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_pool_member_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_sharing_config.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_resource_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set_option.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set_option_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set_option_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set_option_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_cloud_v1alpha2_zoo_keeper_set_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_artifact.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_condition.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_container.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_flink_blob_storage.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_flink_deployment.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_flink_deployment_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_flink_deployment_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_flink_deployment_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_logging.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_object_meta.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_pod_template.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_pod_template_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_pool_member_reference.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_pool_ref.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_resource_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_security_context.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_user_metadata.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_volume.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_custom_resource_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_details.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_details_template.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_details_template_metadata.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_details_template_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_details_template_spec_kubernetes_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_kubernetes_resources.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_running_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_status_condition.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_status_deployment_status.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_system_metadata.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_template.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_deployment_template_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_vvp_restore_strategy.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_workspace.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_workspace_list.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_workspace_spec.go ├── model_com_github_streamnative_cloud_api_server_pkg_apis_compute_v1alpha1_workspace_status.go ├── model_v1_affinity.go ├── model_v1_api_group.go ├── model_v1_api_group_list.go ├── model_v1_api_resource.go ├── model_v1_api_resource_list.go ├── model_v1_condition.go ├── model_v1_config_map_env_source.go ├── model_v1_config_map_key_selector.go ├── model_v1_config_map_volume_source.go ├── model_v1_delete_options.go ├── model_v1_env_from_source.go ├── model_v1_env_var.go ├── model_v1_env_var_source.go ├── model_v1_exec_action.go ├── model_v1_group_version_for_discovery.go ├── model_v1_grpc_action.go ├── model_v1_http_get_action.go ├── model_v1_http_header.go ├── model_v1_key_to_path.go ├── model_v1_label_selector.go ├── model_v1_label_selector_requirement.go ├── model_v1_list_meta.go ├── model_v1_local_object_reference.go ├── model_v1_managed_fields_entry.go ├── model_v1_node_affinity.go ├── model_v1_node_selector.go ├── model_v1_node_selector_requirement.go ├── model_v1_node_selector_term.go ├── model_v1_object_field_selector.go ├── model_v1_object_meta.go ├── model_v1_owner_reference.go ├── model_v1_pod_affinity.go ├── model_v1_pod_affinity_term.go ├── model_v1_pod_anti_affinity.go ├── model_v1_preconditions.go ├── model_v1_preferred_scheduling_term.go ├── model_v1_probe.go ├── model_v1_resource_field_selector.go ├── model_v1_resource_requirements.go ├── model_v1_secret_env_source.go ├── model_v1_secret_key_selector.go ├── model_v1_secret_volume_source.go ├── model_v1_server_address_by_client_cidr.go ├── model_v1_status.go ├── model_v1_status_cause.go ├── model_v1_status_details.go ├── model_v1_tcp_socket_action.go ├── model_v1_toleration.go ├── model_v1_volume_mount.go ├── model_v1_watch_event.go ├── model_v1_weighted_pod_affinity_term.go ├── model_version_info.go ├── response.go ├── settings ├── swagger.json ├── swagger.json.unprocessed └── utils.go └── sdk-kafkaconnect ├── HOW_TO_BUILD.md ├── README.md ├── api_default.go ├── client.go ├── configuration.go ├── git_push.sh ├── go.mod ├── go.sum ├── kafka-connect-admin.json ├── model_config_field_definition.go ├── model_config_info.go ├── model_config_infos.go ├── model_config_key_info.go ├── model_config_value_info.go ├── model_connector_info.go ├── model_connector_offset.go ├── model_connector_offsets.go ├── model_connector_state.go ├── model_connector_state_info.go ├── model_connector_task_id.go ├── model_create_connector_request.go ├── model_function_mesh_connector_definition.go ├── model_plugin_info.go ├── model_server_info.go ├── model_sn_connector_offset.go ├── model_sn_connector_offsets.go ├── model_task_info.go ├── model_task_state.go ├── openapitools.json ├── response.go └── utils.go /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Owning team's slack is #proj_iac 2 | * @streamnative/eng 3 | -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- 1 | name: Unit Tests 2 | on: [push, pull_request] 3 | 4 | permissions: 5 | contents: read 6 | 7 | jobs: 8 | build: 9 | strategy: 10 | fail-fast: false 11 | matrix: 12 | os: [ubuntu-latest, windows-latest, macos-latest] 13 | 14 | runs-on: ${{ matrix.os }} 15 | 16 | steps: 17 | - name: Check out code 18 | uses: actions/checkout@v4 19 | 20 | - name: Set up Go 21 | uses: actions/setup-go@v5 22 | with: 23 | go-version-file: "go.mod" 24 | 25 | - name: Download dependencies 26 | run: go mod download 27 | 28 | - name: Run unit tests 29 | run: go test -race ./... 30 | 31 | - name: Build 32 | run: make build 33 | -------------------------------------------------------------------------------- /.github/workflows/goreleaser.yml: -------------------------------------------------------------------------------- 1 | name: GoReleaser Release 2 | on: 3 | push: 4 | tags: 5 | - "v*" 6 | permissions: 7 | contents: write 8 | id-token: write 9 | attestations: write 10 | 11 | jobs: 12 | release: 13 | runs-on: ubuntu-latest 14 | 15 | steps: 16 | - name: Check out code 17 | uses: actions/checkout@v4 18 | 19 | - name: Login to DockerHub 20 | uses: docker/login-action@v2 21 | with: 22 | registry: docker.io 23 | username: ${{ secrets.DOCKER_USER }} 24 | password: ${{ secrets.DOCKER_PASSWORD }} 25 | 26 | - name: Set up Go 27 | uses: actions/setup-go@v5 28 | with: 29 | go-version-file: "go.mod" 30 | 31 | - name: Download dependencies 32 | run: go mod download 33 | 34 | - name: Run GoReleaser 35 | uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 36 | with: 37 | distribution: goreleaser 38 | # GoReleaser version 39 | version: "~> v2" 40 | # Arguments to pass to GoReleaser 41 | args: release --clean 42 | workdir: . 43 | env: 44 | GITHUB_TOKEN: ${{ secrets.SNBOT_GITHUB_TOKEN }} 45 | 46 | - name: Generate signed build provenance attestations for workflow artifacts 47 | uses: actions/attest-build-provenance@v2 48 | with: 49 | subject-path: | 50 | dist/*.tar.gz 51 | dist/*.zip 52 | dist/*.txt 53 | 54 | - name: Init homebrew repository 55 | uses: actions/checkout@v3 56 | with: 57 | repository: streamnative/homebrew-streamnative 58 | token: ${{ secrets.SNBOT_GITHUB_TOKEN }} 59 | ref: master 60 | path: homebrew-streamnative 61 | 62 | - name: Prepare Homebrew formula 63 | run: | 64 | cp ./dist/homebrew/Formula/snmcp.rb homebrew-streamnative/Formula/snmcp.rb 65 | 66 | - name: Create Homebrew PR 67 | uses: peter-evans/create-pull-request@v3 68 | with: 69 | token: ${{ secrets.SNBOT_GITHUB_TOKEN }} 70 | path: homebrew-streamnative 71 | branch: snmcp/release 72 | branch-suffix: short-commit-hash 73 | title: Update snmcp to ${{github.ref_name}} 74 | body: Automated changes by Release workflow in streamnative/streamnative-mcp-server repository. 75 | delete-branch: true 76 | committer: StreamNative Bot 77 | commit-message: Created by streamnative-mcp-server-release-workflow -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- 1 | name: Lint 2 | on: 3 | push: 4 | pull_request: 5 | 6 | permissions: 7 | contents: read 8 | 9 | jobs: 10 | lint: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - name: Check out code 15 | uses: actions/checkout@v4 16 | 17 | - name: Set up Go 18 | uses: actions/setup-go@v5 19 | with: 20 | go-version-file: 'go.mod' 21 | 22 | - name: Verify dependencies 23 | run: | 24 | go mod verify 25 | go mod download 26 | 27 | LINT_VERSION=1.64.8 28 | curl -fsSL https://github.com/golangci/golangci-lint/releases/download/v${LINT_VERSION}/golangci-lint-${LINT_VERSION}-linux-amd64.tar.gz | \ 29 | tar xz --strip-components 1 --wildcards \*/golangci-lint 30 | mkdir -p bin && mv golangci-lint bin/ 31 | 32 | - name: Run checks 33 | run: | 34 | STATUS=0 35 | assert-nothing-changed() { 36 | local diff 37 | "$@" >/dev/null || return 1 38 | if ! diff="$(git diff -U1 --color --exit-code)"; then 39 | printf '\e[31mError: running `\e[1m%s\e[22m` results in modifications that you must check into version control:\e[0m\n%s\n\n' "$*" "$diff" >&2 40 | git checkout -- . 41 | STATUS=1 42 | fi 43 | } 44 | 45 | assert-nothing-changed go fmt ./... 46 | assert-nothing-changed go mod tidy 47 | 48 | bin/golangci-lint run --out-format=colored-line-number --timeout=3m || STATUS=$? 49 | 50 | exit $STATUS 51 | -------------------------------------------------------------------------------- /.github/workflows/project.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | on: 3 | pull_request: 4 | branches: 5 | - main 6 | - release/* 7 | paths: 8 | - '**' 9 | - '!docs/**' 10 | - '!README.md' 11 | - '!CONTRIBUTING.md' 12 | 13 | env: 14 | GOPRIVATE: github.com/streamnative 15 | ACCESS_TOKEN: ${{ secrets.SNBOT_GITHUB_TOKEN }} 16 | 17 | jobs: 18 | build: 19 | name: Build 20 | runs-on: ubuntu-latest 21 | steps: 22 | - name: Set up Git token 23 | run: | 24 | git config --global user.email "snbot@streamnative.io" 25 | git config --global user.name "StreamNative Bot" 26 | git config --global url."https://streamnativebot:${ACCESS_TOKEN}@github.com/".insteadOf "https://github.com/" 27 | 28 | - name: Check out code into the Go module directory 29 | uses: actions/checkout@v3 30 | 31 | - name: Set up Go 32 | uses: actions/setup-go@v3 33 | with: 34 | go-version-file: 'go.mod' 35 | 36 | - name: Docker login 37 | run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD }}" 38 | 39 | - name: Run GoReleaser (snapshot) 40 | uses: goreleaser/goreleaser-action@v3 41 | with: 42 | version: latest 43 | args: release --snapshot --clean 44 | env: 45 | GITHUB_TOKEN: ${{ secrets.SNBOT_GITHUB_TOKEN }} 46 | 47 | - name: Upload artifacts 48 | uses: actions/upload-artifact@v4 49 | with: 50 | name: dist 51 | path: dist/ 52 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | bin/ 3 | dist/ 4 | 5 | .DS_Store 6 | tmp/ 7 | *.log 8 | 9 | # Go 10 | vendor 11 | .cursor/ 12 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- 1 | run: 2 | timeout: 5m 3 | tests: true 4 | concurrency: 4 5 | 6 | linters: 7 | enable: 8 | - govet 9 | - errcheck 10 | - staticcheck 11 | - gofmt 12 | - goimports 13 | - revive 14 | - ineffassign 15 | - typecheck 16 | - unused 17 | - gosimple 18 | - misspell 19 | - nakedret 20 | - bodyclose 21 | - gocritic 22 | - makezero 23 | - gosec 24 | 25 | output: 26 | formats: colored-line-number 27 | print-issued-lines: true 28 | print-linter-name: true 29 | -------------------------------------------------------------------------------- /.goreleaser.yaml: -------------------------------------------------------------------------------- 1 | version: 2 2 | project_name: streamnative-mcp-server 3 | before: 4 | hooks: 5 | - go mod tidy 6 | - go generate ./... 7 | 8 | builds: 9 | - id: snmcp 10 | env: 11 | - CGO_ENABLED=0 12 | ldflags: 13 | - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} 14 | goos: 15 | - linux 16 | - windows 17 | - darwin 18 | goarch: 19 | - amd64 20 | - arm64 21 | main: ./cmd/streamnative-mcp-server 22 | binary: snmcp 23 | 24 | archives: 25 | - id: snmcp 26 | formats: tar.gz 27 | # this name template makes the OS and Arch compatible with the results of `uname`. 28 | name_template: >- 29 | {{ .ProjectName }}_ 30 | {{- title .Os }}_ 31 | {{- if eq .Arch "amd64" }}x86_64 32 | {{- else if eq .Arch "386" }}i386 33 | {{- else }}{{ .Arch }}{{ end }} 34 | {{- if .Arm }}v{{ .Arm }}{{ end }} 35 | # use zip for windows archives 36 | format_overrides: 37 | - goos: windows 38 | formats: zip 39 | 40 | changelog: 41 | sort: asc 42 | filters: 43 | exclude: 44 | - "^docs:" 45 | - "^test:" 46 | 47 | release: 48 | draft: false 49 | prerelease: auto 50 | name_template: "StreamNative MCP Server {{.Version}}" 51 | 52 | dockers: 53 | - image_templates: 54 | - "streamnative/snmcp:{{ .Tag }}" 55 | - "streamnative/snmcp:latest" 56 | 57 | brews: 58 | - name: snmcp 59 | skip_upload: true 60 | repository: 61 | owner: streamnative 62 | name: homebrew-streamnative 63 | commit_author: 64 | name: streamnativebot 65 | email: streamnativebot@streamnative.io 66 | directory: Formula 67 | homepage: "https://streamnative.io/" 68 | description: "StreamNative MCP Server (snmcp)" 69 | license: "Apache-2.0" -------------------------------------------------------------------------------- /.licenserc.yaml: -------------------------------------------------------------------------------- 1 | # Copyright 2024 StreamNative 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # 15 | 16 | header: 17 | license: 18 | spdx-id: Apache-2.0 19 | copyright-owner: StreamNative 20 | 21 | paths-ignore: 22 | - 'dist' 23 | - 'licenses' 24 | - '**/*.md' 25 | - 'LICENSE' 26 | - 'NOTICE' 27 | - '.github/**' 28 | - 'PROJECT' 29 | - '**/go.mod' 30 | - '**/go.work' 31 | - '**/go.work.sum' 32 | - '**/go.sum' 33 | - '**/*.json' 34 | - 'sdk/**' 35 | - '**/*.yaml' 36 | - '**/*.yml' 37 | - 'Makefile' 38 | - '.gitignore' 39 | 40 | comment: on-failure 41 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.21 2 | RUN apk --no-cache add ca-certificates 3 | WORKDIR /server 4 | COPY snmcp /server/snmcp 5 | 6 | ENTRYPOINT ["/server/snmcp"] 7 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | BASE_PATH=github.com/streamnative/streamnative-mcp-server 2 | VERSION_PATH=main 3 | GIT_VERSION=$(shell git describe --tags --abbrev=0)-SNAPSHOT-$(shell git rev-parse --short HEAD) 4 | GIT_COMMIT=$(shell git rev-parse HEAD) 5 | BUILD_DATE=$(shell date -u +"%Y-%m-%dT%H:%M:%SZ") 6 | MKDIR_P = mkdir -p 7 | 8 | export GOPRIVATE=github.com/streamnative 9 | 10 | .PHONY: all 11 | all: build ; 12 | 13 | .PHONY: build 14 | build: 15 | ${MKDIR_P} bin/ 16 | CGO_ENABLED=0 go build -ldflags "\ 17 | -X ${VERSION_PATH}.version=${GIT_VERSION} \ 18 | -X ${VERSION_PATH}.commit=${GIT_COMMIT} \ 19 | -X ${VERSION_PATH}.date=${BUILD_DATE}" \ 20 | -o bin/snmcp cmd/streamnative-mcp-server/main.go 21 | 22 | .PHONY: license-check 23 | license-check: 24 | license-eye header check 25 | 26 | # go install github.com/apache/skywalking-eyes/cmd/license-eye@latest 27 | .PHONY: license-fix 28 | license-fix: 29 | license-eye header fix 30 | -------------------------------------------------------------------------------- /cmd/streamnative-mcp-server/main.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package main 19 | 20 | import ( 21 | "fmt" 22 | "os" 23 | 24 | "github.com/spf13/cobra" 25 | 26 | "github.com/streamnative/streamnative-mcp-server/pkg/cmd/mcp" 27 | "github.com/streamnative/streamnative-mcp-server/pkg/config" 28 | ) 29 | 30 | var version = "version" 31 | var commit = "commit" 32 | var date = "date" 33 | 34 | func main() { 35 | 36 | // Create configuration options 37 | configOpts := config.NewConfigOptions() 38 | 39 | // Create root command 40 | rootCmd := newRootCommand(configOpts) 41 | 42 | // Execute the root command 43 | if err := rootCmd.Execute(); err != nil { 44 | fmt.Fprintf(os.Stderr, "Error: %v\n", err) 45 | os.Exit(1) 46 | } 47 | } 48 | 49 | // newRootCommand creates and returns the root command 50 | func newRootCommand(configOpts *config.Options) *cobra.Command { 51 | rootCmd := &cobra.Command{ 52 | Use: "snmcp", 53 | Short: "StreamNative Cloud MCP Server for AI agent integration", 54 | Long: `StreamNative Cloud MCP Server provides resources and tools for AI agents 55 | to interact with StreamNative Cloud resources and services.`, 56 | Run: func(cmd *cobra.Command, _ []string) { 57 | _ = cmd.Help() 58 | }, 59 | Version: fmt.Sprintf("Version: %s\nCommit: %s\nBuild Date: %s", version, commit, date), 60 | } 61 | 62 | // Add global flags 63 | configOpts.AddFlags(rootCmd) 64 | 65 | o := mcp.NewMcpServerOptions(configOpts) 66 | o.AddFlags(rootCmd) 67 | // Add subcommands 68 | rootCmd.AddCommand(mcp.NewCmdMcpStdioServer(o)) 69 | rootCmd.AddCommand(mcp.NewCmdMcpSseServer(o)) 70 | 71 | rootCmd.SetVersionTemplate("{{.Short}}\n{{.Version}}\n") 72 | 73 | return rootCmd 74 | } 75 | -------------------------------------------------------------------------------- /docs/tools/kafka_admin_connect.md: -------------------------------------------------------------------------------- 1 | #### kafka-admin-connect 2 | 3 | Kafka Connect is a framework for integrating Kafka with external systems. The following resources and operations are supported: 4 | 5 | - **kafka-connect-cluster** 6 | - **get**: Get information about the Kafka Connect cluster 7 | - _Parameters_: None 8 | 9 | - **connectors** 10 | - **list**: List all connectors in the cluster 11 | - _Parameters_: None 12 | 13 | - **connector** 14 | - **get**: Get details of a specific connector 15 | - `name` (string, required): The connector name 16 | - **create**: Create a new connector 17 | - `name` (string, required): The connector name 18 | - `config` (object, required): Connector configuration 19 | - Must include at least `connector.class` and other required fields for the connector type 20 | - **update**: Update an existing connector 21 | - `name` (string, required): The connector name 22 | - `config` (object, required): Updated configuration 23 | - **delete**: Delete a connector 24 | - `name` (string, required): The connector name 25 | - **restart**: Restart a connector 26 | - `name` (string, required): The connector name 27 | - **pause**: Pause a connector 28 | - `name` (string, required): The connector name 29 | - **resume**: Resume a paused connector 30 | - `name` (string, required): The connector name 31 | 32 | - **connector-plugins** 33 | - **list**: List all available connector plugins 34 | - _Parameters_: None -------------------------------------------------------------------------------- /docs/tools/kafka_admin_groups.md: -------------------------------------------------------------------------------- 1 | #### kafka-admin-groups 2 | 3 | This tool provides access to Kafka consumer group operations including listing, describing, and managing group membership. 4 | 5 | - **groups** 6 | - **list**: List all Kafka Consumer Groups in the cluster 7 | - _Parameters_: None 8 | 9 | - **group** 10 | - **describe**: Get detailed information about a specific Consumer Group 11 | - `group` (string, required): The name of the Kafka Consumer Group 12 | - **remove-members**: Remove specific members from a Consumer Group 13 | - `group` (string, required): The name of the Kafka Consumer Group 14 | - `members` (string, required): Comma-separated list of member instance IDs (e.g. "consumer-instance-1,consumer-instance-2") 15 | - **offsets**: Get offsets for a specific consumer group 16 | - `group` (string, required): The name of the Kafka Consumer Group 17 | - **delete-offset**: Delete a specific offset for a consumer group of a topic 18 | - `group` (string, required): The name of the Kafka Consumer Group 19 | - `topic` (string, required): The name of the Kafka topic 20 | - **set-offset**: Set a specific offset for a consumer group's topic-partition 21 | - `group` (string, required): The name of the Kafka Consumer Group 22 | - `topic` (string, required): The name of the Kafka topic 23 | - `partition` (number, required): The partition number 24 | - `offset` (number, required): The offset value to set (use -1 for earliest, -2 for latest, or a specific value) -------------------------------------------------------------------------------- /docs/tools/kafka_admin_partitions.md: -------------------------------------------------------------------------------- 1 | #### kafka-admin-partitions 2 | 3 | This tool provides access to Kafka partition operations, particularly adding partitions to existing topics. 4 | 5 | - **partition** 6 | - **update**: Update the number of partitions for an existing Kafka topic (can only increase, not decrease) 7 | - `topic` (string, required): The name of the Kafka topic 8 | - `new-total` (number, required): The new total number of partitions (must be greater than current) -------------------------------------------------------------------------------- /docs/tools/kafka_admin_schema_registry.md: -------------------------------------------------------------------------------- 1 | #### kafka-admin-schema-registry 2 | 3 | This tool provides access to Kafka Schema Registry operations, including managing subjects, versions, and compatibility settings. 4 | 5 | - **subjects** 6 | - **list**: List all schema subjects in the Schema Registry 7 | - _Parameters_: None 8 | 9 | - **subject** 10 | - **get**: Get the latest schema for a subject 11 | - `subject` (string, required): The subject name 12 | - **create**: Register a new schema for a subject 13 | - `subject` (string, required): The subject name 14 | - `schema` (string, required): The schema definition (in AVRO/JSON/PROTOBUF, etc.) 15 | - `type` (string, optional): The schema type (e.g. AVRO, JSON, PROTOBUF) 16 | - **delete**: Delete a schema subject 17 | - `subject` (string, required): The subject name 18 | 19 | - **versions** 20 | - **list**: List all versions for a specific subject 21 | - `subject` (string, required): The subject name 22 | - **get**: Get a specific version of a subject's schema 23 | - `subject` (string, required): The subject name 24 | - `version` (number, required): The version number 25 | - **delete**: Delete a specific version of a subject's schema 26 | - `subject` (string, required): The subject name 27 | - `version` (number, required): The version number 28 | 29 | - **compatibility** 30 | - **get**: Get compatibility setting for a subject 31 | - `subject` (string, required): The subject name 32 | - **set**: Set compatibility level for a subject 33 | - `subject` (string, required): The subject name 34 | - `level` (string, required): The compatibility level (e.g. BACKWARD, FORWARD, FULL, NONE) 35 | 36 | - **types** 37 | - **list**: List supported schema types (e.g. AVRO, JSON, PROTOBUF) 38 | - _Parameters_: None -------------------------------------------------------------------------------- /docs/tools/kafka_admin_topics.md: -------------------------------------------------------------------------------- 1 | #### kafka-admin-topics 2 | 3 | This tool provides access to various Kafka topic operations, including creation, deletion, listing, and configuration retrieval. 4 | 5 | - **topics** 6 | - **list**: List all topics in the Kafka cluster 7 | - `include-internal` (boolean, optional): Whether to include internal Kafka topics (those starting with an underscore). Default: false 8 | 9 | - **topic** 10 | - **get**: Get detailed configuration for a specific topic 11 | - `name` (string, required): The name of the Kafka topic 12 | - **create**: Create a new topic 13 | - `name` (string, required): The name of the Kafka topic 14 | - `partitions` (number, optional): Number of partitions. Default: 1 15 | - `replication-factor` (number, optional): Replication factor. Default: 1 16 | - `configs` (array of string, optional): Topic configuration overrides as key-value strings, e.g. ["cleanup.policy=compact", "retention.ms=604800000"] 17 | - **delete**: Delete an existing topic 18 | - `name` (string, required): The name of the Kafka topic -------------------------------------------------------------------------------- /docs/tools/kafka_client_consume.md: -------------------------------------------------------------------------------- 1 | #### kafka-client-consume 2 | 3 | Consume messages from a Kafka topic. This tool allows you to read messages from Kafka topics with various consumption options. 4 | 5 | - **kafka_client_consume** 6 | - **Description**: Read messages from a Kafka topic, with support for consumer groups, offset control, and timeouts. If schema registry integration enabled, and the topic have schema with `topicName-value`, the consume tool will try to use the schema to decode the messages. 7 | - **Parameters**: 8 | - `topic` (string, required): The name of the Kafka topic to consume messages from. 9 | - `group` (string, optional): The consumer group ID to use. If provided, offsets are tracked and committed; otherwise, a random group is used and offsets are not committed. 10 | - `offset` (string, optional): The offset position to start consuming from. One of: 11 | - 'atstart': Begin from the earliest available message (default) 12 | - 'atend': Begin from the next message after the consumer starts 13 | - 'atcommitted': Begin from the last committed offset (only works with specified 'group') 14 | - `max-messages` (number, optional): Maximum number of messages to consume in this request. Default: 10 15 | - `timeout` (number, optional): Maximum time in seconds to wait for messages. Default: 10 -------------------------------------------------------------------------------- /docs/tools/kafka_client_produce.md: -------------------------------------------------------------------------------- 1 | #### kafka-client-produce 2 | 3 | Produce messages to a Kafka topic. This tool allows you to send single or multiple messages with various options. 4 | 5 | - **kafka_client_produce** 6 | - **Description**: Send messages to a Kafka topic, supporting keys, headers, partitions, batching, and file-based payloads. 7 | - **Parameters**: 8 | - `topic` (string, required): The name of the Kafka topic to produce messages to. 9 | - `key` (string, optional): The key for the message. Used for partition assignment and ordering. 10 | - `value` (string, required if 'messages' is not provided): The value/content of the message to send. 11 | - `headers` (array, optional): Message headers in the format of [{"key": "header-key", "value": "header-value"}]. 12 | - `sync` (boolean, optional): Whether to wait for server acknowledgment before returning. Default: true. -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_broker_stats.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_broker_stats 2 | 3 | Unified tool for retrieving Apache Pulsar broker statistics. 4 | 5 | - **monitoring_metrics** 6 | - **get**: Get broker monitoring metrics 7 | 8 | - **mbeans** 9 | - **get**: Get JVM MBeans statistics from broker 10 | 11 | - **topics** 12 | - **get**: Get statistics for all topics managed by the broker 13 | 14 | - **allocator_stats** 15 | - **get**: Get memory allocator statistics 16 | - `allocator_name` (string, required): Name of the allocator 17 | 18 | - **load_report** 19 | - **get**: Get broker load report -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_brokers.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_brokers 2 | 3 | Unified tool for managing Apache Pulsar broker resources. 4 | 5 | - **brokers** 6 | - **list**: List all active brokers in a cluster 7 | - `clusterName` (string, required): The cluster name 8 | 9 | - **health** 10 | - **get**: Check the health status of a broker 11 | 12 | - **config** 13 | - **get**: Get broker configuration 14 | - `configType` (string, required): Configuration type, available options: 15 | - `dynamic`: Get list of dynamically modifiable configuration names 16 | - `runtime`: Get all runtime configurations (including static and dynamic configs) 17 | - `internal`: Get internal configuration information 18 | - `all_dynamic`: Get all dynamic configurations and their current values 19 | - **update**: Update broker configuration 20 | - `configName` (string, required): Configuration parameter name 21 | - `configValue` (string, required): Configuration parameter value 22 | - **delete**: Delete broker configuration 23 | - `configName` (string, required): Configuration parameter name 24 | 25 | - **namespaces** 26 | - **get**: Get namespaces managed by a broker 27 | - `brokerUrl` (string, required): Broker URL, e.g., '127.0.0.1:8080' -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_clusters.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_cluster 2 | 3 | Unified tool for managing Apache Pulsar clusters. 4 | 5 | - **cluster** 6 | - **list**: List all clusters 7 | - **get**: Get configuration for a specific cluster 8 | - `cluster_name` (string, required): The cluster name 9 | - **create**: Create a new cluster 10 | - `cluster_name` (string, required): The cluster name 11 | - `service_url` (string, optional): Cluster web service URL 12 | - `service_url_tls` (string, optional): Cluster TLS web service URL 13 | - `broker_service_url` (string, optional): Cluster broker service URL 14 | - `broker_service_url_tls` (string, optional): Cluster TLS broker service URL 15 | - `peer_cluster_names` (array, optional): List of peer clusters 16 | - **update**: Update an existing cluster 17 | - `cluster_name` (string, required): The cluster name 18 | - Same optional parameters as create 19 | - **delete**: Delete a cluster 20 | - `cluster_name` (string, required): The cluster name 21 | 22 | - **peer_clusters** 23 | - **get**: Get list of peer clusters 24 | - `cluster_name` (string, required): The cluster name 25 | - **update**: Update peer clusters list 26 | - `cluster_name` (string, required): The cluster name 27 | - `peer_cluster_names` (array, required): List of peer cluster names 28 | 29 | - **failure_domain** 30 | - **list**: List all failure domains in a cluster 31 | - `cluster_name` (string, required): The cluster name 32 | - **get**: Get configuration for a specific failure domain 33 | - `cluster_name` (string, required): The cluster name 34 | - `domain_name` (string, required): The failure domain name 35 | - **create**: Create a new failure domain 36 | - `cluster_name` (string, required): The cluster name 37 | - `domain_name` (string, required): The failure domain name 38 | - `brokers` (array, required): List of brokers in the domain 39 | - **update**: Update an existing failure domain 40 | - `cluster_name` (string, required): The cluster name 41 | - `domain_name` (string, required): The failure domain name 42 | - `brokers` (array, required): List of brokers in the domain 43 | - **delete**: Delete a failure domain 44 | - `cluster_name` (string, required): The cluster name 45 | - `domain_name` (string, required): The failure domain name -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_functions_worker.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_functions_worker 2 | 3 | Unified tool for managing Apache Pulsar Functions Worker resources. 4 | 5 | - **resource** (string, required): Type of functions worker resource to access 6 | - **function_stats**: Get statistics for all functions running on this functions worker 7 | - No additional parameters required 8 | - **monitoring_metrics**: Get metrics for monitoring function workers 9 | - No additional parameters required 10 | - **cluster**: Get information about the function worker cluster 11 | - No additional parameters required 12 | - **cluster_leader**: Get the leader of the worker cluster 13 | - No additional parameters required 14 | - **function_assignments**: Get the assignments of functions across the worker cluster 15 | - No additional parameters required 16 | -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_namespace_policy.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_namespace_policy 2 | 3 | Tools for managing Pulsar namespace policies. 4 | 5 | - **pulsar_admin_namespace_policy_get**: Get configuration policies of a namespace 6 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 7 | 8 | - **pulsar_admin_namespace_policy_set**: Set a policy for a namespace 9 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 10 | - `policy` (string, required): Type of policy to set, options include: 11 | - `message-ttl`: Sets time to live for messages 12 | - `retention`: Sets retention policy for messages 13 | - `permission`: Grants permissions to a role 14 | - `replication-clusters`: Sets clusters to replicate to 15 | - `backlog-quota`: Sets backlog quota policy 16 | - `topic-auto-creation`: Configures automatic topic creation 17 | - `schema-validation`: Sets schema validation enforcement 18 | - `schema-auto-update`: Sets schema auto-update strategy 19 | - `auto-update-schema`: Controls if schemas can be automatically updated 20 | - `offload-threshold`: Sets threshold for data offloading 21 | - `offload-deletion-lag`: Sets time to wait before deleting offloaded data 22 | - `compaction-threshold`: Sets threshold for topic compaction 23 | - `max-producers-per-topic`: Limits producers per topic 24 | - `max-consumers-per-topic`: Limits consumers per topic 25 | - `max-consumers-per-subscription`: Limits consumers per subscription 26 | - `anti-affinity-group`: Sets anti-affinity group for isolation 27 | - `persistence`: Sets persistence configuration 28 | - `deduplication`: Controls message deduplication 29 | - `encryption-required`: Controls message encryption 30 | - `subscription-auth-mode`: Sets subscription auth mode 31 | - `subscription-permission`: Grants permissions to access a subscription 32 | - `dispatch-rate`: Sets message dispatch rate 33 | - `replicator-dispatch-rate`: Sets replicator dispatch rate 34 | - `subscribe-rate`: Sets subscribe rate per consumer 35 | - `subscription-dispatch-rate`: Sets subscription dispatch rate 36 | - `publish-rate`: Sets maximum message publish rate 37 | - Additional parameters vary based on the policy type 38 | 39 | - **pulsar_admin_namespace_policy_remove**: Remove a policy from a namespace 40 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 41 | - `policy` (string, required): Type of policy to remove -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_namespaces.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_namespace 2 | 3 | Manage Pulsar namespaces with various operations. 4 | 5 | - **list**: List all namespaces for a tenant 6 | - `tenant` (string, required): The tenant name 7 | 8 | - **get_topics**: Get all topics within a namespace 9 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 10 | 11 | - **create**: Create a new namespace 12 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 13 | - `bundles` (string, optional): Number of bundles to activate 14 | - `clusters` (array, optional): List of clusters to assign 15 | 16 | - **delete**: Delete a namespace 17 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 18 | 19 | - **clear_backlog**: Clear backlog for all topics in a namespace 20 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 21 | - `subscription` (string, optional): Subscription name 22 | - `bundle` (string, optional): Bundle name or range 23 | - `force` (string, optional): Force clear backlog (true/false) 24 | 25 | - **unsubscribe**: Unsubscribe from a subscription for all topics in a namespace 26 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 27 | - `subscription` (string, required): Subscription name 28 | - `bundle` (string, optional): Bundle name or range 29 | 30 | - **unload**: Unload a namespace from the current serving broker 31 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 32 | - `bundle` (string, optional): Bundle name or range 33 | 34 | - **split_bundle**: Split a namespace bundle 35 | - `namespace` (string, required): The namespace name (format: tenant/namespace) 36 | - `bundle` (string, required): Bundle name or range 37 | - `unload` (string, optional): Unload newly split bundles (true/false) -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_nsisolationpolicy.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_nsisolationpolicy 2 | 3 | Manage namespace isolation policies in a Pulsar cluster. Namespace isolation policies enable physical isolation of namespaces by controlling which brokers specific namespaces can use. This helps provide predictable performance and resource isolation, especially in multi-tenant environments. 4 | 5 | This tool provides operations across three resource types: 6 | 7 | - **policy** (Namespace isolation policy): 8 | - **get**: Get details of a specific isolation policy 9 | - `cluster` (string, required): The cluster name 10 | - `name` (string, required): Name of the isolation policy 11 | - **list**: List all isolation policies in a cluster 12 | - `cluster` (string, required): The cluster name 13 | - **set**: Create or update an isolation policy 14 | - `cluster` (string, required): The cluster name 15 | - `name` (string, required): Name of the isolation policy 16 | - `namespaces` (array, required): List of namespaces to apply the isolation policy 17 | - `primary` (array, required): List of primary brokers for the namespaces 18 | - `secondary` (array, optional): List of secondary brokers for the namespaces 19 | - `autoFailoverPolicyType` (string, optional): Auto failover policy type (e.g., min_available) 20 | - `autoFailoverPolicyParams` (object, optional): Auto failover policy parameters (e.g., {'min_limit': '1', 'usage_threshold': '100'}) 21 | - **delete**: Delete an isolation policy 22 | - `cluster` (string, required): The cluster name 23 | - `name` (string, required): Name of the isolation policy 24 | 25 | - **broker** (Broker with isolation policies): 26 | - **get**: Get details of a specific broker with its isolation policies 27 | - `cluster` (string, required): The cluster name 28 | - `name` (string, required): Name of the broker 29 | 30 | - **brokers** (All brokers with isolation policies): 31 | - **list**: List all brokers with their isolation policies 32 | - `cluster` (string, required): The cluster name -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_packages.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_package 2 | 3 | Manage packages in Apache Pulsar. Packages are reusable components that can be shared across functions, sources, and sinks. The system supports package schemes including `function://`, `source://`, and `sink://` for different component types. 4 | 5 | This tool provides operations across two resource types: 6 | 7 | - **package** (A specific package): 8 | - **list**: List all versions of a specific package 9 | - `packageName` (string, required): Name of the package 10 | - **get**: Get metadata of a specific package 11 | - `packageName` (string, required): Name of the package 12 | - **update**: Update metadata of a specific package 13 | - `packageName` (string, required): Name of the package 14 | - `description` (string, required): Description of the package 15 | - `contact` (string, optional): Contact information for the package 16 | - `properties` (object, optional): Additional properties as key-value pairs 17 | - **delete**: Delete a specific package 18 | - `packageName` (string, required): Name of the package 19 | - **download**: Download a package to local storage 20 | - `packageName` (string, required): Name of the package 21 | - `path` (string, required): Path to download the package to 22 | - **upload**: Upload a package from local storage 23 | - `packageName` (string, required): Name of the package 24 | - `path` (string, required): Path to upload the package from 25 | - `description` (string, required): Description of the package 26 | - `contact` (string, optional): Contact information for the package 27 | - `properties` (object, optional): Additional properties as key-value pairs 28 | 29 | - **packages** (Packages of a specific type): 30 | - **list**: List all packages of a specific type in a namespace 31 | - `type` (string, required): Package type (function, source, sink) 32 | - `namespace` (string, required): The namespace name -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_resource_quotas.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_resourcequota 2 | 3 | Manage Apache Pulsar resource quotas for brokers, namespaces and bundles. Resource quotas define limits for resource usage such as message rates, bandwidth, and memory. These quotas help prevent resource abuse and ensure fair resource allocation across the Pulsar cluster. 4 | 5 | This tool provides operations on the following resource: 6 | 7 | - **quota** (Resource quota configuration): 8 | - **get**: Get resource quota for a namespace bundle or the default quota 9 | - `namespace` (string, optional): The namespace name in format 'tenant/namespace' 10 | - `bundle` (string, optional): The bundle range in format '{start-boundary}_{end-boundary}' 11 | - Note: If namespace and bundle are both omitted, returns the default quota 12 | - Note: If namespace is specified, bundle must also be specified and vice versa 13 | - **set**: Set resource quota for a namespace bundle or the default quota 14 | - `namespace` (string, optional): The namespace name in format 'tenant/namespace' 15 | - `bundle` (string, optional): The bundle range in format '{start-boundary}_{end-boundary}' 16 | - `msgRateIn` (number, required): Maximum incoming messages per second 17 | - `msgRateOut` (number, required): Maximum outgoing messages per second 18 | - `bandwidthIn` (number, required): Maximum inbound bandwidth in bytes per second 19 | - `bandwidthOut` (number, required): Maximum outbound bandwidth in bytes per second 20 | - `memory` (number, required): Maximum memory usage in Mbytes 21 | - `dynamic` (boolean, optional): Whether to allow quota to be dynamically re-calculated 22 | - **reset**: Reset a namespace bundle's resource quota to default value 23 | - `namespace` (string, required): The namespace name in format 'tenant/namespace' 24 | - `bundle` (string, required): The bundle range in format '{start-boundary}_{end-boundary}' -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_schemas.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_schema 2 | 3 | Manage Apache Pulsar schemas for topics. 4 | 5 | - **schema** 6 | - **get**: Get the schema for a topic 7 | - `topic` (string, required): The fully qualified topic name 8 | - `version` (number, optional): Schema version number 9 | - **upload**: Upload a new schema for a topic 10 | - `topic` (string, required): The fully qualified topic name 11 | - `filename` (string, required): Path to the schema definition file 12 | - **delete**: Delete the schema for a topic 13 | - `topic` (string, required): The fully qualified topic name -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_subscriptions.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_subscription 2 | 3 | Manage Pulsar topic subscriptions, which represent consumer groups reading from topics. 4 | 5 | - **list**: List all subscriptions for a topic 6 | - `topic` (string, required): The fully qualified topic name 7 | - **create**: Create a new subscription 8 | - `topic` (string, required): The fully qualified topic name 9 | - `subscription` (string, required): The subscription name 10 | - `message_id` (string, optional): Initial position, default is latest 11 | - **delete**: Delete a subscription 12 | - `topic` (string, required): The fully qualified topic name 13 | - `subscription` (string, required): The subscription name 14 | - **skip**: Skip messages for a subscription 15 | - `topic` (string, required): The fully qualified topic name 16 | - `subscription` (string, required): The subscription name 17 | - `count` (number, required): Number of messages to skip 18 | - **expire**: Expire messages for a subscription 19 | - `topic` (string, required): The fully qualified topic name 20 | - `subscription` (string, required): The subscription name 21 | - `expiry_time` (string, required): Expiry time in seconds 22 | - **reset-cursor**: Reset subscription position 23 | - `topic` (string, required): The fully qualified topic name 24 | - `subscription` (string, required): The subscription name 25 | - `message_id` (string, required): Message ID to reset to -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_tenants.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_tenant 2 | 3 | Manage Pulsar tenants, which are the highest level administrative units. 4 | 5 | - **list**: List all tenants in the Pulsar instance 6 | - **get**: Get configuration details for a specific tenant 7 | - `tenant` (string, required): The tenant name 8 | - **create**: Create a new tenant 9 | - `tenant` (string, required): The tenant name 10 | - `admin_roles` (array, optional): List of roles with admin permissions 11 | - `allowed_clusters` (array, required): List of clusters tenant can access 12 | - **update**: Update configuration for an existing tenant 13 | - `tenant` (string, required): The tenant name 14 | - `admin_roles` (array, optional): List of roles with admin permissions 15 | - `allowed_clusters` (array, required): List of clusters tenant can access 16 | - **delete**: Delete a tenant 17 | - `tenant` (string, required): The tenant name -------------------------------------------------------------------------------- /docs/tools/pulsar_admin_topic_policy.md: -------------------------------------------------------------------------------- 1 | #### pulsar_admin_topic_policy 2 | 3 | Manage Pulsar topic-level policies, which override namespace-level policies. 4 | 5 | - **get**: Get policies for a topic 6 | - `topic` (string, required): The fully qualified topic name 7 | - `policy_type` (string, required): Type of policy to retrieve 8 | - **set**: Set a policy for a topic 9 | - `topic` (string, required): The fully qualified topic name 10 | - `policy_type` (string, required): Type of policy to set 11 | - `policy_value` (string/object, required): Policy value 12 | - **delete**: Remove a policy from a topic 13 | - `topic` (string, required): The fully qualified topic name 14 | - `policy_type` (string, required): Type of policy to remove -------------------------------------------------------------------------------- /docs/tools/pulsar_client_consume.md: -------------------------------------------------------------------------------- 1 | #### pulsar_client_consume 2 | 3 | Consume messages from a Pulsar topic. This tool allows you to consume messages from a specified Pulsar topic with various options to control the subscription behavior, message processing, and display format. 4 | 5 | - **pulsar_client_consume** 6 | - `topic` (string, required): Topic to consume from 7 | - `subscription-name` (string, required): Subscription name 8 | - `subscription-type` (string, optional): Subscription type (default: exclusive) 9 | - Options: exclusive, shared, failover, key_shared 10 | - `subscription-mode` (string, optional): Subscription mode (default: durable) 11 | - Options: durable, non-durable 12 | - `initial-position` (string, optional): Initial position (default: latest) 13 | - Options: latest (consume from the latest message), earliest (consume from the earliest message) 14 | - `num-messages` (number, optional): Number of messages to consume (0 for unlimited, default: 0) 15 | - `timeout` (number, optional): Timeout for consuming messages in seconds (default: 30) 16 | - `show-properties` (boolean, optional): Show message properties (default: false) 17 | - `hide-payload` (boolean, optional): Hide message payload (default: false) -------------------------------------------------------------------------------- /docs/tools/pulsar_client_produce.md: -------------------------------------------------------------------------------- 1 | #### pulsar_client_produce 2 | 3 | Produce messages to a Pulsar topic. This tool allows you to send messages to a specified Pulsar topic with various options to control message format, batching, and properties. 4 | 5 | - **pulsar_client_produce** 6 | - `topic` (string, required): Topic to produce to 7 | - `messages` (array, required): Messages to send. Specify multiple times for multiple messages 8 | - `num-produce` (number, optional): Number of times to send message(s) (default: 1) 9 | - `rate` (number, optional): Rate (in msg/sec) at which to produce, 0 means produce as fast as possible (default: 0) 10 | - `disable-batching` (boolean, optional): Disable batch sending of messages (default: false) 11 | - `chunking` (boolean, optional): Should split the message and publish in chunks if message size is larger than allowed max size (default: false) 12 | - `separator` (string, optional): Character to split messages string on (default: none) 13 | - `properties` (array, optional): Properties to add, key=value format. Specify multiple times for multiple properties 14 | - `key` (string, optional): Partitioning key to add to each message -------------------------------------------------------------------------------- /go.work: -------------------------------------------------------------------------------- 1 | go 1.24.3 2 | 3 | use . 4 | 5 | use ./sdk/sdk-apiserver 6 | 7 | use ./sdk/sdk-kafkaconnect 8 | -------------------------------------------------------------------------------- /pkg/auth/config_tokenprovider.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package auth 19 | 20 | import "fmt" 21 | 22 | type configProvider interface { 23 | GetTokens(identifier string) (string, string) 24 | SaveTokens(identifier, accessToken, refreshToken string) 25 | } 26 | 27 | // ConfigBackedCachingProvider wraps a configProvider in order to conform to 28 | // the cachingProvider interface 29 | type ConfigBackedCachingProvider struct { 30 | identifier string 31 | config configProvider 32 | } 33 | 34 | // NewConfigBackedCachingProvider builds and returns a CachingTokenProvider 35 | // that utilizes a configProvider to cache tokens 36 | func NewConfigBackedCachingProvider(clientID, audience string, config configProvider) *ConfigBackedCachingProvider { 37 | return &ConfigBackedCachingProvider{ 38 | identifier: fmt.Sprintf("%s-%s", clientID, audience), 39 | config: config, 40 | } 41 | } 42 | 43 | // GetTokens gets the tokens from the cache and returns them as a TokenResult 44 | func (c *ConfigBackedCachingProvider) GetTokens() (*TokenResult, error) { 45 | accessToken, refreshToken := c.config.GetTokens(c.identifier) 46 | return &TokenResult{ 47 | AccessToken: accessToken, 48 | RefreshToken: refreshToken, 49 | }, nil 50 | } 51 | 52 | // CacheTokens caches the id and refresh token from TokenResult in the 53 | // configProvider 54 | func (c *ConfigBackedCachingProvider) CacheTokens(toCache *TokenResult) error { 55 | c.config.SaveTokens(c.identifier, toCache.AccessToken, toCache.RefreshToken) 56 | return nil 57 | } 58 | -------------------------------------------------------------------------------- /pkg/auth/data_url.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package auth 19 | 20 | import ( 21 | "encoding/base64" 22 | "errors" 23 | "regexp" 24 | ) 25 | 26 | var errDataURLInvalid = errors.New("invalid data URL") 27 | 28 | // https://datatracker.ietf.org/doc/html/rfc2397 29 | var dataURLRegex = regexp.MustCompile("^data:(?P[^;,]+)?(;(?Pcharset=[^;,]+))?" + 30 | "(;(?Pbase64))?,(?P.+)") 31 | 32 | type dataURL struct { 33 | url string 34 | Mimetype string 35 | Data []byte 36 | } 37 | 38 | func newDataURL(url string) (*dataURL, error) { 39 | if !dataURLRegex.Match([]byte(url)) { 40 | return nil, errDataURLInvalid 41 | } 42 | 43 | match := dataURLRegex.FindStringSubmatch(url) 44 | if len(match) != 7 { 45 | return nil, errDataURLInvalid 46 | } 47 | 48 | dataURL := &dataURL{ 49 | url: url, 50 | } 51 | 52 | mimetype := match[dataURLRegex.SubexpIndex("mimetype")] 53 | if mimetype == "" { 54 | mimetype = "text/plain" 55 | } 56 | dataURL.Mimetype = mimetype 57 | 58 | data := match[dataURLRegex.SubexpIndex("data")] 59 | if match[dataURLRegex.SubexpIndex("base64")] == "" { 60 | dataURL.Data = []byte(data) 61 | } else { 62 | data, err := base64.StdEncoding.DecodeString(data) 63 | if err != nil { 64 | return nil, err 65 | } 66 | dataURL.Data = data 67 | } 68 | 69 | return dataURL, nil 70 | } 71 | -------------------------------------------------------------------------------- /pkg/auth/oidc_endpoint_provider.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package auth 19 | 20 | import ( 21 | "encoding/json" 22 | "net/http" 23 | "net/url" 24 | "path" 25 | 26 | "github.com/pkg/errors" 27 | ) 28 | 29 | // OIDCWellKnownEndpoints holds the well known OIDC endpoints 30 | type OIDCWellKnownEndpoints struct { 31 | AuthorizationEndpoint string `json:"authorization_endpoint"` 32 | TokenEndpoint string `json:"token_endpoint"` 33 | DeviceAuthorizationEndpoint string `json:"device_authorization_endpoint"` 34 | } 35 | 36 | // GetOIDCWellKnownEndpointsFromIssuerURL gets the well known endpoints for the 37 | // passed in issuer url 38 | func GetOIDCWellKnownEndpointsFromIssuerURL(issuerURL string) (*OIDCWellKnownEndpoints, error) { 39 | u, err := url.Parse(issuerURL) 40 | if err != nil { 41 | return nil, errors.Wrap(err, "could not parse issuer url to build well known endpoints") 42 | } 43 | u.Path = path.Join(u.Path, ".well-known/openid-configuration") 44 | 45 | r, err := http.Get(u.String()) 46 | if err != nil { 47 | return nil, errors.Wrapf(err, "could not get well known endpoints from url %s", u.String()) 48 | } 49 | defer r.Body.Close() 50 | 51 | var wkEndpoints OIDCWellKnownEndpoints 52 | err = json.NewDecoder(r.Body).Decode(&wkEndpoints) 53 | if err != nil { 54 | return nil, errors.Wrap(err, "could not decode json body when getting well known endpoints") 55 | } 56 | 57 | return &wkEndpoints, nil 58 | } 59 | -------------------------------------------------------------------------------- /pkg/auth/store/store.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package store 19 | 20 | import ( 21 | "errors" 22 | 23 | "github.com/streamnative/streamnative-mcp-server/pkg/auth" 24 | ) 25 | 26 | // ErrNoAuthenticationData indicates that stored authentication data is not available 27 | var ErrNoAuthenticationData = errors.New("authentication data is not available") 28 | 29 | // ErrUnsupportedAuthData ndicates that stored authentication data is unusable 30 | var ErrUnsupportedAuthData = errors.New("authentication data is not usable") 31 | 32 | // Store is responsible for persisting authorization grants 33 | type Store interface { 34 | // SaveGrant stores an authorization grant for a given audience 35 | SaveGrant(audience string, grant auth.AuthorizationGrant) error 36 | 37 | // LoadGrant loads an authorization grant for a given audience 38 | LoadGrant(audience string) (*auth.AuthorizationGrant, error) 39 | 40 | // WhoAmI returns the current user name (or an error if nobody is logged in) 41 | WhoAmI(audience string) (string, error) 42 | 43 | // Logout deletes all stored credentials 44 | Logout() error 45 | } 46 | -------------------------------------------------------------------------------- /pkg/config/auth.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package config 19 | 20 | import ( 21 | "path/filepath" 22 | 23 | "github.com/streamnative/streamnative-mcp-server/pkg/auth/store" 24 | 25 | "github.com/99designs/keyring" 26 | "github.com/spf13/cobra" 27 | ) 28 | 29 | const ( 30 | ServiceName = "StreamNativeMCP" 31 | KeychainName = "snmcp" 32 | ) 33 | 34 | type AuthOptions struct { 35 | BackendOverride string 36 | storage Storage 37 | 38 | // AuthOptions is a facade for the token store 39 | // note: call Complete before using the token store methods 40 | store.Store 41 | } 42 | 43 | func NewDefaultAuthOptions() AuthOptions { 44 | return AuthOptions{} 45 | } 46 | 47 | func (o *AuthOptions) AddFlags(cmd *cobra.Command) { 48 | cmd.PersistentFlags().StringVar(&o.BackendOverride, "keyring-backend", "", 49 | "If present, the backend to use") 50 | } 51 | 52 | func (o *AuthOptions) Complete(storage Storage) error { 53 | o.storage = storage 54 | kr, err := o.makeKeyring() 55 | if err != nil { 56 | return err 57 | } 58 | o.Store, err = store.NewKeyringStore(kr) 59 | if err != nil { 60 | return err 61 | } 62 | return nil 63 | } 64 | 65 | func (o *AuthOptions) makeKeyring() (keyring.Keyring, error) { 66 | var backends []keyring.BackendType 67 | if o.BackendOverride != "" { 68 | backends = append(backends, keyring.BackendType(o.BackendOverride)) 69 | } 70 | 71 | return keyring.Open(keyring.Config{ 72 | ServiceName: ServiceName, 73 | KeychainName: KeychainName, 74 | KeychainTrustApplication: true, 75 | AllowedBackends: backends, 76 | FileDir: filepath.Join(o.storage.GetConfigDirectory(), "credentials"), 77 | FilePasswordFunc: keyringPrompt, 78 | }) 79 | } 80 | 81 | func keyringPrompt(_ string) (string, error) { 82 | return "", nil 83 | } 84 | -------------------------------------------------------------------------------- /pkg/config/external_kafka.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package config 19 | 20 | type ExternalKafka struct { 21 | BootstrapServers string 22 | AuthType string 23 | AuthMechanism string 24 | AuthUser string 25 | AuthPass string 26 | UseTLS bool 27 | ClientKeyFile string 28 | ClientCertFile string 29 | CaFile string 30 | SchemaRegistryURL string 31 | 32 | SchemaRegistryAuthUser string 33 | SchemaRegistryAuthPass string 34 | SchemaRegistryBearerToken string 35 | } 36 | -------------------------------------------------------------------------------- /pkg/config/external_pulsar.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package config 19 | 20 | type ExternalPulsar struct { 21 | ServiceURL string 22 | WebServiceURL string 23 | Token string 24 | AuthPlugin string 25 | AuthParams string 26 | TLSAllowInsecureConnection bool 27 | TLSEnableHostnameVerification bool 28 | TLSTrustCertsFilePath string 29 | TLSCertFile string 30 | TLSKeyFile string 31 | } 32 | -------------------------------------------------------------------------------- /pkg/log/io.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package log 19 | 20 | import ( 21 | "io" 22 | 23 | log "github.com/sirupsen/logrus" 24 | ) 25 | 26 | // IOLogger is a wrapper around io.Reader and io.Writer that can be used 27 | // to log the data being read and written from the underlying streams 28 | type IOLogger struct { 29 | reader io.Reader 30 | writer io.Writer 31 | logger *log.Logger 32 | } 33 | 34 | // NewIOLogger creates a new IOLogger instance 35 | func NewIOLogger(r io.Reader, w io.Writer, logger *log.Logger) *IOLogger { 36 | return &IOLogger{ 37 | reader: r, 38 | writer: w, 39 | logger: logger, 40 | } 41 | } 42 | 43 | // Read reads data from the underlying io.Reader and logs it. 44 | func (l *IOLogger) Read(p []byte) (n int, err error) { 45 | if l.reader == nil { 46 | return 0, io.EOF 47 | } 48 | n, err = l.reader.Read(p) 49 | if n > 0 { 50 | l.logger.Infof("[stdin]: received %d bytes: %s", n, string(p[:n])) 51 | } 52 | return n, err 53 | } 54 | 55 | // Write writes data to the underlying io.Writer and logs it. 56 | func (l *IOLogger) Write(p []byte) (n int, err error) { 57 | if l.writer == nil { 58 | return 0, io.ErrClosedPipe 59 | } 60 | l.logger.Infof("[stdout]: sending %d bytes: %s", len(p), string(p)) 61 | return l.writer.Write(p) 62 | } 63 | -------------------------------------------------------------------------------- /pkg/mcp/context.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package mcp 19 | 20 | var McpContextPulsarInstance *string 21 | var McpContextPulsarCluster *string 22 | var McpContextOrganization *string 23 | 24 | func SetMcpContext(instance, cluster, organization string) { 25 | McpContextPulsarInstance = &instance 26 | McpContextPulsarCluster = &cluster 27 | McpContextOrganization = &organization 28 | } 29 | 30 | // GetMcpContext returns the currently configured StreamNative Cloud context. 31 | // If the context has not been fully configured, it returns empty strings. 32 | func GetMcpContext() (string, string, string) { 33 | if McpContextPulsarInstance == nil || McpContextPulsarCluster == nil || McpContextOrganization == nil { 34 | return "", "", "" 35 | } 36 | 37 | return *McpContextPulsarInstance, *McpContextPulsarCluster, *McpContextOrganization 38 | } 39 | 40 | func ResetMcpContext() { 41 | McpContextPulsarInstance = nil 42 | McpContextPulsarCluster = nil 43 | McpContextOrganization = nil 44 | } 45 | -------------------------------------------------------------------------------- /pkg/mcp/context_test.go: -------------------------------------------------------------------------------- 1 | package mcp 2 | 3 | import "testing" 4 | 5 | func TestGetMcpContextUnset(t *testing.T) { 6 | ResetMcpContext() 7 | instance, cluster, org := GetMcpContext() 8 | if instance != "" || cluster != "" || org != "" { 9 | t.Fatalf("expected empty context when unset, got %q %q %q", instance, cluster, org) 10 | } 11 | } 12 | 13 | func TestGetMcpContextSet(t *testing.T) { 14 | ResetMcpContext() 15 | SetMcpContext("inst", "cluster", "org") 16 | instance, cluster, org := GetMcpContext() 17 | if instance != "inst" || cluster != "cluster" || org != "org" { 18 | t.Fatalf("expected context to be returned, got %q %q %q", instance, cluster, org) 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /pkg/mcp/features.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | package mcp 19 | 20 | type Feature string 21 | 22 | const ( 23 | FeatureAll Feature = "all" 24 | FeatureAllKafka Feature = "all-kafka" 25 | FeatureAllPulsar Feature = "all-pulsar" 26 | FeatureKafkaClient Feature = "kafka-client" 27 | FeatureKafkaAdmin Feature = "kafka-admin" 28 | FeatureKafkaAdminSchemaRegistry Feature = "kafka-admin-schema-registry" 29 | FeatureKafkaAdminKafkaConnect Feature = "kafka-admin-kafka-connect" 30 | FeaturePulsarAdmin Feature = "pulsar-admin" 31 | FeaturePulsarAdminBrokersStatus Feature = "pulsar-admin-brokers-status" 32 | FeaturePulsarAdminBrokers Feature = "pulsar-admin-brokers" 33 | FeaturePulsarAdminClusters Feature = "pulsar-admin-clusters" 34 | FeaturePulsarAdminFunctions Feature = "pulsar-admin-functions" 35 | FeaturePulsarAdminNamespaces Feature = "pulsar-admin-namespaces" 36 | FeaturePulsarAdminTenants Feature = "pulsar-admin-tenants" 37 | FeaturePulsarAdminTopics Feature = "pulsar-admin-topics" 38 | FeaturePulsarAdminFunctionsWorker Feature = "pulsar-admin-functions-worker" 39 | FeaturePulsarAdminSinks Feature = "pulsar-admin-sinks" 40 | FeaturePulsarAdminSources Feature = "pulsar-admin-sources" 41 | FeaturePulsarAdminNamespacePolicy Feature = "pulsar-admin-namespace-policy" 42 | FeaturePulsarAdminNsIsolationPolicy Feature = "pulsar-admin-ns-isolation-policy" 43 | FeaturePulsarAdminPackages Feature = "pulsar-admin-packages" 44 | FeaturePulsarAdminResourceQuotas Feature = "pulsar-admin-resource-quotas" 45 | FeaturePulsarAdminSchemas Feature = "pulsar-admin-schemas" 46 | FeaturePulsarAdminSubscriptions Feature = "pulsar-admin-subscriptions" 47 | FeaturePulsarAdminTopicPolicy Feature = "pulsar-admin-topic-policy" 48 | FeaturePulsarClient Feature = "pulsar-client" 49 | FeatureStreamNativeCloud Feature = "streamnative-cloud" 50 | FeatureFunctionsAsTools Feature = "functions-as-tools" 51 | ) 52 | -------------------------------------------------------------------------------- /pkg/pftools/errors.go: -------------------------------------------------------------------------------- 1 | package pftools 2 | 3 | import "errors" 4 | 5 | var ( 6 | ErrFunctionNotFound = errors.New("function not found") 7 | ErrNotOurMessage = errors.New("not our message") 8 | ) 9 | -------------------------------------------------------------------------------- /pkg/schema/avro.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | import ( 4 | "fmt" 5 | // "reflect" // No longer needed here 6 | 7 | cliutils "github.com/apache/pulsar-client-go/pulsaradmin/pkg/utils" 8 | "github.com/mark3labs/mcp-go/mcp" 9 | ) 10 | 11 | type AvroConverter struct { 12 | BaseConverter 13 | } 14 | 15 | func NewAvroConverter() *AvroConverter { 16 | return &AvroConverter{} 17 | } 18 | 19 | func (c *AvroConverter) ToMCPToolInputSchemaProperties(schemaInfo *cliutils.SchemaInfo) ([]mcp.ToolOption, error) { 20 | if schemaInfo.Type != "AVRO" { 21 | return nil, fmt.Errorf("expected AVRO schema, got %s", schemaInfo.Type) 22 | } 23 | return processAvroSchemaStringToMCPToolInput(string(schemaInfo.Schema)) 24 | } 25 | 26 | func (c *AvroConverter) SerializeMCPRequestToPulsarPayload(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) ([]byte, error) { 27 | if err := c.ValidateArguments(arguments, targetPulsarSchemaInfo); err != nil { 28 | return nil, fmt.Errorf("arguments validation failed: %w", err) 29 | } 30 | return serializeArgumentsToAvroBinary(arguments, string(targetPulsarSchemaInfo.Schema)) 31 | } 32 | 33 | func (c *AvroConverter) ValidateArguments(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) error { 34 | if targetPulsarSchemaInfo.Type != "AVRO" { 35 | return fmt.Errorf("expected AVRO schema for validation, got %s", targetPulsarSchemaInfo.Type) 36 | } 37 | return validateArgumentsAgainstAvroSchemaString(arguments, string(targetPulsarSchemaInfo.Schema)) 38 | } 39 | -------------------------------------------------------------------------------- /pkg/schema/boolean.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | import ( 4 | "fmt" 5 | 6 | cliutils "github.com/apache/pulsar-client-go/pulsaradmin/pkg/utils" 7 | "github.com/mark3labs/mcp-go/mcp" 8 | "github.com/streamnative/streamnative-mcp-server/pkg/common" 9 | ) 10 | 11 | // BooleanConverter handles the conversion for Pulsar BOOLEAN schemas. 12 | type BooleanConverter struct { 13 | BaseConverter 14 | } 15 | 16 | // NewBooleanConverter creates a new instance of BooleanConverter. 17 | func NewBooleanConverter() *BooleanConverter { 18 | return &BooleanConverter{ 19 | BaseConverter: BaseConverter{ 20 | ParamName: ParamName, 21 | }, 22 | } 23 | } 24 | 25 | func (c *BooleanConverter) ToMCPToolInputSchemaProperties(schemaInfo *cliutils.SchemaInfo) ([]mcp.ToolOption, error) { 26 | if schemaInfo.Type != "BOOLEAN" { 27 | return nil, fmt.Errorf("expected BOOLEAN schema, got %s", schemaInfo.Type) 28 | } 29 | 30 | return []mcp.ToolOption{ 31 | mcp.WithBoolean(c.ParamName, mcp.Description(fmt.Sprintf("The input schema is a %s schema", schemaInfo.Type)), mcp.Required()), 32 | }, nil 33 | } 34 | 35 | func (c *BooleanConverter) SerializeMCPRequestToPulsarPayload(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) ([]byte, error) { 36 | if err := c.ValidateArguments(arguments, targetPulsarSchemaInfo); err != nil { 37 | return nil, fmt.Errorf("arguments validation failed: %w", err) 38 | } 39 | 40 | payload, err := common.RequiredParam[bool](arguments, c.ParamName) 41 | if err != nil { 42 | return nil, fmt.Errorf("failed to get payload: %w", err) 43 | } 44 | 45 | return []byte(fmt.Sprintf("%t", payload)), nil 46 | } 47 | 48 | func (c *BooleanConverter) ValidateArguments(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) error { 49 | if targetPulsarSchemaInfo.Type != "BOOLEAN" { 50 | return fmt.Errorf("expected BOOLEAN schema, got %s", targetPulsarSchemaInfo.Type) 51 | } 52 | 53 | _, err := common.RequiredParam[bool](arguments, c.ParamName) 54 | if err != nil { 55 | return fmt.Errorf("failed to get payload: %w", err) 56 | } 57 | 58 | return nil 59 | } 60 | -------------------------------------------------------------------------------- /pkg/schema/common.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/apache/pulsar-client-go/pulsar" 7 | ) 8 | 9 | // GetSchemaType 返回Schema类型的字符串表示 10 | func GetSchemaType(schemaType pulsar.SchemaType) string { 11 | switch schemaType { 12 | case pulsar.AVRO: 13 | return "AVRO" 14 | case pulsar.JSON: 15 | return "JSON" 16 | case pulsar.STRING: 17 | return "STRING" 18 | case pulsar.INT8: 19 | return "INT8" 20 | case pulsar.INT16: 21 | return "INT16" 22 | case pulsar.INT32: 23 | return "INT32" 24 | case pulsar.INT64: 25 | return "INT64" 26 | case pulsar.FLOAT: 27 | return "FLOAT" 28 | case pulsar.DOUBLE: 29 | return "DOUBLE" 30 | case pulsar.BOOLEAN: 31 | return "BOOLEAN" 32 | case pulsar.BYTES: 33 | return "BYTES" 34 | default: 35 | return fmt.Sprintf("Unknown(%d)", schemaType) 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /pkg/schema/common_test.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | import ( 4 | "testing" 5 | 6 | "github.com/apache/pulsar-client-go/pulsar" 7 | ) 8 | 9 | // Future test functions will be added here. 10 | 11 | func TestGetSchemaType(t *testing.T) { 12 | tests := []struct { 13 | name string 14 | schemaType pulsar.SchemaType 15 | want string 16 | }{ 17 | {name: "AVRO", schemaType: pulsar.AVRO, want: "AVRO"}, 18 | {name: "JSON", schemaType: pulsar.JSON, want: "JSON"}, 19 | {name: "STRING", schemaType: pulsar.STRING, want: "STRING"}, 20 | {name: "INT8", schemaType: pulsar.INT8, want: "INT8"}, 21 | {name: "INT16", schemaType: pulsar.INT16, want: "INT16"}, 22 | {name: "INT32", schemaType: pulsar.INT32, want: "INT32"}, 23 | {name: "INT64", schemaType: pulsar.INT64, want: "INT64"}, 24 | {name: "FLOAT", schemaType: pulsar.FLOAT, want: "FLOAT"}, 25 | {name: "DOUBLE", schemaType: pulsar.DOUBLE, want: "DOUBLE"}, 26 | {name: "BOOLEAN", schemaType: pulsar.BOOLEAN, want: "BOOLEAN"}, 27 | {name: "BYTES", schemaType: pulsar.BYTES, want: "BYTES"}, 28 | {name: "Unknown", schemaType: pulsar.SchemaType(999), want: "Unknown(999)"}, 29 | } 30 | 31 | for _, tt := range tests { 32 | t.Run(tt.name, func(t *testing.T) { 33 | if got := GetSchemaType(tt.schemaType); got != tt.want { 34 | t.Errorf("GetSchemaType() = %v, want %v", got, tt.want) 35 | } 36 | }) 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /pkg/schema/converter.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | import ( 4 | "fmt" 5 | 6 | cliutils "github.com/apache/pulsar-client-go/pulsaradmin/pkg/utils" 7 | "github.com/mark3labs/mcp-go/mcp" 8 | ) 9 | 10 | const ( 11 | ParamName = "payload" 12 | ) 13 | 14 | type Converter interface { 15 | ToMCPToolInputSchemaProperties(pulsarSchemaInfo *cliutils.SchemaInfo) ([]mcp.ToolOption, error) 16 | 17 | SerializeMCPRequestToPulsarPayload(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) ([]byte, error) 18 | 19 | ValidateArguments(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) error 20 | } 21 | 22 | func ConverterFactory(schemaType string) (Converter, error) { 23 | switch schemaType { 24 | case "AVRO": 25 | return NewAvroConverter(), nil 26 | case "JSON": 27 | return NewJSONConverter(), nil 28 | case "STRING", "BYTES": 29 | return NewStringConverter(), nil 30 | case "INT8", "INT16", "INT32", "INT64", "FLOAT", "DOUBLE": 31 | return NewNumberConverter(), nil 32 | case "BOOLEAN": 33 | return NewBooleanConverter(), nil 34 | default: 35 | return nil, fmt.Errorf("unsupported schema type: %v", schemaType) 36 | } 37 | } 38 | 39 | type BaseConverter struct { 40 | ParamName string 41 | } 42 | -------------------------------------------------------------------------------- /pkg/schema/converter_test.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | import ( 4 | "reflect" 5 | "testing" 6 | 7 | "github.com/stretchr/testify/assert" 8 | ) 9 | 10 | // Future test functions will be added here. 11 | 12 | func TestConverterFactory(t *testing.T) { 13 | tests := []struct { 14 | name string 15 | schemaType string 16 | wantType reflect.Type 17 | wantErr bool 18 | }{ 19 | {name: "AVRO", schemaType: "AVRO", wantType: reflect.TypeOf(&AvroConverter{}), wantErr: false}, 20 | {name: "JSON", schemaType: "JSON", wantType: reflect.TypeOf(&JSONConverter{}), wantErr: false}, 21 | {name: "STRING", schemaType: "STRING", wantType: reflect.TypeOf(&StringConverter{}), wantErr: false}, 22 | {name: "BYTES", schemaType: "BYTES", wantType: reflect.TypeOf(&StringConverter{}), wantErr: false}, 23 | {name: "INT8", schemaType: "INT8", wantType: reflect.TypeOf(&NumberConverter{}), wantErr: false}, 24 | {name: "INT16", schemaType: "INT16", wantType: reflect.TypeOf(&NumberConverter{}), wantErr: false}, 25 | {name: "INT32", schemaType: "INT32", wantType: reflect.TypeOf(&NumberConverter{}), wantErr: false}, 26 | {name: "INT64", schemaType: "INT64", wantType: reflect.TypeOf(&NumberConverter{}), wantErr: false}, 27 | {name: "FLOAT", schemaType: "FLOAT", wantType: reflect.TypeOf(&NumberConverter{}), wantErr: false}, 28 | {name: "DOUBLE", schemaType: "DOUBLE", wantType: reflect.TypeOf(&NumberConverter{}), wantErr: false}, 29 | {name: "BOOLEAN", schemaType: "BOOLEAN", wantType: reflect.TypeOf(&BooleanConverter{}), wantErr: false}, 30 | {name: "avro_lowercase", schemaType: "avro", wantType: nil, wantErr: true}, 31 | {name: "UNKNOWN_TYPE", schemaType: "UNKNOWN_TYPE", wantType: nil, wantErr: true}, 32 | } 33 | 34 | for _, tt := range tests { 35 | t.Run(tt.name, func(t *testing.T) { 36 | got, err := ConverterFactory(tt.schemaType) 37 | if (err != nil) != tt.wantErr { 38 | t.Errorf("ConverterFactory() error = %v, wantErr %v", err, tt.wantErr) 39 | return 40 | } 41 | if !tt.wantErr && reflect.TypeOf(got) != tt.wantType { 42 | t.Errorf("ConverterFactory() got = %v, want %v", reflect.TypeOf(got), tt.wantType) 43 | } 44 | // For error cases, we might also want to assert the error message if it's specific. 45 | if tt.wantErr && err != nil { 46 | assert.Contains(t, err.Error(), "unsupported schema type") 47 | } 48 | }) 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /pkg/schema/json.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | import ( 4 | "encoding/json" // Required for json.Marshal 5 | "fmt" 6 | 7 | cliutils "github.com/apache/pulsar-client-go/pulsaradmin/pkg/utils" 8 | "github.com/mark3labs/mcp-go/mcp" 9 | ) 10 | 11 | // JSONConverter handles the conversion for Pulsar JSON schemas. 12 | // It relies on the underlying AVRO schema definition for structure and validation, 13 | // but serializes to a standard JSON text payload. 14 | type JSONConverter struct { 15 | BaseConverter 16 | } 17 | 18 | // NewJSONConverter creates a new instance of JSONConverter. 19 | func NewJSONConverter() *JSONConverter { 20 | return &JSONConverter{} 21 | } 22 | 23 | // ToMCPToolInputSchemaProperties converts the Pulsar JSON SchemaInfo (which is AVRO based) 24 | // to MCP tool input schema properties. 25 | func (c *JSONConverter) ToMCPToolInputSchemaProperties(schemaInfo *cliutils.SchemaInfo) ([]mcp.ToolOption, error) { 26 | if schemaInfo.Type != "JSON" { 27 | // Assuming GetSchemaType will be available from somewhere in the package (e.g. converter.go) 28 | return nil, fmt.Errorf("expected JSON schema, got %s", schemaInfo.Type) 29 | } 30 | // The schemaInfo.Schema for JSON type is the AVRO schema string definition. 31 | // Delegate to the core AVRO processing function from avro_core.go. 32 | return processAvroSchemaStringToMCPToolInput(string(schemaInfo.Schema)) 33 | } 34 | 35 | // SerializeMCPRequestToPulsarPayload validates arguments against the underlying AVRO schema definition 36 | // and then serializes them to a JSON text payload for Pulsar. 37 | func (c *JSONConverter) SerializeMCPRequestToPulsarPayload(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) ([]byte, error) { 38 | if err := c.ValidateArguments(arguments, targetPulsarSchemaInfo); err != nil { 39 | return nil, fmt.Errorf("arguments validation failed: %w", err) 40 | } 41 | 42 | // Serialize arguments to standard JSON []byte. 43 | jsonData, err := json.Marshal(arguments) 44 | if err != nil { 45 | return nil, fmt.Errorf("failed to marshal arguments to JSON: %w", err) 46 | } 47 | 48 | return jsonData, nil 49 | } 50 | 51 | // ValidateArguments validates the given arguments against the Pulsar JSON SchemaInfo's 52 | // underlying AVRO schema definition. 53 | func (c *JSONConverter) ValidateArguments(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) error { 54 | if targetPulsarSchemaInfo.Type != "JSON" { 55 | return fmt.Errorf("expected JSON schema for validation, got %s", targetPulsarSchemaInfo.Type) 56 | } 57 | // The schemaInfo.Schema for JSON type is the AVRO schema string definition. 58 | // Delegate to the core AVRO validation function from avro_core.go. 59 | return validateArgumentsAgainstAvroSchemaString(arguments, string(targetPulsarSchemaInfo.Schema)) 60 | } 61 | -------------------------------------------------------------------------------- /pkg/schema/string.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | import ( 4 | "fmt" 5 | 6 | cliutils "github.com/apache/pulsar-client-go/pulsaradmin/pkg/utils" 7 | "github.com/mark3labs/mcp-go/mcp" 8 | "github.com/streamnative/streamnative-mcp-server/pkg/common" 9 | ) 10 | 11 | // StringConverter handles the conversion for Pulsar STRING schemas. 12 | type StringConverter struct { 13 | BaseConverter 14 | } 15 | 16 | // NewStringConverter creates a new instance of StringConverter. 17 | func NewStringConverter() *StringConverter { 18 | return &StringConverter{ 19 | BaseConverter: BaseConverter{ 20 | ParamName: ParamName, 21 | }, 22 | } 23 | } 24 | 25 | func (c *StringConverter) ToMCPToolInputSchemaProperties(schemaInfo *cliutils.SchemaInfo) ([]mcp.ToolOption, error) { 26 | if schemaInfo.Type != "STRING" && schemaInfo.Type != "BYTES" { 27 | return nil, fmt.Errorf("expected STRING or BYTES schema, got %s", schemaInfo.Type) 28 | } 29 | 30 | return []mcp.ToolOption{ 31 | mcp.WithString(c.ParamName, mcp.Description(fmt.Sprintf("The input schema is a %s schema", schemaInfo.Type)), mcp.Required()), 32 | }, nil 33 | } 34 | 35 | func (c *StringConverter) SerializeMCPRequestToPulsarPayload(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) ([]byte, error) { 36 | if err := c.ValidateArguments(arguments, targetPulsarSchemaInfo); err != nil { 37 | return nil, fmt.Errorf("arguments validation failed: %w", err) 38 | } 39 | 40 | payload, err := common.RequiredParam[string](arguments, c.ParamName) 41 | if err != nil { 42 | return nil, fmt.Errorf("failed to get payload: %w", err) 43 | } 44 | 45 | return []byte(payload), nil 46 | } 47 | 48 | func (c *StringConverter) ValidateArguments(arguments map[string]any, targetPulsarSchemaInfo *cliutils.SchemaInfo) error { 49 | if targetPulsarSchemaInfo.Type != "STRING" && targetPulsarSchemaInfo.Type != "BYTES" { 50 | return fmt.Errorf("expected STRING or BYTES schema, got %s", targetPulsarSchemaInfo.Type) 51 | } 52 | 53 | payload, err := common.RequiredParam[string](arguments, c.ParamName) 54 | if err != nil { 55 | return fmt.Errorf("failed to get payload: %w", err) 56 | } 57 | 58 | if payload == "" { 59 | return fmt.Errorf("payload cannot be empty") 60 | } 61 | 62 | return nil 63 | } 64 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/.openapi-generator-ignore: -------------------------------------------------------------------------------- 1 | # OpenAPI Generator Ignore 2 | # Generated by openapi-generator https://github.com/openapitools/openapi-generator 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/.openapi-generator/COMMIT: -------------------------------------------------------------------------------- 1 | Requested Commit/Tag : v6.2.0 2 | Actual Commit : 24f476a38161a797c773577cab775ef285baeaba 3 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 6.2.0 -------------------------------------------------------------------------------- /sdk/sdk-apiserver/.openapi-generator/swagger.json-default.sha256: -------------------------------------------------------------------------------- 1 | be504d98040ff8c11e998df6b2ecda4d32e53e923649b39895154b93d6276c35 -------------------------------------------------------------------------------- /sdk/sdk-apiserver/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | install: 4 | - go get -d -v . 5 | 6 | script: 7 | - go build -v ./ 8 | 9 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ApisApi.md: -------------------------------------------------------------------------------- 1 | # \ApisApi 2 | 3 | All URIs are relative to *http://localhost* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**GetAPIVersions**](ApisApi.md#GetAPIVersions) | **Get** /apis/ | 8 | 9 | 10 | 11 | ## GetAPIVersions 12 | 13 | > V1APIGroupList GetAPIVersions(ctx).Execute() 14 | 15 | 16 | 17 | 18 | 19 | ### Example 20 | 21 | ```go 22 | package main 23 | 24 | import ( 25 | "context" 26 | "fmt" 27 | "os" 28 | openapiclient "./openapi" 29 | ) 30 | 31 | func main() { 32 | 33 | configuration := openapiclient.NewConfiguration() 34 | apiClient := openapiclient.NewAPIClient(configuration) 35 | resp, r, err := apiClient.ApisApi.GetAPIVersions(context.Background()).Execute() 36 | if err != nil { 37 | fmt.Fprintf(os.Stderr, "Error when calling `ApisApi.GetAPIVersions``: %v\n", err) 38 | fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 39 | } 40 | // response from `GetAPIVersions`: V1APIGroupList 41 | fmt.Fprintf(os.Stdout, "Response from `ApisApi.GetAPIVersions`: %v\n", resp) 42 | } 43 | ``` 44 | 45 | ### Path Parameters 46 | 47 | This endpoint does not need any parameter. 48 | 49 | ### Other Parameters 50 | 51 | Other parameters are passed through a pointer to a apiGetAPIVersionsRequest struct via the builder pattern 52 | 53 | 54 | ### Return type 55 | 56 | [**V1APIGroupList**](V1APIGroupList.md) 57 | 58 | ### Authorization 59 | 60 | No authorization required 61 | 62 | ### HTTP request headers 63 | 64 | - **Content-Type**: Not defined 65 | - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf 66 | 67 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 68 | [[Back to Model list]](../README.md#documentation-for-models) 69 | [[Back to README]](../README.md) 70 | 71 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/AuthorizationStreamnativeIoApi.md: -------------------------------------------------------------------------------- 1 | # \AuthorizationStreamnativeIoApi 2 | 3 | All URIs are relative to *http://localhost* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**GetAuthorizationStreamnativeIoAPIGroup**](AuthorizationStreamnativeIoApi.md#GetAuthorizationStreamnativeIoAPIGroup) | **Get** /apis/authorization.streamnative.io/ | 8 | 9 | 10 | 11 | ## GetAuthorizationStreamnativeIoAPIGroup 12 | 13 | > V1APIGroup GetAuthorizationStreamnativeIoAPIGroup(ctx).Execute() 14 | 15 | 16 | 17 | 18 | 19 | ### Example 20 | 21 | ```go 22 | package main 23 | 24 | import ( 25 | "context" 26 | "fmt" 27 | "os" 28 | openapiclient "./openapi" 29 | ) 30 | 31 | func main() { 32 | 33 | configuration := openapiclient.NewConfiguration() 34 | apiClient := openapiclient.NewAPIClient(configuration) 35 | resp, r, err := apiClient.AuthorizationStreamnativeIoApi.GetAuthorizationStreamnativeIoAPIGroup(context.Background()).Execute() 36 | if err != nil { 37 | fmt.Fprintf(os.Stderr, "Error when calling `AuthorizationStreamnativeIoApi.GetAuthorizationStreamnativeIoAPIGroup``: %v\n", err) 38 | fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 39 | } 40 | // response from `GetAuthorizationStreamnativeIoAPIGroup`: V1APIGroup 41 | fmt.Fprintf(os.Stdout, "Response from `AuthorizationStreamnativeIoApi.GetAuthorizationStreamnativeIoAPIGroup`: %v\n", resp) 42 | } 43 | ``` 44 | 45 | ### Path Parameters 46 | 47 | This endpoint does not need any parameter. 48 | 49 | ### Other Parameters 50 | 51 | Other parameters are passed through a pointer to a apiGetAuthorizationStreamnativeIoAPIGroupRequest struct via the builder pattern 52 | 53 | 54 | ### Return type 55 | 56 | [**V1APIGroup**](V1APIGroup.md) 57 | 58 | ### Authorization 59 | 60 | No authorization required 61 | 62 | ### HTTP request headers 63 | 64 | - **Content-Type**: Not defined 65 | - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf 66 | 67 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 68 | [[Back to Model list]](../README.md#documentation-for-models) 69 | [[Back to README]](../README.md) 70 | 71 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/BillingStreamnativeIoApi.md: -------------------------------------------------------------------------------- 1 | # \BillingStreamnativeIoApi 2 | 3 | All URIs are relative to *http://localhost* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**GetBillingStreamnativeIoAPIGroup**](BillingStreamnativeIoApi.md#GetBillingStreamnativeIoAPIGroup) | **Get** /apis/billing.streamnative.io/ | 8 | 9 | 10 | 11 | ## GetBillingStreamnativeIoAPIGroup 12 | 13 | > V1APIGroup GetBillingStreamnativeIoAPIGroup(ctx).Execute() 14 | 15 | 16 | 17 | 18 | 19 | ### Example 20 | 21 | ```go 22 | package main 23 | 24 | import ( 25 | "context" 26 | "fmt" 27 | "os" 28 | openapiclient "./openapi" 29 | ) 30 | 31 | func main() { 32 | 33 | configuration := openapiclient.NewConfiguration() 34 | apiClient := openapiclient.NewAPIClient(configuration) 35 | resp, r, err := apiClient.BillingStreamnativeIoApi.GetBillingStreamnativeIoAPIGroup(context.Background()).Execute() 36 | if err != nil { 37 | fmt.Fprintf(os.Stderr, "Error when calling `BillingStreamnativeIoApi.GetBillingStreamnativeIoAPIGroup``: %v\n", err) 38 | fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 39 | } 40 | // response from `GetBillingStreamnativeIoAPIGroup`: V1APIGroup 41 | fmt.Fprintf(os.Stdout, "Response from `BillingStreamnativeIoApi.GetBillingStreamnativeIoAPIGroup`: %v\n", resp) 42 | } 43 | ``` 44 | 45 | ### Path Parameters 46 | 47 | This endpoint does not need any parameter. 48 | 49 | ### Other Parameters 50 | 51 | Other parameters are passed through a pointer to a apiGetBillingStreamnativeIoAPIGroupRequest struct via the builder pattern 52 | 53 | 54 | ### Return type 55 | 56 | [**V1APIGroup**](V1APIGroup.md) 57 | 58 | ### Authorization 59 | 60 | No authorization required 61 | 62 | ### HTTP request headers 63 | 64 | - **Content-Type**: Not defined 65 | - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf 66 | 67 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 68 | [[Back to Model list]](../README.md#documentation-for-models) 69 | [[Back to README]](../README.md) 70 | 71 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/CloudStreamnativeIoApi.md: -------------------------------------------------------------------------------- 1 | # \CloudStreamnativeIoApi 2 | 3 | All URIs are relative to *http://localhost* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**GetCloudStreamnativeIoAPIGroup**](CloudStreamnativeIoApi.md#GetCloudStreamnativeIoAPIGroup) | **Get** /apis/cloud.streamnative.io/ | 8 | 9 | 10 | 11 | ## GetCloudStreamnativeIoAPIGroup 12 | 13 | > V1APIGroup GetCloudStreamnativeIoAPIGroup(ctx).Execute() 14 | 15 | 16 | 17 | 18 | 19 | ### Example 20 | 21 | ```go 22 | package main 23 | 24 | import ( 25 | "context" 26 | "fmt" 27 | "os" 28 | openapiclient "./openapi" 29 | ) 30 | 31 | func main() { 32 | 33 | configuration := openapiclient.NewConfiguration() 34 | apiClient := openapiclient.NewAPIClient(configuration) 35 | resp, r, err := apiClient.CloudStreamnativeIoApi.GetCloudStreamnativeIoAPIGroup(context.Background()).Execute() 36 | if err != nil { 37 | fmt.Fprintf(os.Stderr, "Error when calling `CloudStreamnativeIoApi.GetCloudStreamnativeIoAPIGroup``: %v\n", err) 38 | fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 39 | } 40 | // response from `GetCloudStreamnativeIoAPIGroup`: V1APIGroup 41 | fmt.Fprintf(os.Stdout, "Response from `CloudStreamnativeIoApi.GetCloudStreamnativeIoAPIGroup`: %v\n", resp) 42 | } 43 | ``` 44 | 45 | ### Path Parameters 46 | 47 | This endpoint does not need any parameter. 48 | 49 | ### Other Parameters 50 | 51 | Other parameters are passed through a pointer to a apiGetCloudStreamnativeIoAPIGroupRequest struct via the builder pattern 52 | 53 | 54 | ### Return type 55 | 56 | [**V1APIGroup**](V1APIGroup.md) 57 | 58 | ### Authorization 59 | 60 | No authorization required 61 | 62 | ### HTTP request headers 63 | 64 | - **Content-Type**: Not defined 65 | - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf 66 | 67 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 68 | [[Back to Model list]](../README.md#documentation-for-models) 69 | [[Back to README]](../README.md) 70 | 71 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **DisplayName** | **string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization(displayName string, ) *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization instantiates a new ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1OrganizationWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1OrganizationWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1OrganizationWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetDisplayName 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization) GetDisplayName() string` 31 | 32 | GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. 33 | 34 | ### GetDisplayNameOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization) GetDisplayNameOk() (*string, bool)` 37 | 38 | GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetDisplayName 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1Organization) SetDisplayName(v string)` 44 | 45 | SetDisplayName sets DisplayName field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Namespace** | Pointer to **string** | | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec() *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetNamespace 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec) GetNamespace() string` 31 | 32 | GetNamespace returns the Namespace field if non-nil, zero value otherwise. 33 | 34 | ### GetNamespaceOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec) GetNamespaceOk() (*string, bool)` 37 | 38 | GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetNamespace 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec) SetNamespace(v string)` 44 | 45 | SetNamespace sets Namespace field to given value. 46 | 47 | ### HasNamespace 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SelfSubjectRbacReviewSpec) HasNamespace() bool` 50 | 51 | HasNamespace returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **User** | Pointer to **string** | User is the user you're testing for. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec() *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetUser 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec) GetUser() string` 31 | 32 | GetUser returns the User field if non-nil, zero value otherwise. 33 | 34 | ### GetUserOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec) GetUserOk() (*string, bool)` 37 | 38 | GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetUser 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec) SetUser(v string)` 44 | 45 | SetUser sets User field to given value. 46 | 47 | ### HasUser 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisAuthorizationV1alpha1SubjectRoleReviewSpec) HasUser() bool` 50 | 51 | HasUser returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Conditions** | Pointer to [**[]V1Condition**](V1Condition.md) | Conditions is an array of current observed conditions. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus() *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus instantiates a new ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatusWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatusWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatusWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetConditions 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus) GetConditions() []V1Condition` 31 | 32 | GetConditions returns the Conditions field if non-nil, zero value otherwise. 33 | 34 | ### GetConditionsOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus) GetConditionsOk() (*[]V1Condition, bool)` 37 | 38 | GetConditionsOk returns a tuple with the Conditions field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetConditions 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus) SetConditions(v []V1Condition)` 44 | 45 | SetConditions sets Conditions field to given value. 46 | 47 | ### HasConditions 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1PaymentIntentStatus) HasConditions() bool` 50 | 51 | HasConditions returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Conditions** | Pointer to [**[]V1Condition**](V1Condition.md) | Conditions is an array of current observed conidtions | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus() *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus instantiates a new ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatusWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatusWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatusWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetConditions 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus) GetConditions() []V1Condition` 31 | 32 | GetConditions returns the Conditions field if non-nil, zero value otherwise. 33 | 34 | ### GetConditionsOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus) GetConditionsOk() (*[]V1Condition, bool)` 37 | 38 | GetConditionsOk returns a tuple with the Conditions field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetConditions 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus) SetConditions(v []V1Condition)` 44 | 45 | SetConditions sets Conditions field to given value. 46 | 47 | ### HasConditions 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1SetupIntentStatus) HasConditions() bool` 50 | 51 | HasConditions returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Id** | Pointer to **string** | ID is the Stripe portal ID. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus() *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus instantiates a new ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatusWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatusWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatusWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetId 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus) GetId() string` 31 | 32 | GetId returns the Id field if non-nil, zero value otherwise. 33 | 34 | ### GetIdOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus) GetIdOk() (*string, bool)` 37 | 38 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetId 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus) SetId(v string)` 44 | 45 | SetId sets Id field to given value. 46 | 47 | ### HasId 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeCustomerPortalRequestStatus) HasId() bool` 50 | 51 | HasId returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **DefaultPriceKey** | Pointer to **string** | DefaultPriceKey sets the default price for the product. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec() *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetDefaultPriceKey 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec) GetDefaultPriceKey() string` 31 | 32 | GetDefaultPriceKey returns the DefaultPriceKey field if non-nil, zero value otherwise. 33 | 34 | ### GetDefaultPriceKeyOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec) GetDefaultPriceKeyOk() (*string, bool)` 37 | 38 | GetDefaultPriceKeyOk returns a tuple with the DefaultPriceKey field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetDefaultPriceKey 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec) SetDefaultPriceKey(v string)` 44 | 45 | SetDefaultPriceKey sets DefaultPriceKey field to given value. 46 | 47 | ### HasDefaultPriceKey 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisBillingV1alpha1StripeProductSpec) HasDefaultPriceKey() bool` 50 | 51 | HasDefaultPriceKey returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **AccountId** | **string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection(accountId string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnectionWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnectionWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnectionWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetAccountId 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection) GetAccountId() string` 31 | 32 | GetAccountId returns the AccountId field if non-nil, zero value otherwise. 33 | 34 | ### GetAccountIdOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection) GetAccountIdOk() (*string, bool)` 37 | 38 | GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetAccountId 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AWSCloudConnection) SetAccountId(v string)` 44 | 45 | SetAccountId sets AccountId field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Categories** | **[]string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog(categories []string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLogWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLogWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLogWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetCategories 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog) GetCategories() []string` 31 | 32 | GetCategories returns the Categories field if non-nil, zero value otherwise. 33 | 34 | ### GetCategoriesOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog) GetCategoriesOk() (*[]string, bool)` 37 | 38 | GetCategoriesOk returns a tuple with the Categories field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetCategories 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1AuditLog) SetCategories(v []string)` 44 | 45 | SetCategories sets Categories field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Email** | **string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec(email string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetEmail 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec) GetEmail() string` 31 | 32 | GetEmail returns the Email field if non-nil, zero value otherwise. 33 | 34 | ### GetEmailOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec) GetEmailOk() (*string, bool)` 37 | 38 | GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetEmail 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BillingAccountSpec) SetEmail(v string)` 44 | 45 | SetEmail sets Email field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **NodeType** | Pointer to **string** | NodeType defines the request node specification type, take lower precedence over Resources | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetNodeType 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec) GetNodeType() string` 31 | 32 | GetNodeType returns the NodeType field if non-nil, zero value otherwise. 33 | 34 | ### GetNodeTypeOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec) GetNodeTypeOk() (*string, bool)` 37 | 38 | GetNodeTypeOk returns a tuple with the NodeType field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetNodeType 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec) SetNodeType(v string)` 44 | 45 | SetNodeType sets NodeType field to given value. 46 | 47 | ### HasNodeType 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1BrokerNodeResourceSpec) HasNodeType() bool` 50 | 51 | HasNodeType returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Permissions** | Pointer to **[]string** | Permissions Designed for general permission format SERVICE.RESOURCE.VERB | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetPermissions 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec) GetPermissions() []string` 31 | 32 | GetPermissions returns the Permissions field if non-nil, zero value otherwise. 33 | 34 | ### GetPermissionsOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec) GetPermissionsOk() (*[]string, bool)` 37 | 38 | GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetPermissions 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec) SetPermissions(v []string)` 44 | 45 | SetPermissions sets Permissions field to given value. 46 | 47 | ### HasPermissions 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1ClusterRoleSpec) HasPermissions() bool` 50 | 51 | HasPermissions returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **CertificateName** | Pointer to **string** | CertificateName specifies the certificate object name to use. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLSWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLSWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLSWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetCertificateName 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS) GetCertificateName() string` 31 | 32 | GetCertificateName returns the CertificateName field if non-nil, zero value otherwise. 33 | 34 | ### GetCertificateNameOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS) GetCertificateNameOk() (*string, bool)` 37 | 38 | GetCertificateNameOk returns a tuple with the CertificateName field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetCertificateName 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS) SetCertificateName(v string)` 44 | 45 | SetCertificateName sets CertificateName field to given value. 46 | 47 | ### HasCertificateName 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1DomainTLS) HasCertificateName() bool` 50 | 51 | HasCertificateName returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Jwe** | Pointer to **string** | JWE is the token as a JSON Web Encryption (JWE) message. For RSA public keys, the key encryption algorithm is RSA-OAEP, and the content encryption algorithm is AES GCM. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedTokenWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedTokenWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedTokenWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetJwe 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken) GetJwe() string` 31 | 32 | GetJwe returns the Jwe field if non-nil, zero value otherwise. 33 | 34 | ### GetJweOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken) GetJweOk() (*string, bool)` 37 | 38 | GetJweOk returns a tuple with the Jwe field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetJwe 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken) SetJwe(v string)` 44 | 45 | SetJwe sets Jwe field to given value. 46 | 47 | ### HasJwe 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EncryptedToken) HasJwe() bool` 50 | 51 | HasJwe returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Gateway** | Pointer to **string** | Gateway is the name of the PulsarGateway to use for the endpoint. The default gateway of the pool member will be used if not specified. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccessWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccessWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccessWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetGateway 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess) GetGateway() string` 31 | 32 | GetGateway returns the Gateway field if non-nil, zero value otherwise. 33 | 34 | ### GetGatewayOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess) GetGatewayOk() (*string, bool)` 37 | 38 | GetGatewayOk returns a tuple with the Gateway field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetGateway 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess) SetGateway(v string)` 44 | 45 | SetGateway sets Gateway field to given value. 46 | 47 | ### HasGateway 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1EndpointAccess) HasGateway() bool` 50 | 51 | HasGateway returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ProjectId** | **string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection(projectId string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnectionWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnectionWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnectionWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetProjectId 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection) GetProjectId() string` 31 | 32 | GetProjectId returns the ProjectId field if non-nil, zero value otherwise. 33 | 34 | ### GetProjectIdOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection) GetProjectIdOk() (*string, bool)` 37 | 38 | GetProjectIdOk returns a tuple with the ProjectId field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetProjectId 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCPCloudConnection) SetProjectId(v string)` 44 | 45 | SetProjectId sets ProjectId field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Project** | **string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec(project string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetProject 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec) GetProject() string` 31 | 32 | GetProject returns the Project field if non-nil, zero value otherwise. 33 | 34 | ### GetProjectOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec) GetProjectOk() (*string, bool)` 37 | 38 | GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetProject 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1GCloudOrganizationSpec) SetProject(v string)` 44 | 45 | SetProject sets Project field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **BuyerIDs** | **[]string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger(buyerIDs []string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSugerWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSugerWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSugerWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetBuyerIDs 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger) GetBuyerIDs() []string` 31 | 32 | GetBuyerIDs returns the BuyerIDs field if non-nil, zero value otherwise. 33 | 34 | ### GetBuyerIDsOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger) GetBuyerIDsOk() (*[]string, bool)` 37 | 38 | GetBuyerIDsOk returns a tuple with the BuyerIDs field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetBuyerIDs 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1OrganizationSuger) SetBuyerIDs(v []string)` 44 | 45 | SetBuyerIDs sets BuyerIDs field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **CertSecretName** | **string** | The TLS secret to use (in the namespace of the gateway workload pods). | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls(certSecretName string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTlsWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTlsWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTlsWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetCertSecretName 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls) GetCertSecretName() string` 31 | 32 | GetCertSecretName returns the CertSecretName field if non-nil, zero value otherwise. 33 | 34 | ### GetCertSecretNameOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls) GetCertSecretNameOk() (*string, bool)` 37 | 38 | GetCertSecretNameOk returns a tuple with the CertSecretName field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetCertSecretName 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberIstioGatewayTls) SetCertSecretName(v string)` 44 | 45 | SetCertSecretName sets CertSecretName field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Name** | **string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel(name string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannelWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannelWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannelWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetName 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel) GetName() string` 31 | 32 | GetName returns the Name field if non-nil, zero value otherwise. 33 | 34 | ### GetNameOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel) GetNameOk() (*string, bool)` 37 | 38 | GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetName 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberPulsarSpecChannel) SetName(v string)` 44 | 45 | SetName sets Name field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **BucketName** | Pointer to **string** | | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetBucketName 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec) GetBucketName() string` 31 | 32 | GetBucketName returns the BucketName field if non-nil, zero value otherwise. 33 | 34 | ### GetBucketNameOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec) GetBucketNameOk() (*string, bool)` 37 | 38 | GetBucketNameOk returns a tuple with the BucketName field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetBucketName 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec) SetBucketName(v string)` 44 | 45 | SetBucketName sets BucketName field to given value. 46 | 47 | ### HasBucketName 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PoolMemberTieredStorageSpec) HasBucketName() bool` 50 | 51 | HasBucketName returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **AllowedIds** | Pointer to **[]string** | AllowedIds is the list of Ids that are allowed to connect to the private endpoint service, only can be configured when the access type is private, private endpoint service will be disabled if the whitelist is empty. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetAllowedIds 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService) GetAllowedIds() []string` 31 | 32 | GetAllowedIds returns the AllowedIds field if non-nil, zero value otherwise. 33 | 34 | ### GetAllowedIdsOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService) GetAllowedIdsOk() (*[]string, bool)` 37 | 38 | GetAllowedIdsOk returns a tuple with the AllowedIds field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetAllowedIds 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService) SetAllowedIds(v []string)` 44 | 45 | SetAllowedIds sets AllowedIds field to given value. 46 | 47 | ### HasAllowedIds 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateService) HasAllowedIds() bool` 50 | 51 | HasAllowedIds returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Id** | Pointer to **string** | Id is the identifier of private service It is endpoint service name in AWS, psc attachment id in GCP, private service alias in Azure | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceIdWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceIdWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceIdWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetId 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId) GetId() string` 31 | 32 | GetId returns the Id field if non-nil, zero value otherwise. 33 | 34 | ### GetIdOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId) GetIdOk() (*string, bool)` 37 | 38 | GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetId 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId) SetId(v string)` 44 | 45 | SetId sets Id field to given value. 46 | 47 | ### HasId 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1PrivateServiceId) HasId() bool` 50 | 51 | HasId returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Permissions** | Pointer to **[]string** | Permissions Designed for general permission format SERVICE.RESOURCE.VERB | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpecWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpecWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpecWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetPermissions 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec) GetPermissions() []string` 31 | 32 | GetPermissions returns the Permissions field if non-nil, zero value otherwise. 33 | 34 | ### GetPermissionsOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec) GetPermissionsOk() (*[]string, bool)` 37 | 38 | GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetPermissions 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec) SetPermissions(v []string)` 44 | 45 | SetPermissions sets Permissions field to given value. 46 | 47 | ### HasPermissions 48 | 49 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1RoleSpec) HasPermissions() bool` 50 | 51 | HasPermissions returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **RegistrationToken** | **string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws(registrationToken string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAwsWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAwsWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAwsWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetRegistrationToken 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws) GetRegistrationToken() string` 31 | 32 | GetRegistrationToken returns the RegistrationToken field if non-nil, zero value otherwise. 33 | 34 | ### GetRegistrationTokenOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws) GetRegistrationTokenOk() (*string, bool)` 37 | 38 | GetRegistrationTokenOk returns a tuple with the RegistrationToken field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetRegistrationToken 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationAws) SetRegistrationToken(v string)` 44 | 45 | SetRegistrationToken sets RegistrationToken field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **EntitlementID** | **string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger(entitlementID string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSugerWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSugerWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSugerWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetEntitlementID 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger) GetEntitlementID() string` 31 | 32 | GetEntitlementID returns the EntitlementID field if non-nil, zero value otherwise. 33 | 34 | ### GetEntitlementIDOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger) GetEntitlementIDOk() (*string, bool)` 37 | 38 | GetEntitlementIDOk returns a tuple with the EntitlementID field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetEntitlementID 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SelfRegistrationSuger) SetEntitlementID(v string)` 44 | 45 | SetEntitlementID sets EntitlementID field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Namespaces** | **[]string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig(namespaces []string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfigWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfigWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfigWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetNamespaces 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig) GetNamespaces() []string` 31 | 32 | GetNamespaces returns the Namespaces field if non-nil, zero value otherwise. 33 | 34 | ### GetNamespacesOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig) GetNamespacesOk() (*[]string, bool)` 37 | 38 | GetNamespacesOk returns a tuple with the Namespaces field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetNamespaces 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha1SharingConfig) SetNamespaces(v []string)` 44 | 45 | SetNamespaces sets Namespaces field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig.md: -------------------------------------------------------------------------------- 1 | # ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Namespaces** | **[]string** | | 8 | 9 | ## Methods 10 | 11 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig 12 | 13 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig(namespaces []string, ) *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig` 14 | 15 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfigWithDefaults 21 | 22 | `func NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfigWithDefaults() *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig` 23 | 24 | NewComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfigWithDefaults instantiates a new ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetNamespaces 29 | 30 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig) GetNamespaces() []string` 31 | 32 | GetNamespaces returns the Namespaces field if non-nil, zero value otherwise. 33 | 34 | ### GetNamespacesOk 35 | 36 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig) GetNamespacesOk() (*[]string, bool)` 37 | 38 | GetNamespacesOk returns a tuple with the Namespaces field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetNamespaces 42 | 43 | `func (o *ComGithubStreamnativeCloudApiServerPkgApisCloudV1alpha2SharingConfig) SetNamespaces(v []string)` 44 | 45 | SetNamespaces sets Namespaces field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/ComputeStreamnativeIoApi.md: -------------------------------------------------------------------------------- 1 | # \ComputeStreamnativeIoApi 2 | 3 | All URIs are relative to *http://localhost* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**GetComputeStreamnativeIoAPIGroup**](ComputeStreamnativeIoApi.md#GetComputeStreamnativeIoAPIGroup) | **Get** /apis/compute.streamnative.io/ | 8 | 9 | 10 | 11 | ## GetComputeStreamnativeIoAPIGroup 12 | 13 | > V1APIGroup GetComputeStreamnativeIoAPIGroup(ctx).Execute() 14 | 15 | 16 | 17 | 18 | 19 | ### Example 20 | 21 | ```go 22 | package main 23 | 24 | import ( 25 | "context" 26 | "fmt" 27 | "os" 28 | openapiclient "./openapi" 29 | ) 30 | 31 | func main() { 32 | 33 | configuration := openapiclient.NewConfiguration() 34 | apiClient := openapiclient.NewAPIClient(configuration) 35 | resp, r, err := apiClient.ComputeStreamnativeIoApi.GetComputeStreamnativeIoAPIGroup(context.Background()).Execute() 36 | if err != nil { 37 | fmt.Fprintf(os.Stderr, "Error when calling `ComputeStreamnativeIoApi.GetComputeStreamnativeIoAPIGroup``: %v\n", err) 38 | fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 39 | } 40 | // response from `GetComputeStreamnativeIoAPIGroup`: V1APIGroup 41 | fmt.Fprintf(os.Stdout, "Response from `ComputeStreamnativeIoApi.GetComputeStreamnativeIoAPIGroup`: %v\n", resp) 42 | } 43 | ``` 44 | 45 | ### Path Parameters 46 | 47 | This endpoint does not need any parameter. 48 | 49 | ### Other Parameters 50 | 51 | Other parameters are passed through a pointer to a apiGetComputeStreamnativeIoAPIGroupRequest struct via the builder pattern 52 | 53 | 54 | ### Return type 55 | 56 | [**V1APIGroup**](V1APIGroup.md) 57 | 58 | ### Authorization 59 | 60 | No authorization required 61 | 62 | ### HTTP request headers 63 | 64 | - **Content-Type**: Not defined 65 | - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf 66 | 67 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 68 | [[Back to Model list]](../README.md#documentation-for-models) 69 | [[Back to README]](../README.md) 70 | 71 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1ConfigMapEnvSource.md: -------------------------------------------------------------------------------- 1 | # V1ConfigMapEnvSource 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Name** | Pointer to **string** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] 8 | **Optional** | Pointer to **bool** | Specify whether the ConfigMap must be defined | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewV1ConfigMapEnvSource 13 | 14 | `func NewV1ConfigMapEnvSource() *V1ConfigMapEnvSource` 15 | 16 | NewV1ConfigMapEnvSource instantiates a new V1ConfigMapEnvSource object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1ConfigMapEnvSourceWithDefaults 22 | 23 | `func NewV1ConfigMapEnvSourceWithDefaults() *V1ConfigMapEnvSource` 24 | 25 | NewV1ConfigMapEnvSourceWithDefaults instantiates a new V1ConfigMapEnvSource object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetName 30 | 31 | `func (o *V1ConfigMapEnvSource) GetName() string` 32 | 33 | GetName returns the Name field if non-nil, zero value otherwise. 34 | 35 | ### GetNameOk 36 | 37 | `func (o *V1ConfigMapEnvSource) GetNameOk() (*string, bool)` 38 | 39 | GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetName 43 | 44 | `func (o *V1ConfigMapEnvSource) SetName(v string)` 45 | 46 | SetName sets Name field to given value. 47 | 48 | ### HasName 49 | 50 | `func (o *V1ConfigMapEnvSource) HasName() bool` 51 | 52 | HasName returns a boolean if a field has been set. 53 | 54 | ### GetOptional 55 | 56 | `func (o *V1ConfigMapEnvSource) GetOptional() bool` 57 | 58 | GetOptional returns the Optional field if non-nil, zero value otherwise. 59 | 60 | ### GetOptionalOk 61 | 62 | `func (o *V1ConfigMapEnvSource) GetOptionalOk() (*bool, bool)` 63 | 64 | GetOptionalOk returns a tuple with the Optional field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetOptional 68 | 69 | `func (o *V1ConfigMapEnvSource) SetOptional(v bool)` 70 | 71 | SetOptional sets Optional field to given value. 72 | 73 | ### HasOptional 74 | 75 | `func (o *V1ConfigMapEnvSource) HasOptional() bool` 76 | 77 | HasOptional returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1ExecAction.md: -------------------------------------------------------------------------------- 1 | # V1ExecAction 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Command** | Pointer to **[]string** | Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewV1ExecAction 12 | 13 | `func NewV1ExecAction() *V1ExecAction` 14 | 15 | NewV1ExecAction instantiates a new V1ExecAction object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewV1ExecActionWithDefaults 21 | 22 | `func NewV1ExecActionWithDefaults() *V1ExecAction` 23 | 24 | NewV1ExecActionWithDefaults instantiates a new V1ExecAction object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetCommand 29 | 30 | `func (o *V1ExecAction) GetCommand() []string` 31 | 32 | GetCommand returns the Command field if non-nil, zero value otherwise. 33 | 34 | ### GetCommandOk 35 | 36 | `func (o *V1ExecAction) GetCommandOk() (*[]string, bool)` 37 | 38 | GetCommandOk returns a tuple with the Command field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetCommand 42 | 43 | `func (o *V1ExecAction) SetCommand(v []string)` 44 | 45 | SetCommand sets Command field to given value. 46 | 47 | ### HasCommand 48 | 49 | `func (o *V1ExecAction) HasCommand() bool` 50 | 51 | HasCommand returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1GRPCAction.md: -------------------------------------------------------------------------------- 1 | # V1GRPCAction 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Port** | **int32** | Port number of the gRPC service. Number must be in the range 1 to 65535. | 8 | **Service** | Pointer to **string** | Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewV1GRPCAction 13 | 14 | `func NewV1GRPCAction(port int32, ) *V1GRPCAction` 15 | 16 | NewV1GRPCAction instantiates a new V1GRPCAction object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1GRPCActionWithDefaults 22 | 23 | `func NewV1GRPCActionWithDefaults() *V1GRPCAction` 24 | 25 | NewV1GRPCActionWithDefaults instantiates a new V1GRPCAction object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetPort 30 | 31 | `func (o *V1GRPCAction) GetPort() int32` 32 | 33 | GetPort returns the Port field if non-nil, zero value otherwise. 34 | 35 | ### GetPortOk 36 | 37 | `func (o *V1GRPCAction) GetPortOk() (*int32, bool)` 38 | 39 | GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetPort 43 | 44 | `func (o *V1GRPCAction) SetPort(v int32)` 45 | 46 | SetPort sets Port field to given value. 47 | 48 | 49 | ### GetService 50 | 51 | `func (o *V1GRPCAction) GetService() string` 52 | 53 | GetService returns the Service field if non-nil, zero value otherwise. 54 | 55 | ### GetServiceOk 56 | 57 | `func (o *V1GRPCAction) GetServiceOk() (*string, bool)` 58 | 59 | GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetService 63 | 64 | `func (o *V1GRPCAction) SetService(v string)` 65 | 66 | SetService sets Service field to given value. 67 | 68 | ### HasService 69 | 70 | `func (o *V1GRPCAction) HasService() bool` 71 | 72 | HasService returns a boolean if a field has been set. 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1GroupVersionForDiscovery.md: -------------------------------------------------------------------------------- 1 | # V1GroupVersionForDiscovery 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **GroupVersion** | **string** | groupVersion specifies the API group and version in the form \"group/version\" | 8 | **Version** | **string** | version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion. | 9 | 10 | ## Methods 11 | 12 | ### NewV1GroupVersionForDiscovery 13 | 14 | `func NewV1GroupVersionForDiscovery(groupVersion string, version string, ) *V1GroupVersionForDiscovery` 15 | 16 | NewV1GroupVersionForDiscovery instantiates a new V1GroupVersionForDiscovery object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1GroupVersionForDiscoveryWithDefaults 22 | 23 | `func NewV1GroupVersionForDiscoveryWithDefaults() *V1GroupVersionForDiscovery` 24 | 25 | NewV1GroupVersionForDiscoveryWithDefaults instantiates a new V1GroupVersionForDiscovery object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetGroupVersion 30 | 31 | `func (o *V1GroupVersionForDiscovery) GetGroupVersion() string` 32 | 33 | GetGroupVersion returns the GroupVersion field if non-nil, zero value otherwise. 34 | 35 | ### GetGroupVersionOk 36 | 37 | `func (o *V1GroupVersionForDiscovery) GetGroupVersionOk() (*string, bool)` 38 | 39 | GetGroupVersionOk returns a tuple with the GroupVersion field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetGroupVersion 43 | 44 | `func (o *V1GroupVersionForDiscovery) SetGroupVersion(v string)` 45 | 46 | SetGroupVersion sets GroupVersion field to given value. 47 | 48 | 49 | ### GetVersion 50 | 51 | `func (o *V1GroupVersionForDiscovery) GetVersion() string` 52 | 53 | GetVersion returns the Version field if non-nil, zero value otherwise. 54 | 55 | ### GetVersionOk 56 | 57 | `func (o *V1GroupVersionForDiscovery) GetVersionOk() (*string, bool)` 58 | 59 | GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetVersion 63 | 64 | `func (o *V1GroupVersionForDiscovery) SetVersion(v string)` 65 | 66 | SetVersion sets Version field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1HTTPHeader.md: -------------------------------------------------------------------------------- 1 | # V1HTTPHeader 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Name** | **string** | The header field name | 8 | **Value** | **string** | The header field value | 9 | 10 | ## Methods 11 | 12 | ### NewV1HTTPHeader 13 | 14 | `func NewV1HTTPHeader(name string, value string, ) *V1HTTPHeader` 15 | 16 | NewV1HTTPHeader instantiates a new V1HTTPHeader object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1HTTPHeaderWithDefaults 22 | 23 | `func NewV1HTTPHeaderWithDefaults() *V1HTTPHeader` 24 | 25 | NewV1HTTPHeaderWithDefaults instantiates a new V1HTTPHeader object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetName 30 | 31 | `func (o *V1HTTPHeader) GetName() string` 32 | 33 | GetName returns the Name field if non-nil, zero value otherwise. 34 | 35 | ### GetNameOk 36 | 37 | `func (o *V1HTTPHeader) GetNameOk() (*string, bool)` 38 | 39 | GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetName 43 | 44 | `func (o *V1HTTPHeader) SetName(v string)` 45 | 46 | SetName sets Name field to given value. 47 | 48 | 49 | ### GetValue 50 | 51 | `func (o *V1HTTPHeader) GetValue() string` 52 | 53 | GetValue returns the Value field if non-nil, zero value otherwise. 54 | 55 | ### GetValueOk 56 | 57 | `func (o *V1HTTPHeader) GetValueOk() (*string, bool)` 58 | 59 | GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetValue 63 | 64 | `func (o *V1HTTPHeader) SetValue(v string)` 65 | 66 | SetValue sets Value field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1LocalObjectReference.md: -------------------------------------------------------------------------------- 1 | # V1LocalObjectReference 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Name** | Pointer to **string** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] 8 | 9 | ## Methods 10 | 11 | ### NewV1LocalObjectReference 12 | 13 | `func NewV1LocalObjectReference() *V1LocalObjectReference` 14 | 15 | NewV1LocalObjectReference instantiates a new V1LocalObjectReference object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewV1LocalObjectReferenceWithDefaults 21 | 22 | `func NewV1LocalObjectReferenceWithDefaults() *V1LocalObjectReference` 23 | 24 | NewV1LocalObjectReferenceWithDefaults instantiates a new V1LocalObjectReference object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetName 29 | 30 | `func (o *V1LocalObjectReference) GetName() string` 31 | 32 | GetName returns the Name field if non-nil, zero value otherwise. 33 | 34 | ### GetNameOk 35 | 36 | `func (o *V1LocalObjectReference) GetNameOk() (*string, bool)` 37 | 38 | GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetName 42 | 43 | `func (o *V1LocalObjectReference) SetName(v string)` 44 | 45 | SetName sets Name field to given value. 46 | 47 | ### HasName 48 | 49 | `func (o *V1LocalObjectReference) HasName() bool` 50 | 51 | HasName returns a boolean if a field has been set. 52 | 53 | 54 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 55 | 56 | 57 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1NodeSelector.md: -------------------------------------------------------------------------------- 1 | # V1NodeSelector 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **NodeSelectorTerms** | [**[]V1NodeSelectorTerm**](V1NodeSelectorTerm.md) | Required. A list of node selector terms. The terms are ORed. | 8 | 9 | ## Methods 10 | 11 | ### NewV1NodeSelector 12 | 13 | `func NewV1NodeSelector(nodeSelectorTerms []V1NodeSelectorTerm, ) *V1NodeSelector` 14 | 15 | NewV1NodeSelector instantiates a new V1NodeSelector object 16 | This constructor will assign default values to properties that have it defined, 17 | and makes sure properties required by API are set, but the set of arguments 18 | will change when the set of required properties is changed 19 | 20 | ### NewV1NodeSelectorWithDefaults 21 | 22 | `func NewV1NodeSelectorWithDefaults() *V1NodeSelector` 23 | 24 | NewV1NodeSelectorWithDefaults instantiates a new V1NodeSelector object 25 | This constructor will only assign default values to properties that have it defined, 26 | but it doesn't guarantee that properties required by API are set 27 | 28 | ### GetNodeSelectorTerms 29 | 30 | `func (o *V1NodeSelector) GetNodeSelectorTerms() []V1NodeSelectorTerm` 31 | 32 | GetNodeSelectorTerms returns the NodeSelectorTerms field if non-nil, zero value otherwise. 33 | 34 | ### GetNodeSelectorTermsOk 35 | 36 | `func (o *V1NodeSelector) GetNodeSelectorTermsOk() (*[]V1NodeSelectorTerm, bool)` 37 | 38 | GetNodeSelectorTermsOk returns a tuple with the NodeSelectorTerms field if it's non-nil, zero value otherwise 39 | and a boolean to check if the value has been set. 40 | 41 | ### SetNodeSelectorTerms 42 | 43 | `func (o *V1NodeSelector) SetNodeSelectorTerms(v []V1NodeSelectorTerm)` 44 | 45 | SetNodeSelectorTerms sets NodeSelectorTerms field to given value. 46 | 47 | 48 | 49 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 50 | 51 | 52 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1ObjectFieldSelector.md: -------------------------------------------------------------------------------- 1 | # V1ObjectFieldSelector 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ApiVersion** | Pointer to **string** | Version of the schema the FieldPath is written in terms of, defaults to \"v1\". | [optional] 8 | **FieldPath** | **string** | Path of the field to select in the specified API version. | 9 | 10 | ## Methods 11 | 12 | ### NewV1ObjectFieldSelector 13 | 14 | `func NewV1ObjectFieldSelector(fieldPath string, ) *V1ObjectFieldSelector` 15 | 16 | NewV1ObjectFieldSelector instantiates a new V1ObjectFieldSelector object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1ObjectFieldSelectorWithDefaults 22 | 23 | `func NewV1ObjectFieldSelectorWithDefaults() *V1ObjectFieldSelector` 24 | 25 | NewV1ObjectFieldSelectorWithDefaults instantiates a new V1ObjectFieldSelector object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetApiVersion 30 | 31 | `func (o *V1ObjectFieldSelector) GetApiVersion() string` 32 | 33 | GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise. 34 | 35 | ### GetApiVersionOk 36 | 37 | `func (o *V1ObjectFieldSelector) GetApiVersionOk() (*string, bool)` 38 | 39 | GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetApiVersion 43 | 44 | `func (o *V1ObjectFieldSelector) SetApiVersion(v string)` 45 | 46 | SetApiVersion sets ApiVersion field to given value. 47 | 48 | ### HasApiVersion 49 | 50 | `func (o *V1ObjectFieldSelector) HasApiVersion() bool` 51 | 52 | HasApiVersion returns a boolean if a field has been set. 53 | 54 | ### GetFieldPath 55 | 56 | `func (o *V1ObjectFieldSelector) GetFieldPath() string` 57 | 58 | GetFieldPath returns the FieldPath field if non-nil, zero value otherwise. 59 | 60 | ### GetFieldPathOk 61 | 62 | `func (o *V1ObjectFieldSelector) GetFieldPathOk() (*string, bool)` 63 | 64 | GetFieldPathOk returns a tuple with the FieldPath field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetFieldPath 68 | 69 | `func (o *V1ObjectFieldSelector) SetFieldPath(v string)` 70 | 71 | SetFieldPath sets FieldPath field to given value. 72 | 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1Preconditions.md: -------------------------------------------------------------------------------- 1 | # V1Preconditions 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ResourceVersion** | Pointer to **string** | Specifies the target ResourceVersion | [optional] 8 | **Uid** | Pointer to **string** | Specifies the target UID. | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewV1Preconditions 13 | 14 | `func NewV1Preconditions() *V1Preconditions` 15 | 16 | NewV1Preconditions instantiates a new V1Preconditions object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1PreconditionsWithDefaults 22 | 23 | `func NewV1PreconditionsWithDefaults() *V1Preconditions` 24 | 25 | NewV1PreconditionsWithDefaults instantiates a new V1Preconditions object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetResourceVersion 30 | 31 | `func (o *V1Preconditions) GetResourceVersion() string` 32 | 33 | GetResourceVersion returns the ResourceVersion field if non-nil, zero value otherwise. 34 | 35 | ### GetResourceVersionOk 36 | 37 | `func (o *V1Preconditions) GetResourceVersionOk() (*string, bool)` 38 | 39 | GetResourceVersionOk returns a tuple with the ResourceVersion field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetResourceVersion 43 | 44 | `func (o *V1Preconditions) SetResourceVersion(v string)` 45 | 46 | SetResourceVersion sets ResourceVersion field to given value. 47 | 48 | ### HasResourceVersion 49 | 50 | `func (o *V1Preconditions) HasResourceVersion() bool` 51 | 52 | HasResourceVersion returns a boolean if a field has been set. 53 | 54 | ### GetUid 55 | 56 | `func (o *V1Preconditions) GetUid() string` 57 | 58 | GetUid returns the Uid field if non-nil, zero value otherwise. 59 | 60 | ### GetUidOk 61 | 62 | `func (o *V1Preconditions) GetUidOk() (*string, bool)` 63 | 64 | GetUidOk returns a tuple with the Uid field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetUid 68 | 69 | `func (o *V1Preconditions) SetUid(v string)` 70 | 71 | SetUid sets Uid field to given value. 72 | 73 | ### HasUid 74 | 75 | `func (o *V1Preconditions) HasUid() bool` 76 | 77 | HasUid returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1PreferredSchedulingTerm.md: -------------------------------------------------------------------------------- 1 | # V1PreferredSchedulingTerm 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Preference** | [**V1NodeSelectorTerm**](V1NodeSelectorTerm.md) | | 8 | **Weight** | **int32** | Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. | 9 | 10 | ## Methods 11 | 12 | ### NewV1PreferredSchedulingTerm 13 | 14 | `func NewV1PreferredSchedulingTerm(preference V1NodeSelectorTerm, weight int32, ) *V1PreferredSchedulingTerm` 15 | 16 | NewV1PreferredSchedulingTerm instantiates a new V1PreferredSchedulingTerm object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1PreferredSchedulingTermWithDefaults 22 | 23 | `func NewV1PreferredSchedulingTermWithDefaults() *V1PreferredSchedulingTerm` 24 | 25 | NewV1PreferredSchedulingTermWithDefaults instantiates a new V1PreferredSchedulingTerm object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetPreference 30 | 31 | `func (o *V1PreferredSchedulingTerm) GetPreference() V1NodeSelectorTerm` 32 | 33 | GetPreference returns the Preference field if non-nil, zero value otherwise. 34 | 35 | ### GetPreferenceOk 36 | 37 | `func (o *V1PreferredSchedulingTerm) GetPreferenceOk() (*V1NodeSelectorTerm, bool)` 38 | 39 | GetPreferenceOk returns a tuple with the Preference field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetPreference 43 | 44 | `func (o *V1PreferredSchedulingTerm) SetPreference(v V1NodeSelectorTerm)` 45 | 46 | SetPreference sets Preference field to given value. 47 | 48 | 49 | ### GetWeight 50 | 51 | `func (o *V1PreferredSchedulingTerm) GetWeight() int32` 52 | 53 | GetWeight returns the Weight field if non-nil, zero value otherwise. 54 | 55 | ### GetWeightOk 56 | 57 | `func (o *V1PreferredSchedulingTerm) GetWeightOk() (*int32, bool)` 58 | 59 | GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetWeight 63 | 64 | `func (o *V1PreferredSchedulingTerm) SetWeight(v int32)` 65 | 66 | SetWeight sets Weight field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1SecretEnvSource.md: -------------------------------------------------------------------------------- 1 | # V1SecretEnvSource 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Name** | Pointer to **string** | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | [optional] 8 | **Optional** | Pointer to **bool** | Specify whether the Secret must be defined | [optional] 9 | 10 | ## Methods 11 | 12 | ### NewV1SecretEnvSource 13 | 14 | `func NewV1SecretEnvSource() *V1SecretEnvSource` 15 | 16 | NewV1SecretEnvSource instantiates a new V1SecretEnvSource object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1SecretEnvSourceWithDefaults 22 | 23 | `func NewV1SecretEnvSourceWithDefaults() *V1SecretEnvSource` 24 | 25 | NewV1SecretEnvSourceWithDefaults instantiates a new V1SecretEnvSource object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetName 30 | 31 | `func (o *V1SecretEnvSource) GetName() string` 32 | 33 | GetName returns the Name field if non-nil, zero value otherwise. 34 | 35 | ### GetNameOk 36 | 37 | `func (o *V1SecretEnvSource) GetNameOk() (*string, bool)` 38 | 39 | GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetName 43 | 44 | `func (o *V1SecretEnvSource) SetName(v string)` 45 | 46 | SetName sets Name field to given value. 47 | 48 | ### HasName 49 | 50 | `func (o *V1SecretEnvSource) HasName() bool` 51 | 52 | HasName returns a boolean if a field has been set. 53 | 54 | ### GetOptional 55 | 56 | `func (o *V1SecretEnvSource) GetOptional() bool` 57 | 58 | GetOptional returns the Optional field if non-nil, zero value otherwise. 59 | 60 | ### GetOptionalOk 61 | 62 | `func (o *V1SecretEnvSource) GetOptionalOk() (*bool, bool)` 63 | 64 | GetOptionalOk returns a tuple with the Optional field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetOptional 68 | 69 | `func (o *V1SecretEnvSource) SetOptional(v bool)` 70 | 71 | SetOptional sets Optional field to given value. 72 | 73 | ### HasOptional 74 | 75 | `func (o *V1SecretEnvSource) HasOptional() bool` 76 | 77 | HasOptional returns a boolean if a field has been set. 78 | 79 | 80 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 81 | 82 | 83 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1ServerAddressByClientCIDR.md: -------------------------------------------------------------------------------- 1 | # V1ServerAddressByClientCIDR 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **ClientCIDR** | **string** | The CIDR with which clients can match their IP to figure out the server address that they should use. | 8 | **ServerAddress** | **string** | Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. | 9 | 10 | ## Methods 11 | 12 | ### NewV1ServerAddressByClientCIDR 13 | 14 | `func NewV1ServerAddressByClientCIDR(clientCIDR string, serverAddress string, ) *V1ServerAddressByClientCIDR` 15 | 16 | NewV1ServerAddressByClientCIDR instantiates a new V1ServerAddressByClientCIDR object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1ServerAddressByClientCIDRWithDefaults 22 | 23 | `func NewV1ServerAddressByClientCIDRWithDefaults() *V1ServerAddressByClientCIDR` 24 | 25 | NewV1ServerAddressByClientCIDRWithDefaults instantiates a new V1ServerAddressByClientCIDR object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetClientCIDR 30 | 31 | `func (o *V1ServerAddressByClientCIDR) GetClientCIDR() string` 32 | 33 | GetClientCIDR returns the ClientCIDR field if non-nil, zero value otherwise. 34 | 35 | ### GetClientCIDROk 36 | 37 | `func (o *V1ServerAddressByClientCIDR) GetClientCIDROk() (*string, bool)` 38 | 39 | GetClientCIDROk returns a tuple with the ClientCIDR field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetClientCIDR 43 | 44 | `func (o *V1ServerAddressByClientCIDR) SetClientCIDR(v string)` 45 | 46 | SetClientCIDR sets ClientCIDR field to given value. 47 | 48 | 49 | ### GetServerAddress 50 | 51 | `func (o *V1ServerAddressByClientCIDR) GetServerAddress() string` 52 | 53 | GetServerAddress returns the ServerAddress field if non-nil, zero value otherwise. 54 | 55 | ### GetServerAddressOk 56 | 57 | `func (o *V1ServerAddressByClientCIDR) GetServerAddressOk() (*string, bool)` 58 | 59 | GetServerAddressOk returns a tuple with the ServerAddress field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetServerAddress 63 | 64 | `func (o *V1ServerAddressByClientCIDR) SetServerAddress(v string)` 65 | 66 | SetServerAddress sets ServerAddress field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1TCPSocketAction.md: -------------------------------------------------------------------------------- 1 | # V1TCPSocketAction 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Host** | Pointer to **string** | Optional: Host name to connect to, defaults to the pod IP. | [optional] 8 | **Port** | **map[string]interface{}** | Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. | 9 | 10 | ## Methods 11 | 12 | ### NewV1TCPSocketAction 13 | 14 | `func NewV1TCPSocketAction(port map[string]interface{}, ) *V1TCPSocketAction` 15 | 16 | NewV1TCPSocketAction instantiates a new V1TCPSocketAction object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1TCPSocketActionWithDefaults 22 | 23 | `func NewV1TCPSocketActionWithDefaults() *V1TCPSocketAction` 24 | 25 | NewV1TCPSocketActionWithDefaults instantiates a new V1TCPSocketAction object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetHost 30 | 31 | `func (o *V1TCPSocketAction) GetHost() string` 32 | 33 | GetHost returns the Host field if non-nil, zero value otherwise. 34 | 35 | ### GetHostOk 36 | 37 | `func (o *V1TCPSocketAction) GetHostOk() (*string, bool)` 38 | 39 | GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetHost 43 | 44 | `func (o *V1TCPSocketAction) SetHost(v string)` 45 | 46 | SetHost sets Host field to given value. 47 | 48 | ### HasHost 49 | 50 | `func (o *V1TCPSocketAction) HasHost() bool` 51 | 52 | HasHost returns a boolean if a field has been set. 53 | 54 | ### GetPort 55 | 56 | `func (o *V1TCPSocketAction) GetPort() map[string]interface{}` 57 | 58 | GetPort returns the Port field if non-nil, zero value otherwise. 59 | 60 | ### GetPortOk 61 | 62 | `func (o *V1TCPSocketAction) GetPortOk() (*map[string]interface{}, bool)` 63 | 64 | GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise 65 | and a boolean to check if the value has been set. 66 | 67 | ### SetPort 68 | 69 | `func (o *V1TCPSocketAction) SetPort(v map[string]interface{})` 70 | 71 | SetPort sets Port field to given value. 72 | 73 | 74 | 75 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 76 | 77 | 78 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1WatchEvent.md: -------------------------------------------------------------------------------- 1 | # V1WatchEvent 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **Object** | **map[string]interface{}** | Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *Status is recommended; other types may make sense depending on context. | 8 | **Type** | **string** | | 9 | 10 | ## Methods 11 | 12 | ### NewV1WatchEvent 13 | 14 | `func NewV1WatchEvent(object map[string]interface{}, type_ string, ) *V1WatchEvent` 15 | 16 | NewV1WatchEvent instantiates a new V1WatchEvent object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1WatchEventWithDefaults 22 | 23 | `func NewV1WatchEventWithDefaults() *V1WatchEvent` 24 | 25 | NewV1WatchEventWithDefaults instantiates a new V1WatchEvent object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetObject 30 | 31 | `func (o *V1WatchEvent) GetObject() map[string]interface{}` 32 | 33 | GetObject returns the Object field if non-nil, zero value otherwise. 34 | 35 | ### GetObjectOk 36 | 37 | `func (o *V1WatchEvent) GetObjectOk() (*map[string]interface{}, bool)` 38 | 39 | GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetObject 43 | 44 | `func (o *V1WatchEvent) SetObject(v map[string]interface{})` 45 | 46 | SetObject sets Object field to given value. 47 | 48 | 49 | ### GetType 50 | 51 | `func (o *V1WatchEvent) GetType() string` 52 | 53 | GetType returns the Type field if non-nil, zero value otherwise. 54 | 55 | ### GetTypeOk 56 | 57 | `func (o *V1WatchEvent) GetTypeOk() (*string, bool)` 58 | 59 | GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetType 63 | 64 | `func (o *V1WatchEvent) SetType(v string)` 65 | 66 | SetType sets Type field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/V1WeightedPodAffinityTerm.md: -------------------------------------------------------------------------------- 1 | # V1WeightedPodAffinityTerm 2 | 3 | ## Properties 4 | 5 | Name | Type | Description | Notes 6 | ------------ | ------------- | ------------- | ------------- 7 | **PodAffinityTerm** | [**V1PodAffinityTerm**](V1PodAffinityTerm.md) | | 8 | **Weight** | **int32** | weight associated with matching the corresponding podAffinityTerm, in the range 1-100. | 9 | 10 | ## Methods 11 | 12 | ### NewV1WeightedPodAffinityTerm 13 | 14 | `func NewV1WeightedPodAffinityTerm(podAffinityTerm V1PodAffinityTerm, weight int32, ) *V1WeightedPodAffinityTerm` 15 | 16 | NewV1WeightedPodAffinityTerm instantiates a new V1WeightedPodAffinityTerm object 17 | This constructor will assign default values to properties that have it defined, 18 | and makes sure properties required by API are set, but the set of arguments 19 | will change when the set of required properties is changed 20 | 21 | ### NewV1WeightedPodAffinityTermWithDefaults 22 | 23 | `func NewV1WeightedPodAffinityTermWithDefaults() *V1WeightedPodAffinityTerm` 24 | 25 | NewV1WeightedPodAffinityTermWithDefaults instantiates a new V1WeightedPodAffinityTerm object 26 | This constructor will only assign default values to properties that have it defined, 27 | but it doesn't guarantee that properties required by API are set 28 | 29 | ### GetPodAffinityTerm 30 | 31 | `func (o *V1WeightedPodAffinityTerm) GetPodAffinityTerm() V1PodAffinityTerm` 32 | 33 | GetPodAffinityTerm returns the PodAffinityTerm field if non-nil, zero value otherwise. 34 | 35 | ### GetPodAffinityTermOk 36 | 37 | `func (o *V1WeightedPodAffinityTerm) GetPodAffinityTermOk() (*V1PodAffinityTerm, bool)` 38 | 39 | GetPodAffinityTermOk returns a tuple with the PodAffinityTerm field if it's non-nil, zero value otherwise 40 | and a boolean to check if the value has been set. 41 | 42 | ### SetPodAffinityTerm 43 | 44 | `func (o *V1WeightedPodAffinityTerm) SetPodAffinityTerm(v V1PodAffinityTerm)` 45 | 46 | SetPodAffinityTerm sets PodAffinityTerm field to given value. 47 | 48 | 49 | ### GetWeight 50 | 51 | `func (o *V1WeightedPodAffinityTerm) GetWeight() int32` 52 | 53 | GetWeight returns the Weight field if non-nil, zero value otherwise. 54 | 55 | ### GetWeightOk 56 | 57 | `func (o *V1WeightedPodAffinityTerm) GetWeightOk() (*int32, bool)` 58 | 59 | GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise 60 | and a boolean to check if the value has been set. 61 | 62 | ### SetWeight 63 | 64 | `func (o *V1WeightedPodAffinityTerm) SetWeight(v int32)` 65 | 66 | SetWeight sets Weight field to given value. 67 | 68 | 69 | 70 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 71 | 72 | 73 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/docs/VersionApi.md: -------------------------------------------------------------------------------- 1 | # \VersionApi 2 | 3 | All URIs are relative to *http://localhost* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**GetCodeVersion**](VersionApi.md#GetCodeVersion) | **Get** /version/ | 8 | 9 | 10 | 11 | ## GetCodeVersion 12 | 13 | > VersionInfo GetCodeVersion(ctx).Execute() 14 | 15 | 16 | 17 | 18 | 19 | ### Example 20 | 21 | ```go 22 | package main 23 | 24 | import ( 25 | "context" 26 | "fmt" 27 | "os" 28 | openapiclient "./openapi" 29 | ) 30 | 31 | func main() { 32 | 33 | configuration := openapiclient.NewConfiguration() 34 | apiClient := openapiclient.NewAPIClient(configuration) 35 | resp, r, err := apiClient.VersionApi.GetCodeVersion(context.Background()).Execute() 36 | if err != nil { 37 | fmt.Fprintf(os.Stderr, "Error when calling `VersionApi.GetCodeVersion``: %v\n", err) 38 | fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 39 | } 40 | // response from `GetCodeVersion`: VersionInfo 41 | fmt.Fprintf(os.Stdout, "Response from `VersionApi.GetCodeVersion`: %v\n", resp) 42 | } 43 | ``` 44 | 45 | ### Path Parameters 46 | 47 | This endpoint does not need any parameter. 48 | 49 | ### Other Parameters 50 | 51 | Other parameters are passed through a pointer to a apiGetCodeVersionRequest struct via the builder pattern 52 | 53 | 54 | ### Return type 55 | 56 | [**VersionInfo**](VersionInfo.md) 57 | 58 | ### Authorization 59 | 60 | No authorization required 61 | 62 | ### HTTP request headers 63 | 64 | - **Content-Type**: Not defined 65 | - **Accept**: application/json 66 | 67 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 68 | [[Back to Model list]](../README.md#documentation-for-models) 69 | [[Back to README]](../README.md) 70 | 71 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/git_push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright © 2023-2024 StreamNative Inc. 4 | # 5 | 6 | # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ 7 | # 8 | # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" 9 | 10 | git_user_id=$1 11 | git_repo_id=$2 12 | release_note=$3 13 | git_host=$4 14 | 15 | if [ "$git_host" = "" ]; then 16 | git_host="github.com" 17 | echo "[INFO] No command line input provided. Set \$git_host to $git_host" 18 | fi 19 | 20 | if [ "$git_user_id" = "" ]; then 21 | git_user_id="kubernetes-client" 22 | echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" 23 | fi 24 | 25 | if [ "$git_repo_id" = "" ]; then 26 | git_repo_id="go" 27 | echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" 28 | fi 29 | 30 | if [ "$release_note" = "" ]; then 31 | release_note="Minor update" 32 | echo "[INFO] No command line input provided. Set \$release_note to $release_note" 33 | fi 34 | 35 | # Initialize the local directory as a Git repository 36 | git init 37 | 38 | # Adds the files in the local repository and stages them for commit. 39 | git add . 40 | 41 | # Commits the tracked changes and prepares them to be pushed to a remote repository. 42 | git commit -m "$release_note" 43 | 44 | # Sets the new remote 45 | git_remote=$(git remote) 46 | if [ "$git_remote" = "" ]; then # git remote not defined 47 | 48 | if [ "$GIT_TOKEN" = "" ]; then 49 | echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." 50 | git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git 51 | else 52 | git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git 53 | fi 54 | 55 | fi 56 | 57 | git pull origin master 58 | 59 | # Pushes (Forces) the changes in the local repository up to the remote repository 60 | echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" 61 | git push origin master 2>&1 | grep -v 'To https' 62 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserver 2 | 3 | go 1.21 4 | 5 | toolchain go1.24.3 6 | 7 | require golang.org/x/oauth2 v0.25.0 8 | 9 | require github.com/google/go-cmp v0.7.0 // indirect 10 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/go.sum: -------------------------------------------------------------------------------- 1 | github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= 2 | golang.org/x/oauth2 v0.25.0 h1:CY4y7XT9v0cRI9oupztF8AgiIu99L/ksR/Xp/6jrZ70= 3 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/response.go: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | /* 19 | Api 20 | 21 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 22 | 23 | API version: v0 24 | */ 25 | 26 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 27 | 28 | package sncloud 29 | 30 | import ( 31 | "net/http" 32 | ) 33 | 34 | // APIResponse stores the API response returned by the server. 35 | type APIResponse struct { 36 | *http.Response `json:"-"` 37 | Message string `json:"message,omitempty"` 38 | // Operation is the name of the OpenAPI operation. 39 | Operation string `json:"operation,omitempty"` 40 | // RequestURL is the request URL. This value is always available, even if the 41 | // embedded *http.Response is nil. 42 | RequestURL string `json:"url,omitempty"` 43 | // Method is the HTTP method used for the request. This value is always 44 | // available, even if the embedded *http.Response is nil. 45 | Method string `json:"method,omitempty"` 46 | // Payload holds the contents of the response body (which may be nil or empty). 47 | // This is provided here as the raw response.Body() reader will have already 48 | // been drained. 49 | Payload []byte `json:"-"` 50 | } 51 | 52 | // NewAPIResponse returns a new APIResponse object. 53 | func NewAPIResponse(r *http.Response) *APIResponse { 54 | 55 | response := &APIResponse{Response: r} 56 | return response 57 | } 58 | 59 | // NewAPIResponseWithError returns a new APIResponse object with the provided error message. 60 | func NewAPIResponseWithError(errorMessage string) *APIResponse { 61 | 62 | response := &APIResponse{Message: errorMessage} 63 | return response 64 | } 65 | -------------------------------------------------------------------------------- /sdk/sdk-apiserver/settings: -------------------------------------------------------------------------------- 1 | # kubernetes-client/gen commit to use for code generation. 2 | export GEN_COMMIT=d71ff1efd 3 | 4 | # GitHub username/organization to clone kubernetes repo from. 5 | export USERNAME=kubernetes 6 | 7 | # Kubernetes branch/tag to get the OpenAPI spec from. 8 | export KUBERNETES_BRANCH="v1.18.0" 9 | 10 | # client version for packaging and releasing. It can 11 | # be different than SPEC_VERSION. 12 | export CLIENT_VERSION="0.0.1" 13 | 14 | # Name of the release package 15 | export PACKAGE_NAME="sncloud" 16 | 17 | export OPENAPI_GENERATOR_COMMIT=v6.2.0 18 | 19 | export OPENAPI_SKIP_FETCH_SPEC=true 20 | -------------------------------------------------------------------------------- /sdk/sdk-kafkaconnect/HOW_TO_BUILD.md: -------------------------------------------------------------------------------- 1 | 1. Update the `kafka-connect-admin.json` from https://github.com/streamnative/function-mesh-worker-service/blob/master/openapi/kafka-connect-admin.json 2 | 2. Using following command in `pkg/kafkaconnect` to generate the client sdk 3 | 4 | ``` 5 | openapi-generator-cli generate \ 6 | -i kafka-connect-admin.json \ 7 | -g go \ 8 | -o ./ \ 9 | --additional-properties=packageName=kafkaconnect,isGoSubmodule=true --git-repo-id cloud-cli/pkg --git-user-id streamnative 10 | ``` -------------------------------------------------------------------------------- /sdk/sdk-kafkaconnect/git_push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ 3 | # 4 | # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" 5 | 6 | git_user_id=$1 7 | git_repo_id=$2 8 | release_note=$3 9 | git_host=$4 10 | 11 | if [ "$git_host" = "" ]; then 12 | git_host="github.com" 13 | echo "[INFO] No command line input provided. Set \$git_host to $git_host" 14 | fi 15 | 16 | if [ "$git_user_id" = "" ]; then 17 | git_user_id="streamnative" 18 | echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" 19 | fi 20 | 21 | if [ "$git_repo_id" = "" ]; then 22 | git_repo_id="cloud-cli/pkg" 23 | echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" 24 | fi 25 | 26 | if [ "$release_note" = "" ]; then 27 | release_note="Minor update" 28 | echo "[INFO] No command line input provided. Set \$release_note to $release_note" 29 | fi 30 | 31 | # Initialize the local directory as a Git repository 32 | git init 33 | 34 | # Adds the files in the local repository and stages them for commit. 35 | git add . 36 | 37 | # Commits the tracked changes and prepares them to be pushed to a remote repository. 38 | git commit -m "$release_note" 39 | 40 | # Sets the new remote 41 | git_remote=$(git remote) 42 | if [ "$git_remote" = "" ]; then # git remote not defined 43 | 44 | if [ "$GIT_TOKEN" = "" ]; then 45 | echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." 46 | git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git 47 | else 48 | git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git 49 | fi 50 | 51 | fi 52 | 53 | git pull origin master 54 | 55 | # Pushes (Forces) the changes in the local repository up to the remote repository 56 | echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" 57 | git push origin master 2>&1 | grep -v 'To https' 58 | -------------------------------------------------------------------------------- /sdk/sdk-kafkaconnect/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/streamnative/streamnative-mcp-server/sdk/sdk-kafkaconnect 2 | 3 | go 1.18 4 | -------------------------------------------------------------------------------- /sdk/sdk-kafkaconnect/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/streamnative/streamnative-mcp-server/428d2c1f05445cdbddc8871fb74663dd31a3ecc2/sdk/sdk-kafkaconnect/go.sum -------------------------------------------------------------------------------- /sdk/sdk-kafkaconnect/openapitools.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", 3 | "spaces": 2, 4 | "generator-cli": { 5 | "version": "7.12.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /sdk/sdk-kafkaconnect/response.go: -------------------------------------------------------------------------------- 1 | /* 2 | Kafka Connect With Pulsar API 3 | 4 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | 6 | API version: 0.0.1 7 | */ 8 | 9 | // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. 10 | 11 | package kafkaconnect 12 | 13 | import ( 14 | "net/http" 15 | ) 16 | 17 | // APIResponse stores the API response returned by the server. 18 | type APIResponse struct { 19 | *http.Response `json:"-"` 20 | Message string `json:"message,omitempty"` 21 | // Operation is the name of the OpenAPI operation. 22 | Operation string `json:"operation,omitempty"` 23 | // RequestURL is the request URL. This value is always available, even if the 24 | // embedded *http.Response is nil. 25 | RequestURL string `json:"url,omitempty"` 26 | // Method is the HTTP method used for the request. This value is always 27 | // available, even if the embedded *http.Response is nil. 28 | Method string `json:"method,omitempty"` 29 | // Payload holds the contents of the response body (which may be nil or empty). 30 | // This is provided here as the raw response.Body() reader will have already 31 | // been drained. 32 | Payload []byte `json:"-"` 33 | } 34 | 35 | // NewAPIResponse returns a new APIResponse object. 36 | func NewAPIResponse(r *http.Response) *APIResponse { 37 | 38 | response := &APIResponse{Response: r} 39 | return response 40 | } 41 | 42 | // NewAPIResponseWithError returns a new APIResponse object with the provided error message. 43 | func NewAPIResponseWithError(errorMessage string) *APIResponse { 44 | 45 | response := &APIResponse{Message: errorMessage} 46 | return response 47 | } 48 | --------------------------------------------------------------------------------