From c832e61a1e1443afe6fb5a50f831235467e0394f Mon Sep 17 00:00:00 2001 From: Ivan Sabelnikov Date: Thu, 30 Jan 2025 18:11:31 +0000 Subject: [PATCH] Build --- .../jetstream/v1beta2/consumerspec.go | 27 ------------------- .../jetstream/v1beta2/streamspec.go | 27 ------------------- 2 files changed, 54 deletions(-) diff --git a/pkg/jetstream/generated/applyconfiguration/jetstream/v1beta2/consumerspec.go b/pkg/jetstream/generated/applyconfiguration/jetstream/v1beta2/consumerspec.go index b86e6a8b..02683d96 100644 --- a/pkg/jetstream/generated/applyconfiguration/jetstream/v1beta2/consumerspec.go +++ b/pkg/jetstream/generated/applyconfiguration/jetstream/v1beta2/consumerspec.go @@ -42,9 +42,6 @@ type ConsumerSpecApplyConfiguration struct { MaxWaiting *int `json:"maxWaiting,omitempty"` MemStorage *bool `json:"memStorage,omitempty"` Nkey *string `json:"nkey,omitempty"` - UserName *string `json:"userName,omitempty"` - UserPassword *string `json:"userPassword,omitempty"` - Token *string `json:"token,omitempty"` OptStartSeq *int `json:"optStartSeq,omitempty"` OptStartTime *string `json:"optStartTime,omitempty"` RateLimitBps *int `json:"rateLimitBps,omitempty"` @@ -260,30 +257,6 @@ func (b *ConsumerSpecApplyConfiguration) WithNkey(value string) *ConsumerSpecApp return b } -// WithUserName sets the UserName field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the UserName field is set to the value of the last call. -func (b *ConsumerSpecApplyConfiguration) WithUserName(value string) *ConsumerSpecApplyConfiguration { - b.UserName = &value - return b -} - -// WithUserPassword sets the UserPassword field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the UserPassword field is set to the value of the last call. -func (b *ConsumerSpecApplyConfiguration) WithUserPassword(value string) *ConsumerSpecApplyConfiguration { - b.UserPassword = &value - return b -} - -// WithToken sets the Token field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the Token field is set to the value of the last call. -func (b *ConsumerSpecApplyConfiguration) WithToken(value string) *ConsumerSpecApplyConfiguration { - b.Token = &value - return b -} - // WithOptStartSeq sets the OptStartSeq field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the OptStartSeq field is set to the value of the last call. diff --git a/pkg/jetstream/generated/applyconfiguration/jetstream/v1beta2/streamspec.go b/pkg/jetstream/generated/applyconfiguration/jetstream/v1beta2/streamspec.go index b7762619..e52a845a 100644 --- a/pkg/jetstream/generated/applyconfiguration/jetstream/v1beta2/streamspec.go +++ b/pkg/jetstream/generated/applyconfiguration/jetstream/v1beta2/streamspec.go @@ -43,9 +43,6 @@ type StreamSpecApplyConfiguration struct { Mirror *StreamSourceApplyConfiguration `json:"mirror,omitempty"` Name *string `json:"name,omitempty"` Nkey *string `json:"nkey,omitempty"` - UserName *string `json:"userName,omitempty"` - UserPassword *string `json:"userPassword,omitempty"` - Token *string `json:"token,omitempty"` NoAck *bool `json:"noAck,omitempty"` Placement *StreamPlacementApplyConfiguration `json:"placement,omitempty"` Replicas *int `json:"replicas,omitempty"` @@ -236,30 +233,6 @@ func (b *StreamSpecApplyConfiguration) WithNkey(value string) *StreamSpecApplyCo return b } -// WithUserName sets the UserName field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the UserName field is set to the value of the last call. -func (b *StreamSpecApplyConfiguration) WithUserName(value string) *StreamSpecApplyConfiguration { - b.UserName = &value - return b -} - -// WithUserPassword sets the UserPassword field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the UserPassword field is set to the value of the last call. -func (b *StreamSpecApplyConfiguration) WithUserPassword(value string) *StreamSpecApplyConfiguration { - b.UserPassword = &value - return b -} - -// WithToken sets the Token field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the Token field is set to the value of the last call. -func (b *StreamSpecApplyConfiguration) WithToken(value string) *StreamSpecApplyConfiguration { - b.Token = &value - return b -} - // WithNoAck sets the NoAck field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the NoAck field is set to the value of the last call.