Documentation
¶
Index ¶
- Constants
- Variables
- func AdvertisedEndpoint(v string) predicate.Machine
- func AdvertisedEndpointContains(v string) predicate.Machine
- func AdvertisedEndpointContainsFold(v string) predicate.Machine
- func AdvertisedEndpointEQ(v string) predicate.Machine
- func AdvertisedEndpointEqualFold(v string) predicate.Machine
- func AdvertisedEndpointGT(v string) predicate.Machine
- func AdvertisedEndpointGTE(v string) predicate.Machine
- func AdvertisedEndpointHasPrefix(v string) predicate.Machine
- func AdvertisedEndpointHasSuffix(v string) predicate.Machine
- func AdvertisedEndpointIn(vs ...string) predicate.Machine
- func AdvertisedEndpointIsNil() predicate.Machine
- func AdvertisedEndpointLT(v string) predicate.Machine
- func AdvertisedEndpointLTE(v string) predicate.Machine
- func AdvertisedEndpointNEQ(v string) predicate.Machine
- func AdvertisedEndpointNotIn(vs ...string) predicate.Machine
- func AdvertisedEndpointNotNil() predicate.Machine
- func AgentCliPath(v string) predicate.Machine
- func AgentCliPathContains(v string) predicate.Machine
- func AgentCliPathContainsFold(v string) predicate.Machine
- func AgentCliPathEQ(v string) predicate.Machine
- func AgentCliPathEqualFold(v string) predicate.Machine
- func AgentCliPathGT(v string) predicate.Machine
- func AgentCliPathGTE(v string) predicate.Machine
- func AgentCliPathHasPrefix(v string) predicate.Machine
- func AgentCliPathHasSuffix(v string) predicate.Machine
- func AgentCliPathIn(vs ...string) predicate.Machine
- func AgentCliPathIsNil() predicate.Machine
- func AgentCliPathLT(v string) predicate.Machine
- func AgentCliPathLTE(v string) predicate.Machine
- func AgentCliPathNEQ(v string) predicate.Machine
- func AgentCliPathNotIn(vs ...string) predicate.Machine
- func AgentCliPathNotNil() predicate.Machine
- func And(predicates ...predicate.Machine) predicate.Machine
- func ChannelCertificateID(v string) predicate.Machine
- func ChannelCertificateIDContains(v string) predicate.Machine
- func ChannelCertificateIDContainsFold(v string) predicate.Machine
- func ChannelCertificateIDEQ(v string) predicate.Machine
- func ChannelCertificateIDEqualFold(v string) predicate.Machine
- func ChannelCertificateIDGT(v string) predicate.Machine
- func ChannelCertificateIDGTE(v string) predicate.Machine
- func ChannelCertificateIDHasPrefix(v string) predicate.Machine
- func ChannelCertificateIDHasSuffix(v string) predicate.Machine
- func ChannelCertificateIDIn(vs ...string) predicate.Machine
- func ChannelCertificateIDIsNil() predicate.Machine
- func ChannelCertificateIDLT(v string) predicate.Machine
- func ChannelCertificateIDLTE(v string) predicate.Machine
- func ChannelCertificateIDNEQ(v string) predicate.Machine
- func ChannelCertificateIDNotIn(vs ...string) predicate.Machine
- func ChannelCertificateIDNotNil() predicate.Machine
- func ChannelCredentialKindEQ(v ChannelCredentialKind) predicate.Machine
- func ChannelCredentialKindIn(vs ...ChannelCredentialKind) predicate.Machine
- func ChannelCredentialKindNEQ(v ChannelCredentialKind) predicate.Machine
- func ChannelCredentialKindNotIn(vs ...ChannelCredentialKind) predicate.Machine
- func ChannelCredentialKindValidator(cck ChannelCredentialKind) error
- func ChannelTokenID(v string) predicate.Machine
- func ChannelTokenIDContains(v string) predicate.Machine
- func ChannelTokenIDContainsFold(v string) predicate.Machine
- func ChannelTokenIDEQ(v string) predicate.Machine
- func ChannelTokenIDEqualFold(v string) predicate.Machine
- func ChannelTokenIDGT(v string) predicate.Machine
- func ChannelTokenIDGTE(v string) predicate.Machine
- func ChannelTokenIDHasPrefix(v string) predicate.Machine
- func ChannelTokenIDHasSuffix(v string) predicate.Machine
- func ChannelTokenIDIn(vs ...string) predicate.Machine
- func ChannelTokenIDIsNil() predicate.Machine
- func ChannelTokenIDLT(v string) predicate.Machine
- func ChannelTokenIDLTE(v string) predicate.Machine
- func ChannelTokenIDNEQ(v string) predicate.Machine
- func ChannelTokenIDNotIn(vs ...string) predicate.Machine
- func ChannelTokenIDNotNil() predicate.Machine
- func ConnectionModeEQ(v ConnectionMode) predicate.Machine
- func ConnectionModeIn(vs ...ConnectionMode) predicate.Machine
- func ConnectionModeNEQ(v ConnectionMode) predicate.Machine
- func ConnectionModeNotIn(vs ...ConnectionMode) predicate.Machine
- func ConnectionModeValidator(cm ConnectionMode) error
- func DaemonLastRegisteredAt(v time.Time) predicate.Machine
- func DaemonLastRegisteredAtEQ(v time.Time) predicate.Machine
- func DaemonLastRegisteredAtGT(v time.Time) predicate.Machine
- func DaemonLastRegisteredAtGTE(v time.Time) predicate.Machine
- func DaemonLastRegisteredAtIn(vs ...time.Time) predicate.Machine
- func DaemonLastRegisteredAtIsNil() predicate.Machine
- func DaemonLastRegisteredAtLT(v time.Time) predicate.Machine
- func DaemonLastRegisteredAtLTE(v time.Time) predicate.Machine
- func DaemonLastRegisteredAtNEQ(v time.Time) predicate.Machine
- func DaemonLastRegisteredAtNotIn(vs ...time.Time) predicate.Machine
- func DaemonLastRegisteredAtNotNil() predicate.Machine
- func DaemonRegistered(v bool) predicate.Machine
- func DaemonRegisteredEQ(v bool) predicate.Machine
- func DaemonRegisteredNEQ(v bool) predicate.Machine
- func DaemonSessionID(v string) predicate.Machine
- func DaemonSessionIDContains(v string) predicate.Machine
- func DaemonSessionIDContainsFold(v string) predicate.Machine
- func DaemonSessionIDEQ(v string) predicate.Machine
- func DaemonSessionIDEqualFold(v string) predicate.Machine
- func DaemonSessionIDGT(v string) predicate.Machine
- func DaemonSessionIDGTE(v string) predicate.Machine
- func DaemonSessionIDHasPrefix(v string) predicate.Machine
- func DaemonSessionIDHasSuffix(v string) predicate.Machine
- func DaemonSessionIDIn(vs ...string) predicate.Machine
- func DaemonSessionIDIsNil() predicate.Machine
- func DaemonSessionIDLT(v string) predicate.Machine
- func DaemonSessionIDLTE(v string) predicate.Machine
- func DaemonSessionIDNEQ(v string) predicate.Machine
- func DaemonSessionIDNotIn(vs ...string) predicate.Machine
- func DaemonSessionIDNotNil() predicate.Machine
- func DaemonSessionStateEQ(v DaemonSessionState) predicate.Machine
- func DaemonSessionStateIn(vs ...DaemonSessionState) predicate.Machine
- func DaemonSessionStateNEQ(v DaemonSessionState) predicate.Machine
- func DaemonSessionStateNotIn(vs ...DaemonSessionState) predicate.Machine
- func DaemonSessionStateValidator(dss DaemonSessionState) error
- func Description(v string) predicate.Machine
- func DescriptionContains(v string) predicate.Machine
- func DescriptionContainsFold(v string) predicate.Machine
- func DescriptionEQ(v string) predicate.Machine
- func DescriptionEqualFold(v string) predicate.Machine
- func DescriptionGT(v string) predicate.Machine
- func DescriptionGTE(v string) predicate.Machine
- func DescriptionHasPrefix(v string) predicate.Machine
- func DescriptionHasSuffix(v string) predicate.Machine
- func DescriptionIn(vs ...string) predicate.Machine
- func DescriptionIsNil() predicate.Machine
- func DescriptionLT(v string) predicate.Machine
- func DescriptionLTE(v string) predicate.Machine
- func DescriptionNEQ(v string) predicate.Machine
- func DescriptionNotIn(vs ...string) predicate.Machine
- func DescriptionNotNil() predicate.Machine
- func DetectedArchEQ(v DetectedArch) predicate.Machine
- func DetectedArchIn(vs ...DetectedArch) predicate.Machine
- func DetectedArchNEQ(v DetectedArch) predicate.Machine
- func DetectedArchNotIn(vs ...DetectedArch) predicate.Machine
- func DetectedArchValidator(da DetectedArch) error
- func DetectedOsEQ(v DetectedOs) predicate.Machine
- func DetectedOsIn(vs ...DetectedOs) predicate.Machine
- func DetectedOsNEQ(v DetectedOs) predicate.Machine
- func DetectedOsNotIn(vs ...DetectedOs) predicate.Machine
- func DetectedOsValidator(do DetectedOs) error
- func DetectionStatusEQ(v DetectionStatus) predicate.Machine
- func DetectionStatusIn(vs ...DetectionStatus) predicate.Machine
- func DetectionStatusNEQ(v DetectionStatus) predicate.Machine
- func DetectionStatusNotIn(vs ...DetectionStatus) predicate.Machine
- func DetectionStatusValidator(ds DetectionStatus) error
- func EnvVars(v pgarray.StringArray) predicate.Machine
- func EnvVarsEQ(v pgarray.StringArray) predicate.Machine
- func EnvVarsGT(v pgarray.StringArray) predicate.Machine
- func EnvVarsGTE(v pgarray.StringArray) predicate.Machine
- func EnvVarsIn(vs ...pgarray.StringArray) predicate.Machine
- func EnvVarsIsNil() predicate.Machine
- func EnvVarsLT(v pgarray.StringArray) predicate.Machine
- func EnvVarsLTE(v pgarray.StringArray) predicate.Machine
- func EnvVarsNEQ(v pgarray.StringArray) predicate.Machine
- func EnvVarsNotIn(vs ...pgarray.StringArray) predicate.Machine
- func EnvVarsNotNil() predicate.Machine
- func ExecutionModeEQ(v ExecutionMode) predicate.Machine
- func ExecutionModeIn(vs ...ExecutionMode) predicate.Machine
- func ExecutionModeIsNil() predicate.Machine
- func ExecutionModeNEQ(v ExecutionMode) predicate.Machine
- func ExecutionModeNotIn(vs ...ExecutionMode) predicate.Machine
- func ExecutionModeNotNil() predicate.Machine
- func ExecutionModeValidator(em ExecutionMode) error
- func HasChannelTokens() predicate.Machine
- func HasChannelTokensWith(preds ...predicate.MachineChannelToken) predicate.Machine
- func HasOrganization() predicate.Machine
- func HasOrganizationWith(preds ...predicate.Organization) predicate.Machine
- func HasProviders() predicate.Machine
- func HasProvidersWith(preds ...predicate.AgentProvider) predicate.Machine
- func HasTargetTickets() predicate.Machine
- func HasTargetTicketsWith(preds ...predicate.Ticket) predicate.Machine
- func Host(v string) predicate.Machine
- func HostContains(v string) predicate.Machine
- func HostContainsFold(v string) predicate.Machine
- func HostEQ(v string) predicate.Machine
- func HostEqualFold(v string) predicate.Machine
- func HostGT(v string) predicate.Machine
- func HostGTE(v string) predicate.Machine
- func HostHasPrefix(v string) predicate.Machine
- func HostHasSuffix(v string) predicate.Machine
- func HostIn(vs ...string) predicate.Machine
- func HostLT(v string) predicate.Machine
- func HostLTE(v string) predicate.Machine
- func HostNEQ(v string) predicate.Machine
- func HostNotIn(vs ...string) predicate.Machine
- func ID(id uuid.UUID) predicate.Machine
- func IDEQ(id uuid.UUID) predicate.Machine
- func IDGT(id uuid.UUID) predicate.Machine
- func IDGTE(id uuid.UUID) predicate.Machine
- func IDIn(ids ...uuid.UUID) predicate.Machine
- func IDLT(id uuid.UUID) predicate.Machine
- func IDLTE(id uuid.UUID) predicate.Machine
- func IDNEQ(id uuid.UUID) predicate.Machine
- func IDNotIn(ids ...uuid.UUID) predicate.Machine
- func Labels(v pgarray.StringArray) predicate.Machine
- func LabelsEQ(v pgarray.StringArray) predicate.Machine
- func LabelsGT(v pgarray.StringArray) predicate.Machine
- func LabelsGTE(v pgarray.StringArray) predicate.Machine
- func LabelsIn(vs ...pgarray.StringArray) predicate.Machine
- func LabelsIsNil() predicate.Machine
- func LabelsLT(v pgarray.StringArray) predicate.Machine
- func LabelsLTE(v pgarray.StringArray) predicate.Machine
- func LabelsNEQ(v pgarray.StringArray) predicate.Machine
- func LabelsNotIn(vs ...pgarray.StringArray) predicate.Machine
- func LabelsNotNil() predicate.Machine
- func LastHeartbeatAt(v time.Time) predicate.Machine
- func LastHeartbeatAtEQ(v time.Time) predicate.Machine
- func LastHeartbeatAtGT(v time.Time) predicate.Machine
- func LastHeartbeatAtGTE(v time.Time) predicate.Machine
- func LastHeartbeatAtIn(vs ...time.Time) predicate.Machine
- func LastHeartbeatAtIsNil() predicate.Machine
- func LastHeartbeatAtLT(v time.Time) predicate.Machine
- func LastHeartbeatAtLTE(v time.Time) predicate.Machine
- func LastHeartbeatAtNEQ(v time.Time) predicate.Machine
- func LastHeartbeatAtNotIn(vs ...time.Time) predicate.Machine
- func LastHeartbeatAtNotNil() predicate.Machine
- func Name(v string) predicate.Machine
- func NameContains(v string) predicate.Machine
- func NameContainsFold(v string) predicate.Machine
- func NameEQ(v string) predicate.Machine
- func NameEqualFold(v string) predicate.Machine
- func NameGT(v string) predicate.Machine
- func NameGTE(v string) predicate.Machine
- func NameHasPrefix(v string) predicate.Machine
- func NameHasSuffix(v string) predicate.Machine
- func NameIn(vs ...string) predicate.Machine
- func NameLT(v string) predicate.Machine
- func NameLTE(v string) predicate.Machine
- func NameNEQ(v string) predicate.Machine
- func NameNotIn(vs ...string) predicate.Machine
- func Not(p predicate.Machine) predicate.Machine
- func Or(predicates ...predicate.Machine) predicate.Machine
- func OrganizationID(v uuid.UUID) predicate.Machine
- func OrganizationIDEQ(v uuid.UUID) predicate.Machine
- func OrganizationIDIn(vs ...uuid.UUID) predicate.Machine
- func OrganizationIDNEQ(v uuid.UUID) predicate.Machine
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.Machine
- func Port(v int) predicate.Machine
- func PortEQ(v int) predicate.Machine
- func PortGT(v int) predicate.Machine
- func PortGTE(v int) predicate.Machine
- func PortIn(vs ...int) predicate.Machine
- func PortLT(v int) predicate.Machine
- func PortLTE(v int) predicate.Machine
- func PortNEQ(v int) predicate.Machine
- func PortNotIn(vs ...int) predicate.Machine
- func ReachabilityModeEQ(v ReachabilityMode) predicate.Machine
- func ReachabilityModeIn(vs ...ReachabilityMode) predicate.Machine
- func ReachabilityModeIsNil() predicate.Machine
- func ReachabilityModeNEQ(v ReachabilityMode) predicate.Machine
- func ReachabilityModeNotIn(vs ...ReachabilityMode) predicate.Machine
- func ReachabilityModeNotNil() predicate.Machine
- func ReachabilityModeValidator(rm ReachabilityMode) error
- func SSHKeyPath(v string) predicate.Machine
- func SSHKeyPathContains(v string) predicate.Machine
- func SSHKeyPathContainsFold(v string) predicate.Machine
- func SSHKeyPathEQ(v string) predicate.Machine
- func SSHKeyPathEqualFold(v string) predicate.Machine
- func SSHKeyPathGT(v string) predicate.Machine
- func SSHKeyPathGTE(v string) predicate.Machine
- func SSHKeyPathHasPrefix(v string) predicate.Machine
- func SSHKeyPathHasSuffix(v string) predicate.Machine
- func SSHKeyPathIn(vs ...string) predicate.Machine
- func SSHKeyPathIsNil() predicate.Machine
- func SSHKeyPathLT(v string) predicate.Machine
- func SSHKeyPathLTE(v string) predicate.Machine
- func SSHKeyPathNEQ(v string) predicate.Machine
- func SSHKeyPathNotIn(vs ...string) predicate.Machine
- func SSHKeyPathNotNil() predicate.Machine
- func SSHUser(v string) predicate.Machine
- func SSHUserContains(v string) predicate.Machine
- func SSHUserContainsFold(v string) predicate.Machine
- func SSHUserEQ(v string) predicate.Machine
- func SSHUserEqualFold(v string) predicate.Machine
- func SSHUserGT(v string) predicate.Machine
- func SSHUserGTE(v string) predicate.Machine
- func SSHUserHasPrefix(v string) predicate.Machine
- func SSHUserHasSuffix(v string) predicate.Machine
- func SSHUserIn(vs ...string) predicate.Machine
- func SSHUserIsNil() predicate.Machine
- func SSHUserLT(v string) predicate.Machine
- func SSHUserLTE(v string) predicate.Machine
- func SSHUserNEQ(v string) predicate.Machine
- func SSHUserNotIn(vs ...string) predicate.Machine
- func SSHUserNotNil() predicate.Machine
- func StatusEQ(v Status) predicate.Machine
- func StatusIn(vs ...Status) predicate.Machine
- func StatusNEQ(v Status) predicate.Machine
- func StatusNotIn(vs ...Status) predicate.Machine
- func StatusValidator(s Status) error
- func TransportCapabilities(v pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesEQ(v pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesGT(v pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesGTE(v pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesIn(vs ...pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesIsNil() predicate.Machine
- func TransportCapabilitiesLT(v pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesLTE(v pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesNEQ(v pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesNotIn(vs ...pgarray.StringArray) predicate.Machine
- func TransportCapabilitiesNotNil() predicate.Machine
- func ValidColumn(column string) bool
- func WorkspaceRoot(v string) predicate.Machine
- func WorkspaceRootContains(v string) predicate.Machine
- func WorkspaceRootContainsFold(v string) predicate.Machine
- func WorkspaceRootEQ(v string) predicate.Machine
- func WorkspaceRootEqualFold(v string) predicate.Machine
- func WorkspaceRootGT(v string) predicate.Machine
- func WorkspaceRootGTE(v string) predicate.Machine
- func WorkspaceRootHasPrefix(v string) predicate.Machine
- func WorkspaceRootHasSuffix(v string) predicate.Machine
- func WorkspaceRootIn(vs ...string) predicate.Machine
- func WorkspaceRootIsNil() predicate.Machine
- func WorkspaceRootLT(v string) predicate.Machine
- func WorkspaceRootLTE(v string) predicate.Machine
- func WorkspaceRootNEQ(v string) predicate.Machine
- func WorkspaceRootNotIn(vs ...string) predicate.Machine
- func WorkspaceRootNotNil() predicate.Machine
- type ChannelCredentialKind
- type ConnectionMode
- type DaemonSessionState
- type DetectedArch
- type DetectedOs
- type DetectionStatus
- type ExecutionMode
- type OrderOption
- func ByAdvertisedEndpoint(opts ...sql.OrderTermOption) OrderOption
- func ByAgentCliPath(opts ...sql.OrderTermOption) OrderOption
- func ByChannelCertificateID(opts ...sql.OrderTermOption) OrderOption
- func ByChannelCredentialKind(opts ...sql.OrderTermOption) OrderOption
- func ByChannelTokenID(opts ...sql.OrderTermOption) OrderOption
- func ByChannelTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChannelTokensCount(opts ...sql.OrderTermOption) OrderOption
- func ByConnectionMode(opts ...sql.OrderTermOption) OrderOption
- func ByDaemonLastRegisteredAt(opts ...sql.OrderTermOption) OrderOption
- func ByDaemonRegistered(opts ...sql.OrderTermOption) OrderOption
- func ByDaemonSessionID(opts ...sql.OrderTermOption) OrderOption
- func ByDaemonSessionState(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDetectedArch(opts ...sql.OrderTermOption) OrderOption
- func ByDetectedOs(opts ...sql.OrderTermOption) OrderOption
- func ByDetectionStatus(opts ...sql.OrderTermOption) OrderOption
- func ByEnvVars(opts ...sql.OrderTermOption) OrderOption
- func ByExecutionMode(opts ...sql.OrderTermOption) OrderOption
- func ByHost(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLabels(opts ...sql.OrderTermOption) OrderOption
- func ByLastHeartbeatAt(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByPort(opts ...sql.OrderTermOption) OrderOption
- func ByProviders(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProvidersCount(opts ...sql.OrderTermOption) OrderOption
- func ByReachabilityMode(opts ...sql.OrderTermOption) OrderOption
- func BySSHKeyPath(opts ...sql.OrderTermOption) OrderOption
- func BySSHUser(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTargetTickets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTargetTicketsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTransportCapabilities(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceRoot(opts ...sql.OrderTermOption) OrderOption
- type ReachabilityMode
- type Status
Constants ¶
const ( // Label holds the string label denoting the machine type in the database. Label = "machine" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldHost holds the string denoting the host field in the database. FieldHost = "host" // FieldPort holds the string denoting the port field in the database. FieldPort = "port" // FieldConnectionMode holds the string denoting the connection_mode field in the database. FieldConnectionMode = "connection_mode" // FieldReachabilityMode holds the string denoting the reachability_mode field in the database. FieldReachabilityMode = "reachability_mode" // FieldExecutionMode holds the string denoting the execution_mode field in the database. FieldExecutionMode = "execution_mode" // FieldTransportCapabilities holds the string denoting the transport_capabilities field in the database. FieldTransportCapabilities = "transport_capabilities" // FieldSSHUser holds the string denoting the ssh_user field in the database. FieldSSHUser = "ssh_user" // FieldSSHKeyPath holds the string denoting the ssh_key_path field in the database. FieldSSHKeyPath = "ssh_key_path" // FieldAdvertisedEndpoint holds the string denoting the advertised_endpoint field in the database. FieldAdvertisedEndpoint = "advertised_endpoint" // FieldDaemonRegistered holds the string denoting the daemon_registered field in the database. FieldDaemonRegistered = "daemon_registered" // FieldDaemonLastRegisteredAt holds the string denoting the daemon_last_registered_at field in the database. FieldDaemonLastRegisteredAt = "daemon_last_registered_at" // FieldDaemonSessionID holds the string denoting the daemon_session_id field in the database. FieldDaemonSessionID = "daemon_session_id" // FieldDaemonSessionState holds the string denoting the daemon_session_state field in the database. FieldDaemonSessionState = "daemon_session_state" // FieldDetectedOs holds the string denoting the detected_os field in the database. FieldDetectedOs = "detected_os" // FieldDetectedArch holds the string denoting the detected_arch field in the database. FieldDetectedArch = "detected_arch" // FieldDetectionStatus holds the string denoting the detection_status field in the database. FieldDetectionStatus = "detection_status" // FieldChannelCredentialKind holds the string denoting the channel_credential_kind field in the database. FieldChannelCredentialKind = "channel_credential_kind" // FieldChannelTokenID holds the string denoting the channel_token_id field in the database. FieldChannelTokenID = "channel_token_id" // FieldChannelCertificateID holds the string denoting the channel_certificate_id field in the database. FieldChannelCertificateID = "channel_certificate_id" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldLabels holds the string denoting the labels field in the database. FieldLabels = "labels" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldWorkspaceRoot holds the string denoting the workspace_root field in the database. FieldWorkspaceRoot = "workspace_root" // FieldAgentCliPath holds the string denoting the agent_cli_path field in the database. FieldAgentCliPath = "agent_cli_path" // FieldEnvVars holds the string denoting the env_vars field in the database. FieldEnvVars = "env_vars" // FieldLastHeartbeatAt holds the string denoting the last_heartbeat_at field in the database. FieldLastHeartbeatAt = "last_heartbeat_at" // FieldResources holds the string denoting the resources field in the database. FieldResources = "resources" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeChannelTokens holds the string denoting the channel_tokens edge name in mutations. EdgeChannelTokens = "channel_tokens" // EdgeProviders holds the string denoting the providers edge name in mutations. EdgeProviders = "providers" // EdgeTargetTickets holds the string denoting the target_tickets edge name in mutations. EdgeTargetTickets = "target_tickets" // Table holds the table name of the machine in the database. Table = "machines" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "machines" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" // ChannelTokensTable is the table that holds the channel_tokens relation/edge. ChannelTokensTable = "machine_channel_tokens" // ChannelTokensInverseTable is the table name for the MachineChannelToken entity. // It exists in this package in order to avoid circular dependency with the "machinechanneltoken" package. ChannelTokensInverseTable = "machine_channel_tokens" // ChannelTokensColumn is the table column denoting the channel_tokens relation/edge. ChannelTokensColumn = "machine_id" // ProvidersTable is the table that holds the providers relation/edge. ProvidersTable = "agent_providers" // ProvidersInverseTable is the table name for the AgentProvider entity. // It exists in this package in order to avoid circular dependency with the "agentprovider" package. ProvidersInverseTable = "agent_providers" // ProvidersColumn is the table column denoting the providers relation/edge. ProvidersColumn = "machine_id" // TargetTicketsTable is the table that holds the target_tickets relation/edge. TargetTicketsTable = "tickets" // TargetTicketsInverseTable is the table name for the Ticket entity. // It exists in this package in order to avoid circular dependency with the "ticket" package. TargetTicketsInverseTable = "tickets" // TargetTicketsColumn is the table column denoting the target_tickets relation/edge. TargetTicketsColumn = "target_machine_id" )
const DefaultChannelCredentialKind = ChannelCredentialKindNone
ChannelCredentialKindNone is the default value of the ChannelCredentialKind enum.
const DefaultConnectionMode = ConnectionModeSSH
ConnectionModeSSH is the default value of the ConnectionMode enum.
const DefaultDaemonSessionState = DaemonSessionStateUnknown
DaemonSessionStateUnknown is the default value of the DaemonSessionState enum.
const DefaultDetectedArch = DetectedArchUnknown
DetectedArchUnknown is the default value of the DetectedArch enum.
const DefaultDetectedOs = DetectedOsUnknown
DetectedOsUnknown is the default value of the DetectedOs enum.
const DefaultDetectionStatus = DetectionStatusUnknown
DetectionStatusUnknown is the default value of the DetectionStatus enum.
const DefaultStatus = StatusMaintenance
StatusMaintenance is the default value of the Status enum.
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // HostValidator is a validator for the "host" field. It is called by the builders before save. HostValidator func(string) error // DefaultPort holds the default value on creation for the "port" field. DefaultPort int // DefaultDaemonRegistered holds the default value on creation for the "daemon_registered" field. DefaultDaemonRegistered bool // DefaultResources holds the default value on creation for the "resources" field. DefaultResources func() map[string]interface{} // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldOrganizationID, FieldName, FieldHost, FieldPort, FieldConnectionMode, FieldReachabilityMode, FieldExecutionMode, FieldTransportCapabilities, FieldSSHUser, FieldSSHKeyPath, FieldAdvertisedEndpoint, FieldDaemonRegistered, FieldDaemonLastRegisteredAt, FieldDaemonSessionID, FieldDaemonSessionState, FieldDetectedOs, FieldDetectedArch, FieldDetectionStatus, FieldChannelCredentialKind, FieldChannelTokenID, FieldChannelCertificateID, FieldDescription, FieldLabels, FieldStatus, FieldWorkspaceRoot, FieldAgentCliPath, FieldEnvVars, FieldLastHeartbeatAt, FieldResources, }
Columns holds all SQL columns for machine fields.
Functions ¶
func AdvertisedEndpoint ¶
AdvertisedEndpoint applies equality check predicate on the "advertised_endpoint" field. It's identical to AdvertisedEndpointEQ.
func AdvertisedEndpointContains ¶
AdvertisedEndpointContains applies the Contains predicate on the "advertised_endpoint" field.
func AdvertisedEndpointContainsFold ¶
AdvertisedEndpointContainsFold applies the ContainsFold predicate on the "advertised_endpoint" field.
func AdvertisedEndpointEQ ¶
AdvertisedEndpointEQ applies the EQ predicate on the "advertised_endpoint" field.
func AdvertisedEndpointEqualFold ¶
AdvertisedEndpointEqualFold applies the EqualFold predicate on the "advertised_endpoint" field.
func AdvertisedEndpointGT ¶
AdvertisedEndpointGT applies the GT predicate on the "advertised_endpoint" field.
func AdvertisedEndpointGTE ¶
AdvertisedEndpointGTE applies the GTE predicate on the "advertised_endpoint" field.
func AdvertisedEndpointHasPrefix ¶
AdvertisedEndpointHasPrefix applies the HasPrefix predicate on the "advertised_endpoint" field.
func AdvertisedEndpointHasSuffix ¶
AdvertisedEndpointHasSuffix applies the HasSuffix predicate on the "advertised_endpoint" field.
func AdvertisedEndpointIn ¶
AdvertisedEndpointIn applies the In predicate on the "advertised_endpoint" field.
func AdvertisedEndpointIsNil ¶
AdvertisedEndpointIsNil applies the IsNil predicate on the "advertised_endpoint" field.
func AdvertisedEndpointLT ¶
AdvertisedEndpointLT applies the LT predicate on the "advertised_endpoint" field.
func AdvertisedEndpointLTE ¶
AdvertisedEndpointLTE applies the LTE predicate on the "advertised_endpoint" field.
func AdvertisedEndpointNEQ ¶
AdvertisedEndpointNEQ applies the NEQ predicate on the "advertised_endpoint" field.
func AdvertisedEndpointNotIn ¶
AdvertisedEndpointNotIn applies the NotIn predicate on the "advertised_endpoint" field.
func AdvertisedEndpointNotNil ¶
AdvertisedEndpointNotNil applies the NotNil predicate on the "advertised_endpoint" field.
func AgentCliPath ¶
AgentCliPath applies equality check predicate on the "agent_cli_path" field. It's identical to AgentCliPathEQ.
func AgentCliPathContains ¶
AgentCliPathContains applies the Contains predicate on the "agent_cli_path" field.
func AgentCliPathContainsFold ¶
AgentCliPathContainsFold applies the ContainsFold predicate on the "agent_cli_path" field.
func AgentCliPathEQ ¶
AgentCliPathEQ applies the EQ predicate on the "agent_cli_path" field.
func AgentCliPathEqualFold ¶
AgentCliPathEqualFold applies the EqualFold predicate on the "agent_cli_path" field.
func AgentCliPathGT ¶
AgentCliPathGT applies the GT predicate on the "agent_cli_path" field.
func AgentCliPathGTE ¶
AgentCliPathGTE applies the GTE predicate on the "agent_cli_path" field.
func AgentCliPathHasPrefix ¶
AgentCliPathHasPrefix applies the HasPrefix predicate on the "agent_cli_path" field.
func AgentCliPathHasSuffix ¶
AgentCliPathHasSuffix applies the HasSuffix predicate on the "agent_cli_path" field.
func AgentCliPathIn ¶
AgentCliPathIn applies the In predicate on the "agent_cli_path" field.
func AgentCliPathIsNil ¶
AgentCliPathIsNil applies the IsNil predicate on the "agent_cli_path" field.
func AgentCliPathLT ¶
AgentCliPathLT applies the LT predicate on the "agent_cli_path" field.
func AgentCliPathLTE ¶
AgentCliPathLTE applies the LTE predicate on the "agent_cli_path" field.
func AgentCliPathNEQ ¶
AgentCliPathNEQ applies the NEQ predicate on the "agent_cli_path" field.
func AgentCliPathNotIn ¶
AgentCliPathNotIn applies the NotIn predicate on the "agent_cli_path" field.
func AgentCliPathNotNil ¶
AgentCliPathNotNil applies the NotNil predicate on the "agent_cli_path" field.
func ChannelCertificateID ¶
ChannelCertificateID applies equality check predicate on the "channel_certificate_id" field. It's identical to ChannelCertificateIDEQ.
func ChannelCertificateIDContains ¶
ChannelCertificateIDContains applies the Contains predicate on the "channel_certificate_id" field.
func ChannelCertificateIDContainsFold ¶
ChannelCertificateIDContainsFold applies the ContainsFold predicate on the "channel_certificate_id" field.
func ChannelCertificateIDEQ ¶
ChannelCertificateIDEQ applies the EQ predicate on the "channel_certificate_id" field.
func ChannelCertificateIDEqualFold ¶
ChannelCertificateIDEqualFold applies the EqualFold predicate on the "channel_certificate_id" field.
func ChannelCertificateIDGT ¶
ChannelCertificateIDGT applies the GT predicate on the "channel_certificate_id" field.
func ChannelCertificateIDGTE ¶
ChannelCertificateIDGTE applies the GTE predicate on the "channel_certificate_id" field.
func ChannelCertificateIDHasPrefix ¶
ChannelCertificateIDHasPrefix applies the HasPrefix predicate on the "channel_certificate_id" field.
func ChannelCertificateIDHasSuffix ¶
ChannelCertificateIDHasSuffix applies the HasSuffix predicate on the "channel_certificate_id" field.
func ChannelCertificateIDIn ¶
ChannelCertificateIDIn applies the In predicate on the "channel_certificate_id" field.
func ChannelCertificateIDIsNil ¶
ChannelCertificateIDIsNil applies the IsNil predicate on the "channel_certificate_id" field.
func ChannelCertificateIDLT ¶
ChannelCertificateIDLT applies the LT predicate on the "channel_certificate_id" field.
func ChannelCertificateIDLTE ¶
ChannelCertificateIDLTE applies the LTE predicate on the "channel_certificate_id" field.
func ChannelCertificateIDNEQ ¶
ChannelCertificateIDNEQ applies the NEQ predicate on the "channel_certificate_id" field.
func ChannelCertificateIDNotIn ¶
ChannelCertificateIDNotIn applies the NotIn predicate on the "channel_certificate_id" field.
func ChannelCertificateIDNotNil ¶
ChannelCertificateIDNotNil applies the NotNil predicate on the "channel_certificate_id" field.
func ChannelCredentialKindEQ ¶
func ChannelCredentialKindEQ(v ChannelCredentialKind) predicate.Machine
ChannelCredentialKindEQ applies the EQ predicate on the "channel_credential_kind" field.
func ChannelCredentialKindIn ¶
func ChannelCredentialKindIn(vs ...ChannelCredentialKind) predicate.Machine
ChannelCredentialKindIn applies the In predicate on the "channel_credential_kind" field.
func ChannelCredentialKindNEQ ¶
func ChannelCredentialKindNEQ(v ChannelCredentialKind) predicate.Machine
ChannelCredentialKindNEQ applies the NEQ predicate on the "channel_credential_kind" field.
func ChannelCredentialKindNotIn ¶
func ChannelCredentialKindNotIn(vs ...ChannelCredentialKind) predicate.Machine
ChannelCredentialKindNotIn applies the NotIn predicate on the "channel_credential_kind" field.
func ChannelCredentialKindValidator ¶
func ChannelCredentialKindValidator(cck ChannelCredentialKind) error
ChannelCredentialKindValidator is a validator for the "channel_credential_kind" field enum values. It is called by the builders before save.
func ChannelTokenID ¶
ChannelTokenID applies equality check predicate on the "channel_token_id" field. It's identical to ChannelTokenIDEQ.
func ChannelTokenIDContains ¶
ChannelTokenIDContains applies the Contains predicate on the "channel_token_id" field.
func ChannelTokenIDContainsFold ¶
ChannelTokenIDContainsFold applies the ContainsFold predicate on the "channel_token_id" field.
func ChannelTokenIDEQ ¶
ChannelTokenIDEQ applies the EQ predicate on the "channel_token_id" field.
func ChannelTokenIDEqualFold ¶
ChannelTokenIDEqualFold applies the EqualFold predicate on the "channel_token_id" field.
func ChannelTokenIDGT ¶
ChannelTokenIDGT applies the GT predicate on the "channel_token_id" field.
func ChannelTokenIDGTE ¶
ChannelTokenIDGTE applies the GTE predicate on the "channel_token_id" field.
func ChannelTokenIDHasPrefix ¶
ChannelTokenIDHasPrefix applies the HasPrefix predicate on the "channel_token_id" field.
func ChannelTokenIDHasSuffix ¶
ChannelTokenIDHasSuffix applies the HasSuffix predicate on the "channel_token_id" field.
func ChannelTokenIDIn ¶
ChannelTokenIDIn applies the In predicate on the "channel_token_id" field.
func ChannelTokenIDIsNil ¶
ChannelTokenIDIsNil applies the IsNil predicate on the "channel_token_id" field.
func ChannelTokenIDLT ¶
ChannelTokenIDLT applies the LT predicate on the "channel_token_id" field.
func ChannelTokenIDLTE ¶
ChannelTokenIDLTE applies the LTE predicate on the "channel_token_id" field.
func ChannelTokenIDNEQ ¶
ChannelTokenIDNEQ applies the NEQ predicate on the "channel_token_id" field.
func ChannelTokenIDNotIn ¶
ChannelTokenIDNotIn applies the NotIn predicate on the "channel_token_id" field.
func ChannelTokenIDNotNil ¶
ChannelTokenIDNotNil applies the NotNil predicate on the "channel_token_id" field.
func ConnectionModeEQ ¶
func ConnectionModeEQ(v ConnectionMode) predicate.Machine
ConnectionModeEQ applies the EQ predicate on the "connection_mode" field.
func ConnectionModeIn ¶
func ConnectionModeIn(vs ...ConnectionMode) predicate.Machine
ConnectionModeIn applies the In predicate on the "connection_mode" field.
func ConnectionModeNEQ ¶
func ConnectionModeNEQ(v ConnectionMode) predicate.Machine
ConnectionModeNEQ applies the NEQ predicate on the "connection_mode" field.
func ConnectionModeNotIn ¶
func ConnectionModeNotIn(vs ...ConnectionMode) predicate.Machine
ConnectionModeNotIn applies the NotIn predicate on the "connection_mode" field.
func ConnectionModeValidator ¶
func ConnectionModeValidator(cm ConnectionMode) error
ConnectionModeValidator is a validator for the "connection_mode" field enum values. It is called by the builders before save.
func DaemonLastRegisteredAt ¶
DaemonLastRegisteredAt applies equality check predicate on the "daemon_last_registered_at" field. It's identical to DaemonLastRegisteredAtEQ.
func DaemonLastRegisteredAtEQ ¶
DaemonLastRegisteredAtEQ applies the EQ predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtGT ¶
DaemonLastRegisteredAtGT applies the GT predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtGTE ¶
DaemonLastRegisteredAtGTE applies the GTE predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtIn ¶
DaemonLastRegisteredAtIn applies the In predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtIsNil ¶
DaemonLastRegisteredAtIsNil applies the IsNil predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtLT ¶
DaemonLastRegisteredAtLT applies the LT predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtLTE ¶
DaemonLastRegisteredAtLTE applies the LTE predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtNEQ ¶
DaemonLastRegisteredAtNEQ applies the NEQ predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtNotIn ¶
DaemonLastRegisteredAtNotIn applies the NotIn predicate on the "daemon_last_registered_at" field.
func DaemonLastRegisteredAtNotNil ¶
DaemonLastRegisteredAtNotNil applies the NotNil predicate on the "daemon_last_registered_at" field.
func DaemonRegistered ¶
DaemonRegistered applies equality check predicate on the "daemon_registered" field. It's identical to DaemonRegisteredEQ.
func DaemonRegisteredEQ ¶
DaemonRegisteredEQ applies the EQ predicate on the "daemon_registered" field.
func DaemonRegisteredNEQ ¶
DaemonRegisteredNEQ applies the NEQ predicate on the "daemon_registered" field.
func DaemonSessionID ¶
DaemonSessionID applies equality check predicate on the "daemon_session_id" field. It's identical to DaemonSessionIDEQ.
func DaemonSessionIDContains ¶
DaemonSessionIDContains applies the Contains predicate on the "daemon_session_id" field.
func DaemonSessionIDContainsFold ¶
DaemonSessionIDContainsFold applies the ContainsFold predicate on the "daemon_session_id" field.
func DaemonSessionIDEQ ¶
DaemonSessionIDEQ applies the EQ predicate on the "daemon_session_id" field.
func DaemonSessionIDEqualFold ¶
DaemonSessionIDEqualFold applies the EqualFold predicate on the "daemon_session_id" field.
func DaemonSessionIDGT ¶
DaemonSessionIDGT applies the GT predicate on the "daemon_session_id" field.
func DaemonSessionIDGTE ¶
DaemonSessionIDGTE applies the GTE predicate on the "daemon_session_id" field.
func DaemonSessionIDHasPrefix ¶
DaemonSessionIDHasPrefix applies the HasPrefix predicate on the "daemon_session_id" field.
func DaemonSessionIDHasSuffix ¶
DaemonSessionIDHasSuffix applies the HasSuffix predicate on the "daemon_session_id" field.
func DaemonSessionIDIn ¶
DaemonSessionIDIn applies the In predicate on the "daemon_session_id" field.
func DaemonSessionIDIsNil ¶
DaemonSessionIDIsNil applies the IsNil predicate on the "daemon_session_id" field.
func DaemonSessionIDLT ¶
DaemonSessionIDLT applies the LT predicate on the "daemon_session_id" field.
func DaemonSessionIDLTE ¶
DaemonSessionIDLTE applies the LTE predicate on the "daemon_session_id" field.
func DaemonSessionIDNEQ ¶
DaemonSessionIDNEQ applies the NEQ predicate on the "daemon_session_id" field.
func DaemonSessionIDNotIn ¶
DaemonSessionIDNotIn applies the NotIn predicate on the "daemon_session_id" field.
func DaemonSessionIDNotNil ¶
DaemonSessionIDNotNil applies the NotNil predicate on the "daemon_session_id" field.
func DaemonSessionStateEQ ¶
func DaemonSessionStateEQ(v DaemonSessionState) predicate.Machine
DaemonSessionStateEQ applies the EQ predicate on the "daemon_session_state" field.
func DaemonSessionStateIn ¶
func DaemonSessionStateIn(vs ...DaemonSessionState) predicate.Machine
DaemonSessionStateIn applies the In predicate on the "daemon_session_state" field.
func DaemonSessionStateNEQ ¶
func DaemonSessionStateNEQ(v DaemonSessionState) predicate.Machine
DaemonSessionStateNEQ applies the NEQ predicate on the "daemon_session_state" field.
func DaemonSessionStateNotIn ¶
func DaemonSessionStateNotIn(vs ...DaemonSessionState) predicate.Machine
DaemonSessionStateNotIn applies the NotIn predicate on the "daemon_session_state" field.
func DaemonSessionStateValidator ¶
func DaemonSessionStateValidator(dss DaemonSessionState) error
DaemonSessionStateValidator is a validator for the "daemon_session_state" field enum values. It is called by the builders before save.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DetectedArchEQ ¶
func DetectedArchEQ(v DetectedArch) predicate.Machine
DetectedArchEQ applies the EQ predicate on the "detected_arch" field.
func DetectedArchIn ¶
func DetectedArchIn(vs ...DetectedArch) predicate.Machine
DetectedArchIn applies the In predicate on the "detected_arch" field.
func DetectedArchNEQ ¶
func DetectedArchNEQ(v DetectedArch) predicate.Machine
DetectedArchNEQ applies the NEQ predicate on the "detected_arch" field.
func DetectedArchNotIn ¶
func DetectedArchNotIn(vs ...DetectedArch) predicate.Machine
DetectedArchNotIn applies the NotIn predicate on the "detected_arch" field.
func DetectedArchValidator ¶
func DetectedArchValidator(da DetectedArch) error
DetectedArchValidator is a validator for the "detected_arch" field enum values. It is called by the builders before save.
func DetectedOsEQ ¶
func DetectedOsEQ(v DetectedOs) predicate.Machine
DetectedOsEQ applies the EQ predicate on the "detected_os" field.
func DetectedOsIn ¶
func DetectedOsIn(vs ...DetectedOs) predicate.Machine
DetectedOsIn applies the In predicate on the "detected_os" field.
func DetectedOsNEQ ¶
func DetectedOsNEQ(v DetectedOs) predicate.Machine
DetectedOsNEQ applies the NEQ predicate on the "detected_os" field.
func DetectedOsNotIn ¶
func DetectedOsNotIn(vs ...DetectedOs) predicate.Machine
DetectedOsNotIn applies the NotIn predicate on the "detected_os" field.
func DetectedOsValidator ¶
func DetectedOsValidator(do DetectedOs) error
DetectedOsValidator is a validator for the "detected_os" field enum values. It is called by the builders before save.
func DetectionStatusEQ ¶
func DetectionStatusEQ(v DetectionStatus) predicate.Machine
DetectionStatusEQ applies the EQ predicate on the "detection_status" field.
func DetectionStatusIn ¶
func DetectionStatusIn(vs ...DetectionStatus) predicate.Machine
DetectionStatusIn applies the In predicate on the "detection_status" field.
func DetectionStatusNEQ ¶
func DetectionStatusNEQ(v DetectionStatus) predicate.Machine
DetectionStatusNEQ applies the NEQ predicate on the "detection_status" field.
func DetectionStatusNotIn ¶
func DetectionStatusNotIn(vs ...DetectionStatus) predicate.Machine
DetectionStatusNotIn applies the NotIn predicate on the "detection_status" field.
func DetectionStatusValidator ¶
func DetectionStatusValidator(ds DetectionStatus) error
DetectionStatusValidator is a validator for the "detection_status" field enum values. It is called by the builders before save.
func EnvVars ¶
func EnvVars(v pgarray.StringArray) predicate.Machine
EnvVars applies equality check predicate on the "env_vars" field. It's identical to EnvVarsEQ.
func EnvVarsEQ ¶
func EnvVarsEQ(v pgarray.StringArray) predicate.Machine
EnvVarsEQ applies the EQ predicate on the "env_vars" field.
func EnvVarsGT ¶
func EnvVarsGT(v pgarray.StringArray) predicate.Machine
EnvVarsGT applies the GT predicate on the "env_vars" field.
func EnvVarsGTE ¶
func EnvVarsGTE(v pgarray.StringArray) predicate.Machine
EnvVarsGTE applies the GTE predicate on the "env_vars" field.
func EnvVarsIn ¶
func EnvVarsIn(vs ...pgarray.StringArray) predicate.Machine
EnvVarsIn applies the In predicate on the "env_vars" field.
func EnvVarsIsNil ¶
EnvVarsIsNil applies the IsNil predicate on the "env_vars" field.
func EnvVarsLT ¶
func EnvVarsLT(v pgarray.StringArray) predicate.Machine
EnvVarsLT applies the LT predicate on the "env_vars" field.
func EnvVarsLTE ¶
func EnvVarsLTE(v pgarray.StringArray) predicate.Machine
EnvVarsLTE applies the LTE predicate on the "env_vars" field.
func EnvVarsNEQ ¶
func EnvVarsNEQ(v pgarray.StringArray) predicate.Machine
EnvVarsNEQ applies the NEQ predicate on the "env_vars" field.
func EnvVarsNotIn ¶
func EnvVarsNotIn(vs ...pgarray.StringArray) predicate.Machine
EnvVarsNotIn applies the NotIn predicate on the "env_vars" field.
func EnvVarsNotNil ¶
EnvVarsNotNil applies the NotNil predicate on the "env_vars" field.
func ExecutionModeEQ ¶ added in v0.6.0
func ExecutionModeEQ(v ExecutionMode) predicate.Machine
ExecutionModeEQ applies the EQ predicate on the "execution_mode" field.
func ExecutionModeIn ¶ added in v0.6.0
func ExecutionModeIn(vs ...ExecutionMode) predicate.Machine
ExecutionModeIn applies the In predicate on the "execution_mode" field.
func ExecutionModeIsNil ¶ added in v0.6.0
ExecutionModeIsNil applies the IsNil predicate on the "execution_mode" field.
func ExecutionModeNEQ ¶ added in v0.6.0
func ExecutionModeNEQ(v ExecutionMode) predicate.Machine
ExecutionModeNEQ applies the NEQ predicate on the "execution_mode" field.
func ExecutionModeNotIn ¶ added in v0.6.0
func ExecutionModeNotIn(vs ...ExecutionMode) predicate.Machine
ExecutionModeNotIn applies the NotIn predicate on the "execution_mode" field.
func ExecutionModeNotNil ¶ added in v0.6.0
ExecutionModeNotNil applies the NotNil predicate on the "execution_mode" field.
func ExecutionModeValidator ¶ added in v0.6.0
func ExecutionModeValidator(em ExecutionMode) error
ExecutionModeValidator is a validator for the "execution_mode" field enum values. It is called by the builders before save.
func HasChannelTokens ¶
HasChannelTokens applies the HasEdge predicate on the "channel_tokens" edge.
func HasChannelTokensWith ¶
func HasChannelTokensWith(preds ...predicate.MachineChannelToken) predicate.Machine
HasChannelTokensWith applies the HasEdge predicate on the "channel_tokens" edge with a given conditions (other predicates).
func HasOrganization ¶
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.Machine
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasProviders ¶
HasProviders applies the HasEdge predicate on the "providers" edge.
func HasProvidersWith ¶
func HasProvidersWith(preds ...predicate.AgentProvider) predicate.Machine
HasProvidersWith applies the HasEdge predicate on the "providers" edge with a given conditions (other predicates).
func HasTargetTickets ¶
HasTargetTickets applies the HasEdge predicate on the "target_tickets" edge.
func HasTargetTicketsWith ¶
HasTargetTicketsWith applies the HasEdge predicate on the "target_tickets" edge with a given conditions (other predicates).
func HostContains ¶
HostContains applies the Contains predicate on the "host" field.
func HostContainsFold ¶
HostContainsFold applies the ContainsFold predicate on the "host" field.
func HostEqualFold ¶
HostEqualFold applies the EqualFold predicate on the "host" field.
func HostHasPrefix ¶
HostHasPrefix applies the HasPrefix predicate on the "host" field.
func HostHasSuffix ¶
HostHasSuffix applies the HasSuffix predicate on the "host" field.
func Labels ¶
func Labels(v pgarray.StringArray) predicate.Machine
Labels applies equality check predicate on the "labels" field. It's identical to LabelsEQ.
func LabelsEQ ¶
func LabelsEQ(v pgarray.StringArray) predicate.Machine
LabelsEQ applies the EQ predicate on the "labels" field.
func LabelsGT ¶
func LabelsGT(v pgarray.StringArray) predicate.Machine
LabelsGT applies the GT predicate on the "labels" field.
func LabelsGTE ¶
func LabelsGTE(v pgarray.StringArray) predicate.Machine
LabelsGTE applies the GTE predicate on the "labels" field.
func LabelsIn ¶
func LabelsIn(vs ...pgarray.StringArray) predicate.Machine
LabelsIn applies the In predicate on the "labels" field.
func LabelsIsNil ¶
LabelsIsNil applies the IsNil predicate on the "labels" field.
func LabelsLT ¶
func LabelsLT(v pgarray.StringArray) predicate.Machine
LabelsLT applies the LT predicate on the "labels" field.
func LabelsLTE ¶
func LabelsLTE(v pgarray.StringArray) predicate.Machine
LabelsLTE applies the LTE predicate on the "labels" field.
func LabelsNEQ ¶
func LabelsNEQ(v pgarray.StringArray) predicate.Machine
LabelsNEQ applies the NEQ predicate on the "labels" field.
func LabelsNotIn ¶
func LabelsNotIn(vs ...pgarray.StringArray) predicate.Machine
LabelsNotIn applies the NotIn predicate on the "labels" field.
func LabelsNotNil ¶
LabelsNotNil applies the NotNil predicate on the "labels" field.
func LastHeartbeatAt ¶
LastHeartbeatAt applies equality check predicate on the "last_heartbeat_at" field. It's identical to LastHeartbeatAtEQ.
func LastHeartbeatAtEQ ¶
LastHeartbeatAtEQ applies the EQ predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtGT ¶
LastHeartbeatAtGT applies the GT predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtGTE ¶
LastHeartbeatAtGTE applies the GTE predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtIn ¶
LastHeartbeatAtIn applies the In predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtIsNil ¶
LastHeartbeatAtIsNil applies the IsNil predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtLT ¶
LastHeartbeatAtLT applies the LT predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtLTE ¶
LastHeartbeatAtLTE applies the LTE predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtNEQ ¶
LastHeartbeatAtNEQ applies the NEQ predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtNotIn ¶
LastHeartbeatAtNotIn applies the NotIn predicate on the "last_heartbeat_at" field.
func LastHeartbeatAtNotNil ¶
LastHeartbeatAtNotNil applies the NotNil predicate on the "last_heartbeat_at" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OrganizationID ¶
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func ReachabilityModeEQ ¶ added in v0.6.0
func ReachabilityModeEQ(v ReachabilityMode) predicate.Machine
ReachabilityModeEQ applies the EQ predicate on the "reachability_mode" field.
func ReachabilityModeIn ¶ added in v0.6.0
func ReachabilityModeIn(vs ...ReachabilityMode) predicate.Machine
ReachabilityModeIn applies the In predicate on the "reachability_mode" field.
func ReachabilityModeIsNil ¶ added in v0.6.0
ReachabilityModeIsNil applies the IsNil predicate on the "reachability_mode" field.
func ReachabilityModeNEQ ¶ added in v0.6.0
func ReachabilityModeNEQ(v ReachabilityMode) predicate.Machine
ReachabilityModeNEQ applies the NEQ predicate on the "reachability_mode" field.
func ReachabilityModeNotIn ¶ added in v0.6.0
func ReachabilityModeNotIn(vs ...ReachabilityMode) predicate.Machine
ReachabilityModeNotIn applies the NotIn predicate on the "reachability_mode" field.
func ReachabilityModeNotNil ¶ added in v0.6.0
ReachabilityModeNotNil applies the NotNil predicate on the "reachability_mode" field.
func ReachabilityModeValidator ¶ added in v0.6.0
func ReachabilityModeValidator(rm ReachabilityMode) error
ReachabilityModeValidator is a validator for the "reachability_mode" field enum values. It is called by the builders before save.
func SSHKeyPath ¶
SSHKeyPath applies equality check predicate on the "ssh_key_path" field. It's identical to SSHKeyPathEQ.
func SSHKeyPathContains ¶
SSHKeyPathContains applies the Contains predicate on the "ssh_key_path" field.
func SSHKeyPathContainsFold ¶
SSHKeyPathContainsFold applies the ContainsFold predicate on the "ssh_key_path" field.
func SSHKeyPathEQ ¶
SSHKeyPathEQ applies the EQ predicate on the "ssh_key_path" field.
func SSHKeyPathEqualFold ¶
SSHKeyPathEqualFold applies the EqualFold predicate on the "ssh_key_path" field.
func SSHKeyPathGT ¶
SSHKeyPathGT applies the GT predicate on the "ssh_key_path" field.
func SSHKeyPathGTE ¶
SSHKeyPathGTE applies the GTE predicate on the "ssh_key_path" field.
func SSHKeyPathHasPrefix ¶
SSHKeyPathHasPrefix applies the HasPrefix predicate on the "ssh_key_path" field.
func SSHKeyPathHasSuffix ¶
SSHKeyPathHasSuffix applies the HasSuffix predicate on the "ssh_key_path" field.
func SSHKeyPathIn ¶
SSHKeyPathIn applies the In predicate on the "ssh_key_path" field.
func SSHKeyPathIsNil ¶
SSHKeyPathIsNil applies the IsNil predicate on the "ssh_key_path" field.
func SSHKeyPathLT ¶
SSHKeyPathLT applies the LT predicate on the "ssh_key_path" field.
func SSHKeyPathLTE ¶
SSHKeyPathLTE applies the LTE predicate on the "ssh_key_path" field.
func SSHKeyPathNEQ ¶
SSHKeyPathNEQ applies the NEQ predicate on the "ssh_key_path" field.
func SSHKeyPathNotIn ¶
SSHKeyPathNotIn applies the NotIn predicate on the "ssh_key_path" field.
func SSHKeyPathNotNil ¶
SSHKeyPathNotNil applies the NotNil predicate on the "ssh_key_path" field.
func SSHUser ¶
SSHUser applies equality check predicate on the "ssh_user" field. It's identical to SSHUserEQ.
func SSHUserContains ¶
SSHUserContains applies the Contains predicate on the "ssh_user" field.
func SSHUserContainsFold ¶
SSHUserContainsFold applies the ContainsFold predicate on the "ssh_user" field.
func SSHUserEqualFold ¶
SSHUserEqualFold applies the EqualFold predicate on the "ssh_user" field.
func SSHUserGTE ¶
SSHUserGTE applies the GTE predicate on the "ssh_user" field.
func SSHUserHasPrefix ¶
SSHUserHasPrefix applies the HasPrefix predicate on the "ssh_user" field.
func SSHUserHasSuffix ¶
SSHUserHasSuffix applies the HasSuffix predicate on the "ssh_user" field.
func SSHUserIsNil ¶
SSHUserIsNil applies the IsNil predicate on the "ssh_user" field.
func SSHUserLTE ¶
SSHUserLTE applies the LTE predicate on the "ssh_user" field.
func SSHUserNEQ ¶
SSHUserNEQ applies the NEQ predicate on the "ssh_user" field.
func SSHUserNotIn ¶
SSHUserNotIn applies the NotIn predicate on the "ssh_user" field.
func SSHUserNotNil ¶
SSHUserNotNil applies the NotNil predicate on the "ssh_user" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TransportCapabilities ¶
func TransportCapabilities(v pgarray.StringArray) predicate.Machine
TransportCapabilities applies equality check predicate on the "transport_capabilities" field. It's identical to TransportCapabilitiesEQ.
func TransportCapabilitiesEQ ¶
func TransportCapabilitiesEQ(v pgarray.StringArray) predicate.Machine
TransportCapabilitiesEQ applies the EQ predicate on the "transport_capabilities" field.
func TransportCapabilitiesGT ¶
func TransportCapabilitiesGT(v pgarray.StringArray) predicate.Machine
TransportCapabilitiesGT applies the GT predicate on the "transport_capabilities" field.
func TransportCapabilitiesGTE ¶
func TransportCapabilitiesGTE(v pgarray.StringArray) predicate.Machine
TransportCapabilitiesGTE applies the GTE predicate on the "transport_capabilities" field.
func TransportCapabilitiesIn ¶
func TransportCapabilitiesIn(vs ...pgarray.StringArray) predicate.Machine
TransportCapabilitiesIn applies the In predicate on the "transport_capabilities" field.
func TransportCapabilitiesIsNil ¶
TransportCapabilitiesIsNil applies the IsNil predicate on the "transport_capabilities" field.
func TransportCapabilitiesLT ¶
func TransportCapabilitiesLT(v pgarray.StringArray) predicate.Machine
TransportCapabilitiesLT applies the LT predicate on the "transport_capabilities" field.
func TransportCapabilitiesLTE ¶
func TransportCapabilitiesLTE(v pgarray.StringArray) predicate.Machine
TransportCapabilitiesLTE applies the LTE predicate on the "transport_capabilities" field.
func TransportCapabilitiesNEQ ¶
func TransportCapabilitiesNEQ(v pgarray.StringArray) predicate.Machine
TransportCapabilitiesNEQ applies the NEQ predicate on the "transport_capabilities" field.
func TransportCapabilitiesNotIn ¶
func TransportCapabilitiesNotIn(vs ...pgarray.StringArray) predicate.Machine
TransportCapabilitiesNotIn applies the NotIn predicate on the "transport_capabilities" field.
func TransportCapabilitiesNotNil ¶
TransportCapabilitiesNotNil applies the NotNil predicate on the "transport_capabilities" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkspaceRoot ¶
WorkspaceRoot applies equality check predicate on the "workspace_root" field. It's identical to WorkspaceRootEQ.
func WorkspaceRootContains ¶
WorkspaceRootContains applies the Contains predicate on the "workspace_root" field.
func WorkspaceRootContainsFold ¶
WorkspaceRootContainsFold applies the ContainsFold predicate on the "workspace_root" field.
func WorkspaceRootEQ ¶
WorkspaceRootEQ applies the EQ predicate on the "workspace_root" field.
func WorkspaceRootEqualFold ¶
WorkspaceRootEqualFold applies the EqualFold predicate on the "workspace_root" field.
func WorkspaceRootGT ¶
WorkspaceRootGT applies the GT predicate on the "workspace_root" field.
func WorkspaceRootGTE ¶
WorkspaceRootGTE applies the GTE predicate on the "workspace_root" field.
func WorkspaceRootHasPrefix ¶
WorkspaceRootHasPrefix applies the HasPrefix predicate on the "workspace_root" field.
func WorkspaceRootHasSuffix ¶
WorkspaceRootHasSuffix applies the HasSuffix predicate on the "workspace_root" field.
func WorkspaceRootIn ¶
WorkspaceRootIn applies the In predicate on the "workspace_root" field.
func WorkspaceRootIsNil ¶
WorkspaceRootIsNil applies the IsNil predicate on the "workspace_root" field.
func WorkspaceRootLT ¶
WorkspaceRootLT applies the LT predicate on the "workspace_root" field.
func WorkspaceRootLTE ¶
WorkspaceRootLTE applies the LTE predicate on the "workspace_root" field.
func WorkspaceRootNEQ ¶
WorkspaceRootNEQ applies the NEQ predicate on the "workspace_root" field.
func WorkspaceRootNotIn ¶
WorkspaceRootNotIn applies the NotIn predicate on the "workspace_root" field.
func WorkspaceRootNotNil ¶
WorkspaceRootNotNil applies the NotNil predicate on the "workspace_root" field.
Types ¶
type ChannelCredentialKind ¶
type ChannelCredentialKind string
ChannelCredentialKind defines the type for the "channel_credential_kind" enum field.
const ( ChannelCredentialKindNone ChannelCredentialKind = "none" ChannelCredentialKindToken ChannelCredentialKind = "token" ChannelCredentialKindCertificate ChannelCredentialKind = "certificate" )
ChannelCredentialKind values.
func (ChannelCredentialKind) String ¶
func (cck ChannelCredentialKind) String() string
type ConnectionMode ¶
type ConnectionMode string
ConnectionMode defines the type for the "connection_mode" enum field.
const ( ConnectionModeLocal ConnectionMode = "local" ConnectionModeSSH ConnectionMode = "ssh" ConnectionModeWsReverse ConnectionMode = "ws_reverse" ConnectionModeWsListener ConnectionMode = "ws_listener" )
ConnectionMode values.
func (ConnectionMode) String ¶
func (cm ConnectionMode) String() string
type DaemonSessionState ¶
type DaemonSessionState string
DaemonSessionState defines the type for the "daemon_session_state" enum field.
const ( DaemonSessionStateUnknown DaemonSessionState = "unknown" DaemonSessionStateConnected DaemonSessionState = "connected" DaemonSessionStateDisconnected DaemonSessionState = "disconnected" )
DaemonSessionState values.
func (DaemonSessionState) String ¶
func (dss DaemonSessionState) String() string
type DetectedArch ¶
type DetectedArch string
DetectedArch defines the type for the "detected_arch" enum field.
const ( DetectedArchAmd64 DetectedArch = "amd64" DetectedArchArm64 DetectedArch = "arm64" DetectedArchUnknown DetectedArch = "unknown" )
DetectedArch values.
func (DetectedArch) String ¶
func (da DetectedArch) String() string
type DetectedOs ¶
type DetectedOs string
DetectedOs defines the type for the "detected_os" enum field.
const ( DetectedOsDarwin DetectedOs = "darwin" DetectedOsLinux DetectedOs = "linux" DetectedOsUnknown DetectedOs = "unknown" )
DetectedOs values.
func (DetectedOs) String ¶
func (do DetectedOs) String() string
type DetectionStatus ¶
type DetectionStatus string
DetectionStatus defines the type for the "detection_status" enum field.
const ( DetectionStatusPending DetectionStatus = "pending" DetectionStatusOk DetectionStatus = "ok" DetectionStatusDegraded DetectionStatus = "degraded" DetectionStatusUnknown DetectionStatus = "unknown" )
DetectionStatus values.
func (DetectionStatus) String ¶
func (ds DetectionStatus) String() string
type ExecutionMode ¶ added in v0.6.0
type ExecutionMode string
ExecutionMode defines the type for the "execution_mode" enum field.
const ( ExecutionModeLocalProcess ExecutionMode = "local_process" ExecutionModeWebsocket ExecutionMode = "websocket" )
ExecutionMode values.
func (ExecutionMode) String ¶ added in v0.6.0
func (em ExecutionMode) String() string
type OrderOption ¶
OrderOption defines the ordering options for the Machine queries.
func ByAdvertisedEndpoint ¶
func ByAdvertisedEndpoint(opts ...sql.OrderTermOption) OrderOption
ByAdvertisedEndpoint orders the results by the advertised_endpoint field.
func ByAgentCliPath ¶
func ByAgentCliPath(opts ...sql.OrderTermOption) OrderOption
ByAgentCliPath orders the results by the agent_cli_path field.
func ByChannelCertificateID ¶
func ByChannelCertificateID(opts ...sql.OrderTermOption) OrderOption
ByChannelCertificateID orders the results by the channel_certificate_id field.
func ByChannelCredentialKind ¶
func ByChannelCredentialKind(opts ...sql.OrderTermOption) OrderOption
ByChannelCredentialKind orders the results by the channel_credential_kind field.
func ByChannelTokenID ¶
func ByChannelTokenID(opts ...sql.OrderTermOption) OrderOption
ByChannelTokenID orders the results by the channel_token_id field.
func ByChannelTokens ¶
func ByChannelTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChannelTokens orders the results by channel_tokens terms.
func ByChannelTokensCount ¶
func ByChannelTokensCount(opts ...sql.OrderTermOption) OrderOption
ByChannelTokensCount orders the results by channel_tokens count.
func ByConnectionMode ¶
func ByConnectionMode(opts ...sql.OrderTermOption) OrderOption
ByConnectionMode orders the results by the connection_mode field.
func ByDaemonLastRegisteredAt ¶
func ByDaemonLastRegisteredAt(opts ...sql.OrderTermOption) OrderOption
ByDaemonLastRegisteredAt orders the results by the daemon_last_registered_at field.
func ByDaemonRegistered ¶
func ByDaemonRegistered(opts ...sql.OrderTermOption) OrderOption
ByDaemonRegistered orders the results by the daemon_registered field.
func ByDaemonSessionID ¶
func ByDaemonSessionID(opts ...sql.OrderTermOption) OrderOption
ByDaemonSessionID orders the results by the daemon_session_id field.
func ByDaemonSessionState ¶
func ByDaemonSessionState(opts ...sql.OrderTermOption) OrderOption
ByDaemonSessionState orders the results by the daemon_session_state field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDetectedArch ¶
func ByDetectedArch(opts ...sql.OrderTermOption) OrderOption
ByDetectedArch orders the results by the detected_arch field.
func ByDetectedOs ¶
func ByDetectedOs(opts ...sql.OrderTermOption) OrderOption
ByDetectedOs orders the results by the detected_os field.
func ByDetectionStatus ¶
func ByDetectionStatus(opts ...sql.OrderTermOption) OrderOption
ByDetectionStatus orders the results by the detection_status field.
func ByEnvVars ¶
func ByEnvVars(opts ...sql.OrderTermOption) OrderOption
ByEnvVars orders the results by the env_vars field.
func ByExecutionMode ¶ added in v0.6.0
func ByExecutionMode(opts ...sql.OrderTermOption) OrderOption
ByExecutionMode orders the results by the execution_mode field.
func ByHost ¶
func ByHost(opts ...sql.OrderTermOption) OrderOption
ByHost orders the results by the host field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLabels ¶
func ByLabels(opts ...sql.OrderTermOption) OrderOption
ByLabels orders the results by the labels field.
func ByLastHeartbeatAt ¶
func ByLastHeartbeatAt(opts ...sql.OrderTermOption) OrderOption
ByLastHeartbeatAt orders the results by the last_heartbeat_at field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByPort ¶
func ByPort(opts ...sql.OrderTermOption) OrderOption
ByPort orders the results by the port field.
func ByProviders ¶
func ByProviders(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProviders orders the results by providers terms.
func ByProvidersCount ¶
func ByProvidersCount(opts ...sql.OrderTermOption) OrderOption
ByProvidersCount orders the results by providers count.
func ByReachabilityMode ¶ added in v0.6.0
func ByReachabilityMode(opts ...sql.OrderTermOption) OrderOption
ByReachabilityMode orders the results by the reachability_mode field.
func BySSHKeyPath ¶
func BySSHKeyPath(opts ...sql.OrderTermOption) OrderOption
BySSHKeyPath orders the results by the ssh_key_path field.
func BySSHUser ¶
func BySSHUser(opts ...sql.OrderTermOption) OrderOption
BySSHUser orders the results by the ssh_user field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTargetTickets ¶
func ByTargetTickets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTargetTickets orders the results by target_tickets terms.
func ByTargetTicketsCount ¶
func ByTargetTicketsCount(opts ...sql.OrderTermOption) OrderOption
ByTargetTicketsCount orders the results by target_tickets count.
func ByTransportCapabilities ¶
func ByTransportCapabilities(opts ...sql.OrderTermOption) OrderOption
ByTransportCapabilities orders the results by the transport_capabilities field.
func ByWorkspaceRoot ¶
func ByWorkspaceRoot(opts ...sql.OrderTermOption) OrderOption
ByWorkspaceRoot orders the results by the workspace_root field.
type ReachabilityMode ¶ added in v0.6.0
type ReachabilityMode string
ReachabilityMode defines the type for the "reachability_mode" enum field.
const ( ReachabilityModeLocal ReachabilityMode = "local" ReachabilityModeDirectConnect ReachabilityMode = "direct_connect" ReachabilityModeReverseConnect ReachabilityMode = "reverse_connect" )
ReachabilityMode values.
func (ReachabilityMode) String ¶ added in v0.6.0
func (rm ReachabilityMode) String() string