Documentation
¶
Index ¶
Constants ¶
const ( // ConfigCompatibilityLevelBACKWARD captures enum value "BACKWARD" ConfigCompatibilityLevelBACKWARD string = "BACKWARD" // ConfigCompatibilityLevelBACKWARDTRANSITIVE captures enum value "BACKWARD_TRANSITIVE" ConfigCompatibilityLevelBACKWARDTRANSITIVE string = "BACKWARD_TRANSITIVE" // ConfigCompatibilityLevelFORWARD captures enum value "FORWARD" ConfigCompatibilityLevelFORWARD string = "FORWARD" // ConfigCompatibilityLevelFORWARDTRANSITIVE captures enum value "FORWARD_TRANSITIVE" ConfigCompatibilityLevelFORWARDTRANSITIVE string = "FORWARD_TRANSITIVE" // ConfigCompatibilityLevelFULL captures enum value "FULL" ConfigCompatibilityLevelFULL string = "FULL" // ConfigCompatibilityLevelFULLTRANSITIVE captures enum value "FULL_TRANSITIVE" ConfigCompatibilityLevelFULLTRANSITIVE string = "FULL_TRANSITIVE" // ConfigCompatibilityLevelNONE captures enum value "NONE" ConfigCompatibilityLevelNONE string = "NONE" )
const ( // ConfigUpdateRequestCompatibilityBACKWARD captures enum value "BACKWARD" ConfigUpdateRequestCompatibilityBACKWARD string = "BACKWARD" // ConfigUpdateRequestCompatibilityBACKWARDTRANSITIVE captures enum value "BACKWARD_TRANSITIVE" ConfigUpdateRequestCompatibilityBACKWARDTRANSITIVE string = "BACKWARD_TRANSITIVE" // ConfigUpdateRequestCompatibilityFORWARD captures enum value "FORWARD" ConfigUpdateRequestCompatibilityFORWARD string = "FORWARD" // ConfigUpdateRequestCompatibilityFORWARDTRANSITIVE captures enum value "FORWARD_TRANSITIVE" ConfigUpdateRequestCompatibilityFORWARDTRANSITIVE string = "FORWARD_TRANSITIVE" // ConfigUpdateRequestCompatibilityFULL captures enum value "FULL" ConfigUpdateRequestCompatibilityFULL string = "FULL" // ConfigUpdateRequestCompatibilityFULLTRANSITIVE captures enum value "FULL_TRANSITIVE" ConfigUpdateRequestCompatibilityFULLTRANSITIVE string = "FULL_TRANSITIVE" // ConfigUpdateRequestCompatibilityNONE captures enum value "NONE" ConfigUpdateRequestCompatibilityNONE string = "NONE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompatibilityCheckResponse ¶
type CompatibilityCheckResponse struct {
// is compatible
IsCompatible bool `json:"is_compatible,omitempty"`
}
CompatibilityCheckResponse compatibility check response
swagger:model CompatibilityCheckResponse
func (*CompatibilityCheckResponse) MarshalBinary ¶
func (m *CompatibilityCheckResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompatibilityCheckResponse) UnmarshalBinary ¶
func (m *CompatibilityCheckResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Config ¶
type Config struct {
// Compatability Level
// Enum: [BACKWARD BACKWARD_TRANSITIVE FORWARD FORWARD_TRANSITIVE FULL FULL_TRANSITIVE NONE]
CompatibilityLevel string `json:"compatibilityLevel,omitempty"`
}
Config config
swagger:model Config
func (*Config) MarshalBinary ¶
MarshalBinary interface implementation
func (*Config) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ConfigUpdateRequest ¶
type ConfigUpdateRequest struct {
// Compatability Level
// Enum: [BACKWARD BACKWARD_TRANSITIVE FORWARD FORWARD_TRANSITIVE FULL FULL_TRANSITIVE NONE]
Compatibility string `json:"compatibility,omitempty"`
}
ConfigUpdateRequest config update request
swagger:model ConfigUpdateRequest
func (*ConfigUpdateRequest) MarshalBinary ¶
func (m *ConfigUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigUpdateRequest) UnmarshalBinary ¶
func (m *ConfigUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModeGetResponse ¶
type ModeGetResponse struct {
// mode
Mode string `json:"mode,omitempty"`
}
ModeGetResponse mode get response
swagger:model ModeGetResponse
func (*ModeGetResponse) MarshalBinary ¶
func (m *ModeGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModeGetResponse) UnmarshalBinary ¶
func (m *ModeGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModeUpdateRequest ¶
type ModeUpdateRequest struct {
// mode
Mode string `json:"mode,omitempty"`
}
ModeUpdateRequest mode update request
swagger:model ModeUpdateRequest
func (*ModeUpdateRequest) MarshalBinary ¶
func (m *ModeUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModeUpdateRequest) UnmarshalBinary ¶
func (m *ModeUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterSchemaRequest ¶
type RegisterSchemaRequest struct {
// id
ID int32 `json:"id,omitempty"`
// references
References []*SchemaReference `json:"references"`
// schema
Schema string `json:"schema,omitempty"`
// schema type
SchemaType string `json:"schemaType,omitempty"`
// version
Version int32 `json:"version,omitempty"`
}
RegisterSchemaRequest register schema request
swagger:model RegisterSchemaRequest
func (*RegisterSchemaRequest) MarshalBinary ¶
func (m *RegisterSchemaRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterSchemaRequest) UnmarshalBinary ¶
func (m *RegisterSchemaRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterSchemaResponse ¶
type RegisterSchemaResponse struct {
// id
ID int32 `json:"id,omitempty"`
}
RegisterSchemaResponse register schema response
swagger:model RegisterSchemaResponse
func (*RegisterSchemaResponse) MarshalBinary ¶
func (m *RegisterSchemaResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterSchemaResponse) UnmarshalBinary ¶
func (m *RegisterSchemaResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Schema ¶
type Schema struct {
// id
ID int32 `json:"id,omitempty"`
// references
References []*SchemaReference `json:"references"`
// schema
Schema string `json:"schema,omitempty"`
// schema type
SchemaType string `json:"schemaType,omitempty"`
// subject
Subject string `json:"subject,omitempty"`
// version
Version int32 `json:"version,omitempty"`
}
Schema schema
swagger:model Schema
func (*Schema) MarshalBinary ¶
MarshalBinary interface implementation
func (*Schema) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SchemaReference ¶
type SchemaReference struct {
// name
Name string `json:"name,omitempty"`
// subject
Subject string `json:"subject,omitempty"`
// version
Version int32 `json:"version,omitempty"`
}
SchemaReference schema reference
swagger:model SchemaReference
func (*SchemaReference) MarshalBinary ¶
func (m *SchemaReference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SchemaReference) UnmarshalBinary ¶
func (m *SchemaReference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SchemaString ¶
type SchemaString struct {
// Maximum ID
MaxID int32 `json:"maxId,omitempty"`
// Schema references
References []*SchemaReference `json:"references"`
// Schema string identified by the ID
Schema string `json:"schema,omitempty"`
// Schema type
SchemaType string `json:"schemaType,omitempty"`
}
SchemaString schema string
swagger:model SchemaString
func (*SchemaString) MarshalBinary ¶
func (m *SchemaString) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SchemaString) UnmarshalBinary ¶
func (m *SchemaString) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServerClusterID ¶
type ServerClusterID struct {
// id
ID string `json:"id,omitempty"`
// scope
// Read Only: true
Scope map[string]interface{} `json:"scope,omitempty"`
}
ServerClusterID server cluster Id
swagger:model ServerClusterId
func (*ServerClusterID) MarshalBinary ¶
func (m *ServerClusterID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerClusterID) UnmarshalBinary ¶
func (m *ServerClusterID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubjectVersion ¶
type SubjectVersion struct {
// subject
Subject string `json:"subject,omitempty"`
// version
Version int32 `json:"version,omitempty"`
}
SubjectVersion subject version
swagger:model SubjectVersion
func (*SubjectVersion) MarshalBinary ¶
func (m *SubjectVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubjectVersion) UnmarshalBinary ¶
func (m *SubjectVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation