python_pachyderm.experimental.proto.v2.license_v2 package

Module contents

class ActivateRequest(activation_code: str = <object object at 0x7f2cabcb78b0>, expires: datetime.datetime = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

activation_code = <object object>
expires = <object object>
class ActivateResponse(info: '_enterprise_v2__.TokenInfo' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

info = <object object>
class AddClusterRequest(id: str = <object object at 0x7f2cabcb78b0>, address: str = <object object at 0x7f2cabcb78b0>, secret: str = <object object at 0x7f2cabcb78b0>, user_address: str = <object object at 0x7f2cabcb78b0>, cluster_deployment_id: str = <object object at 0x7f2cabcb78b0>, enterprise_server: bool = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

address = <object object>
cluster_deployment_id = <object object>
enterprise_server = <object object>
id = <object object>
secret = <object object>
user_address = <object object>
class AddClusterResponse(secret: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

secret = <object object>
class ApiBase[source]

Bases: betterproto.grpc.grpclib_server.ServiceBase

Methods

activate

add_cluster

delete_all

delete_cluster

get_activation_code

heartbeat

list_clusters

list_user_clusters

update_cluster

async activate(activation_code, expires)[source]
async add_cluster(id, address, secret, user_address, cluster_deployment_id, enterprise_server)[source]
async delete_all()[source]
async delete_cluster(id)[source]
async get_activation_code()[source]
async heartbeat(id, secret, version, auth_enabled, client_id)[source]
async list_clusters()[source]
async list_user_clusters()[source]
async update_cluster(id, address, user_address, cluster_deployment_id)[source]
class ApiStub(channel, *, timeout=None, deadline=None, metadata=None)[source]

Bases: betterproto.grpc.grpclib_client.ServiceStub

Methods

activate

add_cluster

delete_all

delete_cluster

get_activation_code

heartbeat

list_clusters

list_user_clusters

update_cluster

async activate(*, activation_code='', expires=None)[source]
async add_cluster(*, id='', address='', secret='', user_address='', cluster_deployment_id='', enterprise_server=False)[source]
async delete_all()[source]
async delete_cluster(*, id='')[source]
async get_activation_code()[source]
async heartbeat(*, id='', secret='', version='', auth_enabled=False, client_id='')[source]
async list_clusters()[source]
async list_user_clusters()[source]
async update_cluster(*, id='', address='', user_address='', cluster_deployment_id='')[source]
class ClusterStatus(id: str = <object object at 0x7f2cabcb78b0>, address: str = <object object at 0x7f2cabcb78b0>, version: str = <object object at 0x7f2cabcb78b0>, auth_enabled: bool = <object object at 0x7f2cabcb78b0>, client_id: str = <object object at 0x7f2cabcb78b0>, last_heartbeat: datetime.datetime = <object object at 0x7f2cabcb78b0>, created_at: datetime.datetime = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

address = <object object>
auth_enabled = <object object>
client_id = <object object>
created_at = <object object>
id = <object object>
last_heartbeat = <object object>
version = <object object>
class DeactivateRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class DeactivateResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class DeleteAllRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class DeleteAllResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class DeleteClusterRequest(id: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

id = <object object>
class DeleteClusterResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class GetActivationCodeRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class GetActivationCodeResponse(state: '_enterprise_v2__.State' = <object object at 0x7f2cabcb78b0>, info: '_enterprise_v2__.TokenInfo' = <object object at 0x7f2cabcb78b0>, activation_code: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

activation_code = <object object>
info = <object object>
state = <object object>
class HeartbeatRequest(id: str = <object object at 0x7f2cabcb78b0>, secret: str = <object object at 0x7f2cabcb78b0>, version: str = <object object at 0x7f2cabcb78b0>, auth_enabled: bool = <object object at 0x7f2cabcb78b0>, client_id: str = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

auth_enabled = <object object>
client_id = <object object>
id = <object object>
secret = <object object>
version = <object object>
class HeartbeatResponse(license: '_enterprise_v2__.LicenseRecord' = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

license = <object object>
class ListClustersRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class ListClustersResponse(clusters: List[ForwardRef('ClusterStatus')] = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

clusters = <object object>
class ListUserClustersRequest[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class ListUserClustersResponse(clusters: List[ForwardRef('UserClusterInfo')] = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

clusters = <object object>
class UpdateClusterRequest(id=<object object>, address=<object object>, user_address=<object object>, cluster_deployment_id=<object object>)[source]

Bases: betterproto.Message

Note: Updates of the enterprise-server field are not allowed. In the worst case, a user can recreate their cluster if they need the field updated.

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

address = <object object>
cluster_deployment_id = <object object>
id = <object object>
user_address = <object object>
class UpdateClusterResponse[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

class UserClusterInfo(id: str = <object object at 0x7f2cabcb78b0>, cluster_deployment_id: str = <object object at 0x7f2cabcb78b0>, address: str = <object object at 0x7f2cabcb78b0>, enterprise_server: bool = <object object at 0x7f2cabcb78b0>)[source]

Bases: betterproto.Message

Methods

FromString(data)

Parse the binary encoded Protobuf into this message instance.

SerializeToString()

Get the binary encoded Protobuf representation of this message instance.

from_dict(value)

Parse the key/value pairs into the current message instance.

from_json(value)

A helper function to return the message instance from its JSON representation.

parse(data)

Parse the binary encoded Protobuf into this message instance.

to_dict([casing, include_default_values])

Returns a JSON serializable dict representation of this object.

to_json([indent])

A helper function to parse the message instance into its JSON representation.

address = <object object>
cluster_deployment_id = <object object>
enterprise_server = <object object>
id = <object object>